/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

:root {
    --bg-primary: #FAF9F6;      /* Off-white background */
    --bg-secondary: #F4F2EE;    /* Soft beige/gray for cards */
    --border-color: #E6E2DC;    /* Light line border */
    --text-primary: #1C1A17;    /* Deep charcoal */
    --text-secondary: #6B655F;  /* Warm gray text */
    --accent-color: #7A7265;    /* Muted gold/bronze */
    --accent-hover: #5E584D;
    --white: #FFFFFF;
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    transition: var(--transition);
}

header.scrolled {
    padding: 15px 0;
    background-color: var(--bg-primary);
}

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

.logo a {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

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

.nav-links a:hover {
    color: var(--accent-color);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin-bottom: 5px;
    transition: var(--transition);
}

.nav-toggle span:last-child {
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 54px;
    line-height: 1.15;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.hero-text p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0;
    transition: var(--transition);
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

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

.btn-secondary:hover {
    border-color: var(--text-primary);
}

.hero-image-wrapper {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.hero-image-wrapper img,
.hero-image-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%);
    transition: var(--transition);
}

.hero-image-wrapper:hover img,
.hero-image-wrapper:hover video {
    transform: scale(1.03);
    filter: grayscale(0%);
}

/* Video Control Overlay */
.video-control-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.3s ease, opacity 0.3s ease;
    z-index: 10;
}

/* Glassmorphic Play Trigger Button */
.play-trigger-btn {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 28px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: playBtnPulse 2.5s infinite;
}

/* Offset play icon slightly to the right for optical centering */
.play-trigger-btn .fa-play {
    margin-left: 4px;
}

.video-control-overlay:hover .play-trigger-btn {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.video-control-overlay:active .play-trigger-btn {
    transform: scale(0.95);
}

/* State when video is playing: hide the overlay completely */
.video-control-overlay.playing {
    display: none !important;
}

/* Play button pulse animation */
@keyframes playBtnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Sections General */
section {
    padding: 120px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
}

.section-header h2 {
    font-size: 42px;
    color: var(--text-primary);
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 20px auto 0;
    font-size: 16px;
}

/* Intro Section */
.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.school-tour-grid {
    grid-template-columns: 0.8fr 1.2fr;
}

.intro-content h3 {
    font-size: 32px;
    margin-bottom: 25px;
    line-height: 1.3;
}

.intro-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background-color: var(--bg-secondary);
    padding: 50px 40px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--border-color);
    background-color: var(--white);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 28px;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 25px;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.service-card ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Stay Section */
.stay-gallery {
    margin-bottom: 60px;
}

.gallery-main {
    height: 500px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

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

.gallery-thumbs {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar for modern design */
.gallery-thumbs::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

.gallery-thumbs::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.thumb {
    flex: 0 0 160px;
    height: 100px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumb.active {
    border-color: var(--accent-color);
}

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

.thumb:hover img,
.thumb.active img {
    opacity: 1;
}

.stay-info-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    margin-top: 50px;
}

.stay-desc h3 {
    font-size: 28px;
    margin-bottom: 25px;
}

.stay-desc p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.amenities-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    list-style: none;
}

.amenities-list li {
    font-size: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.amenities-list li i {
    color: var(--accent-color);
}

.stay-meta {
    background-color: var(--white);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-item span:first-child {
    color: var(--text-secondary);
    font-size: 14px;
}

.meta-item span:last-child {
    font-weight: 500;
    color: var(--text-primary);
}

/* Custom Calendar and Form Styles */
.booking-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
}

/* Calendar Container */
.calendar-wrapper {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 30px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.calendar-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calendar-nav {
    display: flex;
    gap: 15px;
}

.calendar-nav button {
    background: none;
    border: 1px solid var(--border-color);
    width: 35px;
    height: 35px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.calendar-nav button:hover {
    border-color: var(--text-primary);
    background-color: var(--bg-secondary);
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.calendar-dates-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    row-gap: 5px;
}

.calendar-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    user-select: none;
}

.calendar-cell.prev-month,
.calendar-cell.next-month {
    color: #C8C2BB;
    cursor: not-allowed;
}

.calendar-cell.disabled {
    color: #D3CFC9;
    text-decoration: line-through;
    cursor: not-allowed;
    background-color: rgba(230, 226, 220, 0.2);
}

.calendar-cell.today {
    font-weight: bold;
    color: var(--accent-color);
}

.calendar-cell:hover:not(.disabled):not(.prev-month):not(.next-month) {
    background-color: var(--bg-secondary);
}

.calendar-cell.selected {
    background-color: var(--text-primary) !important;
    color: var(--white);
}

.calendar-cell.in-range {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

/* Contact/Booking Form */
.form-wrapper {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 50px 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--text-primary);
    background-color: var(--white);
}

.form-control-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23292826' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.date-display {
    padding: 15px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
    min-height: 52px;
    display: flex;
    align-items: center;
}

/* Admin Dashboard Section */
.admin-login-wrapper {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--white);
    padding: 50px 40px;
    border: 1px solid var(--border-color);
}

.admin-dashboard {
    display: none;
}

.admin-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.admin-filters {
    display: flex;
    gap: 15px;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    font-size: 13px;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--text-primary);
    color: var(--white);
    border-color: var(--text-primary);
}

.admin-table-wrapper {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.admin-table th,
.admin-table td {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
}

.admin-table tbody tr {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.admin-table tbody tr:hover {
    background-color: var(--bg-secondary) !important;
}

.admin-table tbody tr.selected-row {
    background-color: rgba(122, 114, 101, 0.15) !important;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
}

.status-pending {
    background-color: #FEF3C7;
    color: #92400E;
}

.status-approved {
    background-color: #D1FAE5;
    color: #065F46;
}

.status-rejected {
    background-color: #FEE2E2;
    color: #991B1B;
}

.action-select {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    font-size: 13px;
    outline: none;
    transition: var(--transition);
    cursor: pointer;
}

.action-select:focus {
    border-color: var(--text-primary);
}

/* Footer */
footer {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    padding: 80px 0 40px;
}

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

.footer-logo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 32px;
    margin-bottom: 20px;
    display: inline-block;
    color: var(--white);
}

.footer-desc {
    color: #A39E99;
    font-size: 15px;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    color: var(--white);
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul a {
    color: #A39E99;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links ul a:hover {
    color: var(--white);
}

.footer-contact p {
    color: #A39E99;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #332F2A;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #8C8782;
}

/* Animations & Utilities */
.hidden {
    display: none !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-grid,
    .intro-grid,
    .school-tour-grid,
    .stay-info-grid,
    .booking-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-image-wrapper {
        height: 400px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    header {
        padding: 10px 0;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
        padding: 30px 40px;
        gap: 20px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
}

/* Instagram Grid */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.instagram-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: var(--transition);
}

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

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 26, 23, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
    text-align: center;
}

.instagram-overlay p {
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    margin-bottom: 15px;
}

.instagram-overlay i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
}

.instagram-card:hover img {
    transform: scale(1.05);
}

.instagram-card:hover .instagram-overlay {
    opacity: 1;
}

@media (max-width: 992px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .instagram-grid {
        grid-template-columns: 1fr;
    }
}

/* Booking Tabs Selector */
.booking-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.booking-tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.booking-tab-btn i {
    font-size: 16px;
}

.booking-tab-btn:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    background-color: var(--white);
}

.booking-tab-btn.active {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

/* Custom Checkbox Group for Consulting Form */
.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    user-select: none;
    transition: var(--transition);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--text-primary);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--text-primary);
    border-color: var(--text-primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid var(--bg-primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container:hover {
    color: var(--text-primary);
}

.form-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    /* Hero section responsive tweaks */
    .hero {
        min-height: auto;
        padding: 120px 0 50px;
    }
    .hero-text h1 {
        font-size: 34px !important; /* Drastically reduce hero title font-size for mobile readability */
        line-height: 1.25;
        letter-spacing: -0.01em;
    }
    .hero-text p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
    .hero-image-wrapper {
        height: 280px !important;
        margin-top: 20px;
    }

    /* Section padding */
    section {
        padding: 80px 0;
    }
    .section-header {
        margin-bottom: 50px;
    }
    .section-header h2 {
        font-size: 28px;
    }

    /* Booking Selector & Checkboxes */
    .booking-selector {
        flex-direction: column;
        gap: 10px;
    }
    .booking-tab-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
    }
    .checkbox-group {
        grid-template-columns: 1fr;
    }

    /* Admission card thumbnail responsive size */
    .admission-card .card-image-wrapper {
        width: 100% !important;
        height: 180px !important;
    }

    /* Stay Gallery adjustments */
    .gallery-main {
        height: 250px !important;
    }
    .gallery-thumbs .thumb {
        min-width: 75px !important;
        height: 55px !important;
    }

    /* Calendar adjustments for mobile */
    .calendar-wrapper {
        padding: 20px 15px !important;
    }
    .calendar-dates-grid div {
        height: 38px !important;
        line-height: 38px !important;
        font-size: 13px !important;
    }
    
    /* Footer bottom copyright vertical layout */
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        align-items: center;
    }
}

/* Admission Card Styles */
.admission-card {
    padding: 30px !important; /* Apply padding for card style */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--bg-secondary);
    border: 1px solid transparent;
    transition: var(--transition);
    overflow: hidden;
}

.admission-card:hover {
    border-color: var(--border-color);
    background-color: var(--white);
    transform: translateY(-5px);
}

.admission-card .card-image-wrapper {
    width: 200px;
    height: 140px;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

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

.admission-card:hover .card-image-wrapper img {
    transform: scale(1.08);
}

.admission-card .card-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.admission-card .service-icon {
    display: none; /* Hide icon in favor of small representative photo */
}

/* Calendar cell adaptations for name tags */
.calendar-cell {
    flex-direction: column !important;
    justify-content: center !important;
    padding: 2px !important;
    min-width: 0 !important;
}

.calendar-cell .date-num {
    font-size: 13px;
    font-weight: 500;
}

/* Masked name badge in client calendar */
.calendar-cell .booking-name-tag {
    font-size: 9px;
    color: #8C8782;
    margin-top: 2px;
    background: rgba(140, 135, 130, 0.12);
    padding: 1px 4px;
    border-radius: 3px;
    display: block;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

/* Full name badge in admin calendar */
.calendar-cell .admin-booking-name-tag {
    font-size: 9px;
    color: var(--accent-color);
    font-weight: bold;
    margin-top: 2px;
    background: rgba(197, 160, 89, 0.15);
    padding: 1px 4px;
    border-radius: 3px;
    display: block;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.calendar-cell.disabled.booked-cell {
    text-decoration: none !important;
    color: var(--text-primary) !important;
}

.calendar-cell.disabled.booked-cell .date-num {
    color: #a89f92 !important;
    text-decoration: line-through !important;
}

/* Admin Calendar specific style */
#adminCalendarDates .calendar-cell.booked-cell {
    background-color: rgba(197, 160, 89, 0.08);
    cursor: pointer;
}

#adminCalendarDates .calendar-cell.booked-cell:hover {
    background-color: rgba(197, 160, 89, 0.2);
}

#adminCalendarDates .calendar-cell.active-select {
    border: 2px solid var(--accent-color);
}

/* Admin calendar responsive layout */
@media (max-width: 991px) {
    .admin-calendar-layout {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    .admin-res-form-wrapper {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid var(--border-color);
        padding-top: 30px;
    }
}

/* KakaoTalk Button Styles */
.btn-kakaotalk {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 12px;
    padding: 15px 35px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    transition: var(--transition);
    
    /* Initial state: Subtle secondary beige/grey button */
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-kakaotalk:hover {
    border-color: var(--text-primary);
}

.btn-kakaotalk .kakao-logo {
    flex-shrink: 0;
    fill: currentColor;
    transition: var(--transition);
}

/* Bright highlight state after form submission */
.btn-kakaotalk.active-highlight {
    background-color: #FEE500 !important; /* KakaoTalk Yellow */
    color: #191919 !important; /* KakaoTalk dark text */
    border-color: #FEE500 !important;
    box-shadow: 0 4px 15px rgba(254, 229, 0, 0.4);
    animation: kakao-pulse-bounce 2s infinite ease-in-out;
}

.btn-kakaotalk.active-highlight:hover {
    background-color: #FADA0A !important;
    border-color: #FADA0A !important;
    box-shadow: 0 6px 20px rgba(254, 229, 0, 0.6);
}

/* Eye-catching micro-animation */
@keyframes kakao-pulse-bounce {
    0%, 100% {
        transform: scale(1);
    }
    10% {
        transform: scale(1.03) translateY(-2px);
    }
    20% {
        transform: scale(0.98) translateY(1px);
    }
    30% {
        transform: scale(1.02) translateY(-1px);
    }
    40% {
        transform: scale(1);
    }
}



