/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2d3436;
    background: #F0F0F0;
}

/* ===== LANDING PAGE ===== */
.landing-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #000;
}

.landing-container {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.landing-image {
    max-width: 80%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
}

.enter-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #FF0000;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.enter-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.4);
    background: #CC0000;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1.5rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo .letter-red {
    color: #FF0000;
}

.logo .letter-blue {
    color: #0066CC;
}

.logo .letter-yellow {
    color: #FFD700;
}

.navigation {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #2c2c2c;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #2c2c2c;
}

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

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-top: 6rem;
}

.section {
    padding: 4rem 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #000;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ===== HOME SECTION ===== */
.home-section {
    background: rgba(255, 255, 255, 0.95);
    min-height: 50vh;
    display: flex;
    align-items: center;
    border-radius: 20px;
    margin: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.home-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* ===== INFORMATION SECTION ===== */
.information-section {
    background: transparent;
    padding: 4rem 2rem;
}

.info-content {
    display: grid;
    gap: 3rem;
    margin-top: 2rem;
}

.info-block {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid transparent;
    border-image: linear-gradient(135deg, #0066CC, #FFD700) 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-block h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.info-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.info-detail {
    margin-bottom: 0.5rem;
}

.hours-list {
    list-style: none;
    margin: 1rem 0;
    padding-left: 1rem;
}

.hours-list li {
    padding: 0.5rem 0;
    color: #555;
}

.appointment-note {
    font-style: italic;
    color: #777;
    margin-top: 1.5rem;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    margin: 2rem;
    padding: 3rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.gallery-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
}

/* Category Menu */
.category-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #000;
    border: 2px solid #000;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #f8f8f8;
}

.category-btn.active {
    background: #fff;
    color: #000;
    border: 2px solid #000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    min-height: 400px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gallery-item img,
.gallery-item picture {
    width: 100%;
    display: block;
}

.gallery-item img {
    height: 300px;
    object-fit: cover;
}

/* Ensure responsive images load properly */
.responsive-gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-description {
    background: #fff;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.gallery-item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    padding: 1.5rem 1rem 1rem;
    font-size: 0.9rem;
    text-align: center;
}

/* Pagination Controls */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.pagination-btn {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #FFD700, #FFC700);
    color: #000;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.pagination-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.pagination-btn:disabled {
    background: linear-gradient(135deg, #dfe6e9, #b2bec3);
    color: #636e72;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.page-info {
    font-size: 1rem;
    color: #555;
    letter-spacing: 0.05em;
    min-width: 120px;
    text-align: center;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: transparent;
    padding: 4rem 2rem;
}

.contact-content {
    display: grid;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid transparent;
    border-image: linear-gradient(135deg, #FF0000, #FFD700) 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    font-size: 1.3rem;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.contact-link {
    color: #555;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #2c2c2c;
    text-decoration: underline;
}

.address {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.map-container {
    background-color: #fff;
    min-height: 400px;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
}

.leaflet-popup-content-wrapper {
    font-family: 'Georgia', serif;
}

.leaflet-popup-content {
    margin: 1rem;
}

.leaflet-popup-content strong {
    color: #2c2c2c;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #2d3436, #636e72);
    color: #fff;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-container p {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.back-to-top {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.back-to-top:hover {
    opacity: 0.7;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .navigation {
        justify-content: center;
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .section {
        padding: 3rem 0;
    }

    .category-menu {
        gap: 0.5rem;
    }

    .category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

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

    .gallery-item img {
        height: 250px;
    }

    .pagination-controls {
        gap: 1rem;
    }

    .pagination-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-content {
        gap: 2rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .landing-container {
        padding: 1rem;
    }

    .enter-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .header {
        padding: 1rem 0;
    }

    .main-content {
        margin-top: 8rem;
    }

    .navigation {
        gap: 0.8rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .section {
        padding: 2rem 0;
    }

    .section-container {
        padding: 0 1rem;
    }

    .home-intro {
        font-size: 1.1rem;
    }

    .info-block,
    .contact-item {
        padding: 1.5rem;
    }

    .category-menu {
        gap: 0.5rem;
        padding: 1rem 0;
    }

    .category-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item img {
        height: 200px;
    }

    .pagination-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .pagination-btn {
        width: 100%;
        padding: 0.75rem;
    }

    .map-container {
        min-height: 300px;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .section-container {
        max-width: 1400px;
    }
}

/* ===== ANTI-SPAM PROTECTION ===== */
/* Reversed text as fallback if JavaScript is disabled */
.reversed-text {
    unicode-bidi: bidi-override;
    direction: rtl;
}

/* Prevent bots from easily accessing obfuscated links */
.obfuscated-contact {
    pointer-events: auto;
}
