/* Landing Page CSS - Ánh Dương Clinic */

/* ====================================
   CSS VARIABLES & ROOT SETTINGS
   ==================================== */
:root {
    --primary: #0360D9;
    --primary-light: #e3f2fd;
    --primary-dark: #0246a3;
    --primary-foreground: #FFFFFF;
    --secondary: #F8F9FA;
    --secondary-foreground: #000000;
    --accent: #4A90E2;
    --accent-foreground: #FFFFFF;
    --background: #FFFFFF;
    --foreground: #2B3674;
    --muted: #6B7280;
    --card: #FFFFFF;
    --card-foreground: #000000;
    --border: #DEE2E6;
    --input: #E9ECEF;
    --ring: #2C7BE5;
    --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --radius: 0.5rem;
    --radius-lg: 1rem;
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 1rem 2rem rgba(0, 0, 0, 0.12);
}

/* ====================================
   RESET & BASE STYLES
   ==================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: var(--font-family);
    line-height: 1.6;
    font-size: 16px;
    color: var(--foreground);
    background-color: var(--background);
    padding-top: 72px;
}

/* ====================================
   TYPOGRAPHY
   ==================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--foreground);
    font-weight: 700;
    line-height: 1.2;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.display-5 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.display-6 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--muted);
}

/* ====================================
   NAVBAR STYLES
   ==================================== */
.navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    color: var(--foreground) !important;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* ====================================
   BUTTON STYLES
   ==================================== */
.btn {
    padding: 0.675rem 1.5rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    transform: translateY(-2px);
}

.rounded-pill {
    border-radius: 50rem !important;
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ====================================
   APPOINTMENT SECTION
   ==================================== */
.appointment-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.appointment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-box.primary {
    background: var(--primary-light);
    color: var(--primary);
}

/* ====================================
   SERVICES SECTION
   ==================================== */
.service-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

/* ====================================
   REVIEWS SECTION
   ==================================== */
.review-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 5rem 0 2rem;
}

.footer-title {
    color: var(--primary-foreground);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-link:hover {
    color: var(--primary-foreground);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ====================================
   ANIMATIONS
   ==================================== */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.7) translateY(-50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* ====================================
   UTILITIES
   ==================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient {
    background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.z-index-2 {
    z-index: 2;
}

/* ====================================
   LANDING PAGE SPECIFIC STYLES
   ==================================== */

/* Login & Register Button Styles */
.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4) !important;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4) !important;
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%) !important;
}

.google-btn:hover {
    background-color: #f8fafc;
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Form Styles */
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.form-floating > label {
    color: #6b7280;
    font-weight: 500;
}

/* Modal Styles */
.modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

/* ====================================
   RESPONSIVE STYLES
   ==================================== */

/* Tablet and below */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--background);
        padding: 1rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        margin-top: 1rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    body {
        padding-top: 64px;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .display-6 {
        font-size: 1.5rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .section-padding {
        padding: 3rem 0;
    }
} 