:root {
    --primary-color: #8B0000;
    --secondary-color: #FF8C00;
    --accent-color: #FFD700;
    --bg-color: #FFFDF5;
    --text-color: #2C1810;
    --light-text: #F5F5F5;
    --card-bg: #FFFFFF;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --header-height: 72px;
    --container-padding: clamp(16px, 4vw, 24px);
    --section-padding: clamp(48px, 8vw, 80px);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.site-main {
    min-height: 50vh;
}

.breadcrumbs {
    background: #f5f0e8;
    border-bottom: 1px solid rgba(139, 0, 0, 0.12);
    padding: 10px 0;
    font-size: 0.9rem;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 6px;
    color: #888;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs li:last-child span {
    color: #555;
    font-weight: 500;
}

.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background: #f9f9f9;
}

.text-center { text-align: center; }
.mt-lg { margin-top: 2.5rem; }

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--primary-color), #5e0000);
    color: var(--light-text);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 56px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
    min-width: 0;
}

.site-logo-img {
    height: clamp(44px, 10vw, 60px);
    width: clamp(44px, 10vw, 60px);
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    object-fit: cover;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Brand: full name "Gurukripa Ved Vidyapeeth" */
.brand-name {
    font-family: 'Tiro Devanagari Hindi', 'Noto Sans Devanagari', serif;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: none;
    line-height: 1.15;
}

.logo-text .brand-full {
    font-size: clamp(0.9rem, 2.2vw, 1.25rem);
    color: var(--accent-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    display: block;
    line-height: 1.25;
    max-width: min(240px, 48vw);
    white-space: normal;
    word-break: break-word;
}

@media (min-width: 992px) {
    .logo-text .brand-full {
        max-width: 300px;
        font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(16px, 3vw, 30px);
    align-items: center;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 4px;
    display: block;
}

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

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--accent-color);
}

.nav-overlay {
    display: none;
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus-visible {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-btn[aria-expanded="true"] .fa-bars::before {
    content: "\f00d";
}

/* Hero */
.hero {
    min-height: clamp(420px, 70vh, 80vh);
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: clamp(24px, 4vw, 40px) var(--container-padding);
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.hero h1,
.hero .brand-name {
    font-size: clamp(1.75rem, 5.5vw, 3.25rem);
    margin-bottom: 16px;
    text-shadow: 2px 3px 12px rgba(0, 0, 0, 0.55);
    color: var(--accent-color);
    word-break: break-word;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.page-hero h1 .brand-name {
    font-size: inherit;
}

.footer-about .brand-name {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    color: var(--accent-color);
}

.hero-motto {
    font-size: clamp(1rem, 3vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto 12px;
    font-style: italic;
    font-family: 'Noto Sans Devanagari', 'Outfit', serif;
    line-height: 1.5;
}

.hero-motto-sub {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    max-width: 700px;
    margin: 0 auto 24px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    min-height: 44px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-outline-light {
    background: transparent;
    border-color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

.btn-primary-dark {
    background: var(--primary-color);
}

.btn-block {
    width: 100%;
}

/* Sections & titles */
.section-title {
    text-align: center;
    margin-bottom: clamp(32px, 5vw, 50px);
}

.section-title h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background: var(--secondary-color);
}

.section-title p {
    margin-top: 12px;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

/* Grid & cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(20px, 4vw, 30px);
}

.card {
    background: var(--card-bg);
    padding: clamp(28px, 5vw, 40px) clamp(20px, 4vw, 30px);
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 5px solid transparent;
}

.card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--secondary-color);
}

.card i {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.card h3 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: clamp(1.1rem, 3vw, 1.25rem);
}

.veda-grid .card-veda {
    position: relative;
    padding-top: 2.5rem;
}

.veda-order {
    position: absolute;
    top: 14px;
    left: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.card-veda h3 {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.veda-sanskrit {
    font-family: 'Noto Sans Devanagari', 'Tiro Devanagari Hindi', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.card-veda {
    background: #fff8f0;
}

.card-veda h3 {
    color: #d35400;
}

/* Split layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 50px);
    align-items: center;
}

.split-content h2 {
    color: var(--primary-color);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 16px;
}

.split-content p {
    margin-bottom: 16px;
}

.rounded-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Motto banner */
.motto-banner {
    background-color: #8b0000;
    background-image:
        linear-gradient(rgba(139, 0, 0, 0.92), rgba(139, 0, 0, 0.92)),
        repeating-linear-gradient(
            45deg,
            rgba(255, 215, 0, 0.05) 0,
            rgba(255, 215, 0, 0.05) 1px,
            transparent 1px,
            transparent 14px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(255, 215, 0, 0.05) 0,
            rgba(255, 215, 0, 0.05) 1px,
            transparent 1px,
            transparent 14px
        );
    color: white;
    padding: clamp(40px, 6vw, 60px) 0;
    text-align: center;
}

.motto-banner h2 {
    font-size: clamp(1.25rem, 4vw, 2rem);
    margin-bottom: 10px;
    color: var(--accent-color);
    font-family: 'Noto Sans Devanagari', 'Outfit', serif;
}

.motto-sanskrit,
.motto-box .motto-sanskrit {
    font-family: 'Noto Sans Devanagari', 'Outfit', serif;
}

/* Page hero */
.page-hero {
    padding: clamp(80px, 12vw, 100px) 0 clamp(48px, 8vw, 60px);
    background: linear-gradient(var(--primary-color), #5e0000);
    color: white;
    text-align: center;
}

.page-hero--contact {
    background: linear-gradient(var(--secondary-color), #d35400);
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
    color: var(--accent-color);
    line-height: 1.2;
}

.page-hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto;
}

/* About page */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 60px);
    align-items: start;
}

.about-main h2 {
    color: var(--primary-color);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 16px;
}

.about-main p {
    margin-bottom: 16px;
}

.motto-box {
    margin-top: 32px;
    padding: clamp(24px, 4vw, 30px);
    background: var(--secondary-color);
    border-radius: 15px;
    color: white;
}

.motto-box h3 {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.motto-sanskrit {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-style: italic;
}

.motto-english {
    margin-top: 10px;
    font-weight: 300;
}

.card-panel {
    background: white;
    padding: clamp(24px, 4vw, 40px);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.card-panel h2,
.card-panel h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.check-list i {
    color: var(--secondary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(32px, 5vw, 60px);
    align-items: start;
}

.contact-info-col h3 {
    color: var(--primary-color);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.info-item h4 {
    margin-bottom: 4px;
}

.info-item a {
    color: inherit;
    word-break: break-all;
}

.map-placeholder {
    height: clamp(180px, 30vw, 250px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 3rem;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #eee;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: clamp(180px, 30vw, 250px);
    border: 0;
}

.contact-map-link {
    display: block;
    padding: 10px 14px;
    font-size: 0.875rem;
    text-align: center;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-map-link:hover,
.contact-map-link:focus-visible {
    background: #fafafa;
    color: var(--secondary-color);
}

/* Forms */
.site-form .form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    min-height: 44px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
}

/* Gallery */
.gallery-section {
    padding: var(--section-padding) 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: clamp(28px, 5vw, 40px);
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    min-height: 44px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    text-decoration: none;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn,
.pagination-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.pagination-btn {
    background: var(--primary-color);
    color: white;
    border: none;
}

.pagination-btn:hover:not(.disabled) {
    background: #6d0000;
}

.pagination-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
}

.pagination-num {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.pagination-num:hover {
    background: var(--primary-color);
    color: white;
}

.pagination-num.active {
    background: var(--primary-color);
    color: white;
    cursor: default;
}

.pagination-ellipsis {
    padding: 0 6px;
    color: #888;
}

.pagination-info {
    text-align: center;
    margin-top: 12px;
    color: #666;
    font-size: 0.9rem;
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: clamp(20px, 4vw, 28px);
}

.gallery-item.hidden {
    display: none;
}

.gallery-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: #eee;
}

.gallery-card img,
.gallery-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

@media (hover: hover) {
    .gallery-card:hover img,
    .gallery-card:hover video {
        transform: scale(1.05);
    }
}

.gallery-caption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.gallery-empty {
    text-align: center;
    padding: clamp(48px, 8vw, 80px) 20px;
    color: #888;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 60px 16px 48px;
}

.lightbox.open {
    display: flex;
}

.lightbox-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: min(95vw, 900px);
    min-height: 0;
}

.lightbox-content img,
.lightbox-content video,
.lightbox-content iframe {
    max-width: min(95vw, 900px);
    max-height: calc(100vh - 140px);
    max-height: calc(100dvh - 140px);
    border-radius: 8px;
}

.lightbox-content iframe {
    width: min(900px, 95vw);
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: min(50vh, 400px);
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.75rem;
    line-height: 1;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.25rem;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
    transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
    left: max(12px, env(safe-area-inset-left));
}

.lightbox-next {
    right: max(12px, env(safe-area-inset-right));
}

.lightbox-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 16px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}


/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: clamp(40px, 6vw, 60px) 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: clamp(28px, 5vw, 40px);
    margin-bottom: 40px;
}

.footer-about h3 {
    color: var(--accent-color);
    margin-bottom: 16px;
}

.footer-links h3 {
    color: white;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 4px 0;
}

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

.footer-about p,
.footer-links p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* ========== TABLET (max 1024px) ========== */
@media (max-width: 1024px) {
    .split-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .split-media {
        order: -1;
    }
}

/* ========== MOBILE NAV (max 991px) ========== */
@media (max-width: 991px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(300px, 88vw);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: calc(var(--header-height) + 16px) 20px 24px;
        background: linear-gradient(180deg, #5e0000, var(--primary-color));
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.3);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1002;
        overflow-y: auto;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a {
        padding: 16px 8px;
        font-size: 1.05rem;
    }

    .nav-links a::after {
        display: none;
    }
}

/* ========== MOBILE (max 576px) ========== */
@media (max-width: 576px) {
    .logo-tagline {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .site-form .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .filter-btn {
        flex: 1 1 auto;
        min-width: 90px;
    }

    .card {
        padding: 24px 20px;
    }

    .lightbox-content iframe {
        min-height: 220px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }
}

/* ========== SMALL MOBILE ========== */
@media (max-width: 380px) {
    .logo-text .brand-full {
        font-size: 0.8rem;
        max-width: 110px;
    }
}

/* ========== DESKTOP LARGE ========== */
@media (min-width: 1200px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .about-layout .about-side {
        position: sticky;
        top: calc(var(--header-height) + 24px);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
