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

:root {
    --primary: #c5a059;
    --primary-dark: #a68545;
    --secondary: #1a1a1a;
    --text: #333333;
    --text-muted: #777777;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --header-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--secondary);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Helpers */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Outfit', sans-serif;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Header & Nav */
.main-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    transition: var(--transition);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 70px;
    box-shadow: var(--shadow);
}

.main-header.header-hidden {
    transform: translateY(-100%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 10px;
    transition: var(--transition);
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding: 2rem;
    padding-top: calc(var(--header-height) + 40px);
}

.mobile-nav-links {
    text-align: center;
    margin-bottom: 2.5rem;
    width: 100%;
}

.mobile-nav-links li {
    margin-bottom: 1.5rem;
}

.mobile-nav-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: #2d2d2d;
    transition: var(--transition);
}

.mobile-nav-links .ko {
    font-size: 1.6rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #2d2d2d;
}

.mobile-nav-links .en {
    font-size: 0.75rem;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.mobile-nav-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.mobile-nav-links a:hover .en {
    color: var(--primary);
    opacity: 0.8;
}

.mobile-menu-footer {
    width: 100%;
    max-width: 280px;
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    padding-bottom: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 2;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

/* Section Spacing */
.section-padding {
    padding: 100px 0;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.welcome-box {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--primary);
    padding: 2rem;
    border-radius: 15px;
    color: white;
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.welcome-box p {
    margin: 0;
    line-height: 1.3;
}

/* Footer */
.main-footer {
    background: var(--secondary);
    color: var(--white);
    padding: 80px 0 40px;
}

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

.footer-logo {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

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

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

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Desktop: Hide mobile-only footer elements */
.copyright .footer-admin-link,
.copyright .footer-admin-link-sep {
    display: none;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    visibility: hidden;
}

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

/* Modal Component */
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    position: relative;
    animation: fadeInUp 0.4s ease;
}

/* Features List (About Section) */
.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--secondary);
    font-weight: 600;
    font-size: 1rem;
}

.feature-item i {
    width: 32px;
    height: 32px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Notice Table Styles */
.notice-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.notice-table thead tr {
    border-bottom: 2px solid var(--bg-light);
}

.notice-table th {
    padding: 2rem;
    font-weight: 600;
    color: var(--secondary);
}

.notice-table tr {
    border-bottom: 1px solid var(--bg-light);
    cursor: pointer;
    transition: background 0.2s;
}

.notice-table tr:hover {
    background: var(--bg-light);
}

.notice-table td {
    padding: 1.5rem 2rem;
}

.th-no, .td-no { width: 100px; text-align: center; }
.th-date, .td-date { width: 150px; text-align: center; }
.th-views, .td-views { width: 100px; text-align: center; }
.th-author, .td-author { width: 150px; }

.td-no, .td-author, .td-date, .td-views {
    color: var(--text-muted);
}

.td-date { font-size: 0.9rem; }

.notice-badge {
    background: var(--primary);
    color: white;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.mobile-meta, .mobile-notice-badge {
    display: none;
}

.no-data {
    padding: 5rem;
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .th-no, .th-author, .th-date, .th-views,
    .td-no, .td-author, .td-date, .td-views {
        display: none !important;
    }
    
    .notice-table thead {
        display: none;
    }
    
    .notice-table td {
        padding: 1.5rem !important;
    }
    
    .td-title {
        display: block;
        width: 100%;
    }
    
    .title-wrapper {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .title-text {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--secondary);
        line-height: 1.4;
    }
    
    .mobile-notice-badge {
        display: inline-block;
        background: var(--primary);
        color: white;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 0.7rem;
        font-weight: 700;
        flex-shrink: 0;
        margin-top: 2px;
    }
    
    .mobile-meta {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.85rem;
        color: var(--text-muted);
    }
    
    .mobile-meta .dot {
        font-size: 1rem;
        line-height: 1;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    color: var(--text);
    box-shadow: var(--shadow);
    font-weight: 600;
    transition: var(--transition);
}

.page-link.active {
    background: var(--primary);
    color: white;
}

.page-link:hover:not(.active) {
    background: var(--bg-light);
    color: var(--primary);
}
/* Notice View Styles */
.notice-view-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.notice-view-header {
    padding: 4rem;
    border-bottom: 1px solid var(--bg-light);
}

.notice-important-label {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.notice-view-title {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
    color: var(--secondary);
}

.notice-view-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.notice-view-meta .meta-left {
    display: flex;
    gap: 2rem;
}

.notice-view-body {
    padding: 4rem;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text);
    min-height: 300px;
}

.notice-view-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.notice-view-footer {
    padding: 2rem 4rem;
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-view-footer .nav-link {
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

.notice-view-footer .nav-link.disabled {
    color: #ccc;
    cursor: default;
    pointer-events: none;
}

.notice-view-footer .btn-list {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .notice-view-header {
        padding: 2rem 1.5rem;
    }
    
    .notice-view-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .notice-view-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .notice-view-meta .meta-left {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .notice-view-body {
        padding: 2rem 1.5rem;
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .notice-view-footer {
        padding: 1.5rem;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .notice-view-footer .btn-list {
        order: -1;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .notice-view-footer .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .features-list {
        gap: 1rem;
        flex-direction: column;
    }
}

/* Room Items */
.room-item-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.room-item-grid.even {
    grid-template-columns: 0.9fr 1.1fr;
}

.room-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 480px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

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

.room-img-wrapper:hover img {
    transform: scale(1.05);
}

.room-info {
    padding: 0 1rem;
}

.room-label {
    display: block;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.room-name {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.room-desc {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    word-break: keep-all;
}

.room-meta {
    display: flex;
    gap: 3.5rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.meta-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.meta-value {
    font-weight: 600;
    font-size: 1.1rem;
}

.meta-value.highlight {
    color: var(--primary);
    font-size: 1.3rem;
}

.room-actions {
    display: flex;
    gap: 1.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    .welcome-box {
        left: 20px;
        bottom: -20px;
        padding: 1.5rem;
    }
    .room-item-grid, .room-item-grid.even {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .room-item-grid.even .room-img-wrapper {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: flex !important;
    }
    .btn-book-now {
        display: none !important;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem 1.5rem !important;
        margin-bottom: 30px !important;
    }
    .footer-info {
        grid-column: span 2;
    }
    /* Hide separate Account section on mobile */
    .footer-grid > div:last-child {
        display: none !important;
    }
    .main-footer {
        padding: 50px 0 25px !important;
        font-size: 0.9rem !important;
    }
    .footer-logo {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    .footer-title {
        font-size: 1.05rem !important;
        margin-bottom: 1rem !important;
        margin-top: 0 !important;
    }
    .footer-links li {
        margin-bottom: 0.6rem !important;
        line-height: 1.4 !important;
    }
    
    /* Mobile: Show admin login under copyright */
    .copyright .footer-admin-link,
    .copyright .footer-admin-link-sep {
        display: inline;
    }
    .copyright .footer-admin-link {
        margin-left: 5px;
        color: rgba(255,255,255,0.5);
        font-size: 0.85rem;
        transition: var(--transition);
    }
    .copyright .footer-admin-link:hover {
        color: var(--primary);
    }

    /* Reduce section padding and spacing */
    .section-padding {
        padding-top: 40px;
        padding-bottom: 40px !important;
    }
    .section-padding[style*="padding-top"] {
        padding-top: calc(var(--header-height) + 40px) !important;
    }
    .container {
        padding: 0 15px !important;
    }

    /* Font Size Reduction overall */
    body {
        font-size: 0.95rem !important;
    }
    
    .hero {
        height: 70vh !important;
        padding: 0 15px 40px !important;
    }
    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    .hero p {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }
    .hero-content {
        max-width: 100% !important;
    }
    .btn {
        padding: 0.8rem 1.8rem !important;
        font-size: 0.9rem !important;
    }

    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    .section-subtitle {
        font-size: 0.85rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 1rem !important;
    }

    /* About Section */
    .about-grid {
        gap: 2.5rem !important;
        text-align: center !important;
    }
    .about-grid p {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }
    .about-grid div[style*="display:flex; gap:2rem;"],
    .about-grid div[style*="display: flex; gap: 2rem;"] {
        justify-content: center !important;
        gap: 1.5rem !important;
    }
    .about-grid div[style*="text-align:center;"] span {
        font-size: 1.8rem !important;
    }

    .welcome-box {
        position: relative !important;
        bottom: 0 !important;
        left: 0 !important;
        margin-top: 15px !important;
        padding: 1rem !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .welcome-box p {
        font-size: 1.1rem !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }

    /* Recommend rooms / Notice on home page */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));"],
    div[style*="grid-template-columns:repeat(auto-fit, minmax(350px, 1fr));"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));"],
    div[style*="grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));"] {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }
    div[style*="margin-bottom:4rem;"],
    div[style*="margin-top:4rem;"] {
        margin-bottom: 2rem !important;
        margin-top: 2rem !important;
    }
    div[style*="height:250px; overflow:hidden; position:relative;"] {
        height: 200px !important;
    }

    /* Notice listing/preview on home page */
    a[style*="display:block; padding:2rem;"] {
        padding: 1.2rem !important;
    }
    a[style*="display:block; padding:2rem;"] h3 {
        font-size: 1.1rem !important;
        margin: 0.5rem 0 !important;
    }

    /* Rooms page */
    div[style*="margin-bottom:5rem;"] {
        margin-bottom: 2.5rem !important;
    }
    div[style*="display:grid; grid-template-columns: 1fr; gap:6rem;"],
    div[style*="display: grid; grid-template-columns: 1fr; gap: 6rem;"] {
        gap: 2.5rem !important;
    }

    .room-item-grid, .room-item-grid.even {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .room-item-grid.even .room-img-wrapper {
        order: -1 !important;
    }

    .room-img-wrapper {
        height: 250px !important;
        border-radius: 12px !important;
    }
    .room-name {
        font-size: 1.8rem !important;
        margin-bottom: 0.8rem !important;
    }
    .room-desc {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }
    .room-meta {
        gap: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        padding-bottom: 1rem !important;
    }
    .meta-value {
        font-size: 0.95rem !important;
    }
    .meta-value.highlight {
        font-size: 1.15rem !important;
    }
    .room-actions {
        gap: 0.8rem !important;
        flex-direction: column !important;
    }
    .room-actions .btn {
        width: 100% !important;
    }

    /* Room detail page (room_view.php) */
    div[style*="margin-bottom:3rem;"] {
        margin-bottom: 1.5rem !important;
    }
    div[style*="margin-bottom:3rem;"] h1 {
        font-size: 2.2rem !important;
    }
    div[style*="margin-bottom:3rem;"] p {
        font-size: 1rem !important;
    }

    /* Gallery Grid in room_view.php */
    div[style*="display:grid; grid-template-columns: 2fr 1fr; gap:1.5rem; height:600px;"] {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        height: auto !important;
        gap: 1rem !important;
        margin-bottom: 2rem !important;
    }
    div[style*="display:grid; grid-template-columns: 2fr 1fr; gap:1.5rem; height:600px;"] > div {
        height: 250px !important;
        border-radius: 12px !important;
    }
    div[style*="display:grid; grid-template-rows: 1fr 1fr; gap:1.5rem;"] {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto !important;
        gap: 1rem !important;
    }
    div[style*="display:grid; grid-template-rows: 1fr 1fr; gap:1.5rem;"] > div {
        height: 120px !important;
        border-radius: 12px !important;
    }

    /* Details Grid in room_view.php */
    div[style*="display:grid; grid-template-columns: 1.5fr 1fr; gap:5rem;"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    div[style*="display:grid; grid-template-columns: 1.5fr 1fr; gap:5rem;"] h3 {
        font-size: 1.4rem !important;
        margin-bottom: 1.2rem !important;
    }
    div[style*="display:grid; grid-template-columns: 1.5fr 1fr; gap:5rem;"] div[style*="font-size:1.1rem;"] {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }
    div[style*="display:grid; grid-template-columns: 1fr 1fr; gap:2rem;"] {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
    }

    div[style*="position:sticky; top:120px; align-self:start;"] {
        position: static !important;
    }
    div[style*="background:var(--bg-light); padding:3rem;"] {
        padding: 1.5rem !important;
        border-radius: 20px !important;
    }
    div[style*="background:var(--bg-light); padding:3rem;"] h4 {
        font-size: 1.3rem !important;
        margin-bottom: 1.2rem !important;
    }
    div[style*="background:var(--bg-light); padding:3rem;"] div[style*="font-size:2rem;"] {
        font-size: 1.5rem !important;
    }

    /* Reservation boxes on reservation.php */
    div[style*="display:grid; grid-template-columns: 1fr 1fr; gap:4rem;"],
    div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    div[style*="padding:4rem;"] {
        padding: 1.5rem !important;
        border-radius: 20px !important;
    }
    div[style*="padding:4rem;"] h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1.2rem !important;
    }
    div[style*="padding:4rem;"] .btn {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
        width: 100% !important;
    }
    div[style*="padding:4rem;"] i.fa-calendar-check {
        font-size: 2.5rem !important;
        margin-bottom: 1rem !important;
    }
    div[style*="padding:4rem;"] p {
        margin-bottom: 1.5rem !important;
    }
    div[style*="margin-top:4rem;"] {
        margin-top: 2rem !important;
        padding-top: 1rem !important;
    }
}

