﻿/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES
   ========================================================================== */
:root {
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Theme Variables - Default Light Mode */
    --bg-primary: #ffffff;
    --bg-secondary: #f7f9fc;
    --bg-tertiary: #edf2f7;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --accent: #ca9b52;
    --accent-hover: #b08442;
    --accent-light: rgba(202, 155, 82, 0.1);
    
    /* Neutral & Brand Palette */
    --dark-blue: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
    --border-color: #e2e8f0;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --top-bar-height: 40px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* Dark Mode Variables Override */
body.dark-mode {
    --bg-primary: #0b0f19;
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #e2b36e;
    --accent-hover: #f1c584;
    --accent-light: rgba(226, 179, 110, 0.15);
    
    --glass-bg: rgba(17, 24, 39, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.5);
    --border-color: #374151;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

input, textarea, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Container Utility */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(202, 155, 82, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: var(--dark-blue);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   TOP BAR & NAVIGATION HEADER
   ========================================================================== */
.top-bar {
    height: var(--top-bar-height);
    background-color: var(--dark-blue);
    color: #cbd5e1;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    position: relative;
    transition: var(--transition-normal);
}

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

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-left a:hover {
    color: var(--accent);
}

.top-bar-left i, .top-bar-right i {
    color: var(--accent);
    margin-right: 4px;
}

.social-links a {
    color: #cbd5e1;
    transition: color var(--transition-fast);
}

.social-links a:hover {
    color: var(--accent);
}

/* Main Header */
.main-header {
    height: var(--header-height);
    background-color: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all var(--transition-normal);
}

.main-header.scrolled {
    height: 70px;
    box-shadow: var(--card-shadow);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo-text .accent-text {
    color: var(--accent);
}

/* Navigation Menu */
.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-primary);
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width var(--transition-normal);
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--accent);
}

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

/* Theme Toggle Button */
.theme-toggle-btn {
    background: var(--bg-tertiary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
    background-color: var(--accent-light);
    color: var(--accent);
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 35px;
    color: #e2e8f0;
    max-width: 650px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

/* Wave Divider */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-wave .shape-fill {
    fill: var(--bg-primary);
    transition: fill var(--transition-normal);
}

/* ==========================================================================
   HIGHLIGHTS SECTION
   ========================================================================== */
.highlights-section {
    position: relative;
    margin-top: -60px;
    z-index: 5;
    padding-bottom: 50px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.highlight-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: transparent;
}

.highlight-card:hover::before {
    opacity: 1;
}

.highlight-card .icon-wrap {
    width: 60px;
    height: 60px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: all var(--transition-fast);
}

.highlight-card:hover .icon-wrap {
    background-color: var(--accent);
    color: #ffffff;
    transform: rotateY(180deg);
}

.highlight-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.highlight-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   SECTION HEADER COMPONENT
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.header-line {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 0 auto 20px;
    border-radius: var(--radius-full);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ==========================================================================
   ABOUT SECTION (HAKKIMIZDA)
   ========================================================================== */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.about-text .lead-text {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.quote-box {
    background-color: var(--bg-secondary);
    border-left: 4px solid var(--accent);
    padding: 24px 30px;
    margin: 30px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    position: relative;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.15;
    position: absolute;
    top: 15px;
    left: 20px;
}

.quote-box p {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.about-image-wrap {
    display: flex;
    justify-content: center;
}

.about-image-card {
    position: relative;
    max-width: 450px;
}

.about-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--hover-shadow);
    border: 4px solid var(--bg-primary);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(135deg, var(--dark-blue), #1e293b);
    color: #ffffff;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--hover-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}

.experience-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* ==========================================================================
   SERVICES OVERVIEW BANNER
   ========================================================================== */
.services-banner {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
}

.banner-inner {
    max-width: 900px;
    margin: 0 auto;
}

.services-banner h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.6rem;
    margin-bottom: 24px;
}

.services-banner p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #e2e8f0;
}

/* ==========================================================================
   PRODUCTS SECTION (ÜRÜNLERİMİZ)
   ========================================================================== */
.products-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    transition: background-color var(--transition-normal);
}

/* Category Tabs */
.product-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.tab-btn {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 4px 15px -4px rgba(202, 155, 82, 0.4);
}

/* Products Grid & Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all var(--transition-normal);
    opacity: 1;
    transform: scale(1);
}

.product-card.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.9);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: var(--accent-light);
}

.product-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-category-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: rgba(15, 23, 42, 0.85);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   DOCUMENTS SECTION (BELGELERİMİZ)
   ========================================================================== */
.documents-section {
    padding: 100px 0;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.doc-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.doc-card:hover {
    background-color: var(--bg-primary);
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: var(--accent);
}

.doc-img-wrap {
    position: relative;
    height: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    background-color: #ffffff;
}

.doc-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);
    padding: 8px;
}

.doc-card:hover .doc-img {
    transform: scale(1.08);
}

.doc-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.doc-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ==========================================================================
   CATALOG SECTION (KATALOG)
   ========================================================================== */
.catalog-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-blue), #1e293b);
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

.catalog-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.catalog-content h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.catalog-content p {
    font-size: 1.05rem;
    color: #94a3b8;
    margin-bottom: 24px;
}

.catalog-features {
    margin-bottom: 35px;
}

.catalog-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.catalog-features i {
    color: var(--accent);
}

.catalog-action {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.file-info {
    font-size: 0.75rem;
    color: #64748b;
}

/* Book Cover Mockup */
.catalog-mockup {
    display: flex;
    justify-content: center;
}

.book-container {
    perspective: 1000px;
}

.book-cover {
    width: 280px;
    height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: 4px var(--radius-md) var(--radius-md) 4px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
    transform: rotateY(-20deg) rotateX(10deg);
    transform-style: preserve-3d;
    transition: transform var(--transition-slow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    position: relative;
    border-left: 8px solid rgba(0, 0, 0, 0.25);
}

.book-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0) 10%, rgba(0,0,0,0) 90%, rgba(0,0,0,0.1));
}

.book-cover:hover {
    transform: rotateY(-5deg) rotateX(0deg) scale(1.03);
}

.mockup-logo {
    width: 60px;
    height: auto;
}

.book-cover h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    color: #ffffff;
    line-height: 1.2;
}

.book-cover p {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: auto;
}

.mockup-footer {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
}

/* ==========================================================================
   CONTACT SECTION (BİZE ULAŞIN)
   ========================================================================== */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info-panel {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-info-panel h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.contact-info-panel > p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.contact-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-details a:hover {
    color: var(--accent);
}

/* Form Panel */
.contact-form-panel {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-form-panel h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.form-row {
    margin-bottom: 20px;
}

.form-row.split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group label .required {
    color: #ef4444;
}

.form-group input, .form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent);
    background-color: var(--bg-primary);
    box-shadow: 0 0 0 4px var(--accent-light);
}

.error-msg {
    font-size: 0.75rem;
    color: #ef4444;
    display: none;
    margin-top: 2px;
}

.form-group.has-error input, .form-group.has-error textarea {
    border-color: #ef4444;
}

.form-group.has-error .error-msg {
    display: block;
}

.form-submit-btn {
    width: 100%;
    margin-top: 10px;
}

.form-alert {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    display: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-alert.success {
    display: block;
    background-color: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-alert.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Map Mockup */
.map-container {
    height: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    margin-top: 50px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #1e293b;
    overflow: hidden;
}

.map-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#334155 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.4;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(13,27,42,0.4) 0%, rgba(15,23,42,0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.map-marker {
    position: relative;
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.marker-pulse {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 12px;
    background-color: rgba(202, 155, 82, 0.4);
    border-radius: 50%;
    z-index: -1;
    filter: blur(2px);
    animation: pulse 2s infinite;
}

.map-card {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--hover-shadow);
    max-width: 380px;
    text-align: center;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.map-card h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
}

.map-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--dark-blue);
    color: #94a3b8;
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: #ffffff;
}

.footer-logo .accent-text {
    color: var(--accent);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all var(--transition-fast);
}

.footer-social-links a:hover {
    background-color: var(--accent);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-links h4, .footer-products h4, .footer-contact h4 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links ul, .footer-products ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a, .footer-products a {
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover, .footer-products a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 0.9rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent);
}

/* Footer Bottom */
.footer-bottom {
    background-color: #0b0f19;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.design-credit {
    color: #64748b;
}

/* ==========================================================================
   IMAGE PREVIEW MODAL
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 70vh;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.modal.show .modal-content {
    transform: scale(1);
}

#modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #cbd5e1;
    padding: 15px 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #f1f5f9;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--accent);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.4; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.4; }
}

/* Subtle Scroll reveals */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .highlight-grid {
        gap: 20px;
    }
    .about-grid {
        gap: 40px;
    }
    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    /* Variables */
    :root {
        --header-height: 70px;
    }
    
    .top-bar {
        display: none; /* Hide top bar on mobile for cleaner screen space */
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    /* Navigation Menu Mobile */
    .mobile-nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-primary);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        padding: 100px 40px 40px;
        transition: right var(--transition-normal);
        z-index: 1000;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-menu a {
        font-size: 1.15rem;
        display: block;
    }
    
    /* Hamburger to X conversion */
    .mobile-nav-toggle.open .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-nav-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.open .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Hero */
    .hero-section {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    /* Highlights */
    .highlights-section {
        margin-top: -30px;
    }
    
    .highlight-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-wrap {
        order: -1; /* Image on top on mobile */
    }
    
    .experience-badge {
        bottom: -10px;
        left: -10px;
        padding: 16px;
        min-width: 120px;
    }
    
    /* Catalog */
    .catalog-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .book-cover {
        transform: none;
        width: 250px;
        height: 340px;
    }
    
    .book-cover:hover {
        transform: scale(1.03);
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row.split {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .modal-content {
        max-width: 95%;
    }
    
    .modal-close {
        top: 20px;
        right: 25px;
        font-size: 35px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2.1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}


/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 34px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    color: #ffffff;
}

.whatsapp-tooltip {
    visibility: hidden;
    width: 140px;
    background-color: #1e293b;
    color: #ffffff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1001;
    right: 75px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover .whatsapp-tooltip {
    visibility: visible;
    opacity: 1;
}
