:root {
    --primary: #C67B5C;
    /* Terracotta */
    --primary-light: #DAA086;
    --secondary: #FDFCF8;
    /* Warmer Off-White */
    --sand: #F5F1E9;
    --accent: #2D2926;
    /* Charcoal */
    --glass: rgba(255, 255, 255, 0.4);
    --glass-dark: rgba(255, 255, 255, 0.2);
    --text: #5A5550;
    /* Slightly softer text */
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    --radius: 24px;
    /* More rounded */
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--secondary);
    line-height: 1.7;
    overflow-x: hidden;
    perspective: 1500px;
    /* Enhanced but further away perspective */
}

h1,
h2,
h3,
.logo {
    font-family: 'Playfair Display', serif;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
}

.alt-bg {
    background-color: var(--sand);
}

/* Glassmorphism Navigation */
.glass-nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 60px;
    padding: 12px 32px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.nav-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.02);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Language Selector */
.lang-selector {
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 1001;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.lang-btn:hover {
    transform: translateZ(10px) scale(1.05);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    min-width: 120px;
    transform: translateZ(20px);
}

.lang-selector:hover .lang-dropdown {
    display: flex;
}

.lang-dropdown a {
    text-decoration: none;
    color: var(--text);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.lang-dropdown a:hover {
    background: var(--primary);
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://sevillasuitetorretriana.com/wp-content/uploads/2023/04/cropped-Salon-2000x1200-1.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(253, 252, 248, 0.15) 0%, rgba(253, 252, 248, 0.85) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 24px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    transform: translateZ(30px);
    /* Subtler 3D title pop */
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 300;
    margin-bottom: 48px;
    color: #6A6560;
    transform: translateZ(20px);
}

/* Buttons */
.cta-btn {
    display: inline-block;
    padding: 20px 50px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    /* Fully rounded */
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    border: none;
    box-shadow: 0 15px 35px rgba(198, 123, 92, 0.25);
    transform-style: preserve-3d;
}

.cta-btn:hover {
    transform: translateY(-8px) translateZ(15px);
    box-shadow: 0 20px 45px rgba(198, 123, 92, 0.35);
}

.best-price-badge {
    font-size: 0.75rem;
    color: #8A8580;
    margin-top: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: translateZ(10px);
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Grid System */
.grid {
    display: grid;
    gap: 48px;
}

/* 3D Gallery */
.gallery {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    perspective: 2000px;
}

.card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    transform-style: preserve-3d;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.card:hover {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.1);
}

.image-placeholder {
    height: 480px;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover img {
    transform: scale(1.08) translateZ(10px);
}

.card-content {
    padding: 40px;
    transform: translateZ(20px);
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

/* Services Grid */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    text-align: center;
}

.service-card {
    padding: 60px 32px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform-style: preserve-3d;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-12px) translateZ(10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    display: block;
    transform: translateZ(15px);
}

.service-card p {
    transform: translateZ(10px);
    font-weight: 500;
    font-size: 0.9rem;
    color: #7A7570;
}

/* Section Headings */
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
    font-weight: 700;
    color: var(--accent);
}

.section-title.left {
    text-align: left;
}

/* Location and Map */
.location-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

/* House Essentials (Minimalist Rules) */
.house-essentials {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.essential-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8A8580;
}

.essential-item .dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
}

.map-container {
    height: 600px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
    background: #000;
    /* Darker base for map */
    transform-style: preserve-3d;
}

.map-placeholder {
    height: 100%;
    width: 100%;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(25px);
    padding: 24px 40px;
    border-radius: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transform: translateZ(30px);
}

/* Footer */
.footer {
    padding: 100px 0;
    background-color: var(--accent);
    color: white;
    text-align: center;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    letter-spacing: 4px;
    margin-bottom: 40px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 48px;
    right: 48px;
    width: 68px;
    height: 68px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 45px rgba(37, 211, 102, 0.35);
    z-index: 1000;
    transition: var(--transition);
    transform-style: preserve-3d;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-10px);
}

.whatsapp-float img {
    width: 38px;
}

/* Responsive */
@media (max-width: 900px) {
    .section-title {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 400px;
    }
}

/* Footer */
.footer {
    padding: 60px 0;
    background-color: var(--accent);
    color: white;
    text-align: center;
}

.footer h2,
.footer p {
    color: white;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
}

.whatsapp-float img {
    width: 35px;
}

/* Responsive */
@media (max-width: 900px) {
    .location-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .lang-selector {
        top: 15px;
        right: 15px;
    }

    .glass-nav {
        width: 95%;
        padding: 10px 20px;
    }
}