/* ========================================
   PRASADA RECOVERY RESORT — Custom Styles
   Classic & Elegant · Terracotta + Sand
   ======================================== */

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAF8F5;
}
::-webkit-scrollbar-thumb {
    background: #c95533;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #bd4428;
}

/* Selection */
::selection {
    background: #c95533;
    color: #FAF8F5;
}

/* Smooth image rendering */
img {
    -webkit-font-smoothing: antialiased;
    image-rendering: -webkit-optimize-contrast;
}

/* ========================================
   NAVIGATION
   ======================================== */
#navbar {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}

#navbar.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

#navbar.scrolled .font-serif,
#navbar.scrolled #nav-logo-text {
    color: #1a1611 !important;
}

#navbar.scrolled #nav-logo-sub,
#navbar.scrolled .nav-link {
    color: #7e6e5b !important;
}

#navbar.scrolled .menu-line {
    background: #1a1611 !important;
}

#navbar.scrolled #nav-logo-circle,
#navbar.scrolled #nav-logo-drop {
    fill: #c95533 !important;
    stroke: #c95533 !important;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ========================================
   MOBILE MENU
   ======================================== */
#mobile-menu {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-link {
    position: relative;
}

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

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

/* ========================================
   DECORATIVE ELEMENTS
   ======================================== */
.ornament {
    display: inline-block;
    width: 40px;
    height: 1px;
    background: #c95533;
    position: relative;
}

.ornament::before,
.ornament::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c95533;
    top: 50%;
    transform: translateY(-50%);
}

.ornament::before { left: -8px; }
.ornament::after { right: -8px; }

/* ========================================
   BUTTON ENHANCEMENTS
   ======================================== */
a {
    text-decoration: none;
}

/* ========================================
   IMAGE HOVER EFFECTS
   ======================================== */
.aspect-square img,
.aspect-\[4\/5\] img,
.overflow-hidden img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========================================
   FORM STYLES
   ======================================== */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(201, 85, 51, 0.1);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 767px) {
    .font-serif {
        line-height: 1.15;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    /* Tablet adjustments */
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    #navbar,
    #mobile-menu-btn,
    .reveal {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    img {
        max-width: 100% !important;
    }
}
