/* ============================================
   The Gallery at Depot Square — Custom Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* --- Geometric Background Shapes --- */
.geo-shapes {
    opacity: 0.4;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 87, 26, 0.15) 0%, transparent 70%);
}

.geo-circle--1 {
    width: 400px;
    height: 400px;
    top: 10%;
    right: -100px;
}

.geo-circle--2 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: -50px;
    background: radial-gradient(circle, rgba(133, 196, 133, 0.2) 0%, transparent 70%);
}

.geo-rect {
    position: absolute;
    background: rgba(26, 87, 26, 0.06);
    border-radius: 20px;
    transform: rotate(15deg);
}

.geo-rect--1 {
    width: 200px;
    height: 300px;
    top: 40%;
    left: 5%;
}

.geo-rect--2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    transform: rotate(-10deg);
    background: rgba(184, 223, 184, 0.15);
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 100px 60px;
    border-color: transparent transparent rgba(26, 87, 26, 0.08) transparent;
    bottom: 30%;
    right: 15%;
    transform: rotate(20deg);
}

/* --- Navigation --- */
.nav-header {
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 87, 26, 0.08);
}

.nav-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.nav-logo:hover .nav-logo-mark {
    transform: rotate(12deg) scale(1.05);
}

.nav-link {
    position: relative;
}

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

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

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1a571a;
    color: #faf9f6;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: #2d8a2d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 87, 26, 0.25);
}

/* Mobile menu */
.mobile-menu-btn {
    background: #1a571a;
}

.mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-link {
    display: block;
    border-bottom: 1px solid rgba(26, 87, 26, 0.08);
}

.btn-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1a571a;
    color: #faf9f6;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
}

/* --- Hero Section --- */
.hero {
    background: #0f330f;
    position: relative;
}

.hero-bg {
    overflow: hidden;
}

.hero-geo {
    position: absolute;
}

.hero-geo--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at 20% 50%, rgba(45, 138, 45, 0.3) 0%, transparent 60%);
    top: -200px;
    left: -100px;
    border-radius: 50%;
}

.hero-geo--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 80% 30%, rgba(133, 196, 133, 0.2) 0%, transparent 60%);
    top: 10%;
    right: -50px;
    border-radius: 50%;
}

.hero-geo--3 {
    width: 200px;
    height: 200px;
    background: rgba(184, 223, 184, 0.1);
    bottom: 10%;
    left: 10%;
    border-radius: 30px;
    transform: rotate(45deg);
}

.hero-geo--4 {
    width: 120px;
    height: 120px;
    background: rgba(26, 87, 26, 0.3);
    top: 25%;
    right: 20%;
    border-radius: 20px;
    transform: rotate(-15deg);
}

.hero-headline {
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero-badge {
    animation: fadeInDown 0.8s ease forwards;
}

.hero-headline {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-ctas {
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    background: #faf9f6;
    color: #0f330f;
    padding: 16px 32px;
    border-radius: 60px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    background: #f5f3ed;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #faf9f6;
    padding: 16px 32px;
    border-radius: 60px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(250, 249, 246, 0.3);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    border-color: rgba(250, 249, 246, 0.7);
    background: rgba(250, 249, 246, 0.1);
    transform: translateY(-3px);
}

.hero-scroll {
    animation: fadeInUp 0.8s ease 1s forwards;
    opacity: 0;
}

/* --- Section Labels --- */
.section-label {
    display: inline-flex;
}

/* --- About Section --- */
.about-img-main {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.about-img-accent {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-geo {
    box-shadow: 0 10px 30px rgba(26, 87, 26, 0.2);
}

.about-stat-number {
    font-family: 'Playfair Display', serif;
}

/* --- Shop Section --- */
.shop-bg-shapes {
    overflow: hidden;
}

.shop-circle {
    position: absolute;
    border-radius: 50%;
}

.shop-circle--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45, 138, 45, 0.15) 0%, transparent 60%);
    top: -150px;
    right: -100px;
}

.shop-rect {
    position: absolute;
    background: rgba(26, 87, 26, 0.08);
    border-radius: 30px;
}

.shop-rect--1 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: -50px;
    transform: rotate(20deg);
}

.shop-card {
    transition: transform 0.4s ease;
}

.shop-card:hover {
    transform: translateY(-8px);
}

.shop-card-img {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-shop-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #dcefdc;
    border: 2px solid rgba(220, 239, 220, 0.3);
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-shop-explore:hover {
    background: rgba(220, 239, 220, 0.1);
    border-color: rgba(220, 239, 220, 0.6);
    transform: translateY(-2px);
}

/* --- Community Section --- */
.community-geo-block {
    box-shadow: 0 15px 40px rgba(26, 87, 26, 0.25);
}

.community-geo-circle {
    box-shadow: 0 10px 30px rgba(133, 196, 133, 0.3);
}

.community-images .community-img-main {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* --- Visit Section --- */
.visit-bg-shapes {
    overflow: hidden;
}

.visit-circle {
    position: absolute;
    border-radius: 50%;
}

.visit-circle--1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(26, 87, 26, 0.08) 0%, transparent 60%);
    top: -100px;
    left: -100px;
}

.visit-rect {
    position: absolute;
    background: rgba(26, 87, 26, 0.05);
    border-radius: 25px;
}

.visit-rect--1 {
    width: 180px;
    height: 180px;
    bottom: 5%;
    right: 5%;
    transform: rotate(-10deg);
}

.visit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* --- Contact Section --- */
.contact-bg-shapes {
    overflow: hidden;
}

.contact-circle {
    position: absolute;
    border-radius: 50%;
}

.contact-circle--1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(45, 138, 45, 0.12) 0%, transparent 60%);
    bottom: -150px;
    right: -100px;
}

.contact-rect {
    position: absolute;
    background: rgba(26, 87, 26, 0.06);
    border-radius: 25px;
}

.contact-rect--1 {
    width: 200px;
    height: 200px;
    top: 5%;
    left: 5%;
    transform: rotate(15deg);
}

.contact-info-row {
    text-decoration: none;
    transition: transform 0.2s ease;
}

.contact-info-row:hover {
    transform: translateX(6px);
}

.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    box-shadow: 0 0 0 3px rgba(133, 196, 133, 0.15);
}

.btn-form-submit {
    transition: all 0.3s ease;
}

.btn-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 138, 45, 0.35);
}

.contact-success {
    animation: fadeInUp 0.5s ease;
}

/* --- Footer --- */
.footer-logo:hover .footer-logo-mark {
    transform: rotate(12deg);
    transition: transform 0.3s ease;
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .geo-circle--1 {
        width: 250px;
        height: 250px;
    }
    
    .hero-headline {
        font-size: 2.75rem;
    }
    
    .hero-headline br {
        display: none;
    }
    
    .about-img-accent {
        width: 120px;
        height: 120px;
        bottom: -4px;
        right: -4px;
    }
    
    .about-geo {
        width: 120px;
        height: 120px;
    }
    
    .shop-circle--1 {
        width: 250px;
        height: 250px;
    }
    
    .community-images {
        margin-bottom: 2rem;
    }
    
    .visit-info {
        order: -1;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .hero-headline {
        font-size: 4.5rem;
    }
}
