:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --light-gray: #f8f8f8;
    --medium-gray: #666666;
    --dark-gray: #333333;
    /*--accent-color: #C5A572;*/
    --accent-color: #E5B80B;
}

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

body {
    font-family: 'Arial', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--primary-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: rgba(255, 240, 220, 0.25);
}

header.scrolled {
    /*background: rgba(255, 255, 255, 0.8);*/
    background-color: rgba(255, 240, 220, 0.25);
}

nav.container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.logo {
    grid-column: 2;
    justify-self: center;
}

.logo-img {
    height: 52px;
    width: auto;
    max-width: 234px;
    object-fit: contain;
}

.nav-container {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-dropdown {
    grid-column: 1;
    justify-self: start;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-black);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

/* Updated Navigation Styles */
.nav-dropdown {
    position: relative;
}

.nav-toggle {
    background: transparent !important;
    border: none;
    padding: 12px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: auto;
    height: auto;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.nav-toggle svg.hamburger {
    width: 32px;
    height: 32px;
    stroke: #000000;
    stroke-width: 1.5;
    transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover svg.hamburger,
.nav-toggle:focus svg.hamburger {
    color: #C5A572 !important;
}


.nav-toggle svg.arrow {
    display: none;
}

/* Ensure the icon remains visible when menu is active */
.nav-toggle.active {
    background: transparent;
}

.nav-toggle.active svg.hamburger {
    stroke: var(--accent-color);
}

.nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--primary-white);
    border: 1px solid var(--primary-black);
    padding: 0;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    border-radius: 4px;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top;
    max-height: 0;
    overflow: hidden;
}

.nav-links.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    padding: 8px 0;
    max-height: 500px;
}

.nav-links li {
    padding: 0;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0s;
}

.nav-links.show li {
    opacity: 1;
    transform: translateY(0);
}

/* Cascading animation delays for each menu item */
.nav-links.show li:nth-child(1) { transition-delay: 0.04s; }
.nav-links.show li:nth-child(2) { transition-delay: 0.08s; }
.nav-links.show li:nth-child(3) { transition-delay: 0.12s; }
.nav-links.show li:nth-child(4) { transition-delay: 0.16s; }
.nav-links.show li:nth-child(5) { transition-delay: 0.20s; }
.nav-links.show li:nth-child(6) { transition-delay: 0.24s; }
.nav-links.show li:nth-child(7) { transition-delay: 0.28s; }
.nav-links.show li:nth-child(8) { transition-delay: 0.32s; }
.nav-links.show li:nth-child(9) { transition-delay: 0.36s; }
.nav-links.show li:nth-child(10) { transition-delay: 0.40s; }

/* Language buttons animation */
.nav-links .lang-buttons {
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links.show .lang-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.03s;
}

.nav-links a {
    padding: 12px 24px;
    display: block;
    text-decoration: none;
    color: var(--primary-black);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--light-gray);
    color: var(--accent-color);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 24px;
}

.inquiry-btn {
    padding: 8px 16px;    /* Reduced padding for smaller size */
    background: var(--primary-black);
    color: var(--primary-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(197, 165, 114, 0.2);
}

.inquiry-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Welcome Section */
.desktop-only {
  display: inline;
}

.mobile-only {
  display: none;
}
.welcome-section {
    width: 100%;
    height: 90vh;
    position: relative;
    overflow: hidden;
    background: var(--primary-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.welcome-image {
    width: 90%;
    max-width: 1600px;
    height: 100%;
    position: relative;
    margin: 0 auto;
}

.welcome-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1);
}

.welcome-button-container {
    position: absolute;
    left: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
    bottom: -25px; /* Default position for mobile */
}

@media (min-width: 768px) {
    .welcome-button-container {
        bottom: -45px; /* Half of the button will overlap with the image */
    }
}

.welcome-overlay h1 {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: normal;
    letter-spacing: -2px;
    margin-bottom: 40px;
    line-height: 0.9;
}

.welcome-overlay .subtitle {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 60px;
    opacity: 0.9;
}

.welcome-button {
    display: inline-block;
    padding: 16px 35px;
    background: var(--primary-black);
    color: var(--primary-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 4px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    opacity: .9;
}

.welcome-button:hover {
    background: var(--accent-color);
    color: var(--primary-white);
    transform: translateY(-2px);
}

/* Section Styling */
.section {
    padding: 120px 0;
}

.section-title {
    font-size: clamp(36px, 5vw, 72px);
    font-weight: normal;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 24px;
    color: var(--medium-gray);
    margin-bottom: 40px;
    font-weight: normal;
}

/* Villa Selector Styles */
.villa-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.villa-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 40px;
    background: transparent;
    border: 1px solid var(--primary-black);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.villa-tab:hover {
    background: rgba(0, 0, 0, 0.05);
}

.villa-tab.active {
    background: var(--primary-black);
    color: var(--primary-white);
}

.villa-name {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.villa-details {
    font-size: 14px;
    color: var(--medium-gray);
}

.villa-tab.active .villa-details {
    color: var(--light-gray);
}

.villa-plans {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.villa-plans.active {
    display: block;
    opacity: 1;
}

.plan-image {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    padding-top: 66.67%; /* 3:2 aspect ratio */
}

.plan-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.plan-image:hover img {
    transform: scale(1.02);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

/* Image Styles */
.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.image-placeholder.large {
    height: 600px;
}

.image-placeholder.small {
    height: 300px;
}

.villa-image {
    width: 100%;
    height: 600px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 4px;
}

.villa-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.villa-image:hover img {
    transform: scale(1.02);
}

/* Text Content */
.text-content {
    max-width: 800px;
}

.text-content p {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.8;
}

.text-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: normal;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin: 80px 0;
    padding: 60px 0;
    border-top: 1px solid var(--primary-black);
    border-bottom: 1px solid var(--primary-black);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--medium-gray);
}

/* Investment Benefits */
.benefits-list {
    list-style: none;
    max-width: 800px;
}

.benefits-list li {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    font-size: 18px;
}

.benefits-list li:before {
    content: "—";
    margin-right: 20px;
    color: var(--accent-color);
    font-weight: bold;
}

/* Footer */
footer {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: normal;
}

.footer-section p,
.footer-section a {
    color: var(--medium-gray);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--primary-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--dark-gray);
    font-size: 12px;
    color: var(--medium-gray);
}

/* Language Buttons */
.lang-buttons {
    display: flex;
    gap: 8px;
    padding: 12px 24px;
    border-bottom: 1px solid var(--light-gray);
}

.lang-btn {
    background: none;
    border: 1px solid var(--primary-black);
    padding: 4px 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-black);
}

.lang-btn:hover {
    background: var(--light-gray);
    color: var(--accent-color);
}

.lang-btn.active {
    background: var(--primary-black);
    color: var(--primary-white);
}

/* Interior Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Navigation controls - Minimalist style */
.swiper-button-next,
.swiper-button-prev,
.swiper-button-next::after,
.swiper-button-prev::after {
    color: var(--primary-white) !important;
    background: none;
    width: 44px;
    height: 44px;
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 24px;
    font-weight: 100;
    width: auto;
    height: auto;
}

/* Fullscreen mode */
.carousel-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
}

.carousel-fullscreen.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-fullscreen .swiper {
    width: 90%;
    height: 90vh;
    display: flex;
    align-items: center;
}

.carousel-fullscreen .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-fullscreen .swiper-slide img {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: auto;
}

.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--primary-white);
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    z-index: 10000;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding: 10px;
    line-height: 1;
}

.fullscreen-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Refined pagination styling */
.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    width: 6px !important;
    height: 6px !important;
    background: var(--primary-white) !important;
    opacity: 0.5 !important;
    margin: 0 6px !important;
    transition: all 0.3s ease !important;
    border-radius: 50% !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: var(--primary-white) !important;
    transform: scale(1.2) !important;
}

/* Fullscreen mode refinements */
.carousel-fullscreen .swiper-button-next,
.carousel-fullscreen .swiper-button-prev {
    opacity: 0.6;
}

.carousel-fullscreen .swiper-button-next {
    right: 30px;
}

.carousel-fullscreen .swiper-button-prev {
    left: 30px;
}

.carousel-fullscreen .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
}

/* Smooth transitions for UI elements */
.swiper-button-next,
.swiper-button-prev,
.swiper-pagination-bullet {
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

/* Mobile adjustments for navigation */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 36px;
        height: 36px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 20px;
    }

    .swiper-pagination-bullet {
        width: 5px;
        height: 5px;
        margin: 0 4px !important;
    }

    .carousel-fullscreen .swiper-button-next {
        right: 20px;
    }

    .carousel-fullscreen .swiper-button-prev {
        left: 20px;
    }

    .nav-toggle {
        width: 50px;
        height: 50px;
        padding: 10px;
    }
    
    .nav-toggle svg.hamburger {
        width: 30px;
        height: 30px;
        color: #000000;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        width: 100vw;
        background: var(--primary-white);
        display: flex;
        opacity: 0;
        visibility: hidden;
        align-items: center;
        justify-content: center;
        z-index: 99;
        transform: translateY(-100%);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 40px 20px;
    }
    
    .nav-links.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        max-height: 100vh;
    }
    
    .nav-links li {
        text-align: center;
        transform: translateY(-20px);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-links.show li {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-links a {
        font-size: 18px;
        padding: 16px 32px;
    }

    .nav-links .lang-buttons {
        transform: translateY(-20px);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.show .lang-buttons {
        transform: translateY(0);
        opacity: 1;
        transition-delay: 0.1s;
    }
}

/* General carousel fixes */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ensure buttons are always visible */
.swiper-button-next,
.swiper-button-prev {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes swiper-preloader-spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Performance optimizations for all screen sizes */
.swiper-slide {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.swiper-slide-active,
.swiper-slide-next,
.swiper-slide-prev {
    opacity: 1;
}

.swiper-lazy-loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.carousel-fullscreen {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.carousel-fullscreen.active {
    opacity: 1;
    visibility: visible;
}

/* Exterior Carousel Styles */
.exterior-carousel {
    width: 100%;
    height: 0;
    padding-bottom: 66.67%; /* 3:2 aspect ratio */
    position: relative;
}

.exterior-carousel .swiper-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.exterior-carousel .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.exterior-carousel .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Villa selector transitions */
.villa-plans {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
    position: absolute;
    width: 100%;
    left: 0;
}

.villa-plans.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transition: opacity 0.3s ease;
}

/* Enhanced mobile styles */
@media (max-width: 768px) {
    .exterior-carousel {
        padding-bottom: 75%; /* 4:3 aspect ratio for mobile */
    }
    
    .villa-selector {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .villa-tab {
        width: 100%;
        padding: 15px;
    }
}

/* Enhanced Investment Options Styles */
.investment-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.investment-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
    z-index: 1;
}

.investment-section .container {
    position: relative;
    z-index: 2;
}

.investment-card-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 60px;
}

.investment-card {
    background: var(--primary-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    flex: 1 1 300px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
}

.investment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.investment-card.highlight {
    border: 2px solid var(--accent-color);
    transform: scale(1.03);
}

.investment-card.highlight:hover {
    transform: translateY(-10px) scale(1.03);
}

.card-header {
    padding: 25px 25px 15px;
    position: relative;
}

.card-header h3 {
    margin: 0;
    font-size: 24px;
    color: var(--primary-black);
    font-weight: normal;
}

.price-tag {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent-color);
    margin-top: 5px;
}

.best-value {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-color);
    color: var(--primary-white);
    font-size: 12px;
    padding: 5px 15px;
    border-bottom-left-radius: 8px;
    font-weight: bold;
    letter-spacing: 1px;
}

@media (max-width: 480px) {
    .best-value {
        font-size: 11px;
        padding: 4px 12px;
    }

    .investment-badge {
        font-size: 11px;
        padding: 5px 10px;
    }

    .card-header {
        padding: 20px 20px 12px;
    }

    .option-image {
        margin-bottom: 15px;
    }

    .price-calculation {
        padding: 16px;
        margin: 24px 0;
    }

    .price-calculation p {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .price-calculation strong {
        font-size: 18px;
        display: block;
        margin-top: 4px;
    }

    .savings {
        margin-top: 12px !important;
        font-size: 15px;
    }
}

.option-image {
    position: relative;
    margin-bottom: 20px;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.option-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
}

.investment-badge {
    background: rgba(0,0,0,0.7);
    color: var(--primary-white);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 1px;
}

.option-details {
    padding: 0 25px 25px;
    flex: 1;
}

.option-description {
    color: var(--medium-gray);
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.investment-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.investment-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--dark-gray);
    font-size: 15px;
}

.investment-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.price-calculation {
    background: var(--light-gray);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.price-calculation p {
    margin: 0;
    font-size: 15px;
    color: var(--dark-gray);
    line-height: 1.6;
}

.price-calculation strong {
    color: var(--accent-color);
    font-size: 17px;
}

.savings {
    color: var(--accent-color) !important;
    margin-top: 8px !important;
    font-weight: 500;
}

.card-footer {
    padding: 0 25px 25px;
    text-align: center;
}

.btn-investment {
    display: inline-block;
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 16px 32px;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 4px;
    width: 100%;
}

.btn-investment:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.btn-investment-highlight {
    background: var(--accent-color);
    color: var(--primary-white);
}

.btn-investment-highlight:hover {
    background: var(--primary-black);
}

@media (max-width: 991px) {
    .investment-card-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .investment-card {
        max-width: 100%;
        width: 100%;
        min-height: 650px;
    }
    
    .investment-card.highlight {
        transform: scale(1);
        order: -1;
        min-height: 700px;
    }
    
    .investment-card.highlight:hover {
        transform: translateY(-10px) scale(1);
    }

    .card-header h3 {
        font-size: 20px;
    }

    .price-tag {
        font-size: 24px;
    }

    .option-description {
        font-size: 14px;
    }

    .investment-features li {
        font-size: 14px;
        margin-bottom: 8px;
        padding-left: 24px;
    }

    .price-calculation {
        padding: 12px;
    }

    .price-calculation p {
        font-size: 14px;
    }

    .price-calculation strong {
        font-size: 15px;
    }

    .btn-investment {
        padding: 12px 24px;
        font-size: 13px;
    }

    .option-details {
        padding: 0 20px 20px;
    }
}

/* Stats vertical layout for project advantage section */
.stats-vertical {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px;
    background: var(--primary-white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.stats-vertical .stat {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.stats-vertical .stat:last-child {
    border-bottom: none;
}

.stats-vertical .stat.highlight-stat {
    background: rgba(192, 160, 128, 0.1);
    border-radius: 8px;
    margin: 10px 0;
    border: none;
}

.stats-vertical .stat-number {
    font-size: 42px;
    color: var(--accent-color);
}

.stats-vertical .stat-label {
    font-size: 16px;
    color: var(--dark-gray);
    text-transform: none;
    letter-spacing: normal;
}

.stats-vertical .highlight-stat .stat-number {
    color: var(--primary-black);
}

/* Table styles */
.comparison-table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    background: var(--primary-white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.comparison-table th {
    background: var(--primary-black);
    color: var(--primary-white);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td {
    font-size: 15px;
    color: var(--primary-black);
}

.comparison-table tr:nth-child(even) {
    background: rgba(197, 165, 114, 0.05);
}

.comparison-table td strong {
    color: var(--accent-color);
    font-weight: 600;
}

.comparison-table .highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.regulation-table {
    font-size: 14px;
}

.regulation-table td:not(:first-child) {
    text-align: center;
}

.regulation-table .non-compliant {
    color: #D32F2F;
}

.regulation-table .compliant {
    color: #388E3C;
}

.tables-wrapper {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 14px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }
    
    .regulation-table {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline;
    }

  .regulation-table th,
  .regulation-table td {
    width: auto;
    word-wrap: break-word;
    font-size: 14px;
    padding: 8px;
  }

  .regulation-table {
    table-layout: fixed;
    width: 100%;
  }

  .regulation-table th:first-child,
  .regulation-table td:first-child {
    width: 30%; /* Adjust as needed for the "Characteristic" column */
  }

  .regulation-table th:not(:first-child),
  .regulation-table td:not(:first-child) {
    width: 23%; /* Divide remaining width among the other 3 columns */
  }
}

/* Destination cards for Istria section */
.destination-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--primary-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.villa-image.destination {
    position: relative;
    height: 0;
    padding-bottom: 75%;
    margin-bottom: 0;
    border-radius: 8px;
    overflow: hidden;
}

.villa-image.destination img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-info {
    padding: 1.5rem 0;
}

.destination-info h3 {
    margin-bottom: 0.75rem;
    font-size: 20px;
    color: var(--primary-black);
}

.destination-info p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--medium-gray);
}

@media (max-width: 768px) {
    .destination-info {
        padding: 1rem 0;
    }
    
    .destination-info h3 {
        font-size: 18px;
    }
    
    .destination-info p {
        font-size: 14px;
    }
}

