/* assets/css/style.css */

/* ============================================
   1. Fonts & Variables
   ============================================ */
@font-face {
    font-family: 'Khamenei';
    src: url('../fonts/KhameneiRegular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Khamenei';
    src: url('../fonts/KhameneiWeb.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Khamenei';
    src: url('../fonts/KhameneiBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Khamenei';
    src: url('../fonts/KhameneiBlack.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --twilight: #243279;
    --twilight-light: #3a4a9e;
    --camel: #b89358;
    --camel-light: #d4b87a;
    --pale: #d6c1a3;
    --pale-light: #e8dcc8;
    --white: #ffffff;
    --black: #000000;
    
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   2. Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Adjusted for fixed navbar */
}

body {
    font-family: 'Khamenei', serif !important;
    font-weight: 400;
    background: linear-gradient(180deg, #243279 0%, #e8dcc8 7%);
    color: var(--twilight);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Typography Defaults */
h1, h2, h3, h4 {
    font-family: 'Khamenei', serif;
    line-height: 1.3;
}

h1 { font-weight: 900; }
h2 { font-weight: 700; }
h3, h4 { font-weight: 500; }

p, span, a, li, input, textarea, button {
    font-family: 'Khamenei', serif;
    font-weight: 400;
}

/* ============================================
   3. Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(36, 50, 121, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid var(--camel);
    box-shadow: 0 10px 40px rgba(36, 50, 121, 0.3);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.navbar.scrolled {
    background: rgba(36, 50, 121, 0.98);
    box-shadow: 0 15px 50px rgba(36, 50, 121, 0.4);
}

/* Navbar Particles & Effects */
.navbar-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--camel-light), var(--camel), var(--camel-light), transparent);
    /* animation: shimmerLine 4s linear infinite; */
    z-index: 3;
}

@keyframes shimmerLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.nav-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
    margin-top: 5px;
}

.logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: all var(--transition-fast);
}

.nav-logo:hover .logo-image {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(184, 147, 88, 0.3));
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    position: relative;
    color: var(--pale);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.35rem;
    padding: 0.5rem 0;
    transition: all var(--transition-fast);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--camel), var(--camel-light));
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--camel);
    font-size: 1.8rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0.5rem;
}

.mobile-menu-btn:hover {
    transform: rotate(90deg);
    color: var(--camel-light);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(36, 50, 121, 0.98);
    border-top: 2px solid var(--camel);
    padding: 1.5rem;
    animation: slideDown 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    color: var(--pale);
    text-decoration: none;
    padding: 1rem;
    border-bottom: 1px solid rgba(184, 147, 88, 0.2);
    transition: all var(--transition-fast);
    font-weight: 500;
}

.mobile-menu a:hover {
    background: rgba(184, 147, 88, 0.1);
    padding-right: 1.5rem;
    color: var(--camel-light);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   4. Poster Section & Features
   ============================================ */
.poster-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 120px; /* Adjusted for navbar */
    padding: 4rem 2rem;
}

.poster-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(36, 50, 121, 0.4);
    border: 4px double #b89358;
    max-height: 627px;
}

.poster-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.poster-image:hover img {
    transform: scale(1.05);
}

.poster-content h1 {
    font-size: 4rem;
    color: var(--twilight);
    margin-bottom: 1rem;
}

.poster-content .subtitle {
    font-size: 1.8rem;
    color: var(--camel);
    font-weight: 700;
    margin-bottom: 2rem;
}

.poster-content p {
    font-size: 1.1rem;
    line-height: 2;
    text-align: justify;
    margin-bottom: 2rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: linear-gradient(135deg, rgba(214, 193, 163, 0.2) 0%, rgba(184, 147, 88, 0.1) 100%);
    border: 2px solid var(--camel);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--camel), var(--camel-light));
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(184, 147, 88, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--twilight), var(--twilight-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--camel);
    transition: all var(--transition-fast);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--camel), var(--camel-light));
    transform: rotate(360deg) scale(1.1);
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--camel);
}

.feature-card:hover .feature-icon i {
    color: var(--twilight);
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--twilight);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.feature-title {
    font-size: 0.95rem;
    color: var(--twilight);
    font-weight: 500;
    line-height: 1.6;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--twilight);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(36, 50, 121, 0.3);
    border-color: var(--twilight);
}

.btn-primary:hover {
    background-color: var(--camel);
    border-color: var(--camel);
    color: var(--twilight);
    transform: translateY(-4px);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--camel);
    border-color: var(--camel);
}

.btn-secondary:hover {
    background-color: var(--pale-light);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(184, 147, 88, 0.2);
}

/* ============================================
   5. Typewriter Section
   ============================================ */
.typewriter-section {
    padding: 2rem 2rem;
    background: linear-gradient(135deg, rgba(36, 50, 121, 0.05) 0%, rgba(184, 147, 88, 0.05) 100%);
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typewriter-layout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 1200px;
    width: 100%;
    direction: rtl;
    min-height: auto;
}

.typewriter-icon-fixed {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--twilight), var(--twilight-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--camel);
    animation: pulse 2s infinite;
    position: sticky;
    top: 120px;
}

.typewriter-icon-fixed i {
    font-size: 3rem;
    color: var(--camel);
}

.typewriter-text-container {
    flex: 1;
    font-size: 1.5rem;
    line-height: 1.9;
    color: var(--twilight);
    text-align: right;
    direction: rtl;
    margin-left: 30px;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 1.4em;
    background-color: var(--camel);
    margin-right: 2px;
    vertical-align: middle;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(184, 147, 88, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(184, 147, 88, 0); }
}

/* ============================================
   6. Video Slider
   ============================================ */
.video-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(36, 50, 121, 0.3);
    border: 3px solid #b89358;
}

.video-slide {
    display: none;
    animation: slideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-slide.active {
    display: block;
}

@keyframes slideIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    background: #000;
}

.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(184, 147, 88, 0.95);
    border: 4px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.play-button i {
    font-size: 2rem;
    color: #243279;
    margin-right: -5px;
}

.video-poster:hover .play-button {
    background: #b89358;
    transform: translate(-50%, -50%) scale(1.15);
}

.video-poster.hidden {
    display: none;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(184, 147, 88, 0.9);
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #243279;
    font-size: 1.2rem;
    z-index: 10;
}

.slider-nav:hover {
    background: #b89358;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev { right: 20px; }
.slider-nav.next { left: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #b89358;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #b89358;
    transform: scale(1.3);
}

/* ============================================
   7. Comics Section & Modals
   ============================================ */
.comics-section {
    padding: 6rem 2rem;
    background: rgba(36, 50, 121, 0.03);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--twilight);
    display: inline-block;
    margin-bottom: 0.75rem;
}

.section-divider {
    width: 128px;
    height: 4px;
    background: linear-gradient(90deg, var(--camel), var(--camel-light));
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--twilight);
    opacity: 0.8;
    margin-top: 1rem;
}

.comics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.comic-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(36, 50, 121, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.comic-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.comic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(184, 147, 88, 0.3);
}

.comic-image {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.comic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.comic-card:hover .comic-image img {
    transform: scale(1.1);
}

/* Comic Overlay */
.comic-overlay {
    position: absolute;
    inset: 0;
    background: rgba(36, 50, 121, 0.85);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.comic-card:hover .comic-overlay {
    opacity: 1;
}

.overlay-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    transform: translateY(20px);
    opacity: 0;
}

.comic-card:hover .overlay-btn {
    transform: translateY(0);
    opacity: 1;
}

.comic-card:hover .overlay-btn:nth-child(1) { transition-delay: 0.1s; }
.comic-card:hover .overlay-btn:nth-child(2) { transition-delay: 0.2s; }

.overlay-btn.view-cover-btn {
    background: var(--white);
    color: var(--twilight);
    border-color: var(--white);
}

.overlay-btn.view-cover-btn:hover {
    background: transparent;
    color: var(--white);
}

.overlay-btn.view-pdf-btn {
    background: var(--camel);
    color: var(--twilight);
    border-color: var(--camel);
}

.overlay-btn.view-pdf-btn:hover {
    background: transparent;
    color: var(--camel);
}

.overlay-btn.no-pdf-btn {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

.comic-info {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.comic-info h1 {
    font-size: large;
    margin: 0;
}

/* Modals */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(36, 50, 121, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    border: 4px solid #b89358;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-header {
    background: #243279;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #b89358;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #b89358;
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #b89358;
    color: #b89358;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
    transform: rotate(90deg);
}

.modal-body {
    height: 70vh;
    background: #fff;
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-footer {
    background: #243279;
    padding: 1.5rem 2rem;
    border-top: 3px solid #b89358;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-download {
    padding: 0.8rem 2rem;
    background: #b89358;
    color: #243279;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-download:hover {
    background: #d4b87a;
    transform: translateY(-2px);
}

#imageModal .modal-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 90vw;
    max-height: 90vh;
}

#modalFullImage {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 15px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    border: 4px solid #b89358;
}

/* ============================================
   8. Contact Section
   ============================================ */
.contact-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, rgba(36, 50, 121, 0.05) 0%, rgba(36, 50, 121, 0.1) 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--white);
    border: 3px solid var(--camel);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(36, 50, 121, 0.15);
    transition: all var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(184, 147, 88, 0.25);
}

.contact-card-title {
    font-size: 2rem;
    color: var(--twilight);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--camel), var(--camel-light));
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    transition: all var(--transition-fast);
}

.contact-item:hover {
    transform: translateX(-10px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--twilight), var(--twilight-light));
    color: var(--camel);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all var(--transition-fast);
    border: 2px solid var(--camel);
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, var(--camel), var(--camel-light));
    color: var(--twilight);
    transform: rotate(360deg) scale(1.1);
}

.contact-details h4 {
    font-weight: 700;
    color: var(--twilight);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--twilight);
    opacity: 0.8;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--pale);
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--twilight);
    color: var(--camel);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all var(--transition-fast);
    border: 2px solid var(--camel);
    text-decoration: none;
    flex-shrink: 0;
}

.social-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.social-link:hover {
    background: var(--camel);
    color: var(--twilight);
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 10px 30px rgba(184, 147, 88, 0.4);
}

.social-link:hover img {
    filter: invert(1%) sepia(25%) saturate(6000%) hue-rotate(200deg) brightness(90%) contrast(95%);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 700;
    color: var(--twilight);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--pale);
    border-radius: 12px;
    background: var(--pale-light);
    color: var(--twilight);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--camel);
    box-shadow: 0 0 20px rgba(184, 147, 88, 0.2);
    background: var(--white);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--camel), var(--camel-light));
    color: var(--twilight);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 10px 30px rgba(184, 147, 88, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(184, 147, 88, 0.5);
}

/* ============================================
   9. Footer
   ============================================ */
.footer {
    background: var(--twilight);
    border-top: 5px solid var(--camel);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--camel);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--pale);
    line-height: 2;
    opacity: 0.9;
}

.footer-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--camel);
    margin-bottom: 1.5rem;
    align-self: center;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--pale);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--camel-light);
    transform: translateX(-5px);
}

.div-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-qr {
    background: var(--pale);
    width: 150px;
    height: 150px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem auto;
    border: 3px solid var(--camel);
    transition: all var(--transition-fast);
    overflow: hidden;
}

.footer-qr img {
    max-width: 95%;
    max-height: 95%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.footer-qr:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(184, 147, 88, 0.3);
}

.footer-qr-text {
    text-align: center;
    color: var(--pale);
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 2px solid rgba(184, 147, 88, 0.3);
    padding-top: 2rem;
    text-align: center;
    color: var(--pale);
    opacity: 0.7;
}

/* ============================================
   10. Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .poster-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .poster-content h1 {
        font-size: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: right;
        padding: 1rem;
    }
    
    .feature-icon {
        margin: 0;
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-number {
        font-size: 2rem;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-container {
        height: 70px;
    }
    
    .logo-image {
        height: 65px;
    }
    
    .poster-content h1 {
        font-size: 2.5rem;
    }
    
    .poster-content .subtitle {
        font-size: 1.4rem;
    }
    
    .comics-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-section {
        padding: 4rem 1rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .footer {
        padding: 3rem 1rem 2rem;
    }
    
    .typewriter-layout {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .typewriter-icon-fixed {
        position: relative;
        top: 0;
        width: 90px;
        height: 90px;
    }
    
    .typewriter-icon-fixed i {
        font-size: 2.5rem;
    }
    
    .typewriter-text-container {
        text-align: justify;
        font-size: 1.2rem;
        line-height: 2;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto 0.5rem;
    }
}

