/* Document Photography Website - Main Stylesheet */

:root {
    /* Color Variables */
    --primary: #9CAFAA;
    --secondary: #F8FAF9;
    --accent: #EADBC8;
    --highlight: #5B6D5B;
    --text: #1E1E1E;

    /* Transparency variants */
    --primary-80: rgba(156, 175, 170, 0.8);
    --primary-50: rgba(156, 175, 170, 0.5);
    --primary-20: rgba(156, 175, 170, 0.2);
    --secondary-80: rgba(248, 250, 249, 0.8);
    --accent-80: rgba(234, 219, 200, 0.8);
    --highlight-80: rgba(91, 109, 91, 0.8);

    /* Typography */
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 5rem;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-round: 50%;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.05);

    /* Layout */
    --header-height: 4.5rem;
    --container-max-width: 1200px;
    --container-padding: 1.5rem;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    background-color: var(--secondary);
    overflow-x: hidden;
    position: relative;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.layer-1 {
    background: linear-gradient(135deg, var(--primary-20), var(--secondary), var(--accent-80));
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

.layer-2 {
    background: radial-gradient(circle at 30% 70%, var(--accent-80), transparent 60%),
    radial-gradient(circle at 70% 30%, var(--primary-50), transparent 40%);
    opacity: 0.3;
    filter: blur(40px);
    animation: pulse 15s infinite alternate;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.4;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-md);
    color: var(--highlight);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--highlight);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Header */
.site-header {
    position: relative;
    width: 100%;
    padding: var(--space-md) 0;
    background-color: rgba(248, 250, 249, 0.9);
    backdrop-filter: blur(8px);
    transition: all var(--transition-fast);
    z-index: 100;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--highlight);
}

.logo-accent {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1rem;
    color: var(--primary);
    letter-spacing: 0.05rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 110;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: var(--highlight);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.main-nav {
    transition: all var(--transition-medium);
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-link {
    display: block;
    padding: var(--space-sm) var(--space-md);
    margin: 0 var(--space-xs);
    color: var(--text);
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--highlight);
    border-bottom-color: var(--highlight);
}

/* Header animation */
.site-header.scrolled {
    padding: var(--space-sm) 0;
    background-color: rgba(248, 250, 249, 0.95);
    box-shadow: var(--shadow-md);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--highlight);
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--highlight);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--secondary);
}

.btn-secondary {
    background-color: var(--highlight-80);
    color: white;
    border: 2px solid var(--highlight);
}

.btn-secondary:hover {
    background-color: var(--highlight);
    color: var(--secondary);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--text);
}

.btn-accent:hover {
    background-color: var(--primary);
    color: var(--secondary);
}

/* Hero Section */
.hero {
    padding: var(--space-xxl) 0;
    text-align: center;
    position: relative;
    background: url("../images/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--highlight), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text 8s infinite alternate;
    text-shadow: 2px 2px 5px white;
}

@keyframes gradient-text {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

/* Features Section */
.features {
    padding: var(--space-xl) 0;
    background-color: rgba(248, 250, 249, 0.7);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
            135deg,
            rgba(156, 175, 170, 0.1) 0%,
            rgba(156, 175, 170, 0) 50%,
            rgba(156, 175, 170, 0.1) 100%
    );
    transform: rotate(45deg);
    z-index: -1;
    transition: all var(--transition-slow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: rotate(45deg) translateX(50%);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--highlight);
    margin-bottom: var(--space-md);
}

.feature-title {
    margin-bottom: var(--space-sm);
}

.feature-desc {
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Services Preview Section */
.services-preview {
    padding: var(--space-xl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    position: relative;
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--highlight));
    transition: all var(--transition-fast);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
    height: 8px;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    background-color: var(--primary-20);
    border-radius: var(--radius-round);
}

.service-icon i {
    font-size: 2rem;
    color: var(--highlight);
}

.service-title {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.service-desc {
    flex-grow: 1;
    text-align: center;
    margin-bottom: var(--space-md);
}

.service-link {
    align-self: center;
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    background-color: var(--primary-20);
    color: var(--highlight);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.service-link:hover {
    background-color: var(--highlight);
    color: var(--secondary);
}

/* Testimonials Section */
.testimonials {
    padding: var(--space-xl) 0;
    background-color: rgba(234, 219, 200, 0.2);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: all var(--transition-medium);
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
}

.testimonial-content::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--primary-50);
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-name {
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.rating {
    color: #FFD700;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: var(--space-lg);
    gap: var(--space-sm);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: var(--primary-50);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.slider-dot.active {
    background-color: var(--highlight);
    transform: scale(1.2);
}

/* Location Section */
.location {
    padding: var(--space-xl) 0;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.info-icon {
    color: var(--highlight);
    font-size: 1.25rem;
    min-width: 30px;
    text-align: center;
}

.info-text {
    margin-bottom: 0;
}

.hours-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
}

/* CTA Section */
.cta {
    padding: var(--space-xl) 0;
    background: linear-gradient(45deg, var(--primary-80), var(--highlight-80));
    color: var(--secondary);
    text-align: center;
}

.cta-title {
    color: var(--secondary);
    margin-bottom: var(--space-md);
}

.cta-text {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-lg);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.cta .btn-primary {
    background-color: var(--secondary);
    color: var(--highlight);
}

.cta .btn-primary:hover {
    background-color: white;
    color: var(--highlight);
}

.cta .btn-secondary {
    border-color: var(--secondary);
    color: var(--secondary);
}

.cta .btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--highlight);
}

/* Footer */
.site-footer {
    background-color: var(--highlight);
    color: var(--secondary);
    padding: var(--space-lg) 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-logo .logo-text {
    color: var(--secondary);
    font-size: 1.2rem;
}

.copyright {
    margin-bottom: 0;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.footer-link {
    color: var(--secondary);
    opacity: 0.8;
    transition: all var(--transition-fast);
}

.footer-link:hover {
    opacity: 1;
    color: var(--accent);
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: -100%;
    left: 0;
    max-width: 360px;
    background-color: rgba(248, 250, 249, 0.95);
    backdrop-filter: blur(8px);
    padding: var(--space-md);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: bottom var(--transition-medium);
}

.cookie-notice.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 0;
}

/* Services Page */
.service-detail {
    padding: var(--space-xl) 0;
}

.service-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.service-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 0;
    padding-bottom: 70%;
    position: relative;
    width: 100%;
}
.service-image img{
    width: 100%;
    object-fit: cover;
}

.service-content h3 {
    margin-bottom: var(--space-md);
}

.service-list {
    list-style-type: none;
    margin-bottom: var(--space-lg);
}

.service-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-sm);
}

.service-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: var(--space-sm);
    color: var(--highlight);
}

/* Pricing Page */
.pricing-section {
    padding: var(--space-xl) 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.pricing-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-title {
    text-align: center;
    margin-bottom: var(--space-md);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--highlight);
    margin-bottom: var(--space-lg);
}

.pricing-features {
    list-style-type: none;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.pricing-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: var(--space-sm);
    color: var(--highlight);
}

.pricing-button {
    text-align: center;
}

.discount-badge {
    display: inline-block;
    background-color: var(--accent);
    color: var(--text);
    font-weight: 700;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.special-offer {
    padding: var(--space-xl) 0;
    background-color: rgba(234, 219, 200, 0.2);
    text-align: center;
}

.offer-title {
    margin-bottom: var(--space-lg);
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

.offer-item {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    text-align: left;
}

.offer-item-title {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.offer-item-title i {
    font-size: 1.5rem;
    color: var(--highlight);
    margin-right: var(--space-sm);
}

/* Contact Page */
.contact-section {
    padding: var(--space-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-form-container {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, var(--primary), var(--highlight));
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.form-control {
    display: block;
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--primary-50);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--highlight);
    box-shadow: 0 0 0 3px var(--primary-20);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.form-check-input {
    margin-right: var(--space-sm);
    margin-top: 0.3rem;
}

.form-actions {
    text-align: center;
}

.form-submit {
    width: 100%;
}

/* 404 Page */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    text-align: center;
    padding: var(--space-xl) 0;
}

.error-code {
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--highlight), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
}

.error-message {
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

/* Thank You Page */
.thank-you-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    text-align: center;
    padding: var(--space-xl) 0;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--highlight);
    margin-bottom: var(--space-lg);
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.thank-you-title {
    margin-bottom: var(--space-md);
}

.thank-you-message {
    margin-bottom: var(--space-lg);
}

/* Legal Pages */
.legal-page {
    padding: var(--space-xl) 0;
    max-width: 900px;
    margin: 0 auto;
}

.legal-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.legal-section {
    margin-bottom: var(--space-xl);
}

.legal-section-title {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--primary-50);
}

.legal-list {
    padding-left: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.legal-list li {
    margin-bottom: var(--space-sm);
}

.home-button {
    display: inline-block;
    margin-top: var(--space-lg);
    padding: var(--space-sm) var(--space-md);
    background-color: var(--primary-20);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.home-button:hover {
    background-color: var(--primary-50);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-fadeIn {
    animation: fadeIn var(--transition-medium) forwards;
}

.animate-slideInUp {
    animation: slideInUp var(--transition-medium) forwards;
}

/* Responsive Styles */
@media (max-width: 992px) {
    :root {
        --space-xxl: 4rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .location-content,
    .contact-grid,
    .service-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .map-container {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --space-xl: 2.5rem;
        --space-lg: 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        display: none;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--secondary);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: var(--space-xxl) var(--space-lg) var(--space-lg);
        z-index: 100;
        transition: all var(--transition-medium);
    }

    .main-nav.active {
        right: 0;
        display:flex;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-link {
        padding: var(--space-md) 0;
        margin: 0;
        border-bottom: 1px solid var(--primary-20);
    }

    .menu-toggle.active .bar1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.active .bar2 {
        opacity: 0;
    }

    .menu-toggle.active .bar3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-md);
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .service-image {
        padding-bottom: 80%;
    }

    .error-code {
        font-size: 7rem;
    }
}

@media (max-width: 320px) {
    html {
        font-size: 12px;
    }

    :root {
        --space-lg: 1rem;
        --space-md: 0.75rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-accent {
        font-size: 0.8rem;
    }
}

.menu-open{
    overflow: hidden;
}