@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --pine-green: #1a2f1a;
    --beige: #f5f5f0;
    --soft-wood: #a68b75;
    --dark-wood: #5d4037;
    --pine-green-light: #2d4f2d;
}

@layer base {
    body {
        @apply font-sans antialiased bg-[#fdfdfb] text-slate-900;
        font-family: 'Inter', sans-serif;
    }

    h1,
    h2,
    h3,
    h4,
    .font-serif {
        font-family: 'Playfair Display', serif;
    }
}

@layer components {
    .btn-primary {
        @apply bg-[#1a2f1a] text-white px-8 py-3 rounded-none transition-all duration-300 border border-[#1a2f1a] hover:bg-[#2d4f2d] hover:border-[#2d4f2d] uppercase tracking-widest text-sm font-medium inline-block text-center;
    }

    .btn-outline {
        @apply border border-[#1a2f1a] text-[#1a2f1a] px-8 py-3 rounded-none transition-all duration-300 hover:bg-[#1a2f1a] hover:text-white uppercase tracking-widest text-sm font-medium inline-block text-center;
    }

    .nav-link {
        @apply text-sm uppercase tracking-widest font-medium text-slate-700 hover:text-[#1a2f1a] transition-colors duration-300;
    }
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1a2f1a;
}

/* Hero Section Styles */
.hero-video-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* Glassmorphism Classes */
.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Smooth Transitions */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Room Card Hover */
.room-card img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-card:hover img {
    transform: scale(1.08);
}

/* Navbar Scrolled State */
.nav-scrolled {
    @apply shadow-lg bg-white/95 backdrop-blur-md py-2;
}

/* Mobile Menu Overlay */
#mobileMenu {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobileMenu.open {
    transform: translateX(0);
}

/* Custom Wood Accent */
.wood-accent {
    border-left: 4px solid var(--soft-wood);
}