/*
Theme Name: Khakhri Booking Theme
Theme URI: https://khakhrihaveli.com
Author: Khakhri Haveli
Author URI: https://khakhrihaveli.com
Description: Booking engine theme replicating the Khakhri Haveli main site UI.
Version: 1.0
Text Domain: khakhri-booking
*/

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

/* 2. CSS Variables */
:root {
    --haveli-maroon: #5c1010;
    --haveli-gold: #d4af37;
    --haveli-sand: #fdfbf7;
    --haveli-dark: #111111;
}

/* 3. Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--haveli-sand);
    color: var(--haveli-dark);
    margin: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-royal {
    font-family: 'Cinzel Decorative', cursive;
}

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

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

/* 4. Custom Utility Components */
.texture-bg {
    background-image: url('https://khakhrihaveli.com/wp-content/themes/khakhri-haveli/assets/images/aged-paper.png');
}

.gold-foil-text {
    background: linear-gradient(90deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.glass-panel {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.jharokha-frame {
    background: #fdfbf7;
    border: 4px solid #d4af37;
    border-radius: 200px 200px 0 0;
    padding: 8px;
    position: relative;
    transition: all 0.5s ease;
}

.jharokha-frame:hover {
    box-shadow: 0 20px 40px rgba(92, 16, 16, 0.2);
    transform: translateY(-10px);
}

.jharokha-inner {
    border-radius: 190px 190px 0 0;
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.zoom-img {
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.jharokha-frame:hover .zoom-img {
    transform: scale(1.1);
}

.royal-divider {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.royal-divider::before,
.royal-divider::after {
    background: #d4af37;
    content: "";
    height: 2px;
    margin: 0 20px;
    width: 80px;
}

/* Animations */
@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 0.5;
        transform: scale(0.95);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #d4af37;
}

/* Form overrides for booking */
input[type="date"],
input[type="text"],
input[type="email"],
select {
    background: transparent;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    outline: none;
    font-family: 'Poppins', sans-serif;
    color: var(--haveli-dark);
}

input:focus,
select:focus {
    border-bottom-color: var(--haveli-gold);
}