/* ==========================================================================
   Blessing Residence - Modern Luxury Design System
   ========================================================================== */

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

:root {
    --primary-burgundy: #6A1B29;
    --primary-burgundy-dark: #4A101A;
    --primary-burgundy-light: #8E2639;
    --accent-gold: #C5A059;
    --accent-gold-light: #E5C378;
    --accent-gold-dark: #9A7733;
    
    --bg-dark: #0F1216;
    --bg-card-dark: #161A20;
    --bg-light: #FAF8F5;
    --bg-white: #FFFFFF;
    
    --text-main: #2C3036;
    --text-muted: #6C757D;
    --text-light: #F8F9FA;
    --text-gold: #D4AF37;
    
    --border-light: #EAE6DF;
    --border-dark: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 8px 25px rgba(197, 160, 89, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Basic Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-burgundy-dark);
    line-height: 1.25;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gold { color: var(--accent-gold) !important; }
.text-burgundy { color: var(--primary-burgundy) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-padding {
    padding: 6rem 0;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: 2.75rem;
    color: var(--primary-burgundy-dark);
    margin-bottom: 1rem;
}

.section-desc {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Header & Navigation Bar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(106, 27, 41, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--bg-white);
    letter-spacing: 0.5px;
}

.brand-text span {
    color: var(--accent-gold-light);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold-light);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold-light);
}

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

.btn-book-header {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: #FFF !important;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-book-header:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.4);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFF;
    font-size: 1.75rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 85px;
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: url('../images/home.jpg') center/cover no-repeat;
    animation: kenburns 20s infinite alternate cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.12) translate(-1%, -1%);
    }
    100% {
        transform: scale(1.05) translate(1%, 0.5%);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 18, 22, 0.45) 0%, rgba(106, 27, 41, 0.65) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #FFF;
    max-width: 900px;
    padding: 4rem 1.5rem;
}

.hero-title {
    font-family: 'Dancing Script', cursive, sans-serif;
    font-size: 4rem;
    color: #FFF;
    margin-bottom: 2.5rem;
    font-weight: 700;
    text-shadow: 0 4px 25px rgba(0,0,0,0.6);
    line-height: 1.2;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Custom Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: #FFF;
    padding: 1rem 2.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(197, 160, 89, 0.4);
    color: #FFF;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 1rem 2.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #FFF;
    transform: translateY(-3px);
    border-color: #FFF;
}

/* Feature Cards & Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: var(--transition);
}

.about-image-wrapper:hover img {
    transform: scale(1.04);
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-burgundy);
    color: #FFF;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--accent-gold);
    text-align: center;
}

.about-experience-badge h3 {
    font-size: 2.25rem;
    color: var(--accent-gold-light);
    margin: 0;
}

/* Room Cards */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.room-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.room-thumb {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.room-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.room-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(106, 27, 41, 0.9);
    color: var(--accent-gold-light);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.room-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.room-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--primary-burgundy-dark);
}

.room-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-burgundy);
    margin-bottom: 1.25rem;
}

.room-amenities-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag-item {
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border-light);
}

.room-footer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Facilities Grid */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.75rem;
}

.facility-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    text-align: center;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold);
    background: #FFFDF9;
}

.facility-icon-box {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(106, 27, 41, 0.08) 0%, rgba(197, 160, 89, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.facility-icon-box svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-burgundy);
}

.facility-title {
    font-size: 1.15rem;
    color: var(--primary-burgundy-dark);
    margin-bottom: 0.5rem;
}

.facility-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Testimonial Cards */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    position: relative;
}

.testimonial-quote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}

.author-info h4 {
    font-size: 1.05rem;
    margin: 0;
    color: var(--primary-burgundy-dark);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact & Reservation Forms */
.form-container {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-burgundy-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid #DCE1E7;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
    background: #FAFAFA;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: #FFF;
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer Section */
.site-footer {
    background: var(--bg-dark);
    color: #FFF;
    padding-top: 5rem;
    padding-bottom: 2rem;
    border-top: 3px solid var(--accent-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 1.75rem;
    color: var(--accent-gold-light);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.2rem;
    color: var(--accent-gold-light);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-gold-light);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-gold);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #FFF;
}

/* Admin Dashboard Layout Styles */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background: #F4F6F9;
}

.admin-sidebar {
    width: 260px;
    background: #1A1F2B;
    color: #FFF;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.admin-sidebar-header {
    padding: 1.5rem;
    background: #12151E;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.admin-sidebar-header h2 {
    font-size: 1.25rem;
    color: var(--accent-gold-light);
}

.admin-nav-list {
    list-style: none;
    padding: 1rem 0;
}

.admin-nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.85rem 1.5rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.admin-nav-item a:hover, .admin-nav-item.active a {
    color: #FFF;
    background: rgba(197, 160, 89, 0.2);
    border-left: 4px solid var(--accent-gold);
}

.admin-main {
    flex-grow: 1;
    padding: 2.5rem;
}

.admin-card {
    background: #FFF;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border: 1px solid #E5E9F0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #FFF;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent-gold);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-burgundy-dark);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.badge-status {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-pending { background: #FFF3CD; color: #856404; }
.badge-confirmed { background: #D4EDDA; color: #155724; }
.badge-cancelled { background: #F8D7DA; color: #721C24; }

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-title { font-size: 2.75rem; }
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
        background: none;
        border: none;
        color: #FFF;
        font-size: 1.75rem;
        cursor: pointer;
        padding: 5px;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 85px;
        left: 0;
        width: 100%;
        background: rgba(106, 27, 41, 0.98);
        backdrop-filter: blur(15px);
        padding: 2rem 1.5rem;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border-bottom: 2px solid var(--accent-gold);
    }
    
    .main-nav.active {
        display: flex !important;
    }
    
    .nav-links {
        flex-direction: column !important;
        width: 100%;
        align-items: center;
        gap: 1.25rem;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        display: block;
        text-align: center;
    }

    .btn-book-header {
        width: 100%;
        max-width: 260px;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .footer-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.25rem; }
    .section-title { font-size: 2rem; }
    .admin-wrapper { flex-direction: column; }
    .admin-sidebar { width: 100%; }
}
