@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Tajawal:wght@200;300;400;500;700&display=swap');

:root {
    /* White Rose Palette */
    --pearl-white: #FDFBF7; 
    --cream: #F5EFEB;
    --deep-rose: #C05A74; /* Elegant Pink/Rose */
    --gold-soft: #D4AF37;
    --text-dark: #2A1F22;
    --text-muted: #7A6F72;
    
    --font-serif: 'Amiri', serif;
    --font-sans: 'Tajawal', sans-serif;
    --font-eng: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    background-color: var(--pearl-white);
    color: var(--text-dark);
    font-family: var(--font-sans);
    height: 100%;
    overflow: hidden; /* For 3D swiper */
}

/* =========================================
   1. THE PURE WHITE ENTRANCE
   ========================================= */
.pure-entrance {
    position: fixed;
    inset: 0;
    background: var(--pearl-white);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.5s ease-in-out;
}

.entrance-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.entrance-logo {
    height: 150px;
    mix-blend-mode: multiply; /* Keeps logo pure on white bg */
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInLogo 2s ease forwards 0.5s;
}

.entrance-brand-name {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--deep-rose);
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInName 2s ease forwards 1s;
}

@keyframes fadeInLogo {
    0% { opacity: 0; transform: scale(0.9); filter: blur(5px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes fadeInName {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.pure-entrance.done {
    opacity: 0;
    pointer-events: none;
}

/* =========================================
   2. AMBIENT GLOWING ORBS
   ========================================= */
#ambient-orbs-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: var(--pearl-white);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: drift 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px; height: 400px;
    background: rgba(223, 177, 166, 0.4); /* Soft Rose Gold */
    top: -10%; left: -10%;
    animation-duration: 25s;
}

.orb-2 {
    width: 300px; height: 300px;
    background: rgba(245, 240, 235, 0.8); /* Warm Ivory */
    bottom: 20%; right: -5%;
    animation-duration: 20s;
    animation-delay: 2s;
}

.orb-3 {
    width: 250px; height: 250px;
    background: rgba(223, 177, 166, 0.2);
    bottom: -10%; left: 30%;
    animation-duration: 30s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.1); }
    100% { transform: translate(-30px, -50px) scale(0.9); }
}


/* =========================================
   3. FROSTED GLASS HEADER
   ========================================= */
.glass-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(253, 251, 247, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(192, 90, 116, 0.15);
    padding: 1rem 5vw;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

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

.main-logo {
    height: 45px;
    mix-blend-mode: multiply;
}

.header-brand-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--deep-rose);
    font-weight: 700;
}

.cart-btn {
    background: transparent;
    border: none;
    color: var(--deep-rose);
    font-size: 1.2rem;
    cursor: pointer;
}

.glass-nav {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    padding-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.nav-btn::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: var(--deep-rose);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 8px var(--deep-rose);
}

.nav-btn:hover, .nav-btn.active {
    color: var(--deep-rose);
    font-weight: 700;
}

.nav-btn:hover::after, .nav-btn.active::after {
    width: 100%;
}


/* =========================================
   4. THE 3D COVER FLOW GALLERY
   ========================================= */
.museum-gallery {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 8vh; 
    z-index: 10; /* Above rain */
}

/* Swiper Base */
.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 450px; /* Larger on desktop */
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .swiper-slide { width: 350px; }
}

@media (max-width: 768px) {
    .swiper-slide { width: 280px; }
}

/* The Art Piece (Dish Image) */
.art-piece {
    width: 100%;
    position: relative;
    /* Soft reflection for white theme */
    -webkit-box-reflect: below 5px linear-gradient(transparent 70%, rgba(255,255,255,0.3));
    transition: all 0.5s ease;
}

.art-piece img {
    display: block;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Dim non-active slides smoothly */
.swiper-slide:not(.swiper-slide-active) .art-piece {
    opacity: 0.5;
    transform: scale(0.95);
}

/* Art Details (Text) */
.art-details {
    text-align: center;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none; 
}

.swiper-slide-active .art-details {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    transition-delay: 0.3s; 
}

.art-tag {
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.art-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--deep-rose);
    margin-bottom: 0.8rem;
}

.art-desc {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.art-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.art-price {
    font-family: var(--font-eng);
    font-size: 1.5rem;
    color: var(--gold-soft);
    font-weight: 700;
}

.add-btn {
    width: 45px; height: 45px;
    border-radius: 50%;
    background: var(--deep-rose);
    border: none;
    color: var(--pearl-white);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(192, 90, 116, 0.4);
    transition: all 0.3s ease;
}

.add-btn:hover {
    transform: scale(1.1);
    background: var(--text-dark);
    box-shadow: 0 5px 15px rgba(42, 31, 34, 0.4);
}

/* End Slide */
.end-slide {
    justify-content: center;
}
.end-logo {
    height: 80px;
    margin: 0 auto 1.5rem auto;
    mix-blend-mode: multiply;
}

/* Swiper Pagination styling */
.swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 0.3;
}
.swiper-pagination-bullet-active {
    background: var(--deep-rose);
    opacity: 1;
}
