@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --color-bg: #FCFBF7;
    --color-text: #0B1D12;
    --color-primary: #0B1D12;
    --color-secondary: #9CB380;
    --color-accent: #FDE2D2;
    --color-white: #FFFFFF;
    --color-dark-green: #07140B;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
    
    --container-padding: 5%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
}

p {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(11, 29, 18, 0.8);
}

.button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background-color: var(--color-primary);
    color: var(--color-bg);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s var(--transition);
    border: 1px solid var(--color-primary);
    cursor: pointer;
}

.button:hover {
    background-color: transparent;
    color: var(--color-primary);
}

.button.secondary {
    background-color: transparent;
    color: var(--color-primary);
}

.button.secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-bg);
}

/* Layout */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: 8rem 0;
}

/* Header */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s var(--transition);
}

header.scrolled {
    background: rgba(252, 251, 247, 0.85);
    backdrop-filter: blur(10px);
    height: 70px;
    border-bottom: 1px solid rgba(11, 29, 18, 0.05);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-primary);
    font-size: 0.9rem;
    text-transform: capitalize;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h4 {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.hero-text h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-text h1 span {
    font-style: italic;
}

.hero-text p {
    max-width: 450px;
    margin-bottom: 3rem;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-cta .view-gallery {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Collage */
.hero-collage {
    position: relative;
    height: 600px;
}

.collage-main {
    width: 80%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    margin-left: auto;
    display: block;
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
}

.collage-float {
    position: absolute;
    bottom: -10%;
    left: 0;
    width: 45%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    border: 10px solid var(--color-bg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.1);
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: #DDE8B1; /* Sage blend */
    padding: 2rem;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    line-height: 1.2;
    transform: rotate(-10deg);
}

.about-content h4 {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.about-content h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.about-content .bio {
    margin-bottom: 1.5rem;
}

/* Flora Section */
.flora-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.flora-header h4 {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.flora-header h2 {
    font-size: 3.5rem;
}

.filter-tabs {
    display: flex;
    background: #F1F0EA;
    padding: 0.4rem;
    border-radius: 50px;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border-radius: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn.active {
    background: var(--color-primary);
    color: var(--color-bg);
}

/* Masonry Grid (Homepage) */
.flora-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    gap: 20px;
}

.masonry-item:nth-child(1) { grid-row: span 2; }
.masonry-item:nth-child(2) { grid-row: span 1; }
.masonry-item:nth-child(3) { grid-row: span 2; }
.masonry-item:nth-child(4) { grid-row: span 1; }

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
}

.masonry-columns .flora-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    vertical-align: middle;
    cursor: pointer;
}

.flora-view-all {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--color-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.view-all-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 29, 18, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    transition: background 0.3s;
}

.flora-view-all:hover .view-all-overlay {
    background: rgba(11, 29, 18, 0.5);
}

.flora-view-all h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-bg);
}

/* Full Gallery Masonry (Columns based) */
.masonry-columns {
    column-count: 3;
    column-gap: 30px;
    margin-top: 4rem;
}

.masonry-columns .flora-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 30px;
    break-inside: avoid;
}

@media (max-width: 1024px) {
    .masonry-columns {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .flora-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .masonry-item {
        grid-row: span 1 !important;
        height: 300px;
    }
    
    .masonry-columns {
        column-count: 1;
    }
}

/* Testimonial Carousel */
.testimonial-carousel-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 2rem 0;
}

.testimonial-carousel {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s var(--transition);
    transform: translateX(50px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(252, 251, 247, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--color-secondary);
    transform: scale(1.3);
}

/* Testimonials */
.testimonials {
    background-color: var(--color-dark-green);
    color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: url('assets/leaf-icon.svg') no-repeat center/contain;
    opacity: 0.05;
}

.test-container {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 4rem;
    color: var(--color-secondary);
    margin-bottom: 2rem;
}

.testimonials h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.3;
    margin-bottom: 3rem;
    font-style: italic;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8rem;
}

.contact-info h4 {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.contact-info h2 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
}

.contact-details {
    margin-bottom: 4rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item .icon {
    color: var(--color-secondary);
}

.consultation-card {
    background-color: var(--color-accent);
    padding: 3rem;
    border-radius: 20px;
}

.consultation-card h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Form Styles */
.form-container {
    background: #F1F0EA;
    padding: 4rem;
    border-radius: 30px;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    opacity: 0.7;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: none;
    border-radius: 12px;
    background: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

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

/* Footer */
footer {
    padding: 6rem 0 2rem;
    background: #F1F0EA;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(11, 29, 18, 0.1);
}

.footer-brand p {
    margin: 1.5rem 0 2rem;
    max-width: 300px;
}

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

.social-links a {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.footer-links h5 {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul a {
    text-decoration: none;
    color: var(--color-primary);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-links ul a:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition);
}

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

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 29, 18, 0.95);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--color-bg);
    font-size: 40px;
    font-family: sans-serif;
    line-height: 1;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--color-secondary);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-bg);
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: color 0.3s ease;
    z-index: 2001;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    color: var(--color-secondary);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero-content, .about-grid, .contact-grid, .footer-top {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero-collage {
        height: 500px;
    }
    
    .flora-grid {
        height: auto;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .about-content h2, .contact-info h2 {
        font-size: 2.5rem;
    }

    .flora-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .flora-header h2 {
        font-size: 2.5rem;
    }
    
    .form-container {
        padding: 2rem;
    }
}
