/* --- GLOBAL & FONT STYLES --- */
@font-face {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://img1.wsimg.com/gfonts/s/merriweather/v33/u-4D0qyriQwlOrhSvowK_l5UcA6zuSYEqOzpPe3HOZJ5eX1WtLaQwmYiScCmDxhtNOKl8yDrdyAaFF31.woff2) format('woff2');
}

@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://img1.wsimg.com/gfonts/s/lora/v37/0QIvMX1D_JOuMwr7Iw.woff2) format('woff2');
}

body {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Lora', serif;
    background-color: #000;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Merriweather', serif;
    font-weight: 900;
    margin: 0;
}

p {
    margin: 0.5em 0;
    line-height: 1.6;
    color: #fff;
}

a {
    color: #f1f1f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #c6c6c6;
}

hr {
    border: 0;
    border-bottom: 2px solid #4f4f4f;
    width: 50px;
    margin: 1em auto;
}

/* --- HEADER & HERO --- */
.widget-header {
    color: #fff;
    text-align: center;
}

.main-nav {
    position: fixed;
    /* Makes the nav bar stick to the top */
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background-color: transparent;
    /* Start with a transparent background */
    z-index: 1000;
    /* Ensures it stays on top of other content */
    transition: background-color 0.4s ease;
    /* This creates the smooth transition! */
}

.main-nav.scrolled {
    background-color: #000;
    /* The solid black background when scrolled */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    /* Optional: Adds a subtle shadow */
}

.header-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 56px 24px;
    overflow: hidden;
}

.header-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.header-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Increased opacity for more darkness */
    z-index: -1;
}


.logo-img {
    height: 72px;
    width: auto;
}

/* --- NAVIGATION LINK STYLES --- */

.desktop-nav-links {
    display: none;
    /* Hidden on mobile by default */
}

.desktop-nav-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.desktop-nav-links li {
    margin-left: 32px;
    /* Space between links */
}

.desktop-nav-links a {
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.07em;
    padding: 8px 4px;
    position: relative;
}

/* Underline effect on hover */
.desktop-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.desktop-nav-links a:hover::after {
    transform: scaleX(1);
}


/* --- DROPDOWN MENU STYLES --- */
.dropdown {
    position: relative;
}

.dropdown a::after {
    /* Disable the underline hover effect for the main dropdown link */
    display: none;
}

.dropdown-menu {
    display: block;
    /* Use opacity/visibility for transition */
    position: absolute;
    top: 140%;
    /* Start slightly below */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(17, 17, 17, 0.9);
    /* Semi-transparent black */
    backdrop-filter: blur(5px);
    /* Frosted glass effect */
    border-radius: 4px;
    padding: 8px 0;
    list-style: none;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

    /* Hide by default */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, top 0.3s ease, visibility 0.3s;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: 100%;
    /* Move into final position */
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    width: 100%;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/* --- RESPONSIVE ADJUSTMENT FOR NAVBAR --- */
@media (min-width: 768px) {
    .hamburger-menu {
        display: none;
    }

    .desktop-nav-links {
        display: block;
        /* Show the desktop nav */
    }
}

.hamburger-menu {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.hero-content {
    max-width: 984px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    /* 56px */
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 1.5rem;
    /* 24px */
    margin-bottom: 32px;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background-color: #fff;
    color: #000;
    font-family: 'Merriweather', serif;
    text-transform: uppercase;
    letter-spacing: 0.071em;
    font-weight: 700;
    border: 2px solid #d4d4d4;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #f0f0f0;
    color: #000;
}

/* --- OTHER SECTIONS --- */
.intro-banner {
    padding: 56px 24px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
}

.intro-banner-content {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 4px;
}

.intro-banner h2 {
    font-size: 1.75rem;
    /* 28px */
    margin-bottom: 24px;
}

.cta-button-secondary {
    display: inline-block;
    padding: 12px 28px;
    background-color: #404040;
    color: #fff;
    font-family: 'Merriweather', serif;
    text-transform: uppercase;
    font-weight: 700;
    border: 2px solid #bfbfbf;
    transition: background-color 0.3s ease;
}

.cta-button-secondary:hover {
    background-color: #585858;
}

.split-layout-section,
.about-section,
.contact-section {
    padding-bottom: 80px;

    margin: 0 auto;
}

.split-layout-section {
    display: flex;
    align-items: center;
    gap: 48px;
}

.split-layout-image,
.split-layout-text {
    flex: 1;
}

.split-layout-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.split-layout-text h6 {
    color: #969696;
    font-size: 1rem;
    margin-bottom: 8px;
}

.split-layout-text h2 {
    font-size: 2rem;
    color: #e2e2e2;
    margin-bottom: 24px;
}

.about-section h2,
.contact-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 40px;
}

.about-section {
    padding: 80px;
    padding-top: 20px;
}

/* Find and modify this rule */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Changed from 3 to 2 */
    gap: 24px;
    text-align: center;
}

/* Add this new code to your styles.css file */
.about-card:first-child {
    grid-column: span 2;
    /* This makes the first card span both columns */
    text-align: center;
}

.about-card:first-child img {
    aspect-ratio: 3 / 1;
    /* Make the image wider for the larger card */
    object-position: center 35%;
    /* Adjusts the image crop to focus better */
}

.about-card img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    margin-bottom: 24px;
}

.about-card h4 {
    color: #e2e2e2;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.quote-section {
    padding: 80px 24px;
    text-align: center;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.quote-section h2 {
    font-size: 2.25rem;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.quote-section hr {
    border-color: rgba(255, 255, 255, 0.5);
}

.quote-section p {
    color: #fff;
    font-size: 1.1rem;
}

.contact-section {
    display: flex;
    gap: 48px;

}

.contact-info,
.contact-map {
    flex: 1;

}

.contact-info {
    padding: 80px;
    padding-right: 0;
}

.contact-info h2 {
    text-align: left;
}

.contact-info h4 {
    color: #e2e2e2;
    margin-top: 24px;
    margin-bottom: 8px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    border: 1px solid #444;
}

/* --- FOOTER --- */
footer {
    padding: 40px 24px;
    text-align: center;
    background-color: #000;
}

.footer-nav {
    margin-bottom: 24px;
}

.footer-nav a {
    padding: 8px 12px;
    margin: 0 4px;
    color: #e2e2e2;
}

.business-name {
    font-weight: 700;
    color: #e2e2e2;
    margin-bottom: 8px;
}

.copyright {
    font-size: 0.875rem;
    color: #969696;
}

/* --- NEW UX SECTIONS --- */

/* Services Preview */
.services-preview {
    padding: 80px 24px;
    background-color: #0a0a0a;
    text-align: center;
}

.services-preview h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #fff;
}

.services-preview p.section-subtitle {
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    text-align: left;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #fff;
}

.service-card p {
    color: #b0b0b0;
    margin-bottom: 24px;
}

.service-link {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    gap: 12px;
    /* Slide arrow effect */
}

/* Value Props (Trust) */
.value-props {
    padding: 80px 24px;
    background-color: #000;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.value-card h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 12px;
    margin-top: 20px;
}

.value-card p {
    color: #999;
    font-size: 1rem;
}

.value-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    color: #fff;
}

/* News Preview */
.news-preview {
    padding: 80px 24px;
    background-color: #050505;
    text-align: center;
}

.news-preview h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto 48px;
}

.news-card-preview {
    background: #111;
    border: 1px solid #222;
    padding: 32px;
    text-align: left;
}

.news-date {
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.news-card-preview h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* CTA Strip */
.cta-strip {
    padding: 100px 24px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/images/header-poster.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    border-top: 1px solid #333;
}

.cta-strip h2 {
    font-size: 3rem;
    margin-bottom: 16px;
    color: #fff;
}

.cta-strip p {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Process Section (Engagement Model) */
.process-section {
    padding: 100px 24px;
    background-color: #050505;
    text-align: center;
    border-top: 1px solid #222;
}

.process-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    position: relative;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: -20px;
    right: 20px;
    line-height: 1;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.process-step p {
    color: #b0b0b0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    text-align: left;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #fff;
}

.service-card p {
    color: #b0b0b0;
    margin-bottom: 24px;
}

.service-link {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    gap: 12px;
    /* Slide arrow effect */
}

/* Value Props (Trust) */
.value-props {
    padding: 80px 24px;
    background-color: #000;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.value-card h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 12px;
    margin-top: 20px;
}

.value-card p {
    color: #999;
    font-size: 1rem;
}

.value-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    color: #fff;
}

/* News Preview */
.news-preview {
    padding: 80px 24px;
    background-color: #050505;
    text-align: center;
}

.news-preview h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto 48px;
}

.news-card-preview {
    background: #111;
    border: 1px solid #222;
    padding: 32px;
    text-align: left;
}

.news-date {
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.news-card-preview h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* CTA Strip */
.cta-strip {
    padding: 100px 24px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/images/header-poster.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    border-top: 1px solid #333;
}

.cta-strip h2 {
    font-size: 3rem;
    margin-bottom: 16px;
    color: #fff;
}

.cta-strip p {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Process Section (Engagement Model) */
.process-section {
    padding: 100px 24px;
    background-color: #050505;
    text-align: center;
    border-top: 1px solid #222;
}

.process-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    position: relative;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: -20px;
    right: 20px;
    line-height: 1;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.process-step p {
    color: #b0b0b0;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1023px) {

    .split-layout-section,
    .contact-section {
        flex-direction: column;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-card:first-child {
        grid-column: auto;
    }

    .contact-info,
    .contact-map {
        width: 100%;
        padding: 40px 24px;
    }

    .split-layout-text {
        padding: 0 24px;
        text-align: center;
    }

    .embed-map-fixed,
    .embed-map-container,
    .embed-map-frame {
        width: 100% !important;
        max-width: 100% !important;
        height: 400px !important;
    }
}

@media (min-width: 768px) {
    .hamburger-menu {
        display: none;
    }
}

.hamburger-menu {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

/* Mobile Menu Active State */
@media (max-width: 767px) {
    .main-nav.mobile-open {
        background-color: #000;
    }

    .main-nav.mobile-open .desktop-nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #000;
        padding: 20px 0;
        border-top: 1px solid #333;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        flex-direction: column;
        align-items: center;
        z-index: 999;
    }

    .main-nav.mobile-open .desktop-nav-links li {
        margin: 0;
        margin-bottom: 24px;
        width: 100%;
        text-align: center;
    }

    .main-nav.mobile-open .desktop-nav-links a {
        display: block;
        padding: 12px;
        font-size: 1.1rem;
    }

    .header-section {
        min-height: 60vh;
        padding: 120px 24px 60px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 24px;
    }

    .main-nav .desktop-nav-links {
        display: none;
    }

    .cta-strip h2 {
        font-size: 2rem;
    }

    .process-step .step-number {
        font-size: 3rem;
        top: -15px;
        right: 15px;
    }
}