:root {
    --primary-color: #b38e5d;
    --primary-dark: #9c7a4d;
    --dark-color: #2a2a2a;
    --light-color: #f8f5f0;
    --light-beige: #f8f5f0;
    --dark-green: #0d475f;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --gray-light: #f0f0f0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(179, 142, 93, 0.15);
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* ===== TYPOGRAPHY & UTILITIES ===== */
.text-primary { color: var(--primary-color) !important; }
.text-dark { color: var(--dark-color) !important; }

.section-title {
    position: relative;
    margin-bottom: 3rem;
    display: inline-block;
    font-size: 2.5rem;
    color: var(--dark-green);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title.left::after {
    left: 0;
    transform: none;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.btn-dark {
    background-color: var(--dark-color) !important;
    border-color: var(--dark-color) !important;
    transition: var(--transition);
}

.btn-dark:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* ===== NAVBAR ===== */
.navbar-brand img {
    height: 65px;
    max-width: 220px;
}

/* ===== HERO SECTIONS ===== */
.hero-section {
    margin-top: 76px;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    min-height: 600px;
    position: relative;
}

.about-hero,
.gallery-hero {
    padding: 120px 0 80px;
    background: linear-gradient(rgba(13, 71, 95, 0.9), rgba(179, 142, 93, 0.9)),
                url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    margin-top: 76px;
    display: flex;
    align-items: center;
}

.gallery-hero::before {
    display: none; /* Remove duplicate background */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.hero-title.left::after {
    left: 0;
    transform: none;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 20px auto 40px;
    line-height: 1.6;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== SEARCH FORM ===== */
.search-form-container {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-light);
    margin-top: -50px;
    position: relative;
    z-index: 100;
}

/* ===== CARDS ===== */
.facility-card,
.room-card,
.value-card,
.gallery-card,
.testimonial-card {
    transition: var(--transition);
    height: 100%;
    border: none !important;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}

.facility-card:hover,
.room-card:hover,
.value-card:hover,
.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* Room Cards */
.room-image {
    height: 250px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.05);
}

.room-price {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
}

/* Value Cards */
.value-card {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid rgba(179, 142, 93, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #d4b483);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2rem;
}

/* Gallery Cards */
.card-image,
.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-green);
}

.card-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--gray-light);
}

.card-category {
    font-size: 0.8rem;
    padding: 4px 12px;
    background: var(--light-beige);
    color: var(--primary-color);
    border-radius: 12px;
    font-weight: 500;
}

.card-date {
    font-size: 0.8rem;
    color: #999;
}

/* ===== GALLERY LAYOUTS ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 0 15px;
}

.about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(4, 200px);
    gap: 15px;
}

.about-gallery-grid .gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.about-gallery-grid .gallery-item:hover {
    transform: scale(1.03);
}

.about-gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grid positions for about page */
.item-1 { grid-column: 1 / 5; grid-row: 1 / 3; }
.item-2 { grid-column: 5 / 9; grid-row: 1 / 2; }
.item-3 { grid-column: 9 / 13; grid-row: 1 / 3; }
.item-4 { grid-column: 1 / 5; grid-row: 3 / 5; }
.item-5 { grid-column: 5 / 9; grid-row: 2 / 4; }
.item-6 { grid-column: 9 / 13; grid-row: 3 / 5; }
.item-7 { grid-column: 5 / 9; grid-row: 4 / 5; }

/* ===== SECTIONS ===== */
.story-section,
.values-section,
.experience-section,
.gallery-preview,
.testimonial-section,
.cta-section,
.simple-video-section,
.gallery-container {
    padding: 100px 0;
}

.values-section {
    background: linear-gradient(135deg, var(--light-beige) 0%, var(--white) 100%);
}

.experience-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.experience-overlay {
    background: rgba(148, 149, 123, 0.9);
    padding: 80px 0;
    color: var(--white);
}

.experience-number {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    padding: 40px;
    position: relative;
    margin: 20px;
}

.testimonial-card::before {
    content: '"';
    font-size: 120px;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -40px;
    left: 20px;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ===== CTA ===== */
.cta-section {
    background-color: var(--primary-color);
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.cta-btn {
    background: var(--dark-green);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    margin-top: 30px;
}

.cta-btn:hover {
    background: #0a4765;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ===== VIDEO ===== */
.video-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.video-thumbnail {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.play-icon:hover {
    background: var(--white);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-caption {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===== TABS ===== */
.tab-nav {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-light);
    position: sticky;
    top: 76px;
    z-index: 100;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 25px;
    margin: 0 5px;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 25px;
    right: 25px;
    height: 2px;
    background: var(--primary-color);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark-color);
    color: #ccc;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: #444;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--white);
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.gallery-card:nth-child(2) { animation-delay: 0.1s; }
.gallery-card:nth-child(3) { animation-delay: 0.2s; }
.gallery-card:nth-child(4) { animation-delay: 0.3s; }
.gallery-card:nth-child(5) { animation-delay: 0.4s; }
.gallery-card:nth-child(6) { animation-delay: 0.5s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        margin-top: 76px;
        min-height: auto;
    }
    
    .about-hero,
    .gallery-hero {
        padding: 100px 0 60px;
    }
    
    .hero-img {
        height: 400px;
    }
    
    .search-form-container {
        margin-top: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .about-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(7, 150px);
    }
    
    .about-gallery-grid .gallery-item {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
    }
    
    .tab-nav {
        overflow-x: auto;
        white-space: nowrap;
        padding: 15px 0;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .story-content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .video-thumbnail {
        height: 300px;
    }
    
    .play-icon {
        width: 60px;
        height: 60px;
        font-size: 40px;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .gallery-img,
    .card-image {
        height: 180px;
    }
    
    .video-thumbnail {
        height: 250px;
    }
    
    .play-icon {
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .experience-number {
        font-size: 3rem;
    }
}