/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #6B8E9F;
    --color-primary-dark: #5A7A8A;
    --color-secondary: #9DB5C4;
    --color-accent: #A8BCC9;
    --color-warm-bg: #F5F1ED;
    --color-text: #2C3E50;
    --color-text-light: #5A6C7D;
    --color-bg: #F3F5F7;
    --color-white: #FFFFFF;
    --color-border: #C4D4E0;
    --color-shadow: rgba(107, 142, 159, 0.1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --max-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Animated Background Blobs */
@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes floatReverse {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-30px, 30px) rotate(-120deg); }
    66% { transform: translate(20px, -20px) rotate(-240deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

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

body {
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.25rem;
    font-weight: 500;
}

h2 {
    font-size: 1.875rem;
    font-weight: 500;
    margin-bottom: calc(var(--spacing-sm) / 2);
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
}

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

a:hover {
    color: var(--color-primary-dark);
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(157, 181, 196, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(107, 142, 159, 0.08);
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 240px;
    display: block;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(107, 142, 159, 0.1));
}

.logo img:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 4px 8px rgba(107, 142, 159, 0.15));
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--color-text);
}

.tagline {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
    font-style: italic;
}

/* Navigation */
.nav {
    position: relative;
    z-index: 10;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 500;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    padding: var(--spacing-xs) 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

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

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

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
}

/* Hero Section */
.hero {
    background-color: var(--color-white);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 500;
    font-family: var(--font-heading);
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.hero-subtitle-small {
    font-size: 1.5rem;
    font-weight: 400;
    display: block;
    margin-top: 0.5rem;
    color: var(--color-text-light);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(107, 142, 159, 0.15);
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(107, 142, 159, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(107, 142, 159, 0.25);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(107, 142, 159, 0.25);
}

/* Intro Section */
.intro {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
    font-weight: 500;
}

.intro-content p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-primary);
}

/* Services Preview */
.services-preview {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
}

.services-preview h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 16px;
    border: 1px solid rgba(157, 181, 196, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: 0 4px 20px rgba(107, 142, 159, 0.1), 0 2px 8px rgba(157, 181, 196, 0.1);
    position: relative;
    overflow: hidden;
}


.service-card h3 {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    text-align: center;
}

.service-card p {
    font-size: 0.9375rem;
    margin: 0;
    text-align: center;
}

.text-center {
    text-align: center;
}

/* Reviews Section */
.reviews {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-white);
}

.reviews-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.reviews-header h2 {
    margin-bottom: var(--spacing-xs);
}

.reviews-count {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

.reviews-count a {
    color: var(--color-primary);
    font-weight: 500;
}

.reviews-carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto var(--spacing-md) auto;
    padding: 0 50px;
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
}

.reviews-prev,
.reviews-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    background-color: var(--color-white);
    border: 2px solid var(--color-secondary);
    padding: 0;
    border-radius: var(--border-radius);
    user-select: none;
    box-shadow: 0 3px 10px rgba(107, 142, 159, 0.15);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    margin: 0;
}

.reviews-prev {
    left: 10px;
}

.reviews-next {
    right: 10px;
}

.reviews-prev:hover,
.reviews-next:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.reviews-prev:focus,
.reviews-next:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.reviews-track {
    display: flex;
    gap: var(--spacing-md);
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.review-card {
    flex: 0 0 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg) calc(var(--spacing-lg) + 0.5rem);
    border-radius: 16px;
    border: 1px solid rgba(157, 181, 196, 0.3);
    border-left: 4px solid var(--color-text-light);
    box-shadow: 0 4px 24px rgba(107, 142, 159, 0.12), 0 2px 8px rgba(157, 181, 196, 0.1);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: relative;
}

.review-stars {
    color: #FFB800;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 2px;
}

.review-text {
    flex: 1;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    text-align: justify;
}

.review-author {
    font-size: 0.875rem;
    color: var(--color-text);
    font-weight: 500;
    margin: 0;
    text-align: right;
}

.reviews-footer {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* Content Pages */
.content-page {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
}

.content-section {
    max-width: 800px;
    margin: 0 auto;
}

.profile-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 16px;
    display: block;
    box-shadow: 0 4px 16px rgba(107, 142, 159, 0.15);
    object-fit: contain;
}

.about-layout {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-lg);
    align-items: flex-start;
    margin-top: var(--spacing-md);
}

.about-image {
    flex: 0 0 320px;
    min-width: 0;
}

.about-content {
    flex: 1;
    min-width: 0;
}

.about-content p {
    text-align: justify;
}

.content-section .profile-image {
    margin-bottom: 0;
}

.content-section h2 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section ul li {
    padding: var(--spacing-xs) 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-light);
}

.content-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-text-light);
    font-weight: bold;
}

.service-section ul li::before {
    color: var(--color-text-light);
    font-weight: bold;
}

.content-section p {
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* Pricing */
.pricing-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: 16px;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(157, 181, 196, 0.3);
    border-left: 4px solid var(--color-text-light);
    box-shadow: 0 4px 20px rgba(107, 142, 159, 0.1), 0 2px 8px rgba(157, 181, 196, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}


.pricing-item h3 {
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.pricing-item p {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* Contact */
.contact-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: 16px;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(157, 181, 196, 0.3);
    border-left: 4px solid var(--color-text-light);
    box-shadow: 0 4px 20px rgba(107, 142, 159, 0.1), 0 2px 8px rgba(157, 181, 196, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}


.contact-info h3 {
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    gap: var(--spacing-sm);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item strong {
    min-width: 120px;
    color: var(--color-text);
    font-size: 1.0625rem;
}

.contact-item span,
.contact-item a {
    font-size: 1.0625rem;
    color: var(--color-text-light);
}

.contact-item a {
    color: var(--color-text-light);
    word-break: break-all;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--color-text);
}

/* Location Gallery */
.location-gallery {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.location-image {
    flex: 1;
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(107, 142, 159, 0.15);
    cursor: pointer;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    animation: fadeIn 0.3s;
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--color-white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: var(--transition);
    line-height: 1;
    background: none;
    border: none;
    padding: 0;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--color-secondary);
    transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-white);
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: var(--transition);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 20px 15px;
    border-radius: 0 5px 5px 0;
    user-select: none;
}

.lightbox-prev {
    left: 0;
}

.lightbox-next {
    right: 0;
    border-radius: 5px 0 0 5px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--color-secondary);
}

.lightbox-prev:focus,
.lightbox-next:focus {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-size: 1rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    max-width: 90%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Google Maps */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: var(--spacing-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Service sections (like pricing-item) */
.service-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: 16px;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(157, 181, 196, 0.3);
    border-left: 4px solid var(--color-text-light);
    box-shadow: 0 4px 20px rgba(107, 142, 159, 0.1), 0 2px 8px rgba(157, 181, 196, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}


.service-section h2 {
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.service-section p {
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: var(--spacing-md) 0;
    margin-top: var(--spacing-sm);
    text-align: center;
    border-top: 2px solid var(--color-secondary);
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    .logo img {
        height: 40px;
        max-width: 160px;
    }

    .about-layout {
        flex-direction: column;
    }

    .about-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto var(--spacing-md) auto;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        width: 100%;
        padding: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--color-border);
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: var(--spacing-sm);
        border-bottom: 1px solid var(--color-border);
        width: 100%;
        text-align: left;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-size: 0.875rem;
    }

    .nav-menu a.active::after {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle-small {
        font-size: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

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

    .reviews {
        padding: var(--spacing-md) 0;
    }

    .reviews-carousel-wrapper {
        max-width: 100%;
        padding: 0 45px;
    }

    .review-card {
        flex: 0 0 100%;
        min-height: auto;
        padding: var(--spacing-md);
    }

    .review-text {
        font-size: 0.9375rem;
    }

    .reviews-carousel-wrapper {
        padding: 0 45px;
    }

    .reviews-prev,
    .reviews-next {
        font-size: 14px;
        font-weight: 300;
        padding: 0;
        height: 28px;
        width: 28px;
    }

    .reviews-prev {
        left: 5px;
    }

    .reviews-next {
        right: 5px;
    }

    .review-card {
        padding-left: 38px;
        padding-right: 38px;
    }

    .review-text {
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
    }

    .contact-item strong {
        min-width: auto;
    }

    .location-gallery {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .location-image {
        width: 100%;
        max-height: 200px;
    }

    .lightbox-close {
        top: 15px;
        right: 25px;
        font-size: 35px;
    }

    .lightbox-image {
        max-width: 95%;
        max-height: 85vh;
    }

    .lightbox-caption {
        bottom: 15px;
        font-size: 0.875rem;
        padding: 0.4rem 0.8rem;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 24px;
        padding: 15px 10px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle-small {
        font-size: 0.875rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}
