/* Omtanke Dödsbo Göteborg - Main Stylesheet */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ===== BRAND COLORS ===== */
:root {
    /* Primary Brand Colors */
    --sage-green: #8B9A8A;
    --dusty-blue: #7A8B99;
    --warm-gray: #8E8B87;
    
    /* Accent Colors */
    --soft-yellow: #F4E6B0;
    --muted-coral: #D4A574;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #CCCCCC;
    --dark-gray: #333333;
    --text-black: #2C2C2C;
    
    /* Semantic Colors */
    --success: #4CAF50;
    --warning: #FF9800;
    --error: #F44336;
}

/* ===== TYPOGRAPHY ===== */
body {
    font-family: 'Lora', 'Merriweather', serif;
    line-height: 1.6;
    color: var(--text-black);
    background-color: var(--white);
}

/* Headlines - Sans-serif */
h1, h2, h3, h4, h5, h6,
.headline-font {
    font-family: 'Lato', 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-black);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sage-green);
}

h2 {
    font-size: 2rem;
    color: var(--dusty-blue);
}

h3 {
    font-size: 1.5rem;
    color: var(--warm-gray);
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* ===== LAYOUT COMPONENTS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-1 { flex: 0 0 8.333333%; }
.col-2 { flex: 0 0 16.666667%; }
.col-3 { flex: 0 0 25%; }
.col-4 { flex: 0 0 33.333333%; }
.col-6 { flex: 0 0 50%; }
.col-8 { flex: 0 0 66.666667%; }
.col-9 { flex: 0 0 75%; }
.col-12 { flex: 0 0 100%; }

[class*="col-"] {
    padding: 0 15px;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-top {
    background: var(--dusty-blue);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 30px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-main {
    padding: 15px 0;
    background: var(--white);
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--text-black);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1rem;
}

.main-nav a:hover {
    color: var(--white);
    background: var(--sage-green);
    transform: translateY(-2px);
}

.main-nav a.active {
    color: var(--white);
    background: var(--dusty-blue);
}

/* Dropdown Styles with Elementor Compatibility */
.dropdown, .elementor-nav-item.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content, .elementor-dropdown {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 8px;
    top: 100%;
    left: 0;
    border: 1px solid var(--light-gray);
    padding: 15px 0;
}

.cities-dropdown {
    min-width: 500px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    padding: 20px;
}

.dropdown-section {
    padding: 0 15px;
}

.dropdown-section h4 {
    margin: 0 0 10px 0;
    padding: 0 16px 8px 16px;
    border-bottom: 2px solid var(--sage-green);
    color: var(--sage-green);
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
}

.dropdown-content a, .elementor-dropdown a {
    color: var(--dark-gray) !important;
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
    background: none !important;
    transform: none !important;
    border-radius: 4px;
    margin: 2px 0;
    font-size: 0.9rem;
}

.dropdown-content a:hover, .elementor-dropdown a:hover {
    background-color: var(--light-gray) !important;
    color: var(--sage-green) !important;
}

.dropdown-content a.view-all {
    margin-top: 15px;
    background: var(--sage-green) !important;
    color: white !important;
    font-weight: bold;
    text-align: center;
}

.dropdown-content a.view-all:hover {
    background: var(--dusty-blue) !important;
}

.dropdown:hover .dropdown-content, 
.elementor-nav-item.dropdown:hover .elementor-dropdown {
    display: block;
}

.dropbtn, .elementor-nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown:hover .dropbtn, 
.elementor-nav-item.dropdown:hover .elementor-nav-link {
    color: var(--white);
    background: var(--sage-green);
    transform: translateY(-2px);
}

/* Elementor Compatibility Classes */
.elementor-section {
    width: 100%;
    position: relative;
}

.elementor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.elementor-widget {
    margin: 0;
    position: relative;
}

.elementor-widget-nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.elementor-nav-menu li {
    position: relative;
}

.elementor-nav-item a {
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    transition: all 0.3s ease;
    color: var(--dark-gray);
    font-weight: 500;
}

.elementor-nav-item:hover a {
    color: var(--sage-green);
    transform: translateY(-2px);
}

/* Enhanced City Pages Styling */
.city-card.featured-city {
    background: linear-gradient(135deg, var(--sage-green), var(--dusty-blue)) !important;
    color: white;
}

.city-card.featured-city h4 a {
    color: white !important;
    font-size: 1.3rem;
}

.city-card.coming-soon {
    opacity: 0.7;
    border: 2px dashed var(--light-gray);
}

.specialty {
    background: var(--sage-green);
    color: white !important;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 5px;
}

/* Realistic Case Studies Styling */
.case-study {
    border-left: 4px solid var(--sage-green);
    transition: all 0.3s ease;
}

.case-study:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.case-meta {
    color: var(--warm-gray);
    font-style: italic;
    margin: 0;
}

.disclaimer {
    border: 2px solid var(--warm-gray);
}

.cost-transparency,
.seasonal-notice,
.pricing-reality {
    position: relative;
}

.cost-transparency::before,
.seasonal-notice::before {
    content: "💰";
    position: absolute;
    top: -10px;
    right: 15px;
    font-size: 1.5rem;
    background: white;
    padding: 5px;
    border-radius: 50%;
}

/* Enhanced Navigation Styling */
.cities-dropdown .dropdown-section:not(:last-child) {
    border-right: 1px solid var(--light-gray);
}

.header.elementor-section {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .cities-dropdown {
        grid-template-columns: 1fr;
        min-width: 300px;
    }
    
    .dropdown-section {
        border-right: none !important;
        border-bottom: 1px solid var(--light-gray);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    
    .case-study {
        margin: 20px 0;
        padding: 20px !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
}

.elementor-widget-nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.elementor-nav-menu, .elementor-nav-menu li {
    margin: 0;
    padding: 0;
}

.elementor-nav-item a {
    color: var(--text-black);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1rem;
}

.elementor-nav-item a:hover {
    color: var(--white);
    background: var(--sage-green);
    transform: translateY(-2px);
}

/* Mobile Responsive Dropdown */
@media (max-width: 768px) {
    .cities-dropdown {
        grid-template-columns: 1fr;
        min-width: 280px;
    }
    
    .dropdown-content, .elementor-dropdown {
        min-width: 250px;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--sage-green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dusty-blue);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--sage-green);
    border: 2px solid var(--sage-green);
}

.btn-secondary:hover {
    background: var(--sage-green);
    color: var(--white);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, rgba(139, 154, 138, 0.9), rgba(122, 139, 153, 0.9)), url('../images/omtanke_website_header.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 100px;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--soft-yellow);
}

.hero .description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

/* ===== TRUST SIGNALS ===== */
.trust-signals {
    background: var(--light-gray);
    padding: 60px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.trust-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-icon {
    font-size: 3rem;
    color: var(--sage-green);
    margin-bottom: 20px;
}

.trust-item h3 {
    color: var(--dusty-blue);
    margin-bottom: 15px;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 30px;
}

.service-card h3 {
    color: var(--sage-green);
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    color: var(--warm-gray);
}

/* ===== VALUE PROPOSITION ===== */
.value-prop {
    background: var(--sage-green);
    color: var(--white);
    padding: 80px 0;
}

.value-prop h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-item h3 {
    color: var(--white);
    margin-bottom: 15px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--light-gray);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: var(--sage-green);
}

/* ===== STATISTICS ===== */
.stats {
    background: var(--dusty-blue);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--soft-yellow);
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    margin-top: 10px;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info h3 {
    color: var(--sage-green);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--dusty-blue);
    width: 30px;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-black);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--medium-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--sage-green);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-black);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--sage-green);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--sage-green);
}

.footer-bottom {
    border-top: 1px solid var(--warm-gray);
    padding-top: 30px;
    text-align: center;
    color: var(--medium-gray);
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-main .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .row {
        margin: 0;
    }
    
    [class*="col-"] {
        flex: 0 0 100%;
        padding: 0;
        margin-bottom: 30px;
    }
    
    .stats-grid,
    .services-grid,
    .trust-grid,
    .values-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .trust-signals,
    .value-prop,
    .testimonials,
    .contact {
        padding: 50px 0;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--sage-green);
    outline-offset: 2px;
}

/* ===== PAGE-SPECIFIC STYLES ===== */

/* Breadcrumb */
.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--dusty-blue);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--sage-green);
}

.breadcrumb i {
    margin: 0 10px;
    color: var(--medium-gray);
}

/* Service Pages */
.service-hero {
    background: linear-gradient(135deg, rgba(139, 154, 138, 0.9), rgba(122, 139, 153, 0.9));
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 100px;
}

.content-block {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.service-detail-item {
    margin-bottom: 30px;
    padding: 25px;
    background: var(--light-gray);
    border-radius: 8px;
}

.service-detail-item h4 {
    color: var(--sage-green);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-detail-item i {
    font-size: 1.2rem;
}

.special-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.special-service {
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    border-left: 4px solid var(--sage-green);
}

.special-service h4 {
    color: var(--dusty-blue);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.process-steps {
    margin-top: 30px;
}

.process-step {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 10px;
}

.step-number {
    background: var(--sage-green);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--dusty-blue);
    margin-bottom: 15px;
}

.pricing-table {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.economic-model {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--sage-green);
}

.economic-model h5 {
    color: var(--sage-green);
    margin-bottom: 10px;
}

.customer-stories {
    margin-top: 30px;
}

.customer-story {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.customer-story h3 {
    color: var(--sage-green);
    margin-bottom: 15px;
}

.customer-story blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin: 20px 0;
    padding-left: 20px;
    border-left: 4px solid var(--dusty-blue);
    color: var(--warm-gray);
}

.customer-story .result {
    font-weight: 600;
    color: var(--dusty-blue);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.service-content-section {
    padding: 80px 0;
}

.service-sidebar {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
}

.service-sidebar h3 {
    color: var(--sage-green);
    margin-bottom: 20px;
}

.service-sidebar ul {
    list-style: none;
}

.service-sidebar ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.service-sidebar ul li:last-child {
    border-bottom: none;
}

.service-sidebar a {
    color: var(--text-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-sidebar a:hover {
    color: var(--sage-green);
}

/* FAQ Styles */
.faq-item {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    background: var(--light-gray);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--sage-green);
    color: var(--white);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-answer {
    padding: 20px;
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}
