/* ========================================
   CSS VARIABLES & RESET
   ======================================== */

:root {
    /* Colors */
    --cream: #fbf8f4;
    --taupe: #6e6252;
    --taupe-dark: #544c3f;
    --gold: hsl(38, 35%, 55%);
    --gold-light: hsl(38, 30%, 75%);
    --muted: hsl(30, 10%, 90%);
    --border: hsl(30, 12%, 85%);

    /* Fonts */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 2rem 0rem;
    --section-padding-md: 6rem 3rem;
    --section-padding-lg: 8rem 5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--taupe);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    letter-spacing: 0.05em;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.container-narrow {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.divider {
    width: 4rem;
    height: 1px;
    background-color: rgba(74, 59, 48, 0.3);
    margin: 1.5rem 0;
}

.divider-center {
    width: 4rem;
    height: 1px;
    background-color: rgba(74, 59, 48, 0.3);
    margin: 1.5rem auto;
}

.divider-light-center {
    width: 4rem;
    height: 1px;
    background-color: rgba(246, 244, 241, 0.3);
    margin: 1.5rem auto;
}

.text-body {
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 300;
    color: rgba(74, 59, 48, 0.7);
    margin-bottom: 1.5rem;
}

.text-body-light {
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 300;
    color: rgba(246, 244, 241, 0.7);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(74, 59, 48, 0.6);
    margin-bottom: 1rem;
}

.section-subtitle-light {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(246, 244, 241, 0.6);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 300;
    color: var(--taupe);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-title-light {
    font-size: 2rem;
    font-weight: 300;
    color: var(--cream);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.section-header-light {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.btn-premium {
    background-color: var(--taupe-dark);
    color: var(--cream);
    border-color: var(--taupe-dark);
}

.btn-premium:hover {
    background-color: var(--taupe);
    border-color: var(--taupe);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-premium-outline {
    background-color: transparent;
    color: #fbf8f4;
    border-color: #fbf8f4;
}

.btn-premium-outline:hover {
    background-color: var(--taupe);
    color: var(--cream);
}

.btn-premium-light {
    background-color: var(--cream);
    color: var(--taupe-dark);
    border-color: var(--cream);
}

.btn-premium-light:hover {
    background-color: var(--taupe);
    border-color: var(--taupe);
    color: var(--cream);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--taupe-dark);
    border-color: var(--taupe-dark);
}

.btn-outline-dark:hover {
    background-color: var(--taupe-dark);
    color: var(--cream);
}

.btn-dark-outline {
    background-color: var(--taupe-dark);
    color: var(--cream);
    border-color: var(--cream);
    position: relative;
}

.btn-dark-outline::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(251, 248, 244, 0.5);
    border-radius: 2px;
    pointer-events: none;
}

.btn-dark-outline:hover {
    background-color: var(--taupe);
    border-color: var(--cream);
}

.btn-premium-light svg {
    transition: stroke 0.3s ease;
}

.btn-premium-light:hover svg {
    stroke: var(--cream);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

/* ========================================
   HEADER
   ======================================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(251, 248, 244, 0.50);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

#header.scrolled {
    background-color: rgba(246, 244, 241, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 0.3em;
    color: var(--taupe);
    font-weight: 400;
}

.desktop-nav {
    display: none;
    gap: 2rem;
}

.desktop-nav a {
    font-size: 0.875rem;
    color: rgba(74, 59, 48, 0.8);
    transition: color 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--taupe);
}

.header-cta {
    display: none;
    align-items: center;
    gap: 1rem;
}

.lang-switcher {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--taupe);
    border: 1px solid rgba(74, 59, 48, 0.2);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lang-switcher:hover {
    background-color: var(--taupe);
    color: white;
    border-color: var(--taupe);
}

.contact-link {
    font-size: 0.875rem;
    color: rgba(74, 59, 48, 0.8);
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--taupe);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    padding-right: 20px;
}

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-switcher-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--taupe);
    border: 1px solid rgba(74, 59, 48, 0.2);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 36px;
}

.lang-switcher-mobile:hover {
    background-color: var(--taupe);
    color: white;
    border-color: var(--taupe);
}

.menu-icon {
    position: relative;
    width: 1.5rem;
    height: 2px;
    background-color: var(--taupe);
    transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 1.5rem;
    height: 2px;
    background-color: var(--taupe);
    transition: all 0.3s ease;
}

.menu-icon::before {
    top: -6px;
}

.menu-icon::after {
    bottom: -6px;
}

.mobile-menu-btn.active .menu-icon {
    background-color: transparent;
}

.mobile-menu-btn.active .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn.active .menu-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(246, 244, 241, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.mobile-menu a {
    padding: 0.75rem 0;
    font-size: 1rem;
    color: rgba(74, 59, 48, 0.8);
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--taupe);
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding-top: 0;
}

.mobile-menu-footer .btn {
    color: var(--cream) !important;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 1.5s ease-out forwards;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(110, 98, 82, 0.35), rgba(110, 98, 82, 0.45), rgba(110, 98, 82, 0.70));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 3rem 1.5rem;
    max-width: 56rem;
    margin: 0 auto;
    animation: fadeUp 0.8s ease-out forwards;
    width: 100%;
}

.hero-logo {
    height: 80px;
    width: auto;
    margin: 0 auto 2rem;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-family: 'Cormorant Garamond';
    font-style: italic;
    letter-spacing: 0.3em;
    color: rgba(251, 248, 244, 0.9);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #fbf8f4;
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(251, 248, 244, 0.85);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.hero-promo-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.25rem;
    background:#b8860b;
    border: 1px solid rgba(251, 248, 244, 0.35);
    border-radius: 0;
}

.hero-promo-banner-text {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(251, 248, 244, 0.9);
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
}

.hero-promo-banner-btn {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    background-color: transparent;
    color: #fbf8f4;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border: 1px solid rgba(251, 248, 244, 0.7);
    border-radius: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hero-promo-banner-btn:hover {
    background-color: rgba(251, 248, 244, 0.15);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(251, 248, 244, 0.9);
    transition: color 0.3s ease;
    animation: fadeIn 1s ease-out 1s forwards;
    opacity: 0;
}

.scroll-indicator:hover {
    color: #fbf8f4;
}

.scroll-indicator span {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
}

.chevron-icon {
    animation: bounce 2s infinite;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    padding: var(--section-padding);
    background-color: var(--cream);
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.about-content {
    order: 2;
    border: 1px solid rgba(74, 59, 48, 0.3);
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.about-content::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -1px;
    bottom: 30px;
    width: 1px;
    background-color: rgb(250, 248, 244);
    display: none;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: opacity 2s ease-in-out;
}

.about-img-1 {
    position: relative;
    z-index: 1;
}

.about-img-2 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(74, 59, 48, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--taupe);
    margin-bottom: 0.25rem;
    min-height: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(74, 59, 48, 0.6);
    text-align: center;
    width: 100%;
}

/* ========================================
   LOCATION SECTION
   ======================================== */

.location-section {
    padding: var(--section-padding);
    padding-left: 0;
    padding-right: 0;
    background-color: rgba(222, 215, 207, 0.3);
}

.location-grid {
    display: grid;
    gap: 0;
    align-items: stretch;
    max-width: 1250px;
    margin: 0 auto;
}

.location-map {
    position: relative;
    background-color: var(--muted);
    overflow: hidden;
    min-height: 500px;
    border: 1px solid var(--taupe);
}

.location-map iframe {
    filter: saturate(0.85) brightness(1.02) sepia(0.08) contrast(0.92) hue-rotate(5deg);
}

.location-info {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--taupe);
    padding: 2rem;
    margin: 2rem 1.5rem;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(251, 248, 244, 0.95) 0%, 
        rgba(251, 248, 244, 0.85) 100%);
}

.location-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background:var(--taupe);
}

.location-info .btn {
    width: 100%;
}

/* ========================================
   APARTMENTS SECTION
   ======================================== */

.apartments-section {
    padding: var(--section-padding);
    background-color: var(--cream);
}

.apartments-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 252px;
    gap: 1rem;
    margin-top: 3rem;
}

.apartment-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.5s ease;
}

.apartment-image-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(251, 248, 244, 0.5);
    border-radius: 2px;
    pointer-events: none;
    z-index: 1;
}

.apartment-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.apartment-image-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.apartment-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.apartment-image-card:hover .apartment-image-overlay {
    opacity: 1;
}

.apartment-label {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--cream);
    font-weight: 300;
}

/* Asimetric layout variations */
.apartment-image-large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.apartment-image-wide {
    grid-column: 2 / 4;
    grid-row: 3 / 4;
}

.apartment-image-tall {
    grid-column: 1 / 2;
    grid-row: 3 / 5;
}

.apartment-text-card {
    position: relative;
    padding: 2rem;
    border: 1px solid rgba(74, 59, 48, 0.2);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--cream);
    transition: all 0.5s ease;
}

.apartment-text-card:hover {
    border-color: var(--taupe);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.apartment-text-below {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.apartment-image-top-right {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.apartment-text-wide {
    grid-column: 3 / 5;
    grid-row: 4 / 5;
}

.apartment-text-row3 {
    grid-column: 4 / 5;
    grid-row: 3 / 4;
}

.apartment-image-row4 {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
}

.apartment-card-button {
    grid-column: 3 / 5;
    grid-row: 4 / 5;
    background-color: var(--taupe-dark);
    color: var(--cream);
    border: 1px solid var(--taupe-dark);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.apartment-card-button::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(251, 248, 244, 0.5);
    border-radius: 2px;
    pointer-events: none;
}

.apartment-card-button svg {
    transition: transform 0.3s ease;
}

.apartment-card-button:hover {
    background-color: var(--taupe);
    border-color: var(--taupe);
    color: var(--cream);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.apartment-card-button:hover svg {
    transform: translateX(4px);
}

.apartment-image-right {
    grid-column: 4 / 5;
    grid-row: 1 / 3;
}

.apartment-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--taupe);
    margin-bottom: 0.75rem;
    font-weight: 300;
}

.apartment-card-description {
    font-size: 0.9rem;
    color: rgba(74, 59, 48, 0.6);
    line-height: 1.6;
}

/* ========================================
   CONSTRUCTION SECTION
   ======================================== */

.construction-section {
    padding: var(--section-padding);
    background-color: var(--taupe-dark);
    color: var(--cream);
}

.construction-grid {
    display: grid;
    gap: 3rem;
}

.construction-image {
    position: relative;
}

.construction-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.construction-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(246, 244, 241, 0.1);
}

.features-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2.5rem;
    width: 100%;
    max-width: 100%;
}

.features-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(246, 244, 241, 0.5);
    margin-bottom: 1rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    padding-left: 0;
}

.features-list li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.features-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 1.25rem;
    line-height: 1;
}

.features-list span {
    font-size: 0.875rem;
    color: rgba(246, 244, 241, 0.8);
}

/* Responsive grid helpers */
.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

.grid-4 {
    grid-template-columns: 1fr;
}

/* Carousel Styles */
.construction-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 60px;
}

.construction-carousel {
    overflow: visible;
    position: relative;
    width: 100%;
    height: 650px;
}

.construction-content {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.construction-info-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    border: 1px solid rgb(250 248 244 / 29%);
    padding: 2.5rem;
    margin: 0;
    border-radius: 2px;
    box-sizing: border-box;
    overflow-y: auto;
}

.construction-info-box.full-width {
    width: 100%;
    left: 0 !important;
}



.construction-info-box.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.construction-info-box > div:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(246, 244, 241, 0.1);
    border: 1px solid rgba(246, 244, 241, 0.3);
    color: var(--cream);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(246, 244, 241, 0.2);
    border-color: rgba(246, 244, 241, 0.5);
}

.carousel-prev {
    left: -25px;
}

.carousel-next {
    right: -25px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(246, 244, 241, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator.active {
    background-color: var(--cream);
    width: 24px;
    border-radius: 4px;
}

.carousel-indicator:hover {
    background-color: rgba(246, 244, 241, 0.5);
}

.section-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(212, 165, 32, 0.15);
    border-radius: 50%;
    margin-bottom: 1rem;
    color: var(--gold);
}

/* ========================================
   CONSTRUCTION PROGRESS GALLERY
   ======================================== */

.construction-progress-section {
    padding: 4rem 0;
    background-color: var(--cream);
}

.construction-gallery-container {
    position: relative;
    border: 1px solid rgb(250 248 244 / 29%);
    border-radius: 2px;
    padding: 2.5rem;
    background-color: rgba(110, 98, 82, 1);
}

.construction-gallery-container::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(251, 248, 244, 0.5);
    border-radius: 2px;
    pointer-events: none;
    z-index: 0;
}

.construction-gallery-month {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--cream);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.construction-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.construction-gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: #c5c3be;
    display: flex;
    align-items: center;
    justify-content: center;
}

.construction-gallery-item::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(251, 248, 244, 0.5);
    border-radius: 2px;
    pointer-events: none;
    z-index: 1;
}

/* ========================================
   PURCHASE SECTION
   ======================================== */

.purchase-section {
    padding: var(--section-padding);
    background-color: rgba(222, 215, 207, 0.3);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    padding-top: 3rem;
    margin-bottom: 3rem;
}

.step-card {
    position: relative;
    border: 1px solid rgba(74, 59, 48, 0.3);
    padding: 1.2rem;
    overflow: visible;
    min-height: 280px;
}

.step-number {
    position: absolute;
    top: -5rem;
    left: -3rem;
    font-family: var(--font-heading);
    font-size: 8rem;
    color: rgba(74, 59, 48, 0.1);
    line-height: 1;
}

.step-icon {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    color: rgba(74, 59, 48, 0.7);
}

.step-title {
    font-size: 1.5rem;
    color: var(--taupe);
    margin-bottom: 1rem;
    font-weight: 300;
}

.step-description {
    font-size: 1rem;
    color: rgba(74, 59, 48, 0.6);
    line-height: 1.6;
}

/* ========================================
   DEVELOPER SECTION
   ======================================== */

.developer-section {
    padding: var(--section-padding);
    background-color: var(--cream);
}

.developer-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.developer-logo img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    padding: var(--section-padding);
    background-color: var(--taupe-dark);
    color: var(--cream);
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-logo {
    align-self: flex-start;
}

.contact-logo img {
    max-width: 100%;
    height: auto;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    color: rgba(246, 244, 241, 0.7);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(246, 244, 241, 0.5);
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1rem;
    color: var(--cream);
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--gold);
}

.contact-text {
    font-size: 1rem;
    color: rgba(246, 244, 241, 0.8);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(246, 244, 241, 0.6);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    background-color: transparent;
    border: 1px solid rgba(246, 244, 241, 0.3);
    color: var(--cream);
    padding: 0.75rem;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.form-group select {
    padding-right: 2.5rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    position: relative;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23fbf8f4" d="M1.41 0L6 4.58 10.59 0 12 1.42l-6 6-6-6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px 8px;
    transition: background-image 0.3s ease;
}

.form-group select.open {
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23fbf8f4" d="M10.59 8L6 3.42 1.41 8 0 6.58l6-6 6 6z"/></svg>');
}

.form-group select option {
    background-color: var(--taupe-dark);
    color: var(--cream);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select option:first-child {
    color: rgba(246, 244, 241, 0.4);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--cream);
}

.form-group input,
.form-group select {
    height: 3rem;
}

.form-group textarea {
    resize: none;
}

.form-row {
    display: grid;
    gap: 1.5rem;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--cream);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 0.3em;
    color: var(--taupe);
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(74, 59, 48, 0.5);
    text-align: center;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(74, 59, 48, 0.5);
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--taupe);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-social a {
    font-size: 0.875rem;
    color: rgba(74, 59, 48, 0.5);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--taupe);
}

.footer-anpc {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(74, 59, 48, 0.1);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes heroZoom {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   FLOATING BUTTONS (WHATSAPP & CALL)
   ======================================== */

.call-float {
    position: fixed;
    bottom: 7.5rem;
    right: 2rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    cursor: pointer;
}

.call-float:hover {
    transform: scale(1.1);
}

.call-float img {
    width: 65px;
    height: 65px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
}

.call-float:hover img {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 65px;
    height: 65px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
}

.whatsapp-float:hover img {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}


/* ========================================
   RESPONSIVE - mobile
   ======================================== */

@media (max-width: 767px)  {
    .steps-grid  {
        grid-template-columns: 1fr !important;
    }
    .developer-grid {
        grid-template-columns: 1fr !important;
        gap: 0px !important;
    }
    
    .developer-logo {
        text-align: center;
    }
    
    .developer-logo img {
        max-width: 80%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 0px !important;
    }
    
    /* Inversare ordine în secțiunea locație - text apoi hartă */
    .location-map {
        order: 2;
    }
    
    .location-info {
        order: 1;
        margin-bottom:0;
    }
    
    /* Borderul din stânga mut în partea de jos pe mobile */
    .location-info::before {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        height: 4px;
    }
    
    /* Resetare grid pentru apartamente pe mobile - 1 coloană simplă */
    .apartments-grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
    }
    
    /* Resetare poziționări complexe - toate elementele în flux normal */
    .apartment-image-large,
    .apartment-image-wide,
    .apartment-image-tall,
    .apartment-image-top-right,
    .apartment-image-right,
    .apartment-text-below,
    .apartment-text-wide,
    .apartment-text-row3,
    .apartment-image-row4,
    .apartment-card-button {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    
    /* Înălțime fixă pentru cardurile de text și buton pe mobile */
    .apartment-text-card,
    .apartment-card-button {
        min-height: 200px;
        height: 200px;
    }
    
    .location-map{
        margin: 0 1.5rem;

    }
    .construction-carousel-wrapper {
   padding:0; 
    }
    
    /* Ajustare carousel pentru mobile - fără scroll */
    .construction-carousel {
        height: 700px;
    }
    
    .construction-info-box {
        padding: 1.2rem;
        overflow-y: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .construction-info-box .features-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
        margin-top: 0.75rem;
    }
    
    .construction-info-box .features-list {
        gap: 0.4rem;
    }
    
    .construction-info-box .features-list li {
        padding-left: 1.2rem;
    }
    
    .construction-info-box .features-list span {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .construction-info-box .text-body-light {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
        line-height: 1.5;
    }
    
    .construction-info-box .features-title {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }
    
    .construction-info-box p[style*="margin-bottom: 0.75rem"] {
        margin-bottom: 0.4rem !important;
    }
    
    .construction-info-box > div:first-child {
        margin-bottom: 1rem;
    }
    
    .construction-info-box .section-icon {
        width: 24px;
        height: 24px;
    }
    
    .construction-info-box svg {
        width: 16px;
        height: 16px;
    }
    
    /* Ascunde butoanele carousel pe mobile */
    .carousel-prev,
    .carousel-next {
        display: none;
    }
    
    /* Mută navigația carousel mai sus pe mobile */
    .carousel-indicators {
        margin-top: 0.75rem;
    }
    
    .construction-grid {
    gap: 0rem;
    }

    .call-float {
        width: 55px;
        height: 55px;
        bottom: 6rem;
        right: 1.5rem;
    }
    
    .call-float img {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .whatsapp-float img {
        width: 50px;
        height: 50px;
    }
    
    /* Slideuri 4 și 5 - boxuri una sub alta pe mobile */
    .construction-info-box.box-left,
    .construction-info-box.box-right {
        width: 100%;
        height: calc(50% - 0.5rem);
    }
    
    .construction-info-box.box-left {
        top: 0;
        left: 0 !important;
    }
    
    .construction-info-box.box-right {
        top: calc(50% + 0.5rem);
        left: 0 !important;
    }
    
    /* Centrare contact info pe mobile */
    .contact-logo {
        align-self: center;
        text-align: center;
        margin-top: 10px;
        margin-bottom: 50px;
    }
    
    .contact-logo img {
        max-width: 50%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    .contact-item {
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-top: 0;
    }

}
/* ========================================
   RESPONSIVE - TABLET
   ======================================== */


@media (min-width: 768px) {
    :root {
        --section-padding: 6rem 3rem;
    }

    .container-narrow {
        padding: 0 3rem;
    }

    .header-content {
        height: 5rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-actions {
        display: none;
    }

    .header-cta {
        display: flex;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-title-light {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }
    
    .hero-logo {
        height: 100px;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .text-body,
    .text-body-light {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-item {
        text-align: left;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .carousel-prev {
        left: 0;
    }

    .carousel-next {
        right: 0;
    }

    .location-grid {
        grid-template-columns: 2fr 1fr;
        gap: 0;
    }
    
    /* Resetare ordine pentru tablet/desktop */
    .location-map {
        order: 0;
    }
    
    .location-info {
        order: 0;
    }

    .location-info .btn {
        width: auto;
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .apartments-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 252px;
        gap: 1.5rem;
    }

    .apartment-text-below {
        grid-column: auto;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-box {
        padding: 3rem;
    }

    .benefits-content {
        margin-bottom: 0;
    }

    .benefits-buttons {
        flex-direction: row;
        justify-content: flex-end;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-copyright {
        text-align: left;
    }

    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form .btn {
        width: auto;
    }
    
    .construction-carousel {
        height: 500px;
    }
    
    /* Full-width boxes pe desktop */
    .construction-info-box.full-width {
        width: 100%;
        left: 0 !important;
    }
    
    /* Dual boxes (slide 4 și 5) - 2 coloane */
    .construction-info-box.box-left,
    .construction-info-box.box-right {
        width: calc(50% - 1rem);
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .construction-info-box.box-left {
        left: 0 !important;
    }
    
    .construction-info-box.box-right {
        left: calc(50% + 1rem) !important;
    }
    
    .construction-gallery-month {
        text-align: left;
    }
}

/* ========================================
   RESPONSIVE - DESKTOP
   ======================================== */

@media (min-width: 1024px) {
    :root {
        --section-padding: 8rem 5rem;
    }

    .desktop-nav {
        display: flex;
    }

    .section-title {
        font-size: 3rem;
    }

    .section-title-light {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 3.75rem;
    }
    
    .hero-logo {
        height: 120px;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .about-content {
        order: 1;
        padding: 2rem 3.18rem 2rem 2rem;
    }

    .about-content::after {
        display: none;
    }

    .about-image {
        order: 2;
        margin-left: -40px;
        max-width: calc(100% + 40px);
        display: block;
        border: 30px solid rgb(250 248 244);
        border-left: 20px solid rgb(250 248 244);
    }

    .about-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 19px;
        bottom: 0;
        width: 1px;
        background-color: rgb(250, 248, 244);
        z-index: 10;
        display: block;
    }

    .location-grid {
        grid-template-columns: 1fr 1fr;
    }

    .location-info {
        margin: 0;
        margin-right: 3rem;
    }

    .apartments-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 252px;
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .carousel-prev {
        left: -25px;
    }

    .carousel-next {
        right: -25px;
    }

    .developer-grid {
        grid-template-columns: 2fr 1fr;
        gap: 5rem;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem;
        align-items: start;
    }
    
    .contact-info {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    
    .contact-logo {
        flex: 1;
        display: flex;
        align-items: flex-end;
        overflow: hidden;
        min-height: 0;
    }
    
    .contact-logo img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }
}

/* ========================================
   THANK YOU MODAL
   ======================================== */

.thank-you-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.thank-you-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-modal-content {
    background-color: var(--taupe-dark);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: slideUp 0.3s ease;
}

.thank-you-modal-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--cream);
    margin-bottom: 1rem;
}

.thank-you-modal-content p {
    color: var(--cream);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.thank-you-modal-content button {
    min-width: 200px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .thank-you-modal-content {
        padding: 2rem;
    }

    .thank-you-modal-content h3 {
        font-size: 1.5rem;
    }

    .thank-you-modal-content p {
        font-size: 1rem;
    }
}
