/* ===== CSS Variables ===== */
:root {
    --primary: #1a5276;
    --primary-light: #2980b9;
    --accent: #e67e22;
    --accent-hover: #d35400;
    --text: #2c3e50;
    --text-light: #5d6d7e;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-dark: #1a252f;
    --border: #e8ecef;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.3);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 20px 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--primary);
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
}

.navbar.scrolled .nav-links a {
    color: var(--text);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--text);
}

/* ===== Language Selector ===== */
.lang-selector {
    position: relative;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.navbar.scrolled .lang-btn {
    color: var(--text);
    border-color: var(--border);
}

.lang-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    list-style: none;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 1001;
    overflow: hidden;
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: var(--text) !important;
    transition: var(--transition);
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
    background: var(--bg-alt);
    color: var(--accent) !important;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 82, 118, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    max-width: 700px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: white;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    line-height: 1.7;
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--primary);
    margin-bottom: 12px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ===== About Section ===== */
.about {
    background: var(--bg-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.about-card {
    background: white;
    padding: 36px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.about-icon i {
    font-size: 1.3rem;
    color: white;
}

.about-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text);
}

.about-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Properties Section ===== */
.property-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.property-card.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.property-card.reverse .property-gallery {
    order: 2;
}

.property-card.reverse .property-info {
    order: 1;
}

.gallery-main {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.gallery-thumbs img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    flex-shrink: 0;
}

.gallery-thumbs img.active,
.gallery-thumbs img:hover {
    opacity: 1;
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.property-info {
    padding: 40px;
}

.property-info h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--bg-alt);
    color: var(--primary-light);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.property-description {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.property-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.spec {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
}

.spec i {
    color: var(--primary-light);
    width: 18px;
}

.btn-book {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 1.05rem;
}

/* ===== Amenities Section ===== */
.amenities {
    background: var(--bg-alt);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.amenity-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.amenity-item i {
    font-size: 1.2rem;
    color: var(--primary-light);
    width: 24px;
    text-align: center;
}

.amenity-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

/* ===== Location Section ===== */
.location-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.location-details h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    color: var(--primary);
}

.distance-list {
    list-style: none;
}

.distance-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.distance-list li:last-child {
    border-bottom: none;
}

.distance-list li i {
    color: var(--primary-light);
    width: 20px;
    text-align: center;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links h4,
.footer-booking h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.footer-links ul,
.footer-booking ul {
    list-style: none;
}

.footer-links li,
.footer-booking li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-booking a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-booking a:hover {
    color: var(--accent);
}

.footer-booking a i {
    margin-right: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer .logo {
    color: white;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .property-card,
    .property-card.reverse {
        grid-template-columns: 1fr;
    }

    .property-card.reverse .property-gallery,
    .property-card.reverse .property-info {
        order: unset;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: white;
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--text) !important;
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .lang-selector {
        width: 100%;
    }

    .lang-btn {
        color: var(--text) !important;
        border-color: var(--border) !important;
        width: 100%;
        justify-content: center;
    }

    .lang-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 8px;
        box-shadow: none;
        border: 1px solid var(--border);
    }

    .lang-selector:hover .lang-dropdown {
        display: block;
    }

    .section {
        padding: 60px 0;
    }

    .property-info {
        padding: 24px;
    }

    .property-specs {
        grid-template-columns: 1fr;
    }

    .gallery-main {
        height: 250px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }
}
