:root {
    /* Luxury Palette - Sur1 Hotel */
    --primary: #c5a059;
    /* Muted Gold (Premium) */
    --primary-hover: #a68545;
    --dark: #121212;
    /* Deep Black */
    --dark-surface: #1e1e1e;
    --light: #ffffff;
    --light-surface: #f9f9f9;
    --text-color: #333333;
    --text-muted: #888888;

    /* Functional */
    --bg-color: #f8f9fa;
    --border-color: #e5e5e5;

    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* --- UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.d-none {
    display: none;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* --- COMPONENTS --- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background-color: var(--primary);
    color: white;
    border: 1px solid var(--primary);
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
}

.btn:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

/* Navbar */
header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
    font-style: italic;
}

/* Desktop Nav */
.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Mobile Nav */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        gap: 1.5rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-bg {
    background-color: var(--light-surface);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title p {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin: 0;
}

/* Hero Section (Modern) */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.35rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}

/* Featured Rooms - Vertical Cards */
.room-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.room-image-container {
    width: 100%;
    position: relative;
    padding-top: 133%;
    /* 3:4 Aspect Ratio (Vertical) */
    overflow: hidden;
}

.room-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-image {
    transform: scale(1.08);
}

/* Premium Badge */
.room-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.room-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.room-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.room-price {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.room-price span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

.room-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.room-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Room List Cards (Horizontal) */
.room-list-card {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 2rem;
}

.room-list-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.room-list-img-box {
    width: 300px;
    min-width: 300px;
    height: 250px;
    overflow: hidden;
}

.room-list-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.room-list-card:hover .room-list-img-box img {
    transform: scale(1.1);
}

.room-list-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.room-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.room-header-row h3 {
    font-size: 1.8rem;
    margin: 0;
}

.price-display {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
}

.price-display small {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.room-meta-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.room-meta-row i {
    color: var(--primary);
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .room-list-card {
        flex-direction: column;
    }

    .room-list-img-box {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }
}

/* Filters Sidebar */
.page-layout-grid-sidebar {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

.sidebar-filters {
    position: sticky;
    top: 100px;
}

.filter-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filter-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-full {
    width: 100%;
}

.btn-text-only {
    background: none;
    border: none;
    color: var(--text-muted);
    text-align: center;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.btn-text-only:hover {
    color: var(--primary);
}

@media (max-width: 992px) {
    .page-layout-grid-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar-filters {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        z-index: 2000;
        transition: left 0.3s;
        overflow-y: auto;
    }

    .sidebar-filters.active {
        left: 0;
    }

    .mobile-filter-btn {
        margin-bottom: 2rem;
    }
}

/* Service Box */
.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 400;
}

.cta-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: white;
    margin-bottom: 1rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-size: 0.9rem;
}

.footer-heading {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

/* LOFORD Banner - Simple Design */
.loford-banner {
    background: #ffffff;
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid #e5e5e5;
}

.loford-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #1e3a5f;
}

.loford-content a {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 3px;
    transition: var(--transition);
}

.loford-content a:hover {
    background: var(--primary-hover);
}

.loford-content strong {
    font-weight: 700;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .loford-content {
        flex-wrap: wrap;
        font-size: 0.75rem;
    }
}

/* Form Elements */
input,
select,
textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 2px;
    font-family: inherit;
    margin-bottom: 1rem;
    font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #3b82f6;
}

/* Admin Styles */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background: var(--dark);
    color: white;
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-main {
    flex: 1;
    margin-left: 280px;
    padding: 3rem;
    background: var(--bg-color);
}

.admin-table-container {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: var(--dark-surface);
    color: white;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table tbody tr:hover {
    background: var(--light-surface);
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-clean {
    background: #d1fae5;
    color: #065f46;
}

.status-occupied {
    background: #fee2e2;
    color: #991b1b;
}

/* Contact Page Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: flex-start;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-top: 0;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card .icon {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 5px;
    width: 24px;
    height: 24px;
}

.info-card h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: var(--dark);
}

.info-card .text,
.info-card .text a {
    color: var(--gray-800);
    line-height: 1.6;
    text-decoration: none;
    transition: var(--transition);
}

.info-card .text a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.small-hero {
    height: 300px;
}

.booking-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.booking-form-page {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
}

.form-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.form-header h2 {
    margin: 0;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }

    .admin-main {
        margin-left: 0;
    }
