/*
 * Reorganized & Enhanced CSS - Kampanis Shoes and Bags Clinic
 * September 2025
 */

/* ===============================================
   1. VARIABLES & BASE STYLES
   =============================================== */
   /* Import Poppins font from Google Fonts */
   @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

   :root {
    --primary-color: #B71C1C; /* Darker, more premium red */
    --secondary-color: #1A237E; /* Deep navy blue */
    --accent-color: #FFC107; /* Warm gold accent */
    --text-dark: #212121;
    --text-light: #616161;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;

    --font-sans: 'Poppins', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --transition: all 0.3s ease-in-out;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Hide scrollbar while maintaining scroll functionality */
html, body, div {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
div::-webkit-scrollbar,
*::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
}

* {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 9999;
    transition: var(--transition);
}

.skip-link:focus {
    top: 0;
}

/* ===============================================
   2. UTILITY & LAYOUT CLASSES
   =============================================== */
.container {
    width: 95%;
    max-width: min(1600px, 90vw);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 2vw, 2rem);
    padding-right: clamp(1rem, 2vw, 2rem);
}

.section {
    padding: 5rem 0;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: clamp(1rem, 2vw, 2rem);
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.section__title--light {
    color: var(--bg-white);
}

.section__subtitle {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
}

.section__subtitle--light {
    color: rgba(255, 255, 255, 0.8);
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-color);
    color: var(--text-dark);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

/* ===============================================
   3. HEADER & NAVIGATION
   =============================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header--scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.header__logo img {
    height: 35px;
}

@media (max-width: 320px) {
    .header__nav {
        height: 50px;
        padding: 0 0.5rem;
    }

    .header__logo img {
        height: 30px;
    }
}

/* --- Start of Mobile Menu Modifications --- */

/* Hamburger Toggle Button */
@media (max-width: 767px) {
    .header__toggle {
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 5px;
        position: relative;
        z-index: 1002; /* Ensure it's above the menu */
        padding: 10px;
    }

    /* Make the menu icon more visible */
    .header__toggle-line {
        background-color: var(--primary-color);
        width: 25px;
        height: 3px;
        border-radius: 3px;
        transition: var(--transition);
    }
}

.header__toggle-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hamburger animation (when active) */
.header__toggle.active .header__toggle-line {
    background-color: var(--bg-white); /* Change to white to be visible on red bg */
}

.header__toggle.active .header__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle.active .header__toggle-line:nth-child(2) {
    opacity: 0;
}

.header__toggle.active .header__toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay (the sliding panel) */
.header__menu {
    position: fixed;
    top: 0;
    right: 0; /* Positioned to the right */
    width: min(80vw, 320px); /* Responsive width with a max size */
    height: 100vh;
    background-color: var(--primary-color); /* Your red theme color */
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items for mobile */
    justify-content: flex-start; /* Start from top */
    padding: 2rem;
    padding-top: 4rem; /* Space for the toggle button */
    
    transform: translateX(100%); /* Initially hidden off-screen to the right */
    visibility: hidden;
    transition: transform 0.4s ease-in-out, visibility 0.4s;
    z-index: 1001; /* Below the toggle but above everything else */
}

.header__menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

/* When the menu is active, slide it in */
.header__menu.active {
    transform: translateX(0);
    visibility: visible;
}

/* Styling links inside the mobile menu */
.header__menu .header__link {
    color: var(--bg-white); /* White text color */
    font-weight: 500;
    font-size: 1.25rem; /* Make text larger for mobile */
    padding: 0.5rem 0;
    position: relative;
}

.header__menu .header__link::after {
    background-color: var(--accent-color); /* Use gold accent for underline */
}

.header__menu .header__link:hover::after {
    width: 60%;
}


/* Tablet & Desktop Styles */
@media (min-width: 768px) {
    .header__toggle {
        display: none !important;
    }

    .header__menu {
        /* Reset mobile styles for desktop view */
        position: static;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100%;
        height: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 2rem;
    }

    .header__menu ul {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 50%;
        min-width: 500px;
        margin: 0 auto;
    }
    
    .header__menu-image {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid var(--primary-color);
        margin: 0;
        order: 2;
    }

    .header__menu-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .header__menu .header__link {
        color: var(--text-dark);
        font-size: 1rem;
        font-weight: 500;
        padding: 0.5rem 0;
        position: relative;
    }

    .header__menu .header__link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: var(--transition);
    }

    .header__menu .header__link:hover::after {
        width: 100%;
    }
}
/* ===============================================
   4. HERO SECTION
   =============================================== */
/* Service Pages Hero Section */
.service-hero {
    height: 60vh;
    background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px; /* Header height compensation */
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: center;
    background-size: cover;
    opacity: 0.2;
    z-index: 1;
    transform: translateZ(0);
    will-change: transform;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem; /* Further reduced gap between elements as requested */
    margin-bottom: 2rem; /* Maintain bottom margin to prevent overlap */
}

.service-hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin: 0;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.service-hero p {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    opacity: 0.95;
    margin: 0;
    line-height: 1.3;
    padding: 0.15rem 1rem; /* Reduced vertical padding as requested */
    max-width: 700px;
    margin: 0 auto;
}

.service-hero .cta-button {
    margin-top: 0.20rem; /* Reduced top margin as requested */
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    display: inline-block;
}

/* Ensure hero content is centered and not cut off on mobile */
@media (max-width: 768px) {
    .service-hero {
        height: 50vh;
        padding-top: 60px;
    }

    .service-hero-content {
        gap: 0.5rem;
    }

    .service-hero h1 {
        font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    }

    .service-hero p {
        font-size: clamp(0.875rem, 1.6vw, 1.1rem);
        padding: 0;
    }
}
.hero {
    position: relative;
    height: clamp(100vh, 100vh, 90vh);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background-color: var(--primary-color);
}

.hero.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: loading-shine 1.5s infinite;
    z-index: 1;
}

@keyframes loading-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero__image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease;
    will-change: transform, opacity;
}

.hero__image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.4)
    );
}

.hero__image-container img {
    display: none; /* Hide the img element as we're using background-image */
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 1rem;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: clamp(1rem, 2vw, 2rem);
    letter-spacing: -0.03em;
}

.hero__subtitle {
    font-family: var(--font-sans);
    font-size: clamp(1.1rem, 2vw, 2rem);
    font-weight: 400;
    max-width: min(900px, 80vw);
    margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
    opacity: 0.9;
    color: yellow;
    line-height: 1.6;
}

/* Hero Button Style */
@keyframes glowingBorder {
    0% {
        box-shadow: 0 0 5px #fff,
                   0 0 10px #fff,
                   0 0 15px #fff;
    }
    50% {
        box-shadow: 0 0 20px #fff,
                   0 0 35px #fff,
                   0 0 40px #fff;
    }
    100% {
        box-shadow: 0 0 5px #fff,
                   0 0 10px #fff,
                   0 0 15px #fff;
    }
}

.hero__button {
    display: inline-block;
    padding: 0.75rem 2.5rem 0.3rem 2.5rem;
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
    animation: glowingBorder 3s infinite;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.hero__button:hover {
    transform: translateY(-3px);
    color: var(--primary-color);
    background-color: white;
}

.hero__circle-image {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    border: 3px solid var(--bg-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: none; /* Hide by default on mobile */
}

.hero__circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .hero__circle-image {
        display: none; /* Hide from hero section on mobile */
    }
    
    /* Mobile menu circle image container */
    .header__menu-image {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        overflow: hidden;
        margin-bottom: 2rem;
        border: 3px solid var(--bg-white);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        display: block;
    }

    .header__menu-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 768px) {
    .hero__circle-image {
        display: block; /* Show in hero section on desktop */
    }
}

/* ===============================================
   5. SERVICES SECTION
   =============================================== */
.services {
    background-color: var(--bg-light);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 2rem 1rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.service-card__icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card__name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

/* ===============================================
   6. WORKS SLIDESHOW
   =============================================== */
.works {
    background-color: #D32F2F; /* Red background */
    color: white;
}

.works .section__title {
    color: white;
}

.works .section__subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Slideshow container uses the site red so the white band behind images is removed */
.works-slideshow {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--primary-color);
    padding: 1rem;
    border-radius: 12px;
}

/* Center images inside each slide and avoid forcing a fixed height */
.works-slideshow .slideshow__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px; /* gives slides some height while remaining flexible */
}

.works-slideshow .slideshow__slide img {
    width: 100%;
    height: auto; /* allow natural aspect ratio */
    max-height: 60vh; /* prevent images from growing too tall on large viewports */
    object-fit: contain; /* keep whole image visible without cropping */
    border-radius: 10px;
    background-color: transparent;
}

.works-slideshow .slideshow__button {
    background-color: var(--bg-white); /* keep controls visible on red */
    color: var(--primary-color);
    opacity: 0.95;
}

.works-slideshow .slideshow__button:hover {
    opacity: 1;
    background-color: var(--bg-white);
}

/* Make slides more compact on small screens */
@media (max-width: 768px) {
    .works-slideshow {
        padding: 0.5rem;
    }

    .works-slideshow .slideshow__slide {
        min-height: 200px;
    }

    .works-slideshow .slideshow__slide img {
        max-height: 45vh;
    }
}

/* ===============================================
   7. VIDEOS SECTION
   =============================================== */
.videos {
    background-color: #D32F2F; /* Red background */
    color: white;
    padding: 4rem 0;
}

.videos__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.video-card {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.videos__cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===============================================
   8. LOCATION SECTION
   =============================================== */
.location {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.location__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.location__map {
    width: 100%;
    max-width: 1200px;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.location__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .location__map {
        height: 300px;
    }
}

/* ===============================================
   9. FOOTER
   =============================================== */
.footer {
    background-color: #F5F5F5; /* Slightly grey background */
    color: #333333;
    padding: 4rem 0 2rem 0;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.footer__menu a {
    color: #666666;
    display: block;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.footer__menu a:hover {
    color: #D32F2F;
}

/* Accordion Styles */
.footer__accordion {
    position: relative;
}

.footer__accordion-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
    color: #666666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: inherit;
    font-family: inherit;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer__accordion-btn:hover {
    color: #D32F2F;
}

.footer__accordion-btn i {
    font-size: 0.75em;
    transition: transform 0.3s ease;
}

.footer__accordion-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.footer__accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 1rem;
}

.footer__accordion-btn[aria-expanded="true"] + .footer__accordion-content {
    max-height: 200px;
}

.footer__accordion-content li {
    margin-bottom: 0.5rem;
}

.footer__accordion-content li:last-child {
    margin-bottom: 1rem;
}

.footer__socials {
    display: flex;
    gap: 1rem;
}

.footer__socials a {
    color: #666666;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.footer__socials a:hover {
    color: #D32F2F;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #666666;
}

/* ===============================================
   9. TOP PICKS SLIDESHOW
   =============================================== */
.top-picks {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.slideshow {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slideshow__slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slideshow__slide {
    min-width: 100%;
    position: relative;
}

.slideshow__slide img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.slideshow__slide img.loaded {
    opacity: 1;
}

.image-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(90deg, #f0f0f0 0%, #f8f8f8 50%, #f0f0f0 100%);
    animation: placeholder-pulse 1.5s infinite;
}

@keyframes placeholder-pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.slideshow__nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
    z-index: 1;
}

.slideshow__button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slideshow__button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slideshow__dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.slideshow__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slideshow__dot--active {
    background-color: white;
}

/* ===============================================
   10. RESPONSIVE DESIGN
   =============================================== */

/* Tablet Styles */
@media (min-width: 768px) {
    .header__toggle {
        display: none;
    }

    .header__menu {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .works__gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .videos__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero {
        height: 80vh; /* Reduced height on large screens */
    }
    
    .hero__circle-image {
        width: 200px;
        height: 200px;
    }

    .section {
        padding: 6rem 0;
    }

    .works__gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .videos__grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 2.5rem;
    }

    .services__grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

/* iPhone 4S and Small Screen Styles */
@media (max-width: 320px) {
    html {
        font-size: 14px;
    }

    body {
        line-height: 1.5;
    }
    
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section__title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .section__subtitle {
        font-size: 0.875rem;
        margin: 0 auto 1.5rem auto;
        padding: 0 0.5rem;
        line-height: 1.4;
    }

    .hero__title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .hero__subtitle {
        font-size: 0.875rem;
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }

    .hero__button {
        padding: 0.5rem 1.25rem 0.25rem 1.25rem;
        font-size: 0.875rem;
    }

    .button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem 0.75rem;
    }

    .service-card__icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .service-card__name {
        font-size: 1rem;
    }

    .works-slideshow {
        padding: 0.5rem;
    }

    .slideshow__button {
        width: 32px;
        height: 32px;
    }

    .video-card {
        margin-bottom: 1rem;
    }

    .location__map {
        height: 250px;
    }

    .footer {
        padding: 2rem 0 1rem 0;
    }

    .footer__container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer__heading {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .footer__menu a {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
    }

    .footer__bottom {
        font-size: 0.75rem;
        padding-top: 1rem;
    }

    .footer__socials {
        gap: 0.75rem;
    }

    .footer__socials a {
        font-size: 1rem;
    }
}

/* Large Desktop Styles */
@media (min-width: 1440px) {
    .section {
        padding: clamp(6rem, 8vw, 10rem) 0;
    }

    .works__gallery {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .videos__grid {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    }

    .services__grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .works-slideshow {
        max-width: min(1400px, 90vw);
    }
}

/* Ultra-wide Screen Styles */
@media (min-width: 1920px) {
    html {
        font-size: calc(16px + 0.2vw);
    }

    .section {
        padding: clamp(8rem, 10vw, 12rem) 0;
    }

    .works-slideshow {
        max-width: min(1800px, 85vw);
    }

    .works-slideshow .slideshow__slide img {
        max-height: 70vh;
    }

    .hero__content {
        max-width: min(1800px, 85vw);
    }

    .services__grid,
    .works__gallery,
    .videos__grid {
        gap: clamp(2rem, 3vw, 4rem);
    }
}