@import url('https://fonts.googleapis.com/css2?family=Castoro:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --lux-primary: #1a3a5c;
    --lux-accent: #007bce;
    --lux-sabbia: #dfc5a0;
    --lux-sabbia-dark: #b89c72;
    --lux-bg: #ffffff;
    --lux-bg-light: #f8f9fa;
    --lux-text-main: #333333;
    --lux-text-muted: #666666;
    --lux-font-title: 'Castoro', Georgia, serif;
    --lux-font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --lux-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: var(--lux-font-body);
    color: var(--lux-text-main);
    background-color: var(--lux-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-font {
    font-family: var(--lux-font-title);
    color: var(--lux-primary);
    font-weight: 500;
}

/* Navbar Style */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26, 58, 92, 0.08);
    transition: var(--lux-transition);
    padding: 15px 0;
}

.navbar-custom.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    height: 60px;
    transition: var(--lux-transition);
}

.navbar-custom.scrolled .navbar-brand img {
    height: 50px;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--lux-primary) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 15px !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--lux-accent);
    transform: scaleX(0);
    transition: var(--lux-transition);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
}

/* Language Selector */
.lang-selector {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 15px;
}

.lang-flag {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    object-fit: cover;
    opacity: 0.6;
    transition: var(--lux-transition);
    border: 1px solid rgba(0,0,0,0.1);
}

.lang-flag:hover, .lang-flag.active {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    background-color: var(--lux-primary);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(26,58,92,0.4) 0%, rgba(26,58,92,0.7) 100%);
    z-index: 2;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    animation: zoomOut 20s infinite alternate;
}

@keyframes zoomOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-family: var(--lux-font-body);
}

/* Elegant Button */
.btn-lux {
    font-family: var(--lux-font-body);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    border-radius: 30px;
    transition: var(--lux-transition);
}

.btn-lux-primary {
    background-color: var(--lux-accent);
    color: #ffffff;
    border: 2px solid var(--lux-accent);
}

.btn-lux-primary:hover {
    background-color: var(--lux-primary);
    border-color: var(--lux-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 58, 92, 0.25);
}

.btn-lux-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-lux-outline:hover {
    background-color: #ffffff;
    color: var(--lux-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

.bg-light-custom {
    background-color: var(--lux-bg-light);
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--lux-accent);
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--lux-sabbia-dark);
}

/* Quote Box */
.quote-box {
    background-color: #ffffff;
    border-left: 4px solid var(--lux-sabbia);
    padding: 30px;
    border-radius: 0 16px 16px 0;
    box-shadow: 0 5px 25px rgba(0,0,0,0.03);
    margin-bottom: 30px;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--lux-primary);
    line-height: 1.5;
    margin-bottom: 15px;
}

.quote-author {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--lux-text-muted);
}

/* Room Card */
.room-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(26,58,92,0.05);
    transition: var(--lux-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26,58,92,0.1);
}

.room-card-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.room-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-card-img {
    transform: scale(1.08);
}

.room-card-price-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(26, 58, 92, 0.9);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.room-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.room-card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.room-card-text {
    color: var(--lux-text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.room-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding: 0;
    list-style: none;
}

.room-feature-item {
    font-size: 12px;
    background-color: #f1f3f5;
    color: var(--lux-primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
}

/* LIS Friendly Section */
.lis-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 20px;
}

.lis-badge img {
    height: 24px;
}

/* Bento/Masonry Gallery */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 20px;
}

.bento-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    cursor: pointer;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bento-item:hover img {
    transform: scale(1.06);
}

.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26,58,92,0.4);
    opacity: 0;
    transition: var(--lux-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.bento-item:hover .bento-overlay {
    opacity: 1;
}

.bento-overlay i {
    color: #ffffff;
    font-size: 24px;
    transform: scale(0.8);
    transition: var(--lux-transition);
}

.bento-item:hover .bento-overlay i {
    transform: scale(1);
}

/* Bento grid coordinates */
.bento-item.w-2 { grid-column: span 2; }
.bento-item.h-2 { grid-row: span 2; }

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    .bento-item {
        height: 250px;
    }
}

/* Contact form & Map */
.contact-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(26, 58, 92, 0.05);
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 15px;
}

.contact-info-item i {
    font-size: 18px;
    color: var(--lux-accent);
    margin-top: 3px;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

/* Footer */
.footer-custom {
    background-color: var(--lux-primary);
    color: #ffffff;
    padding: 60px 0 30px 0;
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
}

.footer-text {
    font-size: 13.5px;
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ffffff;
    opacity: 0.8;
    text-decoration: none;
    font-size: 14px;
    transition: var(--lux-transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--lux-sabbia);
    padding-left: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    margin-top: 40px;
    font-size: 12.5px;
    opacity: 0.7;
}

/* Floating WhatsApp Button (Traditional) */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    z-index: 99999;
    font-size: 32px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.floating-whatsapp:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}
