/*
 * ═══════════════════════════════════════════════════════════════
 *  Leyla's Fantasy — Main Stylesheet
 *  Color Palette: Blue (sky/depth), Brown (earth/wood), White
 *  Fonts: Playfair Display, Cormorant Garamond, Inter
 * ═══════════════════════════════════════════════════════════════
 */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
    /* Blues — Sky & Depth */
    --blue-50: #f0f6ff;
    --blue-100: #dbe8fd;
    --blue-200: #b8d1fb;
    --blue-300: #89b4f8;
    --blue-400: #5b93e8;
    --blue-500: #4a7fd4;
    --blue-600: #3966b0;
    --blue-700: #2d5090;
    --blue-800: #1e3a6e;
    --blue-900: #142848;

    /* Browns — Earth & Wood */
    --brown-50: #fdf8f4;
    --brown-100: #f5ebe0;
    --brown-200: #e8d5c0;
    --brown-300: #d4b896;
    --brown-400: #c09e76;
    --brown-500: #a6845a;
    --brown-600: #8b6d47;
    --brown-700: #6e5538;
    --brown-800: #52402b;
    --brown-900: #3a2d1e;

    /* Neutrals */
    --white: #ffffff;
    --off-white: #faf9f7;
    --cream: #f5f2ed;
    --gray-100: #f0eeeb;
    --gray-200: #e2dfd9;
    --gray-300: #c8c4bc;
    --gray-400: #9e998f;
    --gray-500: #787269;
    --gray-600: #5a554d;
    --gray-700: #3d3932;
    --gray-800: #2a2722;
    --gray-900: #1a1815;

    /* Functional */
    --primary: var(--blue-500);
    --primary-light: var(--blue-100);
    --primary-dark: var(--blue-700);
    --accent: var(--brown-500);
    --accent-light: var(--brown-100);
    --text: var(--gray-800);
    --text-light: var(--gray-500);
    --text-muted: var(--gray-400);
    --bg: var(--off-white);
    --bg-card: var(--white);
    --border: var(--gray-200);
    --success: #4caf50;
    --error: #e53935;

    /* Typography */
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-elegant: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Spacing */
    --nav-height: 80px;
    --container-max: 1200px;
    --container-narrow: 800px;
    --section-padding: 100px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.3s;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 60px rgba(0,0,0,0.16);
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--duration) var(--ease);
}

ul, ol { list-style: none; }

/* ── Navigation ────────────────────────────────────────────── */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: rgba(250, 249, 247, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all var(--duration) var(--ease);
}

.main-nav.scrolled {
    height: 64px;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.logo-text {
    color: var(--blue-700);
    font-weight: 600;
}

.logo-accent {
    color: var(--brown-500);
    font-style: italic;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a:not(.lang-btn) {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
    position: relative;
}

.nav-menu a:not(.lang-btn):hover,
.nav-menu a:not(.lang-btn).active {
    color: var(--blue-700);
    background: var(--blue-50);
}

.nav-menu a:not(.lang-btn).active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--blue-500);
    border-radius: 2px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--border);
}

.lang-btn {
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    color: var(--gray-400);
    transition: all var(--duration) var(--ease);
}

.lang-btn:hover { color: var(--gray-700); }

.lang-btn.lang-active {
    background: var(--blue-600);
    color: var(--white);
}

.lang-divider {
    color: var(--gray-300);
    font-size: 0.8rem;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--duration) var(--ease);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(
        135deg,
        var(--blue-800) 0%,
        var(--blue-700) 30%,
        var(--brown-700) 70%,
        var(--brown-800) 100%
    );
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(137, 180, 248, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(166, 132, 90, 0.15) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: heroFadeIn 1.2s var(--ease) both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 16px;
}

.hero-title-line {
    display: block;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.hero-title-accent {
    display: block;
    font-style: italic;
    font-weight: 400;
    color: var(--brown-200);
    font-family: var(--font-elegant);
    font-size: 1.1em;
}

.hero-subtitle {
    font-family: var(--font-elegant);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.hero-scroll-indicator {
    display: flex;
    justify-content: center;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s var(--ease) infinite;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ── Section Styles ────────────────────────────────────────── */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.portfolio-section {
    padding: var(--section-padding) 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--gray-800);
    text-align: center;
    letter-spacing: -0.02em;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-400), var(--brown-400));
    margin: 16px auto 50px;
    border-radius: 3px;
}

/* ── Gallery Grid ──────────────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.gallery-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 110, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.9);
    color: var(--blue-700);
    border-radius: 50%;
    font-size: 1.6rem;
    font-weight: 300;
    transform: scale(0.8);
    transition: transform 0.3s var(--ease);
}

.gallery-item:hover .gallery-zoom {
    transform: scale(1);
}

.gallery-info {
    padding: 24px;
}

.gallery-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.gallery-motivation {
    font-family: var(--font-elegant);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ── Lightbox ──────────────────────────────────────────────── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 10, 10, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
    padding: 40px;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.1);
}

.lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
    transform: scale(0.9);
    transition: transform 0.4s var(--ease);
}

.lightbox.active .lightbox-image {
    transform: scale(1);
}

/* ── Page Layout ───────────────────────────────────────────── */
.page-content {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: var(--section-padding);
    min-height: 60vh;
}

.page-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.page-container-narrow {
    max-width: var(--container-narrow);
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--gray-800);
    letter-spacing: -0.02em;
}

/* ── About Page ────────────────────────────────────────────── */
.about-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.about-text.rich-content {
    font-family: var(--font-elegant);
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--gray-700);
}

.rich-content p { margin-bottom: 1.2em; }
.rich-content h2, .rich-content h3 {
    font-family: var(--font-display);
    margin-top: 2em;
    margin-bottom: 0.5em;
    color: var(--gray-800);
}
.rich-content img {
    border-radius: var(--radius);
    margin: 2em 0;
}
.rich-content a {
    color: var(--blue-600);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Blog ──────────────────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 24px;
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 8px 0;
    line-height: 1.3;
}

.blog-card-title a:hover {
    color: var(--blue-600);
}

.blog-card-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue-600);
    transition: color var(--duration) var(--ease);
}

.blog-card-link:hover {
    color: var(--blue-800);
}

/* Blog Detail */
.back-link {
    display: inline-block;
    margin-bottom: 32px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--blue-600);
    transition: transform var(--duration) var(--ease);
}

.back-link:hover {
    transform: translateX(-4px);
}

.blog-detail-cover {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    aspect-ratio: 16/9;
}

.blog-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-detail-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.3;
    margin-bottom: 12px;
}

.blog-detail-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.blog-detail-content {
    font-family: var(--font-elegant);
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--gray-700);
}

/* ── Contact ───────────────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--blue-400);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(74, 127, 212, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.captcha-group {
    background: var(--blue-50);
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--blue-200);
}

.captcha-group label {
    margin-bottom: 8px;
}

.captcha-group input {
    max-width: 120px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(74, 127, 212, 0.35);
}

/* Alert */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.alert-error {
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Contact Sidebar */
.contact-social-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.contact-social-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--gray-800);
}

.contact-social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--duration) var(--ease);
}

.contact-social-btn.tiktok {
    background: #f0f0f0;
    color: #010101;
}

.contact-social-btn.tiktok:hover {
    background: #010101;
    color: #fff;
    transform: translateY(-2px);
}

.contact-social-btn.instagram {
    background: linear-gradient(135deg, #fdf497, #fdf497, #fd5949, #d6249f, #285AEB);
    background-size: 200% 200%;
    color: white;
}

.contact-social-btn.instagram:hover {
    animation: igGradient 2s ease infinite;
    transform: translateY(-2px);
}

@keyframes igGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    font-family: var(--font-display);
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--blue-300);
}

.footer-logo-accent {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--brown-300);
    margin-left: 6px;
}

.footer-tagline {
    font-family: var(--font-elegant);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.4);
    margin-top: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-social h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 16px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: all var(--duration) var(--ease);
}

.social-link:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.footer-nav a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    transition: color var(--duration) var(--ease);
}

.footer-nav a:hover {
    color: white;
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

.footer-signature a {
    color: var(--brown-300);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-signature a:hover {
    color: var(--brown-200);
}

/* ── Empty State ───────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    font-family: var(--font-elegant);
    font-size: 1.2rem;
    font-style: italic;
}

/* ── Animations ────────────────────────────────────────────── */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    
    .footer-nav {
        text-align: center;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
        --section-padding: 60px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 32px 40px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s var(--ease);
        align-items: stretch;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a:not(.lang-btn) {
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .lang-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border);
        padding-top: 16px;
        margin-top: 16px;
        justify-content: center;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
    }
    
    .section-title,
    .page-title {
        font-size: 1.8rem;
    }
    
    .gallery-info {
        padding: 16px;
    }
    
    .blog-card-content {
        padding: 16px;
    }
}
