/* ===== CSS Variables ===== */
:root {
    --primary: #8b6914;
    --primary-dark: #6b5010;
    --secondary: #c9956c;
    --dark: #4a4a4a;
    --text: #555555;
    --text-light: #888888;
    --background: #ffffff;
    --background-alt: #faf9f7;
    --border: #e8e6e3;
    --white: #ffffff;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --container: 1200px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);

    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--dark);
    line-height: 1.3;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

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

.btn-text {
    padding: 0;
    color: var(--primary);
    font-weight: 500;
}

.btn-text:hover {
    color: var(--primary-dark);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-sm) 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: auto;
}

.footer-logo-img {
    height: 35px;
    filter: brightness(0) saturate(100%) invert(72%) sepia(30%) saturate(456%) hue-rotate(347deg) brightness(87%) contrast(87%);
}

.logo-icon {
    width: 32px;
    height: 40px;
    fill: var(--primary);
}

.logo-text {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-links a {
    font-size: 14px;
    color: var(--text);
    font-weight: 400;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245,243,240,0.92) 0%, rgba(245,243,240,0.75) 40%, rgba(0,0,0,0.3) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--dark);
}

.hero p {
    font-size: 1.125rem;
    color: var(--text);
    margin-bottom: var(--spacing-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

/* ===== Sections ===== */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

/* ===== About Preview ===== */
.about-preview {
    background: var(--background-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-text p {
    font-size: 1.0625rem;
    color: var(--text);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--primary);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Project Preview ===== */
.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.project-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.project-content h2 {
    margin-bottom: var(--spacing-md);
}

.project-content p {
    margin-bottom: var(--spacing-sm);
}

.project-content .btn {
    margin-top: var(--spacing-md);
}

/* ===== Vision & Mission ===== */
.vision-mission {
    background: var(--background-alt);
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.vm-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}

.vm-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-md);
}

.vm-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary);
}

.vm-card h3 {
    margin-bottom: var(--spacing-sm);
}

.vm-card p {
    color: var(--text);
    margin-bottom: 0;
}

/* ===== Approach ===== */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.approach-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.approach-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.approach-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-sm);
    background: var(--background-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.approach-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.approach-card h4 {
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-sans);
    font-weight: 500;
}

.approach-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== Team Grid ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-image {
    height: 280px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.team-intro {
    text-align: center;
    font-size: 1.0625rem;
    color: var(--text);
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
}

.team-content {
    padding: var(--spacing-md);
}

.team-content h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 4px;
    color: var(--dark);
}

.team-title {
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm) !important;
}

.team-content p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

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

.cta .btn-primary:hover {
    background: var(--background-alt);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-brand .logo {
    margin-bottom: var(--spacing-md);
}

.footer-brand .logo-icon {
    fill: var(--secondary);
}

.footer-brand .logo-text {
    color: var(--secondary);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
}

.footer h4 {
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: var(--spacing-xs);
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    margin-bottom: 0;
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, #f5f3f0 0%, #e8e4df 100%);
    padding: 160px 0 80px;
    text-align: center;
}

.page-header h1 {
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    font-size: 1.125rem;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About Page ===== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-intro-image {
    height: 500px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.about-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline {
    position: relative;
    padding-left: var(--spacing-lg);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--spacing-lg);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--spacing-lg) - 5px);
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
}

.timeline-item h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

/* ===== Leadership Section ===== */
.leadership-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-lg);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.leadership-image {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.leadership-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leadership-content {
    padding: var(--spacing-lg);
}

.leadership-content h3 {
    margin-bottom: var(--spacing-xs);
}

.leadership-content .title {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

/* ===== Services Page ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.service-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--primary);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--background-alt);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
}

.service-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contact-info {
    background: var(--background-alt);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.contact-item h4 {
    font-family: var(--font-sans);
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-item p {
    margin-bottom: 0;
    color: var(--text);
}

.contact-form {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.1);
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }

    .about-grid,
    .project-grid,
    .vm-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .approach-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .leadership-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero::before {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: linear-gradient(180deg, rgba(245,243,240,0.95) 0%, rgba(245,243,240,0.8) 50%, rgba(0,0,0,0.3) 100%);
        clip-path: none;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .approach-grid,
    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }
}
