/* ===================================
   NECESSARY CUSTOMS — Brand Styles
   Classic & Elegant · Forest Green + Off-White
   =================================== */

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

:root {
    --forest-900: #0b1f0e;
    --forest-800: #112e16;
    --forest-700: #1a4a22;
    --forest-600: #22612e;
    --forest-500: #2d7a3a;
    --forest-400: #3d9e4c;
    --forest-300: #5fb86e;
    --forest-200: #8fd49a;
    --forest-100: #c2eac4;
    --forest-50:  #e8f7e6;

    --cream-900:  #1a1a16;
    --cream-800:  #2a2a24;
    --cream-700:  #3a3a32;
    --cream-600:  #5a5a50;
    --cream-500:  #7a7a6c;
    --cream-400:  #9a9a8a;
    --cream-300:  #babaa8;
    --cream-200:  #d8d8c8;
    --cream-100:  #ecece0;
    --cream-50:   #f7f7f0;
    --cream-25:   #fafaf4;

    --gold-500:  #b8943e;
    --gold-400:  #d4af5a;
    --gold-300:  #e8c97a;

    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm:  0 1px 2px rgba(11, 31, 14, 0.06);
    --shadow-md:  0 4px 16px rgba(11, 31, 14, 0.08);
    --shadow-lg:  0 12px 40px rgba(11, 31, 14, 0.12);
    --shadow-xl:  0 24px 60px rgba(11, 31, 14, 0.16);

    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  28px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    color: var(--cream-800);
    background: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.2;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--sans);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--forest-700);
    color: var(--cream-50);
    border-color: var(--forest-700);
}

.btn-primary:hover {
    background: var(--forest-600);
    border-color: var(--forest-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: var(--cream-50);
    border-color: rgba(247, 247, 240, 0.5);
}

.btn-outline-light:hover {
    background: rgba(247, 247, 240, 0.1);
    border-color: var(--cream-50);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Section Tags --- */
.section-tag {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--forest-500);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--cream-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--cream-500);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(247, 247, 240, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(11, 31, 14, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--forest-800);
}

.nav-logo-icon {
    color: var(--forest-600);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--cream-600);
    transition: var(--transition);
    position: relative;
}

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

.nav-links a:hover {
    color: var(--forest-700);
}

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

.nav-cta {
    background: var(--forest-700);
    color: var(--cream-50) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--forest-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream-800);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--forest-900) 0%,
        var(--forest-700) 25%,
        #1a5c32 50%,
        var(--forest-600) 75%,
        var(--forest-800) 100%
    );
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(45, 122, 58, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(26, 74, 34, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(11, 31, 14, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--forest-200);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--cream-50);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-accent {
    font-style: italic;
    font-weight: 500;
    color: var(--gold-400);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(247, 247, 240, 0.75);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream-50);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(247, 247, 240, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(247, 247, 240, 0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(247, 247, 240, 0.4);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Services --- */
.services {
    padding: 120px 0;
    background: var(--cream-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--cream-25);
    border: 1px solid rgba(11, 31, 14, 0.06);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(45, 122, 58, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--forest-50);
    border-radius: var(--radius-md);
    color: var(--forest-600);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--forest-700);
    color: var(--cream-50);
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--cream-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--cream-500);
    line-height: 1.7;
}

/* --- About --- */
.about {
    padding: 120px 0;
    background: var(--cream-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-xl);
    width: 100%;
    height: 700px;
    object-fit: cover;
    box-shadow: var(--shadow-xl);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--forest-100);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 1.05rem;
    color: var(--cream-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.about-value {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-value svg {
    color: var(--forest-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.about-value strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.05rem;
    color: var(--cream-900);
    margin-bottom: 4px;
}

.about-value span {
    font-size: 0.9rem;
    color: var(--cream-500);
    line-height: 1.6;
}

/* --- Gallery --- */
.gallery {
    padding: 120px 0;
    background: var(--cream-25);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 5/4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 31, 14, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    color: var(--cream-50);
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 500;
}

/* --- Testimonial --- */
.testimonial {
    padding: 120px 0;
    background: var(--forest-800);
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 30% 50%, rgba(45, 122, 58, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 70% 30%, rgba(26, 74, 34, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.testimonial-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    color: var(--forest-400);
    margin-bottom: 32px;
    opacity: 0.6;
}

.testimonial blockquote {
    font-family: var(--serif);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-style: italic;
    color: var(--cream-100);
    line-height: 1.6;
    margin-bottom: 32px;
    font-weight: 400;
}

.testimonial-author strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--cream-50);
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--forest-300);
}

/* --- Contact --- */
.contact {
    padding: 120px 0;
    background: var(--cream-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    padding: 20px 0;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--cream-500);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--cream-700);
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-detail svg {
    color: var(--forest-500);
    flex-shrink: 0;
}

.contact-detail a {
    transition: var(--transition);
}

.contact-detail a:hover {
    color: var(--forest-600);
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--cream-25);
    border: 1px solid rgba(11, 31, 14, 0.06);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--cream-900);
    margin-bottom: 8px;
}

.form-note {
    font-size: 0.875rem;
    color: var(--cream-400);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--cream-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--cream-200);
    border-radius: var(--radius-sm);
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--cream-800);
    background: var(--cream-50);
    transition: var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--forest-500);
    box-shadow: 0 0 0 3px rgba(45, 122, 58, 0.1);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--forest-50);
    border: 1px solid var(--forest-100);
    border-radius: var(--radius-sm);
    margin-top: 20px;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    color: var(--forest-500);
    flex-shrink: 0;
}

.form-success p {
    font-size: 0.9rem;
    color: var(--forest-700);
}

/* --- Footer --- */
.footer {
    background: var(--cream-900);
    color: var(--cream-300);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(247, 247, 240, 0.08);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--cream-50);
    margin-bottom: 16px;
}

.footer-logo svg {
    color: var(--forest-400);
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--cream-500);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links strong,
.footer-contact strong {
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--cream-50);
    margin-bottom: 4px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9rem;
    color: var(--cream-400);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--forest-300);
}

.footer-contact span {
    font-size: 0.9rem;
    color: var(--cream-500);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--cream-600);
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 48px;
    }

    .contact-grid {
        gap: 48px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(247, 247, 240, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(11, 31, 14, 0.06);
        transform: translateY(-120%);
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-stats {
        gap: 20px;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 400px;
    }

    .about-image-accent {
        display: none;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

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

    .footer-brand {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

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