:root {
    --primary: #5887ff;
    --primary-dark: #3a68d8;
    --secondary: #a29bfe;
    --accent: #00cec9;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-light: #f9fbfd;
    --white: #ffffff;
    --red: #ff7675;
    --green: #55efc4;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.glass-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--text-dark);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

.hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, rgba(162, 155, 254, 0.1), transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(88, 135, 255, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(88, 135, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(88, 135, 255, 0.4);
}

.btn-primary:disabled {
    background: #ccc;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    width: 100%;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -40px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.importance {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.importance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.importance-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 24px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.importance-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    border-color: rgba(88, 135, 255, 0.1);
    box-shadow: var(--shadow);
}

.img-box {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.importance-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.importance-card p {
    color: var(--text-light);
}

.booking {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--white), var(--bg-light));
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.booking-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.text-red {
    color: var(--red);
    font-weight: 600;
}

.legend {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.available { background: var(--green); }
.reserved { background: var(--red); }
.selected { background: var(--primary); }

.calendar-card {
    background: var(--white);
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-header button {
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.calendar-header button:hover {
    background: #e1e7f0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.day-header {
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.day:hover:not(.empty) {
    background: rgba(88, 135, 255, 0.1);
    color: var(--primary);
}

.day.selected {
    background: var(--primary) !important;
    color: var(--white) !important;
}

.day.has-reserved {
    position: relative;
}

.day.has-reserved::after {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 4px;
    height: 4px;
    background: var(--red);
    border-radius: 50%;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 2rem;
    min-height: 100px;
}

.slot {
    padding: 0.8rem;
    text-align: center;
    border-radius: 10px;
    background: var(--bg-light);
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.slot:hover:not(.reserved) {
    border-color: var(--primary);
    color: var(--primary);
}

.slot.reserved {
    background: #fee;
    color: var(--red);
    cursor: not-allowed;
    opacity: 0.8;
    text-decoration: line-through;
}

.slot.selected {
    background: var(--primary);
    color: var(--white);
}

.placeholder-text {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding-top: 2rem;
}

.full-width {
    width: 100%;
}

footer {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid #eee;
}

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

.socials {
    display: flex;
    gap: 1.5rem;
}

.socials a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.modal h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.modal .small {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.7;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .hero-grid, .booking-wrapper {
        grid-template-columns: 1fr;
    }
    .hero-image {
        order: -1;
    }
    .importance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    h1 { font-size: 2.8rem; }
}

@media (max-width: 600px) {
    .importance-grid {
        grid-template-columns: 1fr;
    }
    nav { display: none; }
}
