/* assets/css/style.css */

:root {
    --color-black: #050505;
    --color-dark-grey: #1a1a1a;
    --color-silver: #c0c0c0;
    --color-silver-light: #e0e0e0;
    --color-white: #ffffff;
    --color-gold-accent: #d4af37;
    --font-main: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
    --gradient-dark: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    --gradient-silver-dark: linear-gradient(145deg, #2c2c2c 0%, #1a1a1a 100%);
    --glass-bg: rgba(26, 26, 26, 0.8);
    --glass-border: 1px solid rgba(192, 192, 192, 0.1);
}

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

body {
    background: radial-gradient(circle at top right, #1a1a1a 0%, #000000 100%);
    color: var(--color-silver-light);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

a {
    color: var(--color-silver);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--color-white);
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: rgba(5, 5, 5, 0.85);
    border-bottom: 1px solid rgba(192, 192, 192, 0.1);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-silver);
    transition: width var(--transition-speed);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    background: linear-gradient(to right, var(--color-white), var(--color-silver));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.btn-luxury {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--color-silver);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    background: linear-gradient(45deg, transparent 50%, var(--color-silver) 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all var(--transition-speed) ease-out;
    cursor: pointer;
}

.btn-luxury:hover {
    background-position: left bottom;
    color: var(--color-black);
}

/* Footer */
footer {
    background: var(--gradient-dark);
    padding: 50px 0 20px;
    border-top: 1px solid rgba(192, 192, 192, 0.1);
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #666;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(192, 192, 192, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block !important;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--color-white);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Utility */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-current {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: 5px;
    min-width: 150px;
    margin-top: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    list-style: none;
    padding: 0;
}

.lang-switcher:hover .lang-dropdown {
    display: block;
}

.lang-dropdown li {
    margin: 0;
}

.lang-dropdown li a {
    padding: 10px 15px;
    display: block;
    border-bottom: 1px solid rgba(192, 192, 192, 0.1);
}

.lang-dropdown li:last-child a {
    border-bottom: none;
}

.lang-dropdown li a:hover {
    background: rgba(192, 192, 192, 0.1);
}

.booking-container {
    background: linear-gradient(145deg, #1e1e1e 0%, #121212 100%);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 992px) {
    .booking-container {
        padding: 15px !important;
    }

    .booking-grid {
        padding: 0;
        width: 100%;
    }

    .left-column,
    .right-column {
        width: 100%;
        padding: 0;
    }

    .input-col {
        margin: 0 !important;
        width: 100% !important;
        min-width: 0;
        /* Allow shrinking */
    }

    .input-row {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 100%;
    }

    .booking-container input,
    .booking-container select,
    .booking-container textarea {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0;
        /* Allow shrinking */
        box-sizing: border-box !important;
        -webkit-appearance: none;
        /* Remove iOS styles */
        appearance: none;
    }

    /* Specific fix for date inputs on iOS */
    input[type="date"],
    input[type="datetime-local"] {
        min-width: 0;
        width: 100% !important;
        display: block;
    }

    .btn-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .btn-group .btn-luxury {
        width: 100%;
        text-align: center;
    }
}