/* Global Styles */
:root {
    --primary-color: #2F4F4F;
    /* Deep Slate Green */
    --secondary-color: #DFD7D2;
    /* Resene Bon Jour */
    --accent-color: #2F4F4F;
    /* Green */
    --text-light: #f5f5f0;
    /* Soft Cream */
    --text-dark: #333333;
    --bg-light: #ffffff;
    --bg-dark: #121212;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --bg-beige: #F3F1E9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--secondary-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
.heading-xl {
    font-size: 3.5rem;
    line-height: 1.2;
}

.heading-lg {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.heading-md {
    font-size: 1.5rem;
}

.text-gold {
    color: var(--accent-color);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* Header */
header {
    background-color: rgba(223, 215, 210, 0.95);
    /* Resene Bon Jour with opacity */
    padding: 1.5rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    position: static;
    z-index: 1001;
}

.logo img {
    height: 88px;
    /* Filter to match #2F4F4F (Deep Slate Green) from White */
    filter: invert(1) sepia(1) saturate(3) hue-rotate(130deg) brightness(0.5);
    mix-blend-mode: screen;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero.png?v=3') no-repeat center center/cover;
    filter: contrast(0.85) brightness(1.1) saturate(0.9);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: #ffffff;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-color);
    transition: var(--transition);
}

.btn:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.5);
    color: var(--text-dark);
}

/* Mission Section */
.mission {
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
}

.mission p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Value Prop / Features */
.features {
    background-color: var(--secondary-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-radius: 50%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.feature-card h3 {
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-dark);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-col h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    color: #555;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .heading-xl {
        font-size: 2.5rem;
    }

    .btn {
        display: block;
        margin: 1rem 0;
        width: 100%;
    }

    .btn-outline {
        margin-left: 0;
    }

    .logo img {
        height: 66px;
        /* Smaller logo on mobile */
    }
}

/* Bio Section */
.bio-section {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 5rem;
}

.bio-img-container {
    flex: 0 0 350px;
}

.bio-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bio-content {
    flex: 1;
}

.bio-role {
    color: var(--accent-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: block;
}

.bio-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

@media (max-width: 900px) {
    .bio-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .bio-img-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Inspiration Page Specifics */
#showcase {
    color: #000000;
}

#showcase p,
#showcase li {
    color: #000000;
}



/* Services Grid (Matches About Us Team Grid) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-top: 3rem;
}

.service-card {
    text-align: center;
}

.service-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Reset service circle when inside philosophy card to avoid double circles */
.philosophy-card .service-circle {
    border: none;
    background: transparent;
    width: auto;
    height: auto;
    margin-bottom: 0.5rem;
    border-radius: 0;
}

.showcase-grid:hover .service-circle {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 5rem;
    color: var(--accent-color);
}

.philosophy-card .service-icon {
    font-size: 3rem;
    color: #000000;
    margin-bottom: 0.5rem;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.btn-white {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.5);
    color: var(--text-dark);
}



/* Philosophy Grid / Circular Cards (Used on Inspiration & Services) */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.philosophy-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-radius: 50%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.philosophy-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.philosophy-card p {
    font-size: 1rem;
    line-height: 1.4;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

@media (max-width: 768px) {
    .philosophy-card {
        border-radius: 2rem;
        aspect-ratio: auto;
        padding: 3rem 1.5rem;
    }
}

/* Showcase / Split Layout (Used on Inspiration & Services) */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.showcase-grid.reverse {
    direction: rtl;
}

.showcase-grid.reverse .showcase-text {
    direction: ltr;
}

.showcase-image {
    display: flex;
    justify-content: center;
}

.showcase-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.showcase-text {
    padding: 1rem;
}

@media (max-width: 900px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .showcase-grid.reverse {
        direction: ltr;
    }

    .showcase-image {
        order: -1;
        /* Always show image/icon on top on mobile */
    }

    .showcase-grid.reverse .showcase-image {
        order: -1;
    }
}

/* Showcase Grid (Moved from inspiration.html) */
.showcase-grid,
.testimonial-slider {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.showcase-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.showcase-grid.reverse {
    direction: rtl;
}

.showcase-grid.reverse .showcase-text {
    direction: ltr;
}

.showcase-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-list {
    margin-top: 1.5rem;
    list-style: disc;
    padding-left: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
}

.testimonial-slider {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: 8px;
    font-style: italic;
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* Adding border for visibility on white bg if needed, or assuming contrast against section bg */
}

.testimonial-card cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    font-style: normal;
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .showcase-grid.reverse {
        direction: ltr;
    }
}

/* Contact Split Layout */
.contact-split-section {
    display: flex;
    min-height: calc(100vh - 80px);
    /* Adjust for header height */
    margin-top: 80px;
    /* Offset for fixed header if needed, or just standard flow */
}

.contact-content-side {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.5);
    /* Or keep transparent/white */
}

.contact-image-side {
    flex: 1;
    position: relative;
    min-height: 400px;
    /* Ensure visibility on mobile if stacked */
}

.contact-image-side img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .contact-split-section {
        flex-direction: column-reverse;
        /* Content on top, image on bottom? Or Stacked: Image top? User said "picture on right". On mobile usually picture top or bottom. */
        /* Let's stack Content top, Image bottom or vice versa. Standard is Image Top. */
        flex-direction: column;
    }

    .contact-image-side {
        height: 300px;
        flex: none;
    }

    .contact-content-side {
        padding: 2rem;
    }
}

/* Contact Form Styles */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 1.5rem;
    width: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: transparent;
    border: 2px solid #000000;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(0, 0, 0, 0.05);
}

.form-group textarea {
    resize: vertical;
}

/* Credential Logos in Footer Column */
.credentials-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    margin-left: -15px;
}

.credential-logo {
    max-width: 100px;
    height: auto;
    transition: var(--transition);
    mix-blend-mode: multiply;
}

.credential-logo:hover {
    transform: translateY(-3px);
}

/* Make OT Board logo larger than base (approx 195px) */
.ot-logo {
    max-width: 195px;
    width: 195px;
    /* Force width if necessary */
}



/* Team Grid (Bio Layout) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.team-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--accent-color);
    filter: grayscale(100%);
    transition: var(--transition);
    background-color: #333;
}

.team-member:hover .team-img {
    filter: grayscale(0%);
}

.team-role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Projects Gallery Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.project-card {
    background: transparent;
    border: none;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 1.5rem;
    /* Clean image without border radius for sleek look, or small radius */
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.project-info p {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}