/* Branch House — Custom Styles */

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

/* Selection */
::selection {
    background: #f9c3cc;
    color: #4a1720;
}

/* Smooth focus */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #7B2D3B;
    outline-offset: 4px;
    border-radius: 8px;
}

/* Navbar transition */
#navbar {
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background: rgba(253, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.06);
}

/* Hero section parallax-lite */
.hero-section {
    position: relative;
}

/* Custom cursor on interactive elements */
button,
a[href] {
    cursor: pointer;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #fce0d6 0%, #f9c3cc 100%);
    min-height: 200px;
}

/* Subtle pattern for sections */
.bg-pattern-dots {
    background-image: radial-gradient(circle, rgba(123, 45, 59, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Glass effect */
.glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #7B2D3B 0%, #eb7a62 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile menu line animation */
.menu-line {
    display: block;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

#menuBtn.active .menu-line:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
    width: 1.25rem;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal-hidden {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .img-zoom img {
        transition: none;
    }
    
    .mobile-menu {
        transition: none;
    }
    
    #navbar {
        transition: none;
    }
}

/* Tablet and up adjustments */
@media (min-width: 768px) {
    .reveal-hidden {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print styles */
@media print {
    .mobile-menu,
    #menuBtn {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-burgundy-600 {
        background: #7B2D3B !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
