/* ============================================
   Creative Reflections — Custom Styles
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 300;
    color: #1B4332;
    background-color: #FDFCF8;
    line-height: 1.7;
    -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;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 252, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(253, 252, 248, 0.97);
    box-shadow: 0 1px 20px rgba(27, 67, 50, 0.06);
}

.nav-inner {
    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: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #1B4332;
    letter-spacing: 0.01em;
}

.nav-logo-icon {
    color: #1B4332;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1B4332;
    position: relative;
    transition: opacity 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1B4332;
    transition: width 0.3s ease;
}

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

.nav-cta {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
    padding: 8px 20px;
    border: 1px solid rgba(27, 67, 50, 0.3);
    border-radius: 100px;
    transition: all 0.3s ease !important;
}

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

.nav-cta:hover {
    background: #1B4332;
    color: #FDFCF8 !important;
    border-color: #1B4332;
}

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

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: #1B4332;
    transition: all 0.3s ease;
    display: block;
}

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

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

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

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #091a13 0%,
        #1B4332 25%,
        #2d6a4f 50%,
        #40916c 70%,
        #52b788 85%,
        #74c69d 100%
    );
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(45, 106, 79, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(82, 183, 141, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(27, 67, 50, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

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

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(216, 243, 220, 0.8);
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1.08;
    color: #FDFCF8;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.hero-emphasis {
    font-style: italic;
    font-weight: 400;
    color: #D8F3DC;
}

.hero-subtitle {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(253, 252, 248, 0.75);
    max-width: 540px;
    margin: 0 auto 44px;
}

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

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

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

.hero-stat-number {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    color: #D8F3DC;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-label {
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(216, 243, 220, 0.6);
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: #FDFCF8;
    color: #1B4332;
    border-color: #FDFCF8;
}

.btn-primary:hover {
    background: transparent;
    color: #FDFCF8;
    border-color: #FDFCF8;
}

.btn-ghost {
    background: transparent;
    color: #FDFCF8;
    border-color: rgba(253, 252, 248, 0.4);
}

.btn-ghost:hover {
    border-color: #FDFCF8;
    background: rgba(253, 252, 248, 0.08);
}

.btn-dark {
    background: #1B4332;
    color: #FDFCF8;
    border-color: #1B4332;
}

.btn-dark:hover {
    background: #163828;
    border-color: #163828;
}

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

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #2d6a4f;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    color: #1B4332;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: #4a7c65;
    line-height: 1.7;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 120px 0;
    background: #FDFCF8;
}

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

.service-card {
    padding: 40px 32px;
    background: #FAF8F2;
    border: 1px solid rgba(27, 67, 50, 0.06);
    border-radius: 2px;
    transition: all 0.4s ease;
}

.service-card:hover {
    border-color: rgba(27, 67, 50, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(27, 67, 50, 0.08);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(27, 67, 50, 0.15);
    border-radius: 50%;
    margin-bottom: 24px;
    color: #1B4332;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #1B4332;
    border-color: #1B4332;
    color: #FDFCF8;
}

.service-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 500;
    color: #1B4332;
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.9375rem;
    font-weight: 300;
    color: #4a7c65;
    line-height: 1.7;
}

.services-cta {
    text-align: center;
    padding: 48px;
    background: #1B4332;
    border-radius: 2px;
}

.services-cta p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #D8F3DC;
    margin-bottom: 24px;
}

.services-cta .btn-dark {
    background: #FDFCF8;
    color: #1B4332;
    border-color: #FDFCF8;
}

.services-cta .btn-dark:hover {
    background: transparent;
    color: #FDFCF8;
    border-color: #FDFCF8;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 120px 0;
    background: #F5F0E8;
}

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

.about-image-wrap {
    position: relative;
}

.about-image {
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

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

.about-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(27, 67, 50, 0.15);
    border-radius: 2px;
    z-index: 1;
}

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

.about-text {
    font-size: 1rem;
    font-weight: 300;
    color: #4a7c65;
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-features {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-feature-line {
    width: 32px;
    height: 1px;
    background: #2d6a4f;
    flex-shrink: 0;
}

.about-feature span {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #1B4332;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: 120px 0;
    background: #FDFCF8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 2px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

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

.gallery-item:nth-child(1) {
    grid-column: 1 / 6;
    grid-row: 1 / 2;
    min-height: 420px;
}

.gallery-item:nth-child(2) {
    grid-column: 6 / 9;
    grid-row: 1 / 2;
    min-height: 280px;
}

.gallery-item:nth-child(3) {
    grid-column: 9 / 13;
    grid-row: 1 / 2;
    min-height: 280px;
}

.gallery-item:nth-child(4) {
    grid-column: 1 / 5;
    grid-row: 2 / 3;
    min-height: 420px;
}

.gallery-item:nth-child(5) {
    grid-column: 5 / 13;
    grid-row: 2 / 3;
    min-height: 280px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 120px 0;
    background: #1B4332;
}

.testimonials .section-eyebrow {
    color: rgba(216, 243, 220, 0.6);
}

.testimonials .section-title {
    color: #FDFCF8;
}

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

.testimonial-card {
    padding: 40px 32px;
    background: rgba(253, 252, 248, 0.05);
    border: 1px solid rgba(253, 252, 248, 0.08);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(253, 252, 248, 0.08);
    border-color: rgba(253, 252, 248, 0.15);
}

.testimonial-quote {
    color: rgba(216, 243, 220, 0.3);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(253, 252, 248, 0.8);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(216, 243, 220, 0.5);
    letter-spacing: 0.04em;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 120px 0 0;
    background: #FDFCF8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.contact-desc {
    font-size: 1rem;
    font-weight: 300;
    color: #4a7c65;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    gap: 16px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(27, 67, 50, 0.15);
    border-radius: 50%;
    color: #1B4332;
    flex-shrink: 0;
}

.contact-detail-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2d6a4f;
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.9375rem;
    font-weight: 300;
    color: #1B4332;
    line-height: 1.6;
}

.contact-detail-link {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #1B4332;
    border-bottom: 1px solid rgba(27, 67, 50, 0.2);
    padding-bottom: 2px;
    transition: border-color 0.3s;
}

.contact-detail-link:hover {
    border-color: #1B4332;
}

/* Contact Form */
.contact-form-wrap {
    background: #FAF8F2;
    border: 1px solid rgba(27, 67, 50, 0.06);
    border-radius: 2px;
    padding: 48px;
}

.form-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: #1B4332;
    margin-bottom: 32px;
}

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

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4a7c65;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 300;
    color: #1B4332;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(27, 67, 50, 0.15);
    outline: none;
    transition: border-color 0.3s;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: rgba(27, 67, 50, 0.3);
}

.form-input:focus {
    border-color: #1B4332;
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231B4332' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 24px;
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    color: #1B4332;
}

.form-success svg {
    color: #2d6a4f;
}

.form-success p {
    font-size: 0.9375rem;
    font-weight: 300;
    color: #4a7c65;
}

/* Map */
.map-wrap {
    border-top: 1px solid rgba(27, 67, 50, 0.08);
}

.map-wrap iframe {
    width: 100%;
    height: 350px;
    filter: saturate(0.5) brightness(1.05);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0f251c;
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #D8F3DC;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(216, 243, 220, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-nav-label,
.footer-contact-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(216, 243, 220, 0.4);
    margin-bottom: 16px;
}

.footer-nav ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a,
.footer-contact a {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(216, 243, 220, 0.7);
    transition: color 0.3s;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: #D8F3DC;
}

.footer-contact span {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(216, 243, 220, 0.5);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(216, 243, 220, 0.08);
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 0.8125rem;
    font-weight: 300;
    color: rgba(216, 243, 220, 0.3);
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

/* Without JS, all content is visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

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

    .about-grid {
        gap: 48px;
    }

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-grid {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 252, 248, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid rgba(27, 67, 50, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.4s ease;
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding: 100px 24px 60px;
    }

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

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

    .services {
        padding: 80px 0;
    }

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

    .about {
        padding: 80px 0;
    }

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

    .about-accent {
        display: none;
    }

    .gallery {
        padding: 80px 0;
    }

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

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: auto;
        grid-row: auto;
        min-height: 240px;
    }

    .testimonials {
        padding: 80px 0;
    }

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

    .testimonials-grid .testimonial-card:last-child {
        max-width: none;
    }

    .contact {
        padding: 80px 0 0;
    }

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

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

    .footer {
        padding: 48px 0 24px;
    }

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

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

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

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