@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

:root {
    --primary-color: rgb(60, 60, 60);
    --secondary-color: #f5f5f5;
    --accent-color: rgb(68, 120, 175);
    --text-color: rgb(60, 60, 60);
    --spacing: 2rem;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: white; /* ensure body is white */
    overflow-x: hidden;
}

/* Use Roboto for all headings 
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
}*/

a {
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    color: var(--text-color);
}

/* Make sure headings use Inter */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    line-height: 1.4;
}

/* Header */
header {
    display: flex;
    align-items: center;
    background-color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
    padding: 20px 60px; /* top/bottom 20px, left/right 60px */
    background: white;
    z-index: 2000;
    height: auto; /* height is determined by content + padding */
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.menu-logo {
    width: 132px;
    height: auto;
    cursor: pointer;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.lang-switch select {
    border: 1px solid #ddd;
    padding: 6px 28px 6px 10px; /* extra right padding for custom arrow */
    border-radius: 4px;
    background: white;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234678af' d='M1.41 0 6 4.6 10.59 0 12 1.41 6 7.4 0 1.41z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 8px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.nav-links a {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    color: var(--text-color);
    text-transform: uppercase;
    transition: color 0.3s ease;
    letter-spacing: 1px;
}

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

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger-menu span {
    display: block;
    position: relative;
    width: 28px;
    height: 3px;
    margin: 4px 0;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(.4,2,.6,1);
}

/* Update .hero container */
.hero {
    position: relative;
    width: 100%;
    max-width: 1440px; /* Increased from 1200px for wider hero section */
    min-height: 620px;
    margin: 0 auto; /* Center the hero when viewport is very wide */
    margin-bottom: 120px;
    padding-top: 80px;
    padding-left: 60px;
    padding-right: 60px;
}

/* Update boxes to use percentage widths relative to padded container */
.hero-box-left {
    position: absolute;
    top: 96px;
    left: 60px;  /* Match header padding */
    width: calc(8 * 64px - 60px);  /* Account for padding */
    height: calc(11 * 64px);
    background: rgb(237, 246, 252);
    z-index: 1;
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
}

.hero-box-right {
    position: absolute;
    top: 0;
    left:calc(60px + 96px);
    right: 60px;  /* Match header padding */
    width: calc(100% - 120px - 96px);  /* Account for padding */
    height:calc(11 * 64px);
    background: url('../images/hero2.jpg') center center/cover no-repeat;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-box-content {
    position: absolute;
    top: 180px; /* adjust as needed */
    left: calc(60px + 32px);
    background:  rgba(255, 255, 255, 0.9);
    padding: 2.5rem 2rem;
    z-index: 3;
    width: 520px;
    max-width: 70vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: none;
}

.hero-box-content h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-box-content p {
    font-size: 1.2rem;
    color: var(--primary-color);
}


.hero-box-content .hero-subtitle {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 300;
    margin-bottom: 0.7rem;
    letter-spacing: 0.5px;
}

.hero-box-content .hero-title {
    font-family: 'Inter', sans-serif;
    text-align: left !important;
}

/* General section styles */
section {
    padding: calc(var(--spacing) * 3) var(--spacing);
    max-width: 1200px; /* default max-width for most sections */
    margin: 0 auto;
    animation: fadeIn 0.6s ease-out forwards;
}

.section-title {
    margin-bottom: var(3 * --spacing);
}

section:first-of-type {
    margin-top: 120px;
}

/* Section title styles */
section h2 {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    text-align: center;
    /*margin-bottom: var(--spacing);*/
    color: var(--primary-color);
}

section h3 {
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    color: var(--primary-color);
    font-size: 22px;
    margin: 0.5rem 0;
    font-weight: 600;
}

h2 {
    font-size: 2rem;
    /*margin-bottom: var(--spacing);*/
    color: var(--primary-color);
}

/* Studios Section */
#studios {
    background-color: rgb(237, 246, 252);
    padding: calc(var(--spacing) * 3) var(--spacing);
    max-width: 1440px;
    margin: 0 auto;
}

#studios h2 {
    text-align: center;
    margin-bottom: var(--spacing);
}

.studios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing);
}

.studio {
    background: white;
    padding: var(--spacing);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.studio:hover {
    transform: translateY(-5px);
}

.studio h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.studio p {
    color: var(--accent-color);
    font-weight: 500;
}

.studio-row {
    display: flex;
    background: white;
    border-radius: 0;
    box-shadow: none;
    max-width: 1200px;
    margin: calc(2rem + 44px) auto 3rem auto;
    position: relative;
    overflow: visible;
    height: auto;
}

.studio-row:hover {
    transform: none;
}

.studio-left {
    position: relative;
    width: 512px;
    min-width: 512px;
    height: 512px;
    min-height: 512px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    /* No padding here, padding will be on blue-square */
    aspect-ratio: 1 / 1;
}

.blue-square {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;   /* 32px padding left + 32px padding right */
    height: calc(100% - 32px);  /* 32px inset at bottom */
    background: #eaf6fd;
    z-index: 1;
    border-radius: 0;
    margin: 0px;
    margin-left: 32px; /* Adjust left margin to match padding */
    pointer-events: none;
    aspect-ratio: 1 / 1;
}

.studio-carousel {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 512px;
    height: 512px;
    z-index: 2;
    overflow: hidden;
    background: transparent;
    aspect-ratio: 1 / 1;
    /* carousel content will be absolutely positioned over the blue square */
}

.studio-info {
    flex: 1 1 0;
    padding: 96px;
    margin-left: 96px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.carousel-bg-square {
    /* already styled inline in your HTML */
}

.embla__viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.embla__container {
    display: flex;
    height: 100%;
    touch-action: pan-y;
    -ms-touch-action: pan-y;
    cursor: grab;
    user-select: none;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.embla__slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
}

.embla__slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
}

.carousel-arrow {
    position: relative;
    font-size: 2rem;
    color: #4478af;
    font-weight: 400;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.carousel-prev,
.carousel-next {
    background: transparent;
    border: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.carousel-prev {
    left: 16px;
}

.carousel-next {
    right: 16px;
}

.studio-carousel:hover .carousel-prev,
.studio-carousel:hover .carousel-next {
    opacity: 1;
    pointer-events: auto;
}

.carousel-prev::before,
.carousel-next::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 44px;
    height: 44px;
    background: #eaf6fd;
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: 1;
    pointer-events: none;
}

.carousel-arrow-icon {
    width: 28px;
    height: 28px;
    display: block;
    margin: auto;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

/* Contact Section */
#contact {
    background: white;
    border-radius: 8px;
    padding: var(--spacing);
    margin-bottom: var(--spacing);
}

#contact p {
    margin-bottom: 0.5rem;
}

footer {
    background: white;
    width: 100%;
    position: relative;
    border-top: 1px solid #e0e0e0; /* Added top separator */
    border-bottom: 5px solid var(--accent-color);
    padding: 1rem;
}

footer::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: var(--accent-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0px;
}

.footer-links {
    list-style: none;
    text-align: left;
}

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

.footer-links a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;  /* Match location table font weight */
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent-color); /* Change to accent color on hover */
}

.footer-links a i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover i {
    opacity: 1;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Ensure right alignment */
    text-align: right; /* Ensure text is right-aligned */
    gap: 1rem;
}

.footer-logo {
    width: 140px;
    height: auto;
}

.footer-copyright {
    font-family: 'Inter', sans-serif;  /* Match footer links */
    font-size: 0.95rem;
    font-weight: 400;  /* Match footer links */
    color: #888;
    text-align: right;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Override for amenities section to match hero width */
#amenities {
    max-width: 1440px; /* match hero width */
    padding-left: 60px;  /* match hero padding */
    padding-right: 60px; /* match hero padding */
    margin-top: calc(9rem + 64px);
    margin-bottom: 2rem;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    gap: 2rem;
    /*margin-top: 2rem;*/
    margin-bottom: 2rem;
}

.amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: white;
    /*border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
    transition: transform 0.3s ease;
}

.amenity-icon {
    max-height: 100px;
    width: auto;
    height: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}

#amenities h2 {
    text-align: center;
    margin-bottom: var(--spacing);
}

.map-link {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: var(--accent-color);
    text-decoration: none;
    margin: 1rem 0;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
}

.map-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='rgb(60, 60, 60)' d='M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.map-link:hover {
    color: var(--primary-color);
}

/* Center the map link */
.map-container {
    text-align: center;
    width: 100%;
    margin: 2rem 0;
}

/* Location Section */
#location {
    background-color: white;
    padding: calc(var(--spacing) * 3) var(--spacing);
    max-width: 1440px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

#location h2 {
    text-align: center;
    margin-bottom: var(--spacing);
}

.location-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    /*background-color: rgb(237, 246, 252);*/
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Center the icons in header */
.table-header .col-walking,
.table-header .col-bus,
.table-header .col-car {
    text-align: right;
    padding-right: 0rem;
}

.transport-icon {
    width: 24px;
    height: 24px;
    margin: 0 auto;
    display: block;
}

/* Update grid template columns for both header and rows */
.table-header,
.table-row {
    display: grid;
    grid-template-columns: 3fr 0.7fr 0.7fr 0.7fr; /* Increased left column, decreased right columns */
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.table-row:last-child {
    border-bottom: none;
}

.col-place {
    font-weight: 500;
}

.location-map-wrapper {
    max-width: 900px;
    margin: 3rem auto 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-map {
    position: relative;
    width: 100%;
    padding-top: 45%; /* shallower map */
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
}

.location-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) saturate(0.4) brightness(0.95);
    pointer-events: none; /* Disable native map interactions */
}

.location-map-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    background: #4478af;
    transform: translate(-50%, -80%) rotate(-45deg);
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
    z-index: 2;
}

.map-pin::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.location-map-link {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
    font-size: 14px; /* matches nav link size */
    color: var(--accent-color);
    text-decoration: none;
}

.location-map-link:hover {
    color: var(--primary-color);
}

.col-walking img,
.col-bus img,
.col-car img {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.col-walking img:hover,
.col-bus img:hover,
.col-car img:hover {
    opacity: 1;
}

/* Align time values to the right */
.col-walking,
.col-bus,
.col-car {
    text-align: right;
    padding-right: 0rem;
}

.studio-carousel,
.carousel-track,
.carousel-slide {
    width: 512px !important;
    min-width: 512px !important;
    max-width: 512px !important;
    height: 512px !important;
    min-height: 512px !important;
    max-height: 512px !important;
    box-sizing: border-box;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    aspect-ratio: 1 / 1;
}

.studio-info {
    flex: 1 1 0;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.studio-extra {
    flex: 1 1 0;
    padding: 32px 32px 32px 0; /* right padding, adjust as needed */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}


@media (max-width: 990px) {
    .hero {
        margin-bottom: 0px !important
    }

    .studio-row {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        height: auto !important;   /* <-- Add this line */
        min-height: 0 !important;  /* <-- Optional, for safety */
        padding-left: 64px;
        padding-right: 64px;
    }

    .studio-info {
        margin-left: -32px !important;
    }

    .studio-left {
        width: 100% !important;
        min-width: 0 !important;
        /* Remove fixed height, use aspect-ratio for square */
        height: auto !important;
        
        position: relative;
        left:0px;
    }

    .blue-square {
        width: calc(100% - 64px) !important;
        height: 100% !important;
        margin: 0 !important;
        left: 0px;
        
    }

    .studio-carousel{
        left: 0 !important;
    }

    .studio-carousel,
    .carousel-track,
    .carousel-slide {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: 100% !important;
        
    }

    .studio-left {
        width: 100% !important;
        min-width: 0 !important;
        /*height: 320px; *//* or auto, or a value that fits your design */
        
    }

    .blue-square {
        width: calc(100% - 32px) !important;
        height: 100% !important;
        margin: 0 !important;
        left:32px;
        top:32px;
    }

    .studio-row {
        padding-top: 32px !important;
        padding-left: 32px !important;
        padding-right: 32px !important;
        margin: calc(2rem + 16px) auto 3rem auto;
    }

    .studio-carousel{
        top:0px;
    }

    .studio-info {
        padding-top: 32px;
        padding-bottom: 0px;
    }

    .studio-info h3 {
        font-size: 18px !important; /* Slightly smaller text on mobile */
    }

    .studio-info p {
        font-size: 0.9em !important; /* Slightly smaller text on mobile */
    }
}

/* Match amenities heading style */
.studio-info h3 {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color, #1a2a3a);
    margin-bottom: 0.5em;
    margin-top: 0;
    letter-spacing: 0.01em;
}

/* Match amenities paragraph style */
.studio-info p {
    color: var(--primary-color, #1a2a3a); /* Change from accent-color to primary-color */
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400; /* Changed from 500 to 400 for thinner text */
    margin: 0 0 0.5em 0;
    line-height: 1.5;
}


/* Responsive adjustments */
@media (max-width: 900px) {

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 20px;
        font-size: 0.9em;
    }
    
    .footer-right {
        align-items: flex-start; /* Change from center to flex-start */
        text-align: left; /* Change from center to left */
        width: 100%;
    }
    
    .footer-copyright {
        text-align: left; /* Change from center to left */
        font-size: 0.85em;
    }
    
    .footer-logo {
        margin-left: 0; /* Ensure logo aligns left */
    }
    
    header {
        padding: 20px 32px; /* top/bottom 20px, left/right 20px on mobile */
    }

    nav {
        position: relative;
        width: 100%;
    }

    .nav-links {
        position: fixed;
        left: 0;
        top: -100vh;
        width: 100vw;
        height: auto;
        flex-direction: column;
        background-color: white;
        padding: 96px 32px 32px 32px;
        transition: top 0.3s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        gap: 1.5rem;
        margin-top: 0;
        justify-content: flex-start;
        align-items: flex-end; /* <-- Change from center to flex-end for right alignment */
        z-index: 1000;
        text-align: right;     /* <-- Add this for right-aligned text */
    }

    .nav-links.active {
        top: 0;
    }

    .burger-menu {
        display: flex;
        position: absolute;
        top: 50%;
        right: -6px;
        transform: translateY(-50%);
        z-index: 1100;
    }

    /* Burger menu animation */
    .burger-menu span {
        transition: all 0.3s cubic-bezier(.4,2,.6,1);
    }
    .burger-menu.active span:nth-child(1) {
        transform: translateY(18px) rotate(45deg);
    }
    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .burger-menu.active span:nth-child(3) {
        transform: translateY(-4px) rotate(-45deg);
    }

    section {
        /*padding: var(--spacing);*/
    }

    section h2 {
        font-size: 24px; /* Slightly smaller on mobile */
    }

    section h3 {
        font-size: 18px;
    }

    #studios {
        grid-template-columns: 1fr;
    }

    .studio {
        margin-bottom: 1rem;
    }

    .carousel-prev,
    .carousel-next {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .table-header,
    .table-row {
        grid-template-columns: 3.4fr 1.1fr 1.1fr 1.1fr;
        gap: 0.5rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        font-size: 0.9rem;
    }
    
    .transport-icon {
        width: 20px;
        height: 20px;
    }

    #amenities {
        margin-top: -120px !important;
        padding-left: 16px;  /* match hero mobile padding */
        padding-right: 16px; /* match hero mobile padding */
        margin-bottom: -16px !important;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 columns on mobile */
        gap: 0rem;
    }
    
    .amenity-item {
        padding: 16px; /*1.5rem;*/
        align-items: flex-start !important;
        text-align: left;
    }

    .amenity-item p {
        font-size: 0.9rem; /* Slightly smaller text on mobile */
        /*text-align: justify !important;*/
    }
    
    .amenity-icon {
        max-height: 80px; /* Slightly smaller on mobile */
    }

    .location-map-wrapper {
        margin-top: 2.5rem;
        gap: 1.25rem;
    }

    .location-map {
        padding-top: 55%;
    }


    .hero-box-content {
        left: 32px;
        right: 32px !important;
        max-width: calc(100% - 64px) !important; /* Adjusted for mobile */        
        top:132px;
    }

    .hero-box-right {
        left:0px;
        width: 100% !important;
        height:calc(7 * 64px);
    }
    
    .hero-box-left {
        left: 0;
        right: 32px;
        width: calc(100% - 64px) !important;
        height:calc(7 * 64px);
        top:calc(64px);
    }

    .hero-subtitle {
        font-size: 0.9em !important;
    }

    .hero-box-content .hero-title
    {
        margin-bottom: 0px;
    }
}

@media (max-width: 600px) {
    
    .studio-row {
        padding-top: 0px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
        margin: calc(2rem + 16px) auto 3rem auto;
    }

    .studio-left {
        min-height: 0 !important;
        height: auto !important;
    }

    .studio-info {
        margin-left: 0px !important;
    }

    .carousel-prev,
    .carousel-next {
        width: 36px;
        height: 36px;
    }

    .carousel-prev::before,
    .carousel-next::before {
        width: 36px;
        height: 36px;
    }

    .carousel-arrow-icon {
        width: 24px;
        height: 24px;
    }

    footer {
        padding: 1.5rem 0.5rem 0.5rem 0.5rem;
        gap: 0.8rem;
    }
    .footer-section {
        font-size: 0.98rem;
    }
    
    .hero-box-content h1 {
        font-size: 1.25rem;
    }
}
