/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    line-height: 1.6;
    color: #4e342e;
    background-color: #f5f5dc;
}

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

/* Language Dropdown Styles */
.language-selector.custom-lang-dropdown {
    position: relative;
}

.lang-dropdown-list {
    position: absolute;
    left: 0;
    right: auto;
    min-width: 160px;
    max-width: 90vw;
    width: max-content;
    background: #fff8e1;
    border: 1px solid #a1887f;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-top: 0.5rem;
    z-index: 1000;
    display: none;
}

.lang-dropdown-list .lang-option {
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s;
}

.lang-dropdown-list .lang-option:hover {
    background: #a1887f;
    color: #fff8e1;
}

.lang-btn {
    background: rgba(0,0,0,0.0);
    border: 0px solid #a1887f;
    color: #4e342e;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #dbd5c5 0%, #dbd5c5 30%, #a1887f 100%);
    color: #4e342e;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #4e342e;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(78,52,46,0.6), rgba(78,52,46,0.3)), 
                url('../assets/images/z6941676794869_4a4689c4303a48b92b0590d62d1a77be.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    min-height: 400px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Gallery Navigation */
.gallery-nav {
    background: #fff8e1;
    padding: 1rem 0;
    border-bottom: 1px solid #d7ccc8;
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.nav-tab {
    background: transparent;
    border: 2px solid #a1887f;
    color: #4e342e;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 150px;
    justify-content: center;
}

.nav-tab:hover,
.nav-tab.active {
    background: #a1887f;
    color: #fff8e1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(161, 136, 127, 0.2);
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 3rem 0;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

/* Gallery Section */
.gallery-section h3,
.locations-section h3,
.services-section h3,
.about-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #4e342e;
}

.gallery-section p,
.locations-section p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #fff8e1;
    border: 1px solid #a1887f;
    color: #4e342e;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #a1887f;
    color: #fff8e1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.gallery-item-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    text-align: left;
    margin: 0;
}

/* Locations Section */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.location-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.location-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.location-card-content {
    padding: 1.5rem;
}

.location-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #4e342e;
}

.location-card p {
    color: #666;
    margin-bottom: 1rem;
    text-align: left;
}

.location-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #ffd700;
}

.location-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: #f5f5dc;
    color: #4e342e;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid #d7ccc8;
}

/* Services Section */
.services-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-category h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #4e342e;
    text-align: center;
}

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

.service-category li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    font-size: 1rem;
}

.service-category li:last-child {
    border-bottom: none;
}

.service-category li:before {
    content: "✓ ";
    color: #a1887f;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* About Section */
.about-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
    text-align: left;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-item i {
    color: #a1887f;
    font-size: 1.2rem;
}

.about-stats {
    display: grid;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #a1887f;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Section */
.contact-section {
    background: #fff8e1;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(161, 136, 127, 0.08);
    margin-top: 3rem;
}

.contact-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #4e342e;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f5f5dc;
    border-radius: 10px;
}

.contact-item i {
    color: #a1887f;
    font-size: 1.2rem;
    width: 20px;
}

/* Footer */
.footer {
    background: #a1887f;
    color: #fff8e1;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Modal Styles */
.image-modal,
.location-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    animation: fadeIn 0.3s ease;
}

.image-modal .modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.location-modal .modal-content {
    background: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    z-index: 1001;
}

.close-modal:hover {
    color: #000;
}

#modalImage {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 15px 15px 0 0;
}

.modal-caption {
    padding: 2rem;
}

.modal-caption h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4e342e;
}

.modal-caption p {
    color: #666;
    text-align: left;
}

.location-detail h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #4e342e;
}

.location-detail p {
    color: #666;
    margin-bottom: 2rem;
    text-align: left;
}

.location-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.info-item i {
    color: #a1887f;
    width: 20px;
}

.visit-btn {
    background: linear-gradient(135deg, #a1887f 0%, #d7ccc8 100%);
    color: #4e342e;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.visit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(161, 136, 127, 0.2);
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #a1887f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-brand h1 {
        font-size: 1.4rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .nav-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-tab {
        width: 100%;
        max-width: 300px;
        margin-bottom: 0.5rem;
    }
    
    .gallery-filters {
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .gallery-grid,
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .services-categories {
        grid-template-columns: 1fr;
    }
    
    .lang-dropdown-list {
        left: 0;
        right: 0;
        min-width: unset;
        width: 100vw;
        max-width: 100vw;
        border-radius: 0 0 8px 8px;
        transform: translateX(-16px);
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .gallery-section h3,
    .locations-section h3,
    .services-section h3,
    .about-section h3 {
        font-size: 2rem;
    }
    
    .contact-section {
        padding: 2rem 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

/* Hidden class for filtering */
.hidden {
    display: none !important;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.slide-up {
    animation: slideUp 0.5s ease forwards;
}

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