/* ========================================
   Baby Girl'z Lounge LLC — Custom Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* --- Geometric Background Shapes --- */
.geo-shapes {
    z-index: 0;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
    background: #166534;
}

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

.geo-circle--2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: -50px;
}

.geo-square {
    position: absolute;
    opacity: 0.04;
    background: #166534;
    border-radius: 16px;
    transform: rotate(45deg);
}

.geo-square--1 {
    width: 120px;
    height: 120px;
    top: 30%;
    left: 5%;
}

.geo-triangle {
    position: absolute;
    opacity: 0.03;
    background: #166534;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.geo-triangle--1 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 8%;
}

.geo-diamond {
    position: absolute;
    opacity: 0.04;
    background: #166534;
    transform: rotate(45deg);
    border-radius: 8px;
}

.geo-diamond--1 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 15%;
}

.geo-arc {
    position: absolute;
    opacity: 0.03;
    border: 30px solid #166534;
    border-radius: 50%;
    width: 300px;
    height: 300px;
}

.geo-arc--1 {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: transparent;
    border-left-color: transparent;
}

/* --- Navigation --- */
.nav {
    background: rgba(253, 252, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(22, 101, 52, 0.08);
    transition: all duration 300ms;
}

.nav.scrolled {
    background: rgba(253, 252, 248, 0.95);
    box-shadow: 0 4px 30px rgba(22, 101, 52, 0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-link {
    position: relative;
}

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

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

/* Mobile Menu */
.mobile-menu-btn {
    transition: all 0.2s ease;
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.mobile-menu {
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    max-height: 400px;
}

.mobile-nav-link {
    position: relative;
    padding-left: 0;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    border-left-color: #166534;
    color: #166534;
    padding-left: 12px;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #166534;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(22, 101, 52, 0.25);
}

.btn-primary:hover {
    background: #0f4f28;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 101, 52, 0.35);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #166534;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: #f0f7f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-gradient {
    background: linear-gradient(135deg, #082a16 0%, #166534 30%, #2d7a4f 60%, #4f9b72 100%);
}

.hero-shape {
    position: absolute;
    opacity: 0.12;
}

.hero-shape--1 {
    width: 300px;
    height: 300px;
    background: #ffffff;
    border-radius: 50%;
    top: 10%;
    left: -5%;
}

.hero-shape--2 {
    width: 150px;
    height: 150px;
    background: #86efac;
    border-radius: 50%;
    top: 20%;
    right: 5%;
}

.hero-shape--3 {
    width: 80px;
    height: 80px;
    background: #ffffff;
    top: 60%;
    left: 10%;
    transform: rotate(45deg);
    border-radius: 12px;
}

.hero-shape--4 {
    width: 200px;
    height: 200px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    bottom: 10%;
    right: 10%;
    background: transparent;
}

.hero-shape--5 {
    width: 60px;
    height: 60px;
    background: #bbf7d0;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 40%;
    right: 20%;
}

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

.hero-headline {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-accent {
    color: #86efac;
    font-style: italic;
}

.hero-subtext {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-ctas {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-scroll {
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

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

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

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* --- Section Labels --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #166534;
    background: rgba(22, 101, 52, 0.08);
    padding: 8px 16px;
    border-radius: 100px;
}

.section-label-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #86efac;
    background: rgba(134, 239, 172, 0.15);
    padding: 8px 16px;
    border-radius: 100px;
}

/* --- Features Strip --- */
.features-strip {
    position: relative;
    z-index: 10;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --- About --- */
.about-images {
    position: relative;
}

.about-img-main {
    box-shadow: 0 25px 60px rgba(22, 101, 52, 0.15);
}

.about-float-card {
    animation: float 4s ease-in-out infinite;
}

/* --- Products --- */
.product-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(22, 101, 52, 0.06);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(22, 101, 52, 0.12);
    border-color: rgba(22, 101, 52, 0.12);
}

.product-card-img {
    border-radius: 18px;
    overflow: hidden;
}

.product-card-cta {
    position: relative;
    overflow: hidden;
}

.product-card-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 30px rgba(22, 101, 52, 0.1);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 50px rgba(22, 101, 52, 0.18);
}

.gallery-item--large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.gallery-item--large img {
    height: 100%;
    min-height: 400px;
}

.gallery-item--tall {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.gallery-item--tall img {
    height: 100%;
    min-height: 280px;
}

.gallery-item--wide {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}

.gallery-item--wide img {
    height: 100%;
    min-height: 200px;
}

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

/* --- Contact Form --- */
.input-field {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8e8e0;
    border-radius: 12px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    color: #1a1a1a;
    background: #fafaf6;
    transition: all 0.2s ease;
    outline: none;
}

.input-field::placeholder {
    color: #a0a090;
}

.input-field:focus {
    border-color: #166534;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(22, 101, 52, 0.08);
}

.input-field:hover:not(:focus) {
    border-color: #7fc09d;
}

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

/* --- Social Icons --- */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #86efac;
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-3px);
}

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 10;
}

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

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

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .nav-inner {
        height: 70px;
    }

    .hero-headline {
        font-size: 2.75rem;
    }

    .hero-subtext {
        font-size: 1rem;
    }

    .hero-shape--1 {
        width: 200px;
        height: 200px;
    }

    .hero-shape--4 {
        width: 120px;
        height: 120px;
    }

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

    .gallery-item--large {
        grid-column: 1;
        grid-row: 1;
    }

    .gallery-item--tall {
        grid-column: 1;
        grid-row: 2;
    }

    .gallery-item--wide {
        grid-column: 1;
        grid-row: 3;
    }

    .gallery-item img {
        min-height: 200px !important;
    }

    .about-float-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
        display: inline-block;
    }

    .features-strip {
        gap: 12px !important;
    }

    .feature-item {
        font-size: 0.85rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item--large img {
        min-height: 300px;
    }
}

@media (min-width: 1024px) {
    .gallery-item--large img {
        min-height: 450px;
    }
}
