/* 
   OftalmoLaser - Medical Directory Landing Page
   Design System & Custom Styles
*/

:root {
    --primary-blue: #003d7c;
    --secondary-red: #c4002e;
    --accent-yellow: #ffcb78;
    --bg-light: #f4f7f9;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    /* Updated typography to Avant Garde with geometric fallbacks */
    font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
    overflow: hidden;
    /* Prevent body scroll */
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Decorative Elements */
.brand-arc {
    position: fixed;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.arc-left {
    width: 600px;
    height: 600px;
    border: 80px solid var(--primary-blue);
    left: -300px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.15;
}

.arc-right {
    width: 400px;
    height: 400px;
    border: 60px solid var(--secondary-red);
    right: -200px;
    bottom: -100px;
    opacity: 0.1;
}

/* Header & Branding */
.navbar-brand img {
    height: 50px;
    transition: var(--transition-smooth);
}

.landing-header {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-blue);
    padding: 1rem 0;
}

/* PDF Player Container */
.pdf-player-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex-grow: 1;
    /* Take remaining space */
    margin: 1rem 0;
    transition: var(--transition-smooth);
}

.pdf-player-container:hover {
    box-shadow: 0 20px 45px rgba(0, 61, 124, 0.15);
}

.pdf-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Premium UI Elements */
.section-title {
    color: var(--primary-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.badge-custom {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

/* Footer */
footer {
    padding: 1.5rem 0;
    background: var(--primary-blue);
    color: white;
    margin-top: auto;
}

.social-icons a {
    color: white;
    font-size: 1.8rem;
    margin: 0 10px;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

/* Adjust main for fixed heights */
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Container of the flex item should be overflow hidden */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    body {
        height: 100vh;
        overflow: hidden;
    }

    main.container {
        padding-left: 5px !important;
        padding-right: 5px !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        max-width: 100% !important;
    }

    .section-title {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
        margin-top: 0.5rem !important;
    }

    .pdf-player-container {
        margin: 0 !important;
        border-radius: 10px;
        flex-grow: 1;
        height: auto;
    }

    .arc-left,
    .arc-right {
        display: none;
    }

    footer {
        padding: 0.8rem 0 !important;
    }

    .social-icons {
        margin-bottom: 0.5rem !important;
    }

    .social-icons a {
        font-size: 1.4rem;
        margin: 0 8px;
    }
}