/**
 * Koza Salkım - Pages Specific Styles
 */

/* ==========================================================================
   Home Hero & Slider
   ========================================================================== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 650px;
    background-color: var(--primary-dark);
    overflow: hidden;
    margin-top: 0; /* Align to the top under transparent header */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(36, 12, 22, 0.75) 0%, rgba(36, 12, 22, 0.5) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: -100px auto 0 auto; /* Pull upward slightly since cards occupy bottom */
    padding: 0 2rem;
    color: #ffffff;
    text-align: center;
}

.slide-content h1 {
    color: #ffffff;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-slider-nav {
    position: absolute;
    bottom: calc(2.5rem + 250px); /* Positioned right above the glassmorphic cards */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 15;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background-color: var(--accent-gold);
    transform: scale(1.3);
}

/* Hero Overlapping Glassmorphism Cards */
.hero-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-card-overlay {
    background: rgba(246, 244, 239, 0.85); /* Warm light semi-transparent */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(234, 213, 184, 0.4);
    padding: 2.2rem;
    box-shadow: 0 15px 35px rgba(36, 12%, 22%, 0.08);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
}

.hero-card-overlay:hover {
    transform: translateY(-8px);
    background: #ffffff;
    border-color: var(--secondary);
    box-shadow: 0 25px 45px rgba(36, 12%, 22%, 0.15);
}

.hero-card-overlay h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-family: var(--font-serif);
}

.hero-card-overlay p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

.hero-card-link {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    transition: var(--transition-smooth);
}

.hero-card-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .hero-cards-grid {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 2rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: auto;
        min-height: 520px;
    }
    .slide-content {
        margin: 0 auto !important;
        padding-top: 110px !important;
        padding-bottom: 50px !important;
    }
    .hero-slider-nav {
        bottom: 2rem;
    }
    .hero-cards-grid {
        grid-template-columns: 1fr;
        margin-top: 1.5rem;
        padding: 0 1rem;
    }
}

/* ==========================================================================
   Home Quick Info / Welcome
   ========================================================================== */
.welcome-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.welcome-images {
    position: relative;
    height: 480px;
}

.welcome-img-large {
    width: 80%;
    height: 380px;
    object-fit: cover;
    border: 1px solid var(--border-gold);
    box-shadow: var(--card-shadow);
}

.welcome-img-small {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 250px;
    object-fit: cover;
    border: 4px solid var(--bg-cream);
    box-shadow: var(--card-shadow);
}

@media (max-width: 992px) {
    .welcome-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    .welcome-images {
        height: 350px;
    }
}

/* ==========================================================================
   Rooms Grid & Cards
   ========================================================================== */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.room-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-bounce);
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(36, 12%, 22%, 0.15);
}

.room-img-container {
    height: 320px;
    position: relative;
    overflow: hidden;
}

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

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

.room-price-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: var(--primary);
    color: var(--bg-cream);
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.room-card-content {
    padding: 2.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.room-card-content h3 {
    margin-bottom: 1rem;
}

.room-card-content p {
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.room-specs {
    display: flex;
    gap: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
    margin-bottom: 1.5rem;
}

.spec-item {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.spec-item strong {
    color: var(--primary);
}

@media (max-width: 768px) {
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================================================
   Room Details Page (Split Layout)
   ========================================================================== */
.room-details-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    margin-top: 110px; /* Header space */
    padding: 4rem 2rem;
}

.room-gallery-main {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border: 1px solid var(--border-gold);
    margin-bottom: 1.5rem;
}

.room-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.room-gallery-thumbs img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}

.room-gallery-thumbs img:hover,
.room-gallery-thumbs img.active {
    border-color: var(--secondary);
    opacity: 0.8;
}

.room-info-block {
    margin-top: 3rem;
}

.room-info-block h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.room-price-info {
    font-size: 1.5rem;
    color: var(--secondary);
    font-family: var(--font-serif);
    margin-bottom: 2rem;
}

.room-description {
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.room-amenities-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
}

.room-amenity-item {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-dark);
}

.room-amenity-item svg {
    width: 20px;
    height: 20px;
    color: var(--secondary);
}

@media (max-width: 992px) {
    .room-details-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 85px;
    }
    .room-gallery-main {
        height: 350px;
    }
    .booking-sidebar {
        position: static !important;
        margin-top: 2.5rem;
    }
}

/* ==========================================================================
   Cafe & Restaurant (Salkım Mutfak)
   ========================================================================== */
.restaurant-hero {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    margin-top: 85px;
}

.restaurant-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(36, 12%, 22%, 0.65);
}

.restaurant-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 2rem;
}

.restaurant-hero-content h1 {
    color: #ffffff;
}

.restaurant-hero-content p {
    color: rgba(255, 255, 255, 0.8);
}

/* Menu Filters */
.menu-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--secondary);
    color: var(--bg-cream);
    border-color: var(--secondary);
}

/* Menu Items Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.menu-card {
    display: flex;
    gap: 2rem;
    background-color: var(--bg-white);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(36, 12%, 22%, 0.06);
}

.menu-card-img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border-gold);
}

.menu-card-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.menu-card-header h3 {
    margin-bottom: 0;
    font-size: 1.15rem;
}

.menu-item-price {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.1rem;
}

.menu-card-details p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.special-badge {
    align-self: flex-start;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    margin-top: auto;
}

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .menu-card {
        flex-direction: column;
        gap: 1.2rem;
    }
    .menu-card-img {
        width: 100%;
        height: 180px;
    }
}

/* ==========================================================================
   Bicycle Friendly & Amenities
   ========================================================================== */
.bike-crit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.bike-crit-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    text-align: center;
}

.bike-crit-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(133, 170, 80, 0.15); /* Tint of Secondary */
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.bike-crit-icon svg {
    width: 28px;
    height: 28px;
}

.bike-crit-card h3 {
    margin-bottom: 1rem;
}

.bike-crit-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Bike Routes List */
.bike-routes-list {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.bike-route-card {
    display: flex;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.bike-route-badge {
    width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    padding: 1.5rem;
    text-align: center;
}

.route-easy { background-color: #55a630; }
.route-medium { background-color: #f77f00; }
.route-hard { background-color: #d62828; }

.bike-route-info {
    padding: 2rem;
    flex-grow: 1;
}

.bike-route-info h3 {
    margin-bottom: 0.5rem;
}

.bike-route-details {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.bike-route-details span strong {
    color: var(--primary);
}

@media (max-width: 768px) {
    .bike-crit-grid {
        grid-template-columns: 1fr;
    }
    .bike-route-card {
        flex-direction: column;
    }
    .bike-route-badge {
        width: 100%;
        padding: 1rem;
    }
}

/* ==========================================================================
   Amenities / Facilities Grid
   ========================================================================== */
.amenities-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.amenity-card-show {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition-bounce);
}

.amenity-card-show:hover {
    transform: translateY(-8px);
}

.amenity-card-icon {
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.amenity-card-icon svg {
    width: 44px;
    height: 44px;
}

.amenity-card-show h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.amenity-card-show p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

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

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

/* ==========================================================================
   Blog Section & Grid
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.blog-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-5px);
}

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

.blog-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.35;
}

.blog-card p {
    font-size: 0.9rem;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

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

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

/* Blog Single Page Layout */
.blog-single-container {
    max-width: 800px;
    margin: 110px auto 4rem auto;
    padding: 0 1.5rem;
}

.blog-single-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.blog-single-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 2rem;
}

.blog-single-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    margin-bottom: 3rem;
    border: 1px solid var(--border-gold);
}

.blog-single-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-single-content p {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* ==========================================================================
   Booking & Forms Styling
   ========================================================================== */
.booking-form-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    padding: 3rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-cream);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
    border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    background-color: var(--bg-white);
}

.form-group textarea {
    resize: vertical;
}

/* Live Booking Side Panel Calculator */
.booking-sidebar {
    background-color: var(--primary);
    color: var(--bg-cream);
    padding: 2.5rem;
    position: sticky;
    top: 110px;
}

.booking-sidebar h3 {
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.calc-row.total {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-serif);
}

.calc-row.total span {
    color: var(--accent-gold);
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .booking-form-card {
        padding: 2rem 1.2rem;
    }
}

/* Feedback alert blocks */
.alert {
    padding: 1.2rem 1.8rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    border-left: 4px solid transparent;
}

.alert-success {
    background-color: rgba(133, 170, 80, 0.15);
    color: var(--secondary-dark);
    border-left-color: var(--secondary);
}

.alert-danger {
    background-color: rgba(214, 40, 40, 0.1);
    color: #d62828;
    border-left-color: #d62828;
}

/* ==========================================================================
   Contact Page Details
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    display: flex;
    gap: 1.5rem;
}

.contact-card-icon {
    color: var(--secondary);
}

.contact-card-icon svg {
    width: 28px;
    height: 28px;
}

.contact-card-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-card-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.map-container {
    width: 100%;
    height: 400px;
    margin-top: 4rem;
    border: 1px solid var(--border-gold);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================================================
   Photo Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(36, 12, 22, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

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

/* Gallery Carousel Styles */
.gallery-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 3rem;
    padding: 0 4rem; /* Spacing for the arrows on the sides */
}

.gallery-carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.gallery-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 1.5rem; /* Gap between slides */
}

.gallery-slide-item {
    flex: 0 0 calc((100% - 3rem) / 3); /* 3 items visible */
    position: relative;
    height: 300px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    cursor: pointer;
}

.gallery-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

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

.gallery-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 1.2rem 1.2rem 1.2rem;
    background: linear-gradient(to top, rgba(36, 12, 22, 0.9) 0%, rgba(36, 12, 22, 0.4) 60%, rgba(36, 12, 22, 0) 100%);
    color: #ffffff;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.gallery-slide-item:hover .gallery-slide-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Navigation Arrows */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-white);
    border: 1px solid var(--border-gold);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
}

.gallery-arrow:hover {
    background: var(--primary);
    color: var(--bg-cream);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.05);
}

.gallery-arrow.arrow-left {
    left: 0;
}

.gallery-arrow.arrow-right {
    right: 0;
}

.gallery-arrow[disabled] {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsiveness */
@media (max-width: 992px) {
    .gallery-slide-item {
        flex: 0 0 calc((100% - 1.5rem) / 2); /* 2 items visible */
        height: 260px;
    }
    .gallery-carousel-wrapper {
        padding: 0 3rem;
    }
}

@media (max-width: 576px) {
    .gallery-slide-item {
        flex: 0 0 100%; /* 1 item visible */
        height: 220px;
    }
    .gallery-carousel-wrapper {
        padding: 0 2.5rem;
    }
    .gallery-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
}

/* Gallery Lightbox Modal */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 8, 15, 0.96);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border: 2px solid var(--border-gold);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    user-select: none;
}

.gallery-lightbox button {
    position: absolute;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 4rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
    outline: none;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.gallery-lightbox button:hover {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
    font-size: 4rem !important;
    line-height: 1;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

@media (max-width: 768px) {
    .gallery-lightbox button {
        font-size: 3rem;
    }
    .lightbox-close {
        top: 1.5rem;
        right: 1.5rem;
    }
    .lightbox-prev {
        left: 1rem;
    }
    .lightbox-next {
        right: 1rem;
    }
    .lightbox-content {
        max-width: 90%;
    }
    .lightbox-img {
        max-height: 70vh;
    }
}

