@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@100..900&display=swap');

:root {
    --primary-color: #D4AF37;
    /* Exact Figma Gold */
    --primary-dark: #B8860B;
    --secondary-color: #1A1A1A;
    /* Dark charcoal */
    --text-color: #FFFFFF;
    --text-dark: #1F1F1F;
    --text-muted: #666666;
    --bg-light: #F5F5F5;
    --bg-dark: #0B130B;
    /* Dark greenish tint for header/footer */
    --card-bg: #FFFFFF;
    --transition-speed: 0.3s;
    --border-radius-lg: 20px;
    /* For cards */
    --border-radius-pill: 30px;
    /* For pills */
    --border-radius-btn: 8px;
    /* New button radius */
    --container-width: 1100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    padding-bottom: 50px; /* clearance for fixed Powered By bar */
}

.container {
    margin: 0 auto;
}

h1,
h2,
h3,
h4,
.playfair {
    font-family: 'Playfair Display', serif;
}

h2 {
    font-size: 60px;
    font-weight: 700;
}

h3 {
    font-size: 40px;
    font-weight: 700;
}

h4 {
    font-size: 28px;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.text-center {
    text-align: center;
}

.m-b-40 {
    margin-bottom: 40px;
}

/* Base Buttons */
.btn {
    padding: 8px 16px;
    border-radius: var(--border-radius-btn);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    height: 40px;
}

.btn-primary {
    background: linear-gradient(180deg, #D1A139 0%, #F6BD43 100%);
    color: white;
}



.navbar .btn {
    width: 104px;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Glassmorphism utility */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--secondary-color);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text h1 {
    font-size: 1.2rem;
    letter-spacing: 2px;
    line-height: 1;
}

.logo-text p {
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--primary-color);
}

.navbar nav ul {
    display: flex;
    gap: 30px;
}

.navbar nav ul li a {
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar nav ul li a:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropbtn {
    background: transparent;
    color: white;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-dropbtn:hover {
    color: var(--primary-color);
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #1A1A1A;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* gap bridge: invisible padding so mouse can travel from button to dropdown */
    margin-top: 0;
    padding-top: 8px;
}

.lang-dropdown-content.open {
    display: block;
    animation: fadeInDown 0.2s ease;
}

.lang-dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 13px;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-dropdown-content a:last-child {
    border-bottom: none;
}

.lang-dropdown-content a:hover {
    background-color: var(--primary-color);
    color: white;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section Styles */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../Content/images/Torre.jpeg');
    background-size: cover;
    background-position: center;
    height: 429px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 80px 10% 40px;
    /* Added bottom padding for space */
    position: relative;
    margin-bottom: 50px;
    min-height: 84vh;
    /* Changed to min-height for flex */
}

.hero-tag {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    display: inline-block;
    background-color: #FFFFFF1A;
}

.hero-tag.gold {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    max-width: 800px;
    font-size: 1.1rem;
    margin: 0 auto;
    font-family: "Work Sans" !important;
}

/* Search Card Styles */
.search-card {
    position: relative;
    margin-top: 40px;
    width: 95%;
    max-width: 800px;
    background: white;
    padding: 20px 35px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 10;
}



.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #444;
}

.input-group input,
.input-group select {
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
}

.btn-search {
    grid-column: 1 / -1;
    width: 100%;
    /* margin-top: 15px;*/
    display: flex;
    /* Ensures button stretches to full grid width */
}

/* Amenities Styles */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.amenity-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #EEEEEE;
    transition: all 0.3s ease;
    text-align: left;
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(180deg, #D1A139 0%, #F6BD43 100%);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;

}

.amenity-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-family: "Work Sans" !important;
}

.amenity-card p {
    font-size: 0.9rem;
    color: #666;
    font-family: "Work Sans" !important;
}

/* Rooms Styles */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.room-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.room-img-container {
    position: relative;
    height: 250px;
}

.room-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.85rem;
    border: 1px solid var(--Input-Focused-Stroke---Outside-2, #F6BD43);
    background: #FFFFFFE0;
}

.room-info {
    padding: 25px;
}

.room-info h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-family: "Work Sans" !important;
}

.room-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.room-details {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #444;
}

.full-width {
    width: 100%;
}

/* Footer Styles */
.main-footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 80px 5% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 20px;
    color: #aaa;
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    font-family: "Work Sans" !important;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #ccc;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #ccc;
    display: flex;
    gap: 10px;
}

.footer-contact i,
.footer-contact svg {
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px !important;
    height: 16px !important;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    font-size: 0.8rem;
    color: #fff;
}

.chip-1 {
    border: 1px solid #F6BD43;
    backdrop-filter: blur(2.299999952316284px);
    background: #F6BD431A;
}

.text-color-medium {
    color: #A6A6A6 !important;
}

.text-color-dark {
    color: #000000 !important;
}

.text-size-12px {
    font-size: 12px !important;
}

.footer-display-flex {
    display: flex;
    justify-content: space-between;
}

/* ===== HAMBURGER BUTTON ===== */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    order: 2;
    margin-left: auto; /* push to right */
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Sections base padding */
.amenities,
.rooms {
    padding: 60px 0;
}

/* ===== RESPONSIVE ===== */

/* Tablet (992px and below) */
@media (max-width: 991px) {
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.8rem; }
    h4 { font-size: 1.2rem; }

    .hero h2 { font-size: 2rem; }
    .hero { padding: 60px 5% 30px; }

    .amenities-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .rooms-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    .amenity-card { padding: 28px; }

    .amenities,
    .rooms { padding: 50px 0; }
}

/* Mobile (767px and below) */
@media (max-width: 767px) {
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.1rem; }

    /* Hero */
    .hero {
        min-height: 55vh;
        height: auto;
        padding: 70px 4% 28px;
    }
    .hero h2 { font-size: 1.6rem; line-height: 1.2; }
    .hero p { font-size: 0.9rem; margin-top: 10px; }
    .hero-tag { font-size: 0.75rem; padding: 4px 14px; }

    /* Search card */
    .search-card {
        padding: 16px;
        margin-top: 20px;
        width: 100%;
        border-radius: 14px;
    }

    /* Amenities */
    .amenities, .rooms { padding: 36px 0; }
    .amenities-grid { grid-template-columns: 1fr; gap: 14px; }
    .amenity-card { padding: 20px; }
    .amenity-card h4 { font-size: 1rem; }
    .section-header { margin-bottom: 28px; }
    .m-b-40 { margin-bottom: 20px !important; }

    /* Rooms */
    .rooms-grid { grid-template-columns: 1fr; gap: 20px; }
    .room-info { padding: 16px; }
    .room-img-container { height: 200px; }

    /* Footer grid */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 24px;
    }
    .main-footer { padding: 36px 5% 24px; }

    /* Footer bottom — stack links vertically */
    .footer-display-flex {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 0;
    }
    .footer-bottom {
        padding-top: 20px;
        font-size: 0.75rem;
    }

    /* Navbar hamburger */
    .nav-toggle { display: flex; }

    .navbar {
        flex-wrap: wrap;
        padding: 14px 4%;
        gap: 0;
    }

    /* Logo stretches so hamburger sits at the far right */
    .navbar .logo { flex: 1; order: 1; }

    .navbar nav {
        display: none;
        width: 100%;
        order: 3;
        background-color: rgba(255,255,255,0.04);
        border-radius: 8px;
        margin-top: 8px;
    }
    .navbar nav.open { display: block; }

    .navbar nav ul {
        flex-direction: column;
        gap: 0;
        padding: 6px 8px;
    }
    .navbar nav ul li a {
        display: block;
        padding: 11px 4px;
        font-size: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .navbar nav ul li:last-child a { border-bottom: none; }

    .nav-actions {
        display: none;
        width: 100%;
        order: 4;
        padding: 10px 0 4px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    .nav-actions.open { display: flex; }
    .navbar .btn { flex: 1; text-align: center; }

    /* Language dropdown full width on mobile */
    .lang-dropdown { flex: 1; }
    .lang-dropbtn { width: 100%; justify-content: center; }
    .lang-dropdown-content { left: 0; right: auto; min-width: 100%; }
}