body {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
    background-color: #f8fafc;
    padding-top: 45px;
}
.serif {
    font-family: 'Playfair Display', serif;
}

.sp-sticky-header {
    position: fixed !important; 
    top: 0 !important; 
    left: 0 !important; 
    width: 100%; 
    height: 45px !important;
    background-color: #000 !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: space-between !important;
    z-index: 99999 !important; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.5) !important; 
    font-family: Arial, sans-serif !important;
}
.left-group, .right-group { 
    display: flex; 
    align-items: center; 
    height: 100%; 
}
.sp-back-to-soha-new {
    display: flex; align-items: center; justify-content: center; 
    width: 45px; height: 45px;
    background-color: #007f74; color: white; font-size: 18px; cursor: pointer;
    transition: background-color 0.3s ease;
}
.sp-back-to-soha-new:hover { background-color: #00665d; }
.emg-icon-svg { fill: currentColor; width: 20px; height: 20px; }
.sp-mag-logo-new { margin-left: 15px; display: flex; align-items: center; }
.sp-mag-logo-new img { height: 24px; width: auto; display: block; }
.center-logo {
    position: absolute; left: 50%; transform: translateX(-50%); 
    pointer-events: none; user-select: none;
    display: flex; align-items: center; justify-content: center;
}
.center-logo img { height: 26px; width: auto; display: block; }
.mobile-emag-logo {
    display: none; height: 24px; width: auto; margin-right: 15px;
}
.fb-custom-btn {
    display: flex; align-items: center; gap: 6px; color: white; 
    font-size: 13px; font-weight: bold; cursor: pointer; opacity: 0.9;
    margin-right: 15px;
}
.fb-custom-btn:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 768px) { 
    .center-logo, .fb-custom-btn { display: none !important; } 
    .mobile-emag-logo { display: block !important; }
}

.hero-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    object-position: center center;
    transform: scale(1);
    transition: transform 0.5s ease;
}
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    object-position: center center;
}

@media (max-width: 768px) {
    .hero-video {
        object-position: center bottom; 
        transform: scale(2.4);
    }
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    z-index: 1;
}

.dropcap::first-letter {
    font-family: 'Playfair Display', serif;
    float: left; font-size: 5rem; line-height: 0.8;
    padding-right: 0.75rem; font-weight: bold; color: #0369a1;
}

.bridge-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic; 
    font-size: 1.35rem; 
    line-height: 1.6;
    color: #0f172a;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}
@media (min-width: 768px) { .bridge-text { font-size: 1.75rem; } }

.bridge-text::before, .bridge-text::after {
    content: ""; position: absolute; left: 50%; transform: translateX(-50%);
    width: 80px; height: 3px; background: #38bdf8;
}
.bridge-text::before { top: 0; }
.bridge-text::after { bottom: 0; }

.card-island:hover { transform: translateY(-8px); transition: all 0.3s ease; }

.info-island {
    background: white; border-radius: 1.5rem; overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; height: 100%;
}
.info-island:hover {
    border-color: #38bdf8;
    box-shadow: 0 20px 40px -10px rgba(56, 189, 248, 0.15);
}
.info-card-img {
    width: 100%; height: 220px; object-fit: cover;
    background-color: #f1f5f9;
}
.info-content { padding: 1.75rem; flex-grow: 1; display: flex; flex-direction: column; }

#lightbox {
    display: none; position: fixed; inset: 0;
    background: #000; z-index: 100000; 
    justify-content: center; align-items: center;
    flex-direction: column; overflow: hidden;
}
#zoom-container {
    width: 100vw; height: 100vh; display: flex;
    justify-content: center; align-items: center;
    overflow: hidden; cursor: grab; position: relative;
}
#lightbox-img {
    width: 100vw; height: 100vh; object-fit: cover; 
    transition: transform 0.1s ease-out; transform-origin: center center;
    user-select: none;
}
.nav-btn {
    background: rgba(255,255,255,0.1); backdrop-filter: blur(5px);
    transition: all 0.3s ease; z-index: 120;
}
.nav-btn:hover { background: rgba(255,255,255,0.25); transform: scale(1.1); }

.video-slider-viewport {
    position: relative; width: 90vw; height: 50vh;
    margin: 0 auto; overflow: hidden; background: #000;
    border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
@media (min-width: 768px) { .video-slider-viewport { width: 75vw; height: 80vh; } }

.video-slider-track {
    display: flex; width: 400%; height: 100%;
    transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.video-slide-item {
    width: 90vw; height: 100%; flex-shrink: 0; position: relative;
}
@media (min-width: 768px) { .video-slide-item { width: 75vw; } }

.fade-in { animation: fadeIn 1.5s ease-in-out; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.book-container { perspective: 2000px; position: relative; }
.book-page {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.5s;
    transform-origin: left; transform-style: preserve-3d;
    opacity: 0; pointer-events: none; z-index: 1;
}
.book-page.active { opacity: 1; transform: rotateY(0deg); pointer-events: auto; z-index: 2; }
.book-page.flipped { transform: rotateY(-120deg); opacity: 0; z-index: 1; }