﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.65;
    color: #1a1a2e;
    background: #ffffff;
    min-height: 100vh;
}

:root {
    --primary: #2d5a47; /* Deep green */
    --secondary: #1e3a5f; /* Navy blue */
    --accent: #4a7c59; /* Medium green */
    --surface: #ffffff;
    --surface-soft: #f8f9fa;
    --text: #1a1a2e;
    --text-light: #ffffff;
    --muted: #6c7293;
    --shadow: 0 4px 20px rgba(45, 90, 71, 0.08);
    --shadow-dark: 0 8px 32px rgba(30, 58, 95, 0.12);
    --border-radius: 8px;
    --border-radius-large: 16px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text);
}

h2 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1rem;
    width: 80px;
    height: 3px;
    background: var(--primary);
}

h3 {
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-subtitle {
    max-width: 800px;
    margin: 1rem auto 3rem;
    color: var(--muted);
    line-height: 1.9;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--surface);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo img {
    height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu.active {
    position: absolute;
    top: 100%;
    left: 2rem;
    right: 2rem;
    background: var(--surface);
    border: 1px solid #e5e7eb;
    flex-direction: column;
    align-items: stretch;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow);
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: var(--surface-soft);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 2px;
    border-radius: 1px;
    background: var(--text);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: 140px 0 6rem;
    gap: 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out both;
    padding: 2rem;
    border: 1.5px solid #e5e7eb;
    border-radius: var(--border-radius-large);
    background: var(--surface);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--text);
    max-width: 700px;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    color: var(--muted);
    margin: 2rem 0 3rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--primary);
}

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

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--text);
}

.btn-secondary:hover {
    background: var(--text);
    color: var(--text-light);
}

.hero-image {
    position: relative;
    display: grid;
    place-items: center;
    max-width: 420px;
    justify-self: end;
    padding: 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: var(--border-radius-large);
    background: var(--surface);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--surface-soft);
}

.about-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    background: var(--surface);
    border-radius: var(--border-radius-large);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-text strong {
    color: var(--text);
    font-weight: 600;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--surface);
}

.service-category {
    margin-bottom: 4rem;
}

.service-category h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-soft);
    color: var(--primary);
    font-size: 2rem;
    border: 2px solid var(--primary);
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.service-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 1rem;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: var(--surface-soft);
}

.gallery-subsection h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text);
    position: relative;
}

.gallery-subsection h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 6px;
    background: var(--primary);
    margin: 1.5rem auto 0;
    border-radius: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    background: var(--surface);
    border: 1.5px solid #e5e7eb;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
    border-radius: var(--border-radius);
    display: block;
}

.gallery-item.crop-center img {
    object-position: center center;
}

.gallery-item.crop-top img {
    object-position: center top;
}

.gallery-item.crop-bottom img,
.gallery-item.crop-bottom video {
    object-position: center bottom;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.03);
}

.video-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    background: #000;
}

.video-frame video {
    width: 100%;
    height: auto;
    max-height: 220px;
    aspect-ratio: 16/9;
    object-fit: contain;
    border-radius: calc(var(--border-radius) - 2px);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: var(--surface-soft);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid #e5e7eb;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content p {
    font-style: italic;
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: rgba(45, 90, 71, 0.1);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: serif;
}

.testimonial-author h4 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.testimonial-author span {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Team Section */
.team {
    padding: 4rem 0;
    background: var(--surface-soft);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.team-member {
    text-align: center;
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-3px);
}

.member-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Crop from bottom to show face */
}

.team-member h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 600;
    font-size: 1.1rem;
}

.team-member p {
    color: var(--muted);
    margin-bottom: 0.8rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.member-bio {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
}

.team-links {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.team-links a {
    color: var(--text-light);
    background: var(--primary);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.team-links a:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-dark);
}

.anchor-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 0;
    margin-top: 1rem;
}

.anchor-links h4 {
    font-size: 1.3rem;
    color: var(--text);
    margin: 0;
}

.anchor-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.anchor-buttons a {
    color: var(--text-light);
    background: var(--primary);
    padding: 0.9rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.anchor-buttons a:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-dark);
}

.anchor-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
    margin-top: 1rem;
}

.anchor-links a {
    color: var(--text-light);
    background: var(--primary);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.anchor-links a:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-dark);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--surface-soft);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    gap: 2.5rem;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.location-card {
    padding: 2.5rem;
    background: var(--surface);
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
}

.location-card h4 {
    margin-bottom: 1.5rem;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 600;
}

.location-card p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.location-card p:last-child {
    margin-bottom: 0;
}

.social-media {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid #e5e7eb;
    padding: 1.2rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.social-item:hover {
    transform: translateY(-3px);
}

.social-item p {
    margin: 0;
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
}

.social-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-dark);
}

.contact-form {
    background: var(--surface);
    border: 1px solid #e5e7eb;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.3rem 1.5rem;
    border: 1px solid #d1d5db;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    transition: all 0.3s ease;
    background: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
}

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

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

footer {
    background: var(--primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .services-grid,
    .gallery-grid,
    .testimonials-grid,
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: 140px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

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

    .social-media {
        justify-content: center;
    }

    .team-links {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 540px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 1rem;
        justify-content: space-between;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

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

    .about-content,
    .contact-content {
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }
}
