/* Custom styles for Floating R Canoe Rentals */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #0A0A0C;
    color: #F5F0EC;
    overflow-x: hidden;
}

/* Typography */
.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-body {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0A0A0C;
}

::-webkit-scrollbar-thumb {
    background: #2A2A2E;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3A3A3F;
}

/* Selection */
::selection {
    background: #800020;
    color: #F5F0EC;
}

/* Nav link underline animation */
.nav-link {
    position: relative;
}

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

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

.nav-link:hover {
    color: #F5C6D0;
}

/* Navbar scrolled state */
.navbar-scrolled {
    background: rgba(10, 10, 12, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.navbar-scrolled .nav-link {
    color: #B8B0AA;
}

/* Mobile menu open state */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Mobile menu links */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #C9A84C;
    transition: width 0.3s ease;
}

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

/* Hamburger animation */
.menu-line {
    transition: all 0.3s ease;
}

.menu-open .menu-line:first-child {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-open .menu-line:last-child {
    opacity: 0;
    transform: translateX(-10px);
}

/* Reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal[data-reveal-delay="1"] {
    transition-delay: 0.1s;
}

.reveal[data-reveal-delay="2"] {
    transition-delay: 0.2s;
}

.reveal[data-reveal-delay="3"] {
    transition-delay: 0.3s;
}

.reveal[data-reveal-delay="4"] {
    transition-delay: 0.4s;
}

.reveal[data-reveal-delay="5"] {
    transition-delay: 0.5s;
}

.reveal[data-reveal-delay="6"] {
    transition-delay: 0.6s;
}

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

/* Input focus styles */
input:focus,
textarea:focus,
select:focus {
    border-color: rgba(201, 168, 76, 0.5) !important;
    box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.2) !important;
}

/* Button ripple effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Image lazy loading fade */
img[loading="lazy"] {
    transition: opacity 0.5s ease;
}

img[loading="lazy"][src] {
    opacity: 1;
}

/* Card hover glow */
.group:hover .group-hover\:shadow-fr-burgundy\/10 {
    box-shadow: 0 25px 50px -12px rgba(128, 0, 32, 0.1);
}

/* Gold text gradient */
.text-gold-gradient {
    background: linear-gradient(135deg, #C9A84C 0%, #D4AF61 50%, #A88A3A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Burgundy gradient */
.bg-burgundy-gradient {
    background: linear-gradient(135deg, #800020 0%, #A02040 100%);
}

/* Gold border gradient */
.border-gold-gradient {
    border-image: linear-gradient(135deg, #C9A84C, #D4AF61) 1;
}

/* Subtle pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(201, 168, 76, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
}

/* Glow effects */
.glow-gold {
    box-shadow: 0 0 40px rgba(201, 168, 76, 0.15);
}

.glow-burgundy {
    box-shadow: 0 0 40px rgba(128, 0, 32, 0.3);
}

/* Image hover zoom container */
.img-zoom-container {
    overflow: hidden;
    border-radius: 1rem;
}

.img-zoom-container img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.img-zoom-container:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Print styles */
@media print {
    header, footer, .reveal {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
