/* My Head Chef - Shared Styles */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --accent-color: #FF6B6B;
    --accent-hover: #ff5252;
}

/* ========================================
   Base Styles
   ======================================== */
html {
    scroll-behavior: smooth;
}

body {
    background-color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Smooth transitions for better UX */
* {
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

/* ========================================
   Navigation Styles
   ======================================== */
.navbar {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--accent-color) !important;
    font-size: 1.5rem;
}

.navbar-brand img {
    vertical-align: middle;
    margin-right: 0.5rem;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
}

/* ========================================
   Button Styles
   ======================================== */
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.btn-outline-primary {
    color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* ========================================
   Section Styles
   ======================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 4rem;
}

/* ========================================
   Footer Styles
   ======================================== */
footer {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin-top: 80px;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .social-icons a {
    color: #666;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
    display: none;
}

footer .social-icons a:hover {
    color: var(--accent-color);
}

/* ========================================
   Modal Styles
   ======================================== */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

.modal-content {
    background-color: #000;
    border: none;
    border-radius: 15px;
}

.modal-header {
    background-color: #000;
    border-bottom: 1px solid #333;
}

.modal-title {
    color: white;
}

.btn-close {
    filter: invert(1);
}

.modal-body {
    background-color: #000;
    padding: 2rem;
}

/* ========================================
   Accessibility Improvements
   ======================================== */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ========================================
   Mobile Responsiveness
   ======================================== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.75rem;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
}