* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1a2e;
    --primary-foreground: #ffffff;
    --accent: #c9a962;
    --background: #f8f9fa;
    --foreground: #1a1a2e;
    --muted: #6b7280;
    --border: #e5e7eb;
    --card: #ffffff;
    --red-light: #fef2f2;
    --red-border: #fecaca;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.font-display {
    font-family: 'Playfair Display', serif;
}

/* Navigation */
.nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.2);
}

.logo-icon svg {
    transform: rotate(-45deg);
    color: var(--primary-foreground);
    width: 24px;
    height: 24px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(26, 26, 46, 0.05);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 5rem 1rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.6), rgba(0,0,0,0.8));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255,255,255,0.1);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

.hero h1 span {
    color: var(--accent);
    font-style: italic;
}

.hero p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    max-width: 36rem;
    font-weight: 300;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--primary);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

/* Calendar Section */
.calendar-section {
    padding: 3rem 0.5rem;
    margin-top: -2rem;
    position: relative;
    z-index: 20;
}

.calendar-container {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    overflow: hidden;
}

.calendar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255,255,255,0.5);
}

@media (min-width: 768px) {
    .calendar-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem 2rem;
    }
}

.calendar-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--background);
    padding: 0.25rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.nav-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--foreground);
}

.nav-btn:hover {
    background: white;
    color: var(--accent);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-divider {
    width: 1px;
    height: 16px;
    background: var(--border);
}

.month-select-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.month-select-label {
    font-size: 0.875rem;
    color: var(--muted);
    display: none;
}

@media (min-width: 640px) {
    .month-select-label {
        display: block;
    }
}

.month-select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: white;
    color: var(--foreground);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
}

/* Calendar Grid */
.calendar-grid {
    padding: 0.5rem;
}

@media (min-width: 640px) {
    .calendar-grid {
        padding: 1rem;
    }
}

.weekday-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--background);
    border-radius: 8px 8px 0 0;
}

.weekday-cell {
    padding: 0.75rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.day-cell {
    min-height: 80px;
    padding: 0.5rem;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    background: white;
}

@media (min-width: 768px) {
    .day-cell {
        min-height: 100px;
        padding: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .day-cell {
        min-height: 120px;
        padding: 1rem;
    }
}

.day-cell.available {
    cursor: pointer;
}

.day-cell.available:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(201, 169, 98, 0.15);
    transform: translateY(-2px);
    z-index: 10;
}

.day-cell.booked {
    background: var(--red-light);
    border-color: var(--red-border);
}

.day-cell.outside {
    opacity: 0.3;
    pointer-events: none;
    background: transparent;
    border-color: transparent;
}

.day-cell.past {
    opacity: 0.45;
    pointer-events: none;
    background: var(--background);
    border-color: var(--border);
}

.day-cell.past .day-number {
    color: var(--muted);
}

.day-cell.past .mobile-dot,
.day-cell.past .day-status {
    display: none;
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.month-select option:disabled {
    color: var(--border);
}

.day-cell.today {
    box-shadow: inset 0 0 0 2px rgba(26, 26, 46, 0.1);
    background: rgba(26, 26, 46, 0.02);
}

.day-number {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .day-number {
        font-size: 1rem;
    }
}

.day-cell.booked .day-number {
    color: var(--muted);
}

.day-cell.today .day-number span:first-child {
    color: var(--accent);
    font-weight: 700;
    transform: scale(1.1);
    display: inline-block;
}

.mobile-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

.day-cell.booked .mobile-dot {
    background: rgba(107, 114, 128, 0.3);
}

@media (min-width: 768px) {
    .mobile-dot {
        display: none;
    }
}

.day-status {
    display: none;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
}

@media (min-width: 768px) {
    .day-status {
        display: block;
    }
}

.day-cell.booked .day-status {
    color: var(--muted);
}

.day-cell.available .day-status {
    background: #ecfdf5;
    color: #047857;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.day-cell.available:hover .day-status {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    background: white;
    border-top: 1px solid var(--border);
    margin-top: 3rem;
    padding: 3rem 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer > div > p {
    color: var(--muted);
    max-width: 32rem;
    margin: 0 auto 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 48rem;
    margin: 0 auto 3rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(26, 26, 46, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.contact-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.contact-value {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-value:hover {
    color: var(--primary);
}

.copyright {
    font-size: 0.75rem;
    color: rgba(107, 114, 128, 0.6);
}