/* ============================================
   The Dugout — Custom Styles
   ============================================ */

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

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

body {
    position: relative;
}

::selection {
    background: #40916C;
    color: #FAF8F0;
}

/* --- Geometric Background Blobs --- */
.geo-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.geo-blob--green {
    width: 600px;
    height: 600px;
    background: #1B4332;
    top: -200px;
    right: -200px;
    animation: blobFloat 20s ease-in-out infinite;
}

.geo-blob--light {
    width: 400px;
    height: 400px;
    background: #95D5B2;
    bottom: 20%;
    left: -100px;
    animation: blobFloat 25s ease-in-out infinite reverse;
}

.geo-blob--accent {
    width: 300px;
    height: 300px;
    background: #74C69D;
    top: 50%;
    right: 10%;
    animation: blobFloat 18s ease-in-out infinite;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* --- Geometric Shapes --- */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.08;
}

.geo-shape--triangle1 {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid #1B4332;
    top: 10%;
    right: 5%;
    transform: rotate(15deg);
}

.geo-shape--circle3 {
    width: 200px;
    height: 200px;
    border: 4px solid #1B4332;
    border-radius: 50%;
    bottom: 15%;
    left: 3%;
}

.geo-shape--circle4 {
    width: 150px;
    height: 150px;
    background: #1B4332;
    border-radius: 50%;
    top: 5%;
    right: 8%;
}

.geo-shape--rect2 {
    width: 100px;
    height: 100px;
    background: #1B4332;
    border-radius: 20px;
    bottom: 10%;
    left: 6%;
    transform: rotate(45deg);
}

.geo-shape--rect3 {
    width: 180px;
    height: 180px;
    border: 4px solid #1B4332;
    border-radius: 30px;
    top: 8%;
    left: 4%;
    transform: rotate(-10deg);
}

.geo-shape--triangle2 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-top: 140px solid #1B4332;
    bottom: 10%;
    right: 5%;
    transform: rotate(-20deg);
}

.geo-shape--circle5 {
    width: 250px;
    height: 250px;
    background: #1B4332;
    border-radius: 50%;
    top: 5%;
    left: -80px;
}

.geo-shape--circle6 {
    width: 300px;
    height: 300px;
    background: #2D6A4F;
    border-radius: 50%;
    bottom: -100px;
    right: -50px;
    opacity: 0.3;
}

/* --- Hero Shapes --- */
.hero-shape {
    position: absolute;
    pointer-events: none;
}

.hero-shape--circle1 {
    width: 500px;
    height: 500px;
    background: #D8F3DC;
    border-radius: 50%;
    top: -100px;
    left: -150px;
    opacity: 0.5;
}

.hero-shape--circle2 {
    width: 300px;
    height: 300px;
    background: #B7E4C7;
    border-radius: 50%;
    bottom: 10%;
    right: -50px;
    opacity: 0.4;
}

.hero-shape--rect {
    width: 200px;
    height: 200px;
    background: #1B4332;
    border-radius: 40px;
    top: 20%;
    right: 8%;
    opacity: 0.06;
    transform: rotate(25deg);
}

.hero-shape--dot {
    width: 12px;
    height: 12px;
    background: #52B788;
    border-radius: 50%;
    top: 30%;
    left: 10%;
    opacity: 0.6;
}

/* --- Navbar --- */
.nav-header {
    background: rgba(250, 248, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-header.scrolled {
    background: rgba(250, 248, 240, 0.95);
    box-shadow: 0 4px 30px rgba(27, 67, 50, 0.08);
}

.nav-link {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1B4332;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.nav-link:hover {
    background: #D8F3DC;
    color: #0B2218;
}

.nav-cta-btn {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #FAF8F0;
    background: #1B4332;
    padding: 0.6rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-left: 0.5rem;
}

.nav-cta-btn:hover {
    background: #2D6A4F;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.3);
}

/* Mobile menu */
.hamburger-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger-line:nth-child(1) { top: 35%; }
.hamburger-line:nth-child(2) { top: 50%; }
.hamburger-line:nth-child(3) { top: 65%; }

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 1.25rem;
}

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

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

.mobile-nav-link {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #1B4332;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.25s ease;
}

/* --- Hero --- */
.hero-label {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-label h1 {
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

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

.hero-label .flex {
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

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

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

/* Scroll indicator */
.scroll-indicator {
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.scroll-mouse {
    border-color: #74C69D;
}

.scroll-dot {
    background: #40916C;
}

/* --- Section Styles --- */
.section-label {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #40916C;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: #40916C;
    border-radius: 2px;
}

.section-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #0B2218;
    line-height: 1.1;
}

.section-subtitle {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 1.1rem;
    color: #2D6A4F;
    line-height: 1.7;
}

/* --- Menu Cards --- */
.menu-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.menu-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.menu-card:nth-child(2) { transition-delay: 0.1s; }
.menu-card:nth-child(3) { transition-delay: 0.2s; }

/* --- About --- */
.about-img-wrapper {
    box-shadow: 0 25px 60px rgba(27, 67, 50, 0.2);
}

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

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

.value-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.value-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* --- Vibe / Gallery --- */
.vibe-img-col-2 {
    grid-column: span 1;
}

.vibe-img-col-2@media (min-width: 768px) {
    grid-column: span 2;
}

.vibe-img-row-2 {
    grid-column: span 1;
}

.vibe-img-row-2@media (min-width: 768px) {
    grid-column: span 1;
}

/* --- Visit Cards --- */
.visit-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.visit-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Contact --- */
.contact-info-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.contact-info-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-input {
    font-family: 'Space Grotesk', system-ui, sans-serif;
}

.contact-input:focus {
    border-color: #40916C;
    box-shadow: 0 0 0 4px rgba(64, 145, 108, 0.1);
}

/* --- Buttons --- */
.btn-primary {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Footer --- */
.footer-deco {
    position: absolute;
    pointer-events: none;
}

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

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .geo-blob--green {
        width: 300px;
        height: 300px;
    }
    
    .geo-blob--light {
        width: 200px;
        height: 200px;
    }
    
    .geo-blob--accent {
        width: 150px;
        height: 150px;
    }
    
    .hero-shape--circle1 {
        width: 250px;
        height: 250px;
    }
    
    .hero-shape--circle2 {
        width: 150px;
        height: 150px;
    }
    
    .hero-shape--rect {
        width: 100px;
        height: 100px;
    }
    
    .about-floating-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        display: inline-block;
    }
    
    .about-dots {
        display: none;
    }
}

/* --- 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;
    }
}
