/* Camaradvipa Hotel - Natural Organic Theme */
:root {
    --primary-forest: #1A4D2E;
    --primary-light: #4F6F52;
    --accent-wood: #D4A373;
    --accent-sand: #E9E5D6;
    --bg-natural: #FAF9F6;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-premium: 0 20px 40px rgba(26, 77, 46, 0.1);
    --radius-lg: 24px;
    --radius-md: 16px;
}

/* Trial Mode Custom Styles */
.trial-mode-banner {
    background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 100%);
    border-bottom: 1.5px solid #fcd34d;
    color: #92400e;
    padding: 12px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    font-family: 'Montserrat', sans-serif;
}
.trial-mode-banner i {
    animation: trial-pulse 2s infinite ease-in-out;
}
@keyframes trial-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

body {
    background-color: var(--bg-natural);
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
    padding-top: 0;
}

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

/* Navbar */
.hotel-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.hotel-nav.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 15px 80px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
}

.hotel-nav.scrolled .nav-brand {
    color: var(--primary-forest);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.hotel-nav.scrolled .nav-links a {
    color: var(--text-dark);
}

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

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Hero Section */
.hotel-hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1542718610-a1d656d1884c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    border-radius: 0 0 80px 80px;
    margin-bottom: -60px;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Booking Bar - Glassmorphism */
.booking-bar {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    display: flex;
    gap: 20px;
    align-items: flex-end;
    position: relative;
    z-index: 10;
}

.booking-group {
    flex: 1;
}

.booking-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-forest);
    text-transform: uppercase;
}

.booking-group input, .booking-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    font-family: inherit;
}

.btn-book {
    background: var(--primary-forest);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-book:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 77, 46, 0.2);
}

/* Room Cards */
.room-section {
    padding: 120px 0 80px;
}

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

.section-header span {
    color: var(--accent-wood);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-forest);
    margin-top: 10px;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.room-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f1f5f9;
}

.room-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-premium);
}

.room-img-wrapper {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.room-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.room-price-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-forest);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
}

.room-info {
    padding: 30px;
}

.room-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-forest);
}

.room-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.room-meta i {
    color: var(--accent-wood);
}

.btn-outline {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid var(--primary-forest);
    color: var(--primary-forest);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

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

/* About Us Section */
.about-section {
    padding: 120px 0;
    text-align: center;
    background: white;
    position: relative;
    overflow: hidden;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--primary-forest);
}

.about-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    line-height: 2;
}

/* Facilities Section */
.facilities-section {
    padding: 100px 0;
    background: var(--accent-sand);
}

.fac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.fac-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
}

.fac-card:hover {
    transform: translateY(-10px);
}

.fac-card i {
    font-size: 2.5rem;
    color: var(--primary-forest);
    margin-bottom: 20px;
}

/* Testimonial Section */
.testimonial-section {
    padding: 120px 0;
    background: var(--primary-forest);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '"';
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 15rem;
    opacity: 0.1;
    line-height: 1;
}

.test-card {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    padding: 20px 60px;
}

.test-card p {
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-bottom: 40px;
    line-height: 1.5;
}

.test-author {
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 1.1rem;
    color: var(--accent-sand);
}

/* Swiper Custom */
.swiper-button-next, .swiper-button-prev {
    color: white !important;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    opacity: 1;
}

.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

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

.gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 50px;
}

.gal-item {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gal-item:hover img {
    transform: scale(1.1);
}

/* Page Header (Interior) */
.page-header {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.page-header-content p {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.9;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Room Detail Page Styles */
.detail-header { padding: 100px 0 60px; text-align: center; }
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-bottom: 80px; }
.main-content { min-width: 0; }
.gallery-main.swiper { width: 100%; height: 500px; border-radius: 24px; overflow: hidden; margin-bottom: 15px; box-shadow: var(--shadow-premium); background: #f1f5f9; position: relative; }
.gallery-main .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { width: 100%; height: 80px; box-sizing: border-box; margin-bottom: 30px; }
.gallery-thumbs .swiper-slide { height: 100%; opacity: 0.5; cursor: pointer; border-radius: 12px; overflow: hidden; transition: opacity 0.3s ease, border-color 0.3s ease; border: 2px solid transparent; }
.gallery-thumbs .swiper-slide-thumb-active { opacity: 1; border-color: var(--primary-forest); }
.gallery-thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .swiper-button-next, .gallery-main .swiper-button-prev { color: white; background: rgba(26, 77, 46, 0.4); width: 45px; height: 45px; border-radius: 50%; backdrop-filter: blur(4px); transition: background 0.3s ease; }
.gallery-main .swiper-button-next:hover, .gallery-main .swiper-button-prev:hover { background: rgba(26, 77, 46, 0.8); }
.gallery-main .swiper-button-next:after, .gallery-main .swiper-button-prev:after { font-size: 1.1rem; font-weight: bold; }
.amenity-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.amenity-item { display: flex; align-items: center; gap: 12px; color: var(--text-dark); background: white; padding: 15px; border-radius: 12px; border: 1px solid #f1f5f9; }
.amenity-item i { color: var(--accent-wood); font-size: 1.2rem; }
.booking-card { background: white; padding: 40px; border-radius: 24px; box-shadow: var(--shadow-premium); border: 1px solid #f1f5f9; position: sticky; top: 120px; }

.room-gallery { margin-top: 80px; }
.room-gallery h3 { font-size: 2rem; color: var(--primary-forest); margin-bottom: 30px; text-align: center; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gal-item { height: 250px; border-radius: 16px; overflow: hidden; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gal-item:hover img { transform: scale(1.1); }

/* Footer & Grid layout */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.hotel-footer {
    background: var(--primary-forest);
    color: white;
    padding: 60px 0 40px;
}

.hotel-footer.detail-footer {
    margin-top: 80px;
}

/* Nav Toggle Button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hotel-nav.scrolled .nav-toggle {
    color: var(--primary-forest);
}

.booking-container {
    margin-top: -80px;
    position: relative;
    z-index: 15;
}

/* Search Results Page Styles */
.search-modify-container {
    background: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.search-modify-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 20px;
    align-items: end;
}

.search-room-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    transition: transform 0.3s ease;
}

.search-room-img {
    height: 100%;
    min-height: 250px;
    overflow: hidden;
}

.search-room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-room-info {
    padding: 40px;
}

.search-room-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .container {
        padding: 0 25px;
    }
    .hotel-nav {
        padding: 20px 40px;
    }
    .hotel-nav.scrolled {
        padding: 15px 40px;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 55px; /* Adjust for trial banner */
    }
    
    .trial-mode-banner {
        padding: 8px 12px;
        font-size: 0.78rem;
        line-height: 1.3;
    }

    .container {
        padding: 0 20px;
    }

    /* Navbar Mobile */
    .hotel-nav {
        top: 55px; /* Shifted down for trial banner */
        padding: 15px 20px;
    }
    
    .hotel-nav.scrolled {
        padding: 12px 20px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(26, 77, 46, 0.96);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: white !important;
        font-size: 1.05rem;
    }

    /* Hero Mobile */
    .hotel-hero {
        height: 70vh;
        border-radius: 0 0 40px 40px;
        margin-bottom: -40px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        padding: 0 10px;
    }

    .hero-content p {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    /* Booking Bar Mobile */
    .booking-container {
        margin-top: -40px;
    }

    .booking-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 20px;
        border-radius: var(--radius-md);
    }

    .booking-group input, .booking-group select {
        padding: 10px 12px;
    }

    .btn-book {
        padding: 12px 30px;
    }

    /* About Section Mobile */
    .about-section {
        padding: 80px 0 50px;
    }

    .about-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .about-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .about-content div {
        margin: 25px auto !important;
    }

    /* Room Section Mobile */
    .room-section {
        padding: 100px 0 50px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .room-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0;
    }

    .room-card {
        max-width: 480px;
        margin: 0 auto;
    }

    .room-img-wrapper {
        height: 220px;
    }

    .room-info {
        padding: 25px;
    }

    /* Facilities Section Mobile */
    .facilities-section {
        padding: 60px 0;
    }

    .fac-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .fac-card {
        padding: 30px 20px;
    }

    /* Testimonial Section Mobile */
    .testimonial-section {
        padding: 80px 0;
    }

    .test-card {
        padding: 10px 20px;
    }

    .test-card p {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }

    .test-author {
        font-size: 0.95rem;
    }

    /* Gallery Section Mobile */
    .gallery-section {
        padding: 60px 0;
    }

    .gal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 30px;
    }

    .gal-item {
        height: 180px;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hotel-footer {
        padding: 40px 0 20px;
    }

    .hotel-footer.detail-footer {
        margin-top: 40px;
    }

    /* Room Detail Mobile overrides */
    .detail-header {
        padding: 60px 0 30px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .gallery-main {
        height: 280px;
        border-radius: var(--radius-md);
        margin-bottom: 20px;
    }

    .amenity-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 20px;
    }

    .booking-card {
        position: static;
        padding: 25px;
        border-radius: var(--radius-md);
    }

    .room-gallery {
        margin-top: 40px;
    }

    .room-gallery h3 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .room-gallery .gal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .room-gallery .gal-item {
        height: 180px;
        border-radius: 12px;
    }

    /* Search Results Mobile Overrides */
    .search-modify-container {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .search-modify-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .search-room-card {
        grid-template-columns: 1fr;
    }
    
    .search-room-img {
        height: 200px;
        min-height: auto;
    }
    
    .search-room-info {
        padding: 25px;
    }
    
    .search-room-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-room-header > div:last-child {
        text-align: left !important;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .about-content h2 {
        font-size: 1.7rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .amenity-list {
        grid-template-columns: 1fr;
    }
    
    .room-gallery .gal-grid {
        grid-template-columns: 1fr;
    }
    
    .room-gallery .gal-item {
        height: 220px;
    }
}
