@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&display=swap');

:root {
    --primary: #CF801A;
    --secondary: #FFDC92;
    --accent: #1a1a1a;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --grad: linear-gradient(135deg, #CF801A 0%, #FFDC92 100%);
    --shadow: 0 20px 40px rgba(0,0,0,0.15);
    --breathe-glow: rgba(207, 128, 26, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: #fcfcfc;
    color: #333;
    overflow-x: hidden;
}

/* --- Premium & Creative Animations --- */
@keyframes creative-breathe {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
        border-color: rgba(207, 128, 26, 0.2);
    }
    50% {
        transform: scale(1.015) rotate(0.5deg);
        box-shadow: 0 25px 50px var(--breathe-glow);
        border-color: rgba(207, 128, 26, 0.85);
    }
}

.creative-breathe {
    animation: creative-breathe 6s ease-in-out infinite;
    border: 1px solid rgba(207, 128, 26, 0.2);
    transition: all 0.4s ease;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

.pulse-anim {
    animation: icon-pulse 2.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(207, 128, 26, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(207, 128, 26, 0); }
    100% { box-shadow: 0 0 0 0 rgba(207, 128, 26, 0); }
}

@keyframes card-breathe {
    0%, 100% { 
        box-shadow: 0 8px 20px rgba(0,0,0,0.04);
        border-color: rgba(207, 128, 26, 0.15);
        transform: translateY(0);
    }
    50% { 
        box-shadow: 0 20px 45px var(--breathe-glow);
        border-color: rgba(207, 128, 26, 0.9);
        transform: translateY(-4px);
    }
}

/* --- Layout Components --- */
.glass-header {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(207, 128, 26, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: 0.4s;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo h1 {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--accent);
}

.brand-logo h1 span {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu a {
    text-decoration: none;
    color: var(--accent);
    margin-left: 30px;
    font-weight: 600;
    transition: 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.cart-badge {
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    position: absolute;
    top: -10px;
    right: -15px;
    font-weight: 800;
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 2s ease-out;
    transform: scale(1.08);
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: white;
    max-width: 850px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.golden-text {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 35px;
}

.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.5);
}

.cta-button {
    background: var(--grad);
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(207, 128, 26, 0.4);
}

.btn-dark {
    background: var(--accent);
}

/* --- Generic Containers & Utility Classes --- */
.container {
    max-width: 1300px;
    margin: 100px auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mb-20 { margin-bottom: 20px; }

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--accent);
}

.section-subtitle {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* --- Newly Extracted Layout Sections --- */
.welcome-wrapper {
    margin-top: 80px;
    margin-bottom: 60px;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 50px;
    align-items: center;
    background: #fff;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(207,128,26,0.1);
}

.welcome-logo {
    max-width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
}

.welcome-heading {
    font-size: 2.4rem;
    color: var(--accent);
    margin: 10px 0 20px;
    font-weight: 800;
}

.welcome-text {
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
}

.stats-section {
    background: linear-gradient(180deg, #fafafa 0%, #fff9f0 100%);
    padding: 60px 40px;
    border-radius: 30px;
}

.modern-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(207, 128, 26, 0.15);
    transition: 0.4s;
}

.modern-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(207, 128, 26, 0.3);
}

.modern-card .icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.modern-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.service-card {
    text-align: left;
    padding: 35px 25px;
}

.service-card .icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.media-section-wrapper {
    margin-top: 90px;
    margin-bottom: 90px;
}

.shop-preview-section {
    background: linear-gradient(180deg, #fff9f0 0%, #ffffff 100%);
    padding: 80px 40px;
    border-radius: 30px;
    margin-top: 90px;
    margin-bottom: 90px;
    border: 1px solid rgba(207,128,26,0.08);
}

.legacy-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.legacy-heading {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.legacy-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.legacy-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid var(--primary);
    box-shadow: 0 10px 25px rgba(207,128,26,0.4);
}

.learn-more-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.learn-more-link:hover {
    color: var(--primary);
}

/* --- Media Library Grid & Modal Structure --- */
.media-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 35px;
    margin: 40px 0 60px;
}

.video-card {
    background: white;
    border-radius: 45px 12px 45px 12px; 
    overflow: hidden;
    border: 1px solid rgba(207, 128, 26, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 45px rgba(207, 128, 26, 0.25);
    border-radius: 12px 45px 12px 45px; 
}

.thumb-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    overflow: hidden;
}

.thumb-container img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.video-card:hover .thumb-container img {
    transform: scale(1.06);
    opacity: 0.8;
}

.play-trigger {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: 65px; height: 65px;
    background: var(--grad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 5;
    animation: pulse-glow 2s infinite; 
}

.play-trigger i {
    margin-left: 4px;
}

.video-card:hover .play-trigger {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.card-details {
    padding: 22px 25px;
}

.card-details h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
}

.video-card:hover .card-details h5 {
    color: var(--primary);
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 60px 0;
}

.pg-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    min-width: 46px;
    padding: 0 16px;
    border-radius: 12px;
    background: white;
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(207, 128, 26, 0.2);
    transition: all 0.3s ease;
}

.pg-link:hover, .pg-link.active {
    background: var(--grad);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(207, 128, 26, 0.35);
}

.v-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(12px);
}

.v-modal-content {
    position: relative;
    width: 100%;
    max-width: 950px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
}

.v-modal-content iframe {
    width: 100%;
    height: 100%;
}

.v-close {
    position: absolute;
    top: -55px;
    right: 0;
    color: white;
    font-size: 2.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 300;
}

.v-close:hover {
    color: var(--primary);
}

@media(max-width: 768px) {
    .media-gallery {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .welcome-grid, .legacy-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .service-card {
        text-align: center;
    }
    .v-close {
        top: 15px;
        right: 20px;
        background: rgba(0,0,0,0.6);
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 2rem;
    }
}

/* --- Shop Elements & Enhanced Book Card Hover --- */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.book-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(207, 128, 26, 0.08);
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    box-shadow: 0 20px 40px rgba(207, 128, 26, 0.15);
    transform: translateY(-8px);
    border-color: var(--primary);
}

.book-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: #f5f5f5;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.book-card:hover .book-img {
    transform: scale(1.08);
}

.book-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    background: white;
}

.book-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.book-meta span {
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 5px;
}

.book-title {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.book-card:hover .book-title {
    color: var(--primary);
}

.book-price {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 800;
    margin-top: auto;
}

.book-btn-wrapper {
    margin-top: 15px;
}

.book-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 1rem;
}

.empty-state {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 0;
    color: #bbb;
}

/* --- Cart & Checkout Forms --- */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.cart-table th, .cart-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cart-table th {
    background: var(--accent);
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(207, 128, 26, 0.2);
}

.checkout-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(207,128,26,0.1);
}