/* Hotel Ilapuram – Global Custom Styles */


/* This file supplements Tailwind with project-specific styles */

:root {
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --gold-dark: #9A7235;
    --dark: #0D0D0D;
    --dark-800: #1A1A1A;
    --cream: #FAF6EE;
}


/* ─── Typography ─── */

.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-display {
    font-family: 'Cormorant Garamond', serif;
}

.font-sans {
    font-family: 'Poppins', sans-serif;
}


/* ─── AOS custom overrides ─── */

[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}


/* ─── Smooth image loading ─── */

img {
    transition: opacity 0.4s ease;
}

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

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


/* Optional fade-in helper */

img[data-lazy].loaded {
    opacity: 1;
}


/* ─── Form focus glow ─── */

input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.15);
}


/* ─── Gold gradient text utility ─── */

.text-gold-gradient {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ─── Section dividers ─── */

.divider-gold {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1.5rem auto;
}

.divider-gold-left {
    margin-left: 0;
}


/* ─── Animated underline link ─── */

.underline-gold {
    position: relative;
    text-decoration: none;
}

.underline-gold::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.underline-gold:hover::after {
    width: 100%;
}


/* ─── Card hover effects ─── */

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}


/* ─── Lazy image observer ─── */


/* ─── Mobile responsiveness fixes (all pages) ─── */

html,
body {
    min-width: 0;
    overflow-x: hidden;
}

img,
picture,
video,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero {
    max-height: none !important;
    min-height: 60vh;
    height: auto !important;
}

@media (max-width: 992px) {
    .navbar {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
    .nav-link {
        font-size: 0.72rem;
    }
    .section-title {
        font-size: clamp(1.6rem, 8vw, 2.8rem);
    }
    .section-tag {
        font-size: 0.65rem;
    }
    .glass {
        padding: 1rem;
    }
    .py-28 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .px-16 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .px-6 {
        padding-left: 0.8rem !important;
        padding-right: 0.8rem !important;
    }
    .hero .relative.z-10 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

@media (max-width: 640px) {
    .navbar {
        border-bottom: 1px solid rgba(184, 142, 47, 0.2);
    }
    .btn-gold,
    .btn-outline {
        padding: 0.7rem 1rem;
        font-size: 0.65rem;
    }
    .hero h1 {
        font-size: clamp(1.8rem, 10vw, 2.8rem) !important;
        line-height: 1.1;
    }
    .hero p {
        font-size: 0.85rem;
    }
}