/* Services Page Specific Styles */

/* CSS Variables for Consistency */
@import url('./spacing-system.css');

:root {
    --navy: #141a26;       /* Headers, footers, navigation, primary accents */
    --white: #ffffff;      /* Main backgrounds, body text (inverse) */
    --gold-dark: #90691a;  /* Headings, primary buttons, key highlights */
    --gold-light: #d8ba60; /* Borders, hover states, dividers, subtle accents */
    --text-dark: #141a26;  /* Body text - using Navy for consistency and readability */
    --text-light: #5a6270; /* Lighter text for contrast */
    --light-bg: #f9f9f9;
    --transition: var(--transition-normal);
}

/* Enhanced Header */
header {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2436 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 100px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(216, 186, 96, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hamburger menu - hidden on desktop */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold-light);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-logo-image {
    height: min(90px, 100px);
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.1) contrast(1.05);
    position: relative;
}

.nav-logo-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.nav-logo-image:hover {
    transform: scale(1.08) translateY(-2px);
    filter: brightness(1.2) contrast(1.1) drop-shadow(0 4px 12px rgba(144, 105, 26, 0.3));
}

.nav-logo-image:hover::before {
    opacity: 0.6;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links ul {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold-light);
    background-color: rgba(216, 186, 96, 0.1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    transition: all 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 80%;
}

/* Service Links Styling */
.service-link {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold-light);
}

/* Font Definitions */
body {
    font-family: 'Lato', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--white);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    color: var(--gold-dark);
    margin-bottom: var(--heading-margin);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* Page Header / Hero */
.page-header {
    background: linear-gradient(135deg, rgba(20, 26, 38, 0.9) 0%, rgba(20, 26, 38, 0.8) 100%), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-color: var(--navy);
    padding: 180px 0 100px;
    text-align: center;
    color: var(--white);
    margin-top: 0; /* Header is fixed */
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: var(--space-md);
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    background: none;
    -webkit-text-fill-color: initial;
    letter-spacing: -1px;
}

.header-subheading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--gold-light);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.supporting-line {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    opacity: 0.95;
    line-height: 1.6;
}

/* Trust Strip */
.trust-strip {
    background: linear-gradient(90deg, var(--navy) 0%, #1f2a3d 50%, var(--navy) 100%);
    padding: var(--space-lg) 0;
    border-bottom: 4px solid var(--gold-dark);
    position: relative;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--white);
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--gold-light);
}

.trust-item span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Intro Section */
.intro-section {
    padding: var(--section-padding) 0;
    text-align: center;
    background-color: var(--white);
}

.intro-section h2 {
    color: var(--navy);
    margin-bottom: var(--space-md);
}

.intro-section p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* Core Services */
.core-services {
    padding: 0 0 var(--section-padding);
    background: linear-gradient(180deg, var(--white) 0%, #fcfcfc 100%);
}

.service-block {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid rgba(216, 186, 96, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-lg);
}

.service-block:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border-bottom-color: transparent;
}

.service-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-block.reverse {
    flex-direction: row-reverse;
}

.service-content {
    flex: 1;
}

.service-icon {
    flex: 0 0 320px;
    height: 320px;
    background: linear-gradient(135deg, #ffffff 0%, #fdfdfd 100%);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(216, 186, 96, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(216, 186, 96, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-block:hover .service-icon {
    transform: scale(1.02);
    border-color: var(--gold-light);
    box-shadow: 0 15px 35px rgba(216, 186, 96, 0.15);
}

.service-block:hover .service-icon::after {
    opacity: 1;
}

.service-icon i {
    font-size: 6rem;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 10px rgba(144, 105, 26, 0.2));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.service-block:hover .service-icon i {
    transform: scale(1.1);
}

.service-block h3 {
    color: var(--navy);
    margin-bottom: var(--space-sm);
    font-size: 2.2rem;
    font-weight: 700;
}

.service-intro {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--gold-dark);
    display: block;
}

.service-content ul {
    list-style: none;
    margin-bottom: var(--space-md);
}

.service-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.service-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--gold-dark);
}

.why-matters {
    background: linear-gradient(135deg, rgba(216, 186, 96, 0.1) 0%, rgba(216, 186, 96, 0.05) 100%);
    padding: var(--space-md);
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--gold-dark);
    font-style: italic;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.disclaimer {
    margin-top: var(--space-xl);
    opacity: 0.7;
    font-size: 0.9rem;
    font-style: italic;
}

/* Care Process */
.care-process {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--white) 0%, #f9f9f9 100%);
    text-align: center;
    position: relative;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.step {
position: relative;
padding: var(--space-xl) var(--space-lg);
background: var(--white);
border-radius: var(--border-radius-lg);
transition: all 0.4s ease;
border: 1px solid rgba(0,0,0,0.05);
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
border-top: 4px solid transparent;
font-family: 'Lato', sans-serif;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-top-color: var(--gold-dark);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto var(--space-md);
    box-shadow: 0 8px 20px rgba(144, 105, 26, 0.3);
    transition: transform 0.4s ease;
}

.step:hover .step-number {
    transform: scale(1.1) rotate(10deg);
}

.step h4 {
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

/* Areas Covered */
.areas-covered {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--navy) 0%, #1a2436 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.areas-covered::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
    opacity: 0.3;
}

.area-card {
    background: rgba(255, 255, 255, 0.03);
    padding: var(--space-lg);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.area-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    border-color: var(--gold-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.area-card i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-md);
    transition: transform 0.3s ease;
}

.area-card:hover i {
    transform: scale(1.15);
}

/* Why Choose Us */
.why-choose {
    padding: var(--section-padding) 0;
    background-color: var(--white);
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.feature-item {
    padding: var(--space-lg);
    text-align: center;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: rgba(216, 186, 96, 0.3);
}

.feature-item i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-md);
    filter: drop-shadow(0 4px 6px rgba(144, 105, 26, 0.2));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-item:hover i {
    transform: scale(1.2) rotate(5deg);
}

.feature-item h4 {
    color: var(--navy);
    font-size: 1.3rem;
    margin-top: var(--space-sm);
    font-weight: 700;
}

/* Final CTA */
.final-cta {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--navy) 0%, #1a2332 100%);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.final-cta p {
    font-size: 1.4rem;
    margin-bottom: var(--space-xl);
    color: var(--gold-dark);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    position: relative;
    z-index: 1;
}

.final-cta .btn-outline {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
    border-width: 2px;
}

.final-cta .btn-outline:hover {
    background-color: var(--white);
    color: var(--gold-dark);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.final-cta .btn-primary {
    background: var(--gold-dark);
    color: var(--white);
    border-color: var(--gold-dark);
    box-shadow: 0 10px 20px rgba(216, 186, 96, 0.3);
}

.final-cta .btn-primary:hover {
    background: var(--gold-light);
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(216, 186, 96, 0.4);
}

/* Specific Button Enhancements for Services Page */
.hero-buttons .btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-buttons .btn-primary {
    box-shadow: 0 8px 25px rgba(216, 186, 96, 0.4);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(216, 186, 96, 0.6);
}

.hero-buttons .btn-outline {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    border-color: var(--gold-light);
    color: var(--gold-light);
}

.hero-buttons .btn-outline:hover {
    background: var(--gold-light);
    color: var(--navy);
    border-color: var(--gold-light);
    box-shadow: 0 8px 25px rgba(216, 186, 96, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header {
        height: 80px;
    }

    .page-header {
        padding: 140px 0 60px;
        margin-top: 80px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
    
    /* Show hamburger menu on mobile */
    .menu-toggle {
        display: flex;
    }

    /* Hide nav links on mobile, show when active */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--navy) 0%, #1a2436 100%);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.active {
        max-height: 500px;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 16px;
        text-align: left;
        border-radius: 4px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-logo-image {
        height: min(70px, 80px);
    }
    
    .service-block, .service-block.reverse {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .service-icon {
        flex: auto;
        width: 100%;
        height: 200px;
    }
    
    .service-content ul {
        text-align: left;
        display: inline-block;
    }
    
    .hero-buttons, .cta-buttons {
        flex-direction: column;
    }
}

/* Enhanced Hover Effects */
.service-block {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-block:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
}

.trust-item {
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-item i {
    transition: transform 0.3s ease;
}

.trust-item:hover i {
    transform: scale(1.1);
}

.area-card {
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.area-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.feature-item {
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(216, 186, 96, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(216, 186, 96, 0.4);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}
