/* Language Selector Styles */
.language-selector {
    position: relative;
    margin-left: auto;
    margin-right: 20px;
}

.language-current {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: inherit;
    font-family: inherit;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.language-current:hover {
    background-color: rgba(255,255,255,0.1);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 8px 0;
    min-width: 140px;
    display: none;
    z-index: 100;
}

.language-selector:hover .language-dropdown {
    display: block;
}

.language-dropdown button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    color: #333;
}

.language-dropdown button:hover {
    background-color: #f5f5f5;
}

.flag-icon {
    width: 20px;
    height: 15px;
    background-size: cover;
    background-position: center;
    display: inline-block;
}

.flag-icon-it {
    background-image: url('https://flagcdn.com/w20/it.png');
    background-size: contain;
}

.flag-icon-en {
    background-image: url('https://flagcdn.com/w20/gb.png');
    background-size: contain;
}

.flag-icon-de {
    background-image: url('https://flagcdn.com/w20/de.png');
    background-size: contain;
}

:root {
    --primary-color: #1a1a1a;       /* Dark charcoal */
    --secondary-color: #b1935a;     /* Warm gold */
    --accent-color: #5d8a9f;        /* Soft blue */
    --light-color: #f8f8f8;         /* Off-white */
    --dark-color: #121212;          /* Near black */
    --text-color: #333;
    --text-light: #fff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Verdana', serif;
    font-weight: 600;
}

/* Header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: .5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(26, 26, 26, 0.9);
    z-index: 1000;
    transition: var(--transition);
}

.sticky-header.scrolled {
    padding: 1rem 5%;
    background-color: rgba(26, 26, 26, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    transition: var(--transition);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.cta-nav {
    padding: 0.6rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.cta-nav:hover {
    background-color: var(--text-light);
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* Hero Section */
/* Booking Section */
.booking-section {
    background-color: var(--dark-color);
    padding: 2rem 5%;
    position: relative;
    z-index: 10;
}

.booking-container {
    max-width: 1200px;
    margin: 0 auto;
}

.booking-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.booking-input {
    flex: 1;
    min-width: 200px;
}

.booking-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.booking-input input,
.booking-input select {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

/* Dropdown options styling */
.booking-input select option {
    background-color: var(--dark-color);
    color: var(--text-light);
}

.booking-input select:focus option:checked {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

/* Date picker styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.8);
    cursor: pointer;
}

input[type="date"]::-webkit-datetime-edit {
    color: var(--text-light);
}

input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    background: transparent;
}

input[type="date"]::-webkit-inner-spin-button {
    display: none;
}

input[type="date"]::-webkit-clear-button {
    color: var(--secondary-color);
}

/* Date picker dropdown styling */
input[type="date"]::-webkit-calendar-picker-indicator:hover {
    filter: invert(0.6);
}

input[type="date"]::-webkit-calendar-picker-indicator:active {
    filter: invert(0.4);
}

/* Fallback for Firefox */
input[type="date"] {
    color-scheme: dark;
}

.booking-input input:focus,
.booking-input select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(177, 147, 90, 0.2);
}

.booking-input input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.booking-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-width: 150px;
    letter-spacing: 1px;
}

.booking-button:hover {
    background-color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .booking-form {
        flex-direction: column;
    }
    
    .booking-input {
        width: 100%;
    }
}
.fullscreen-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.fullscreen-hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    padding: 0 2rem;
}

.hero-overlay h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-overlay p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 3rem;
    font-weight: 300;
}

.scroll-down {
    color: var(--text-light);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    margin-top: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* Section Styles */
.section {
    padding: 8rem 5%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

.dark-bg {
    background-color: var(--dark-color);
    color: var(--text-light);
}

.dark-bg .section-header h2,
.dark-bg .section-header p {
    color: var(--text-light);
}

/* Apartment Showcase */
.apartment-showcase {
    max-width: 1400px;
    margin: 0 auto;
}

.apartment-feature {
    display: flex;
    align-items: center;
    margin-bottom: 6rem;
}

.apartment-feature.reverse {
    flex-direction: row-reverse;
}

.apartment-media {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.apartment-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition);
}

.apartment-main-image:hover {
    transform: scale(1.02);
}

.view-details-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 0.8rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-details-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.secondary-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
}

.secondary-button:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.apartment-details {
    flex: 1;
    padding: 0 4rem;
}

.apartment-details h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.apartment-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.apartment-meta i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.apartment-details p {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.amenities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    list-style: none;
}

.amenities li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.amenities i {
    margin-right: 0.7rem;
    color: var(--secondary-color);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(177, 147, 90, 0.3);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: var(--light-color);
    border-radius: 8px;
    transition: var(--transition);
}

.dark-bg .service-card {
    background-color: rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(177, 147, 90, 0.1);
    border-radius: 50%;
}

.service-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn.accept {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.cookie-btn.reject {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.cookie-btn.customize {
    background-color: var(--accent-color);
    color: var(--text-light);
}

#privacy-policy-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 10000;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--light-color);
    margin: 2rem auto;
    padding: 2rem;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    color: var(--text-color);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.modal-body {
    margin-top: 1.5rem;
    line-height: 1.6;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

/* Location Section */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.location-map {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.location-info {
    padding: 2rem;
}

.transport-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.transport-card {
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: 8px;
    transition: var(--transition);
}

.dark-bg .transport-card {
    background-color: rgba(255, 255, 255, 0.05);
}

.transport-card:hover {
    transform: translateY(-5px);
}

.transport-card i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.transport-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.transport-card p {
    font-size: 0.9rem;
    color: var(--text-color);
}

.dark-bg .transport-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* Slider Styles */
.suite-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-controls {
    position: absolute;    
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
}

.slider-prev,
.slider-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-prev:hover,
.slider-next:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

/* Detail Page Styles */
/*
.suite-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 100px 0 60px;
}

.detail-gallery {
    position: relative;
}


*/

.detail-content {
    padding: 20px 30px;
}

.detail-meta {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.detail-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-amenities {
    margin: 30px 0;
}

.detail-amenities li {
    margin-bottom: 10px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

#booking-form {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dark-bg #booking-form {
    background-color: rgba(255, 255, 255, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--light-color);
}

.dark-bg .form-group input,
.dark-bg .form-group select,
.dark-bg .form-group textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(177, 147, 90, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-details {
    padding: 2rem;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info p {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.contact-info i {
    margin-right: 1rem;
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 4rem 5%;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-copyright {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
[data-scroll] {
    transition: opacity 0.8s, transform 0.8s;
}

[data-scroll="in"] {
    opacity: 1;
    transform: translateY(0);
}

[data-scroll="out"] {
    opacity: 0;
    transform: translateY(20px);
}

/* Burger Menu Styles */
.burger-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.burger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    margin-left: auto;
    margin-right: 20px;
}

.burger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-light);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

.burger-icon span:nth-child(1) {
    top: 0px;
}

.burger-icon span:nth-child(2) {
    top: 8px;
}

.burger-icon span:nth-child(3) {
    top: 16px;
}

.burger-menu.active .burger-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.burger-menu.active .burger-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.burger-menu.active .burger-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .apartment-feature,
    .apartment-feature.reverse {
        flex-direction: column;
    }

    .apartment-details {
        padding: 2rem 0 0;
    }

    .location-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-map {
        height: 400px;
    }
}

/* Ensure burger menu is visible for all mobile devices */
@media (max-width: 700px) {
    .burger-menu {
        display: block;
        z-index: 1002; /* Ensure it's above other elements */
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--primary-color);
        padding-top: 80px;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {

    .hero-overlay h1 {
        font-size: 3rem;
    }

    .section {
        padding: 5rem 5%;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sticky-header {
        padding: 1rem 5%;
    }

    .logo {
        font-size: 1.5rem;
    }
    
    .logo img {
        height: 50px; /* Reduced height for mobile devices */
    }

    .hero-overlay h1 {
        font-size: 2.2rem;
    }

    .hero-overlay p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .amenities {
        grid-template-columns: 1fr;
    }
/* Detail Page Styles */
.suite-detail {
    display: flex; /* Changed from grid */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center children horizontally */
    gap: 2rem; /* Consistent gap */
    padding: 150px 5% 60px; /* Adjusted top padding to account for sticky header */
    max-width: 1400px; /* Existing max-width for the whole section */
    margin: 0 auto; /* Center the .suite-detail container */
}

.detail-gallery {
    position: relative;
    width: 100%; /* Occupy available width in flex context */
    max-width: 900px; /* Max width for the gallery itself */
    margin-bottom: 4rem; /* Increased space between gallery and content to prevent overlap with controls */
}

.suite-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-repeat: no-repeat; /* Prevent image repetition */
    background-size: cover; /* Ensure image covers the slide area */
    background-position: center; /* Center the image */
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-controls button:hover {
    background-color: var(--secondary-color);
    color: white;
}

.detail-content {
    width: 100%; /* Occupy available width in flex context */
    max-width: 900px; /* Max width for the content, can match gallery or be different */
    padding: 20px 0; /* Existing padding, can be adjusted */
    /* text-align: center; /* If content text itself should be centered */
}

.detail-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.detail-meta {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.detail-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.detail-meta i {
    color: var(--secondary-color);
}

.detail-description {
    margin: 30px 0;
    line-height: 1.8;
}

.detail-amenities {
    margin: 30px 0;
}

.detail-amenities ul {
    list-style: none;
}

.detail-amenities li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-amenities i {
    color: var(--secondary-color);
}
}
/* Hero Carousel Styles */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Behind the overlay */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Adjust hero overlay background if needed, maybe remove the static one */
.hero-overlay {
    background-color: rgba(0, 0, 0, 0.4); /* Slightly darker overlay */
    /* background-image: none !important; Remove static background if it was set inline */
    z-index: 3; /* Ensure overlay is above slides */
}
/* Apartment Description Section */
.apartment-description {
    padding: 60px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
                url('images/main/main_02.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.apartment-description .section-header {
    margin-bottom: 40px;
}

.description-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.multiline-description {
    white-space: pre-line;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #fff;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .apartment-description {
        padding: 40px 0;
    }
    
    .multiline-description {
        font-size: 1rem;
        text-align: left;
    }
}