/* =========================================
   1. VARIABLES & RESET
   ========================================= */
   /* =========================================
   CUSTOM FONT LOADING (Morion)
   ========================================= */

/* 1. Thin (100) */
@font-face {
    font-family: 'Morion';
    src: url('fonts/MorionTest-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'Morion';
    src: url('fonts/MorionTest-ThinItalic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
}

/* 2. Ultra Light (200) */
@font-face {
    font-family: 'Morion';
    src: url('fonts/MorionTest-UltraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'Morion';
    src: url('fonts/MorionTest-UltraLightItalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
}

/* 3. Light (300) */
@font-face {
    font-family: 'Morion';
    src: url('fonts/MorionTest-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Morion';
    src: url('fonts/MorionTest-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

/* 4. Regular (400) */
@font-face {
    font-family: 'Morion';
    src: url('fonts/MorionTest-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Morion';
    src: url('fonts/MorionTest-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

/* 5. Semibold (600) */
@font-face {
    font-family: 'Morion';
    src: url('fonts/MorionTest-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Morion';
    src: url('fonts/MorionTest-SemiboldItalic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
}

/* 6. Bold (700) */
@font-face {
    font-family: 'Morion';
    src: url('fonts/MorionTest-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Morion';
    src: url('fonts/MorionTest-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}
   
   
:root {
    --color-black: #050505;
    --color-white: #FFFFFF;
    --color-dark-gray: #111111;
    --color-border: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Morion', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    width: 100px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

body.loaded .preloader {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

/* Typography Helpers */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* =========================================
   2. HEADER
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-brand {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.header-logo {
    height: 40px;
    width: auto;
    display: block;
    transition: opacity 0.3s;
}

.header-logo:hover { opacity: 0.8; }

.header-nav {
    flex: 2;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 3rem;
}

.modern-nav-link {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding: 5px 0;
}

.modern-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease, left 0.3s ease;
}

.modern-nav-link:hover { color: #fff; }
.modern-nav-link:hover::after { width: 100%; left: 0; }

.header-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin-bottom: 6px;
    transition: all 0.3s;
}

body.menu-open .hamburger span:first-child { transform: rotate(45deg) translate(5px, 6px); }
body.menu-open .hamburger span:last-child { transform: rotate(-45deg) translate(5px, -6px); }

/* =========================================
   3. HERO SECTION (UPDATED SLIDESHOW)
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #000;
}

/* Slideshow Container */
.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slide */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* Hidden by default */
    transform: scale(1.1); /* Start zoomed in slightly */
    transition: opacity 1.5s ease-in-out, transform 8s ease-out; /* Smooth fade & slow zoom */
}

/* Active Slide State */
.hero-slide.active {
    opacity: 1;
    transform: scale(1); /* Zooms out slowly to normal */
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Reduced darkness to see images better */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.hero-logo-img {
    width: 280px;
    max-width: 80%;
    height: auto;
    /* Removed margin-bottom since text is gone */
}

/* =========================================
   4. OUR STORY (MODERN EDITORIAL)
   ========================================= */
.story-section.story-modern {
    background-color: #FAFAFA;
    color: #111;
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background-image: none; 
}

.modern-bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#ccc 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: 0;
}

.modern-grain {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 60px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.editorial-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
}

.eyebrow-vertical {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #000;
    margin-bottom: 40px;
}

.geo-seal {
    width: 80px;
    height: 80px;
    color: #111;
    opacity: 0.8;
}

.editorial-content {
    position: relative;
    padding-left: 40px;
}

.content-line {
    position: absolute;
    top: 10px;
    left: 0;
    width: 1px;
    height: 0%;
    background-color: #000;
}

.story-lead {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: 400;
    margin-bottom: 3rem;
    color: #050505;
}

.story-detail p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.story-footer p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: #000;
    border-left: 2px solid #000;
    padding-left: 20px;
}

/* =========================================
   5. PRODUCTS
   ========================================= */
.products-section {
    padding: 8rem 0;
    background-color: var(--color-black);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.fluid-container { width: 95%; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 { font-size: 3rem; }

.accordion-wrapper {
    display: flex;
    height: 600px;
    width: 100%;
    gap: 1px;
}

.acc-item {
    position: relative;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    transition: flex var(--transition-smooth);
    border-right: 1px solid var(--color-border);
}

.acc-item:first-child { border-left: 1px solid var(--color-border); }
.acc-item.active { flex: 3.5; }

.acc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.6);
    transition: filter 0.5s, transform 0.8s;
    transform: scale(1.1);
}

.acc-item:hover .acc-img,
.acc-item.active .acc-img {
    filter: grayscale(0%) brightness(0.9);
    transform: scale(1);
}

.acc-header {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: difference;
}

.acc-num {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.acc-header h3 {
    font-size: 1.5rem;
    white-space: nowrap;
    transition: transform 0.5s;
}

.acc-item:not(.active) .acc-header h3 {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-top: 15px;
}

.acc-details {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s 0.2s;
    pointer-events: auto; 
}

.acc-item.active .acc-details {
    opacity: 1;
    transform: translateY(0);
}

.acc-details p {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.btn-circle {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

/* =========================================
   6. CONTACT (UPDATED)
   ========================================= */
.contact-parallax-section {
    position: relative;
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.overlay-heavy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
}

.contact-grid-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.testimonial-side { 
    padding-right: 2rem; 
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center;
}

/* New Heart Logo */
.contact-heart-img {
    width: 450px; /* Adjust size as needed */
    height: auto;
    opacity: 0.8;
}

.form-side h3 { font-size: 2rem; margin-bottom: 2rem; }
.luxury-form input, .luxury-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 0;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    margin-bottom: 2rem;
    border-radius: 0;
}
.luxury-form input:focus, .luxury-form textarea:focus { border-bottom-color: #fff; }
.btn-submit-luxury {
    background: #fff;
    color: #000;
    border: none;
    padding: 15px 40px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}
.btn-submit-luxury:hover { background: #e0e0e0; }

/* =========================================
   7. FOOTER
   ========================================= */
.main-footer {
    background-color: #080808;
    color: #fff;
    padding-top: 6rem;
    padding-bottom: 2rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: start;
}

.brand-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-brand-logo-big {
    width: 240px; 
    max-width: 100%;
    opacity: 1;
    display: block;
}

.footer-qatar-logo {
    width: 70px; 
    opacity: 1;
    display: block;
}

.footer-col h4 {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    color: #666;
}

.footer-links li { margin-bottom: 0.8rem; }
.footer-links a {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: #ccc;
}
.footer-links a:hover { color: #fff; }

.footer-social-list li { margin-bottom: 1rem; }
.footer-social-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ccc;
}
.footer-social-list a i { font-size: 1.2rem; width: 20px; text-align: center; }

.contact-details-col p { margin-bottom: 1rem; color: #bbb; font-weight: 300; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    text-align: center;
    color: #444;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =========================================
   8. MODALS
   ========================================= */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    padding: 10px;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: #111;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border: 1px solid #333;
    padding: 40px;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: translateY(50px);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: sticky;
    top: 0;
    float: right;
    margin-top: -10px;
    margin-right: -10px;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

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

.modal-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #222;
    clear: both;
}

.modal-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.modal-header p { color: #888; font-family: var(--font-body); }

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.menu-item {
    background: #181818;
    padding: 15px;
    border: 1px solid #222;
    transition: transform 0.3s;
}

.menu-item:hover { transform: translateY(-5px); border-color: #444; }

.menu-img {
    width: 100%;
    aspect-ratio: 1/1;
    background: #000;
    margin-bottom: 15px;
    overflow: hidden;
}

.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.menu-item:hover .menu-img img { transform: scale(1.1); }

.menu-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #eee;
}

.menu-info .price {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #888;
    font-weight: 300;
}

/* =========================================
   9. MOBILE & RESPONSIVE
   ========================================= */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-black);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1);
}

body.menu-open .mobile-menu-overlay { transform: translateY(0); }

.m-link {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin: 1.5rem 0;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
}

@media (max-width: 1024px) {
    .desktop-only { display: none; }
    .mobile-toggle { display: block; }
    .site-header { padding: 0 25px; }
    
    .contact-grid-layout { grid-template-columns: 1fr; text-align: center; gap: 4rem; }
    .testimonial-side { padding-right: 0; }
    .luxury-form { text-align: left; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .logo-col-left { grid-column: span 2; justify-content: center; align-items: center; }
    .footer-col { text-align: center; }
    .footer-social-list a { justify-content: center; }
    
    .accordion-wrapper { flex-direction: column; height: auto; }
    .acc-item { height: 100px; border-right: none; border-bottom: 1px solid var(--color-border); }
    .acc-item.active { height: 450px; }
    .acc-item:not(.active) .acc-header h3 {
        writing-mode: horizontal-tb;
        transform: rotate(0);
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .hero-logo-img { width: 220px; }
    .footer-grid { grid-template-columns: 1fr; }
    .logo-col-left { grid-column: span 1; }
    
    .modal-content { padding: 25px; width: 100%; height: 100%; max-height: 100vh; border: none; }
    .modal-close { top: 10px; right: 10px; margin: 0; position: absolute; }
    
    .luxury-form input, .luxury-form textarea { font-size: 16px; }
    .section-header h2 { font-size: 2.5rem; }

    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .editorial-sidebar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #ddd;
        padding-bottom: 20px;
    }
    
    .eyebrow-vertical {
        writing-mode: horizontal-tb;
        transform: rotate(0);
        margin-bottom: 0;
    }
    
    .editorial-content {
        padding-left: 15px;
        border-left: 1px solid #ddd;
    }
    
    .content-line { display: none; }
    .story-lead { font-size: 1.6rem; }
    .story-detail p { font-size: 1rem; }
}

@media (max-width: 480px) {
    .menu-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    .modal-header h2 { font-size: 2rem; }
    .footer-brand-logo-big { width: 200px; }
    .footer-qatar-logo { width: 90px; }
}