/* Sue Events - Modern PHP Site - Catalog 2026 */

:root {
    --color-primary: #c41e3a;
    --color-primary-dark: #9a1830;
    --color-primary-light: #e84a5f;
    --color-gold: #d4a853;
    --color-dark: #1a1a1a;
    --color-dark-soft: #2d2d2d;
    --color-text: #333;
    --color-text-muted: #666;
    --color-bg: #faf9f7;
    --color-white: #fff;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 20px rgba(0,0,0,.08);
    --shadow-hover: 0 12px 40px rgba(0,0,0,.12);
    --transition: 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

.main-content {
    min-height: 60vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Top bar */
.top-bar {
    background: #2d323e;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
    width: 100%;
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.top-bar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color var(--transition);
}

a.top-bar-item:hover {
    color: #2ec4b6;
}

.top-bar-icon {
    flex-shrink: 0;
    opacity: 0.85;
}

.top-bar-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--transition);
}

.top-bar-link:hover {
    color: #2ec4b6;
}

.top-bar-sep {
    color: rgba(255, 255, 255, 0.4);
    user-select: none;
}

.top-bar-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition), transform var(--transition);
}

.top-bar-social:hover {
    color: #2ec4b6;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 0.75rem;
    }

    .top-bar-inner {
        padding: 0.5rem 1rem;
        justify-content: center;
    }

    .top-bar-left {
        gap: 0.75rem;
    }

    .top-bar-right .top-bar-link:nth-child(3) {
        display: none;
    }

    .top-bar-sep {
        display: none;
    }
}

@media (max-width: 480px) {
    .top-bar-right .top-bar-link {
        display: none;
    }

    .top-bar-right .top-bar-link:first-child {
        display: inline;
    }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    color: var(--color-dark);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
}

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

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

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.75rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-dark);
}

/* Hero */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
    overflow: hidden;
    width: 100%;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-soft) 50%, var(--color-primary-dark) 100%);
    opacity: 0.92;
}

/* Hero with full-width slider as background */
.hero-with-slider .hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    left: 0;
    right: 0;
}

.hero-with-slider .hero-slider .slider-track {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    min-height: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.5) 50%, rgba(156,24,48,.5) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 600;
    color: var(--color-white);
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.hero-tagline {
    color: var(--color-gold);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 1rem;
}

.hero-desc {
    color: rgba(255,255,255,.9);
    font-size: 1.05rem;
    margin: 0 0 2rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,.7);
}

.btn-outline:hover {
    background: rgba(255,255,255,.15);
    border-color: var(--color-white);
}

.btn-outline-catalog {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-catalog:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.info-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* About */
.about {
    padding: 5rem 0;
}

.about h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    text-align: center;
    margin: 0 0 1rem;
    color: var(--color-dark);
}

.about-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.about-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.about-icon-svg {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.about-icon-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.about-card h3 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
    color: var(--color-dark);
}

.about-card p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Services overview */
.services-overview {
    padding: 5rem 0;
    background: var(--color-white);
}

.services-overview h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    text-align: center;
    margin: 0 0 1rem;
    color: var(--color-dark);
}

.section-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
    color: var(--color-text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.service-card {
    display: block;
    background: var(--color-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.service-icon-svg {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.service-icon-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.service-card h3 {
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
    color: var(--color-dark);
}

.service-card p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* CTA section */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin: 0 0 0.5rem;
}

.cta-section p {
    margin: 0 0 1.5rem;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.cta-section .btn-primary:hover {
    background: var(--color-gold);
    color: var(--color-dark);
    border-color: var(--color-gold);
}

/* Page hero (inner pages) */
.page-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-soft) 100%);
    color: var(--color-white);
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 0.5rem;
}

.page-hero p {
    margin: 0;
    opacity: 0.9;
}

/* Catalog (servicios) */
.catalog-section {
    padding: 3rem 0;
}

.catalog-section:nth-child(even) {
    background: var(--color-white);
}

.catalog-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin: 0 0 2rem;
    color: var(--color-dark);
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--color-primary);
    display: inline-block;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.catalog-card {
    background: var(--color-bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--color-primary);
}

.catalog-card h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    color: var(--color-dark);
}

.catalog-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Info section */
.info-section {
    padding: 4rem 0;
    background: var(--color-white);
}

.info-section h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin: 0 0 1rem;
    color: var(--color-dark);
}

.info-list {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
    color: var(--color-text-muted);
}

.info-section p {
    margin: 0 0 1rem;
    color: var(--color-text-muted);
}

.info-section .btn {
    margin-top: 0.5rem;
}

/* Contact */
.contact-hero {
    padding: 3rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    padding: 3rem 0 5rem;
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 0 0 1.5rem;
    color: var(--color-dark);
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-list li {
    margin-bottom: 1.25rem;
}

.contact-list .label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.contact-list a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

.contact-form-wrap {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--color-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    transition: border-color var(--transition);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

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

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

/* Footer - professional multi-column */
.site-footer {
    position: relative;
    background: #1a1e2c;
    color: rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%232ec4b6' fill-opacity='0.15' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3Cpath fill='%232ec4b6' fill-opacity='0.08' d='M0,192L60,197.3C120,203,240,213,360,208C480,203,600,181,720,181.3C840,181,960,203,1080,197.3C1200,192,1320,160,1380,144L1440,128L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: bottom center;
    pointer-events: none;
}

.footer-top {
    position: relative;
    z-index: 1;
    padding: 4rem 0 3rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    text-align: left;
}

.footer-col {
    min-width: 0;
}

.footer-brand-col .footer-logo {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer-brand-col .logo-text {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-white);
}

.footer-brand-col .logo-accent {
    color: #2ec4b6;
}

.footer-logo-img {
    display: block;
    height: 44px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.footer-tagline {
    font-size: 0.85rem;
    color: #2ec4b6;
    margin: 0 0 1rem;
    font-weight: 500;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1.5rem;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--color-white);
    text-decoration: none;
    transition: transform var(--transition), opacity var(--transition);
}

.footer-social-link:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.footer-social-wa {
    background: #25d366;
}

.footer-social-ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer-social-email {
    background: #c41e3a;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin: 0 0 1.25rem;
    text-transform: none;
    letter-spacing: 0.02em;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
    color: #2ec4b6;
    padding-left: 4px;
}

.footer-contact-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1rem;
    line-height: 1.5;
}

.footer-phone,
.footer-email {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    transition: color var(--transition);
}

.footer-phone:hover,
.footer-email:hover {
    color: #2ec4b6;
}

.footer-cta-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.25rem;
    background: #25d366;
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: var(--radius);
    transition: background var(--transition), transform var(--transition);
}

.footer-cta-btn:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

/* Footer bottom bar */
.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(60, 66, 87, 0.8);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--transition);
}

.footer-legal-links a:hover {
    color: #2ec4b6;
}

@media (max-width: 992px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-desc {
        max-width: none;
    }

    .footer-social {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand-col {
        text-align: center;
    }

    .footer-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        border-bottom: 1px solid rgba(0,0,0,.06);
        padding: 1rem;
        display: none;
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid #eee;
    }

    .main-nav a {
        display: block;
        padding: 0.75rem;
    }

    .hero {
        min-height: 75vh;
        padding: 3rem 1rem;
    }

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

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

    .contact-form-wrap {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

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

    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery */
.gallery-hero {
    padding: 3rem 0;
}

.gallery-section {
    padding: 3rem 0 5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--color-white);
    transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.gallery-link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.gallery-link img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition);
}

.gallery-item:hover .gallery-link img {
    transform: scale(1.05);
}

.gallery-caption {
    display: block;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-dark);
    background: var(--color-white);
}

.gallery-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    color: var(--color-text-muted);
}

.gallery-empty code {
    background: var(--color-bg);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: background var(--transition);
}

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

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-caption {
    margin: 1rem 0 0;
    color: var(--color-white);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }

    .gallery-link img {
        height: 220px;
    }
}

/* Slider (hero background + controls) */
.hero .slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero .slider-btn {
    z-index: 3;
}

.slider-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.slider-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

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

.hero .slider-prev {
    left: 1rem;
}

.hero .slider-next {
    right: 1rem;
}

.hero .slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.slider-dot.is-active {
    background: var(--color-primary);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .hero .slider-prev {
        left: 0.5rem;
    }

    .hero .slider-next {
        right: 0.5rem;
    }

    .hero .slider-dots {
        bottom: 1rem;
    }
}
