/* ============================================
   Al Cavallino Booking Page Styles
   ============================================ */

/* CSS Variables */
:root {
    --primary: #2c5f4e;
    --primary-light: #4a8870;
    --accent: #d4a574;
    --accent-light: #e8c9a3;
    --bg-cream: #faf8f5;
    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-medium: #666666;
    --text-light: #999999;
    --border: #e0ddd8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--bg-cream) 0%, #ffffff 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Background Decorations */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    left: -15%;
    width: 70%;
    height: 80%;
    background: radial-gradient(circle, rgba(44, 95, 78, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Container */
.container {
    max-width: 900px;
    width: 100%;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tagline {
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: 300;
    letter-spacing: 1px;
}

/* Main Booking Card */
.booking-widget-card {
    background: var(--bg-white);
    border-radius: 28px;
    padding: 3.5rem 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.booking-widget-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.card-description {
    color: var(--text-medium);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    margin-top: 1.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Iframe Container */
.iframe-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--bg-cream) 0%, #ffffff 100%);
    border-radius: 20px;
    margin-bottom: 2.5rem;
    box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.iframe-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.booking-iframe {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    background: white;
}

.booking-iframe:hover {
    box-shadow: 0 12px 32px rgba(44, 95, 78, 0.2);
    transform: translateY(-4px);
}

/* Info Section */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transition: all 0.4s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(44, 95, 78, 0.3);
}

.info-card:hover::before {
    top: -20%;
    right: -20%;
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.info-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.info-text {
    font-size: 0.9rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Contact Section */
.contact-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.contact-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
}

.contact-link span:first-child {
    font-size: 1.25rem;
}

.contact-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Footer */
footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    color: var(--text-medium);
    font-size: 0.875rem;
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .logo {
        font-size: 2rem;
    }

    .booking-widget-card {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }

    .card-title {
        font-size: 1.75rem;
    }

    .iframe-container {
        padding: 2rem 1rem;
    }

    .booking-iframe {
        width: 100% !important;
        max-width: 100% !important;
        height: 480px !important;
        min-height: 480px !important;
    }

    .info-section {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-link {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .booking-widget-card {
        padding: 2rem 1rem;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .card-description {
        font-size: 0.9rem;
    }

    .booking-iframe {
        height: 440px !important;
        min-height: 440px !important;
    }

    .info-card {
        padding: 1.5rem 1rem;
    }
}
