﻿/* =========================================
   GENEL DEĞİŞKENLER VE AYARLAR
========================================= */
:root {
    /* Primary Colours */
    --c-dark-brown: #4A2614;
    --c-taupe: #968A7E;
    --c-beige: #DFD7CC;
    --c-white: #FFFFFF;
    /* Secondary Colours */
    --c-pale-yellow: #F2E28B;
    --c-gold: #B08C40;
    --c-sage: #8A946B;
    --c-rust: #914724;
    /* TEMA EŞLEŞTİRMELERİ */
    --lux-gold: var(--c-gold);
    --lux-black: var(--c-dark-brown);
    --lux-gray: var(--c-taupe);
    --lux-bg: var(--c-white);
    --lux-section-bg: rgba(223, 215, 204, 0.15);
    --serif: 'Playfair Display', serif;
    --sans: 'Inter', sans-serif;
}

body {
    background-color: var(--lux-bg);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* =========================================
   1. CINEMATIC HERO BANNER
========================================= */
.hero-wrap {
    height: 80vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Arka plan URL'si dinamik olduğu için HTML tarafında inline style olarak verildi */
    background-size: cover;
    background-position: center center;
    animation: heroZoom 20s infinite alternate ease-in-out;
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    color: var(--c-white);
    padding: 0 20px;
}

@keyframes heroZoom {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.15);
    }
}

/* =========================================
   2. OUR SPACES SECTION
========================================= */
.spaces-section {
    background: var(--lux-bg);
    padding: 60px 0 80px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.spaces-header, .section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 15px;
}

    .spaces-header .subtitle, .section-header .subtitle {
        font-family: var(--sans);
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 5px;
        color: var(--lux-gold);
        font-weight: 700;
        margin-bottom: 15px;
        display: block;
    }

    .spaces-header h2, .section-header h2 {
        font-family: var(--serif);
        font-size: 3.5rem;
        color: var(--lux-black);
        margin: 0;
        line-height: 1.2;
    }

.space-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.premium-space-card {
    text-decoration: none;
    display: block;
    cursor: pointer;
}

    .premium-space-card:hover {
        text-decoration: none;
    }

.space-image-wrapper {
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background: var(--lux-section-bg);
}

    .space-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

.premium-space-card:hover .space-image-wrapper img {
    transform: scale(1.06);
}

.space-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--lux-gold);
    text-transform: uppercase;
    font-weight: 600;
}

.space-divider {
    height: 1px;
    background: var(--lux-gold);
    flex-grow: 1;
    opacity: 0.4;
}

.space-title {
    font-family: var(--serif);
    font-size: 2.2rem;
    color: var(--lux-black);
    margin: 0 0 12px 0;
    transition: color 0.3s ease;
}

.space-desc {
    font-family: var(--sans);
    color: var(--lux-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.space-action {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--lux-black);
    transition: all 0.3s ease;
}

.action-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.premium-space-card:hover .space-action {
    color: var(--lux-gold);
    gap: 15px;
}

.premium-space-card.is-coming-soon {
    cursor: default;
}

    .premium-space-card.is-coming-soon .space-image-wrapper img {
        filter: grayscale(1) brightness(0.8);
    }

    .premium-space-card.is-coming-soon:hover .space-image-wrapper img {
        transform: scale(1);
    }

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

    .coming-soon-overlay span {
        background: rgba(74, 38, 20, 0.9);
        color: var(--lux-gold);
        padding: 12px 25px;
        border-radius: 30px;
        font-family: var(--sans);
        font-size: 0.8rem;
        letter-spacing: 3px;
        text-transform: uppercase;
        font-weight: 600;
        border: 1px solid rgba(176, 140, 64, 0.3);
        backdrop-filter: blur(5px);
    }

/* =========================================
   3. FEATURES SECTION
========================================= */
.features-section {
    background-color: var(--lux-section-bg);
    padding: 60px 30px;
    position: relative;
    z-index: 10;
}

.features-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    padding: 15px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    object-fit: contain;
}

.feature-item h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--lux-black);
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--lux-gray);
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   4. OUR FAVORITES (GALLERY)
========================================= */
.gallery-section {
    padding: 80px 0;
    background: var(--lux-section-bg);
}

.premium-slider-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
}

.slider-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--c-white);
    border: 1px solid var(--lux-gold);
    color: var(--lux-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .slider-btn:hover {
        background: var(--lux-gold);
        color: var(--c-white);
        box-shadow: 0 6px 20px rgba(176, 140, 64, 0.4);
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

.premium-gallery-track {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 5px;
    scroll-behavior: smooth;
    padding: 20px 5px 40px 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}

    .premium-gallery-track:active {
        cursor: grabbing;
    }

    .premium-gallery-track::-webkit-scrollbar {
        display: none;
    }

.premium-gallery-item {
    flex: 0 0 300px;
    scroll-snap-align: start;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    user-select: none;
    -webkit-user-drag: none;
}

    .premium-gallery-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

    .premium-gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
        pointer-events: none;
    }

    .premium-gallery-item:hover img {
        transform: scale(1.08);
    }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(74, 38, 20, 0.85) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 30px 20px;
    text-align: center;
}

    .gallery-overlay h4 {
        color: var(--c-white);
        font-family: var(--serif);
        font-size: 1.6rem;
        margin-bottom: 10px;
        transform: translateY(20px);
        transition: transform 0.5s ease;
    }

    .gallery-overlay span {
        color: var(--lux-gold);
        font-family: var(--sans);
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 3px;
        transform: translateY(20px);
        transition: transform 0.5s ease 0.1s;
    }

.premium-gallery-item:hover .gallery-overlay {
    opacity: 1;
}

    .premium-gallery-item:hover .gallery-overlay h4,
    .premium-gallery-item:hover .gallery-overlay span {
        transform: translateY(0);
    }

/* PROMO MODAL CSS */
.promo-modal-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
}

.promo-close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--lux-gold);
    color: var(--c-white);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--sans);
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 10;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* =========================================
   5. RESPONSIVE DESIGN
========================================= */

@media (max-width: 1024px) {
    .premium-slider-container {
        padding: 0 40px;
    }

    .premium-gallery-item {
        flex: 0 0 280px;
    }

    .space-grid {
        gap: 25px;
    }
}

@media (max-width: 991px) {
    .hero-wrap {
        height: 60vh;
    }

    .space-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 600px;
    }

    .spaces-section {
        padding: 50px 0;
        margin-top: -30px;
    }
}

@media (max-width: 768px) {
    .features-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .features-section {
        padding: 50px 20px;
    }

    .premium-slider-container {
        padding: 0 10px;
    }

    .slider-btn {
        display: none;
    }

    .premium-gallery-item {
        flex: 0 0 260px;
        scroll-snap-align: center;
    }

    .spaces-header, .section-header {
        margin-bottom: 40px;
    }

    .gallery-section {
        padding: 50px 0;
    }

    .promo-close-btn {
        top: -10px;
        right: -5px;
    }
}

@media (max-width: 576px) {
    .hero-wrap {
        height: 50vh;
    }

    .spaces-header h2, .section-header h2 {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .space-title {
        font-size: 1.8rem;
    }

    .space-image-wrapper {
        margin-bottom: 15px;
    }

    .premium-gallery-item {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(74, 38, 20, 0.9) 0%, rgba(0,0,0,0.1) 70%);
    }

        .gallery-overlay h4, .gallery-overlay span {
            transform: translateY(0);
        }

    .promo-modal-wrapper {
        max-width: 95%;
    }

    .promo-close-btn {
        width: 40px;
        height: 40px;
        top: 5px;
        right: 5px;
    }
}
