/* ========================================
   CSS Variables & Design Tokens
   ======================================== */
:root {
    /* Colors - Elegant Dark Theme with Gold Accents */
    --color-primary: #c9a96e;
    --color-primary-light: #dfc28f;
    --color-primary-dark: #a68b4d;
    --color-secondary: #2a3441;
    --color-accent: #e8d5b5;

    /* Background Colors */
    --bg-dark: #0f1419;
    --bg-darker: #0a0d11;
    --bg-card: #161c24;
    --bg-card-hover: #1e2730;
    --bg-gradient-start: #0f1419;
    --bg-gradient-end: #1a2332;

    /* Text Colors */
    --text-primary: #f5f5f5;
    --text-secondary: #a8b2c1;
    --text-muted: #6b7785;

    /* Borders & Shadows */
    --border-color: rgba(201, 169, 110, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(201, 169, 110, 0.15);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.highlight {
    color: var(--color-primary);
}

/* ========================================
   Button Styles
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-medium);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(201, 169, 110, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-book {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--bg-dark);
    padding: 1rem 2rem;
    font-weight: 600;
}

.btn-book svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.4);
}

.btn-book:hover svg {
    transform: translateX(4px);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: transparent;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 2px;
}

.logo-image {
    height: 45px;
    width: auto;
    transition: transform var(--transition-fast);
}

.logo-image:hover {
    transform: scale(1.05);
}

.footer-logo-image {
    height: 60px;
    width: auto;
    margin-bottom: 0.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-medium);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-medium);
}

.hamburger::before,
.hamburger::after {
    content: '';
}

.hamburger::before {
    transform: translateY(-7px);
}

.hamburger::after {
    transform: translateY(5px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 169, 110, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(42, 52, 65, 0.3) 0%, transparent 40%),
        linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-gradient-end) 100%);
}

.floating-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.float-element {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.2;
    animation: float 20s ease-in-out infinite;
}

.float-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.float-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
    bottom: 20%;
    left: 5%;
    animation-delay: -5s;
}

.float-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    top: 60%;
    right: 30%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    75% {
        transform: translate(20px, 10px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(201, 169, 110, 0.1);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-book-showcase {
    position: relative;
    perspective: 1000px;
}

.book-glow {
    position: absolute;
    width: 300px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(201, 169, 110, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.book-card {
    position: relative;
    width: 280px;
    height: 400px;
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.book-card:hover {
    transform: rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.book-cover {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.book-spine {
    position: absolute;
    left: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
    transform: rotateY(90deg) translateZ(0px) translateX(-15px);
    border-radius: 3px 0 0 3px;
}

.book-front {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transform: translateZ(15px);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.book-front::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.1) 0%, transparent 50%);
}

.book-content {
    position: relative;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.book-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-primary);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    z-index: 10;
}

.book-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.book-3d-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.book-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.book-content .book-author {
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.book-content .book-translator {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scroll {

    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.3;
        transform: translateY(6px);
    }
}

/* ========================================
   Section Common Styles
   ======================================== */
section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    padding: 0.5rem 1.25rem;
    background: rgba(201, 169, 110, 0.1);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
}

.image-placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.1) 0%, transparent 50%);
}

.initials {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.8;
}

.image-decoration {
    position: absolute;
    inset: -20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    z-index: -1;
    transform: rotate(3deg);
}

.about-text {
    max-width: 600px;
}

.about-intro {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.language-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.language-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.language-badge:hover {
    border-color: var(--border-color);
    transform: translateY(-2px);
}

.language-badge.primary {
    background: rgba(201, 169, 110, 0.1);
    border-color: var(--border-color);
    color: var(--color-primary);
}

.language-badge .flag {
    font-size: 1.25rem;
}

/* ========================================
   Works Section
   ======================================== */
.works {
    background: var(--bg-darker);
    position: relative;
}

.works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.works-grid {
    display: grid;
    gap: 2rem;
}

.book-item {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all var(--transition-medium);
}

.book-item:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-glow);
}

.book-image {
    position: relative;
    perspective: 800px;
}

.book-3d {
    position: relative;
    width: 220px;
    height: 320px;
    margin: 0 auto;
    transform-style: preserve-3d;
    transform: rotateY(-20deg);
    transition: transform var(--transition-slow);
}

.book-item:hover .book-3d {
    transform: rotateY(-10deg);
}

.book-3d-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a3441 0%, #1a2332 100%);
    border-radius: var(--radius-sm);
    transform: translateZ(20px);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.book-3d-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.15) 0%, transparent 50%);
}

.book-details-overlay {
    position: relative;
    text-align: center;
    padding: 1.5rem;
}

.book-details-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.book-details-overlay p {
    font-size: 0.95rem;
    color: var(--color-primary);
}

.book-3d-spine {
    position: absolute;
    left: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
    transform: rotateY(90deg) translateZ(0px) translateX(-20px);
    border-radius: 2px 0 0 2px;
}

.book-3d-pages {
    position: absolute;
    right: 0;
    width: 40px;
    height: calc(100% - 10px);
    top: 5px;
    background: repeating-linear-gradient(90deg,
            #f8f4e8 0px,
            #f8f4e8 2px,
            #e8e4d8 2px,
            #e8e4d8 3px);
    transform: translateZ(0px) translateX(20px);
    border-radius: 0 2px 2px 0;
}

.book-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-primary);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    z-index: 10;
}

.book-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.book-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.book-original-author,
.book-publisher {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.book-original-author .label,
.book-publisher .label {
    color: var(--text-muted);
}

.book-summary {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 1.5rem 0;
}

.book-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.meta-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.works-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.works-cta p {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: all var(--transition-medium);
}

.service-card:hover {
    border-color: var(--border-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.05) 0%, var(--bg-card) 100%);
    border-color: var(--border-color);
}

.service-badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: var(--color-primary);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 110, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: var(--color-primary);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: var(--bg-dark);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    transition: all var(--transition-fast);
}

.contact-card:hover {
    border-color: var(--border-color);
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 110, 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 26px;
    height: 26px;
    color: var(--color-primary);
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

.contact-value:hover {
    color: var(--color-primary-light);
}

.contact-decoration {
    position: relative;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--color-primary);
    line-height: 1;
    opacity: 0.5;
}

.decoration-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.8;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem 1.25rem;
    background: var(--bg-darker);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7785' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.btn-submit svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-darker);
    padding: 3rem 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-logo .logo-text {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    width: 100%;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   Animations
   ======================================== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeLeft 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 2rem;
    }

    .book-card {
        width: 220px;
        height: 320px;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text {
        max-width: 100%;
    }

    .about-stats {
        justify-content: center;
    }

    .language-badges {
        justify-content: center;
    }

    .book-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .book-info {
        align-items: center;
    }

    .book-meta {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: right var(--transition-medium);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active .hamburger {
        background: transparent;
    }

    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg) translate(0, 0);
    }

    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg) translate(0, 0);
    }

    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .scroll-indicator {
        display: none;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .about-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .book-3d {
        width: 180px;
        height: 260px;
    }

    .book-title {
        font-size: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .footer-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .book-card {
        width: 180px;
        height: 260px;
    }

    .book-content h3 {
        font-size: 1.25rem;
    }

    .about-stats {
        flex-wrap: wrap;
    }

    .image-frame {
        max-width: 250px;
    }
}