/* El Imperio Mofongo y algo más - Styles */

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Header Styles */
header {
    background-color: #ffffff !important;
    border-bottom: 3px solid #dc3545;
}

.logo {
    transition: transform 0.3s ease;
    border-radius: 50%;
    border: 2px solid #dc3545;
    overflow: hidden;
}

.logo:hover {
    transform: scale(1.05);
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

/* Navigation Styles */
.navbar {
    background-color: #dc3545 !important;
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    color: #FFD700 !important;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #FFD700 !important;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

/* Contact Section Links */
#contacto a {
    color: #FFD700 !important;
    transition: all 0.3s ease;
}

#contacto a:hover {
    text-decoration: underline !important;
}

/* Contact Section */
#contacto {
    background-color: #f8f9fa;
}

#contacto .card-header {
    font-weight: bold;
    background-color: #dc3545 !important;
    color: #FFD700 !important;
}

#contacto .card {
    transition: all 0.3s ease;
    border: 1px solid #dc3545;
    background-color: #dc3545;
}

#contacto .card-body {
    color: #FFD700;
}

#contacto .card-body a, #contacto a.email-btn {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    padding: 10px 20px;
    background-color: #dc3545;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin: 0 auto;
}

#contacto .email-text {
    display: none;
}

#contacto .card-body a:hover, #contacto a:hover {
    color: #dc3545;
    text-decoration: underline;
}

#contacto h4 {
    margin-bottom: 1rem;
    color: #dc3545;
}

/* Video Commercial Section */
#comercial {
    background-color: #000000;
    padding: 5rem 0;
    position: relative;
    border-bottom: 5px solid #dc3545;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.video-comercial {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    width: 100%;
    height: auto;
    max-height: 720px;
}

#comercial .ratio {
    max-width: 1080px;
    height: 720px;
    margin: 0 auto;
    aspect-ratio: 1080/720;
    border: none;
    overflow: hidden;
    padding: 0;
    display: block;
}

#comercial .row.justify-content-center.mt-4 {
    margin-top: 2rem !important;
    padding-top: 1rem;
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 0.5rem;
    border: 1px solid #dc3545;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.comercial-text-container {
    padding: 1.5rem !important;
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 0.5rem;
    border: 2px solid #dc3545;
    box-shadow: 0 0.5rem 1rem rgba(220, 53, 69, 0.3);
    text-align: center;
    margin: 0 auto;
    max-width: 90%;
}

#comercial .lead {
    margin-bottom: 1.5rem;
}

/* Responsive adjustments for commercial section */
@media (max-width: 1080px) {
    #comercial .ratio {
        max-width: 100%;
        aspect-ratio: 16/9;
        border-width: 2px;
        height: auto;
        max-height: 600px;
    }
    
    .video-comercial {
        width: 100%;
        height: auto;
        max-height: 600px;
    }
    
    #comercial .row.justify-content-center.mt-4 {
        margin-top: 1.5rem !important;
    }
    
    .comercial-text-container {
        max-width: 95%;
    }
    
    #comercial {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    #comercial .ratio {
        max-width: 100%;
        aspect-ratio: 16/9;
        border-width: 2px;
        height: auto;
        max-height: 400px;
    }
    
    .video-comercial {
        width: 100%;
        height: auto;
        max-height: 400px;
    }
    
    .comercial-text-container {
        padding: 1rem !important;
    }
    
    #comercial {
        padding: 3rem 0;
    }
    
    #comercial h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .btn-lg {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    #comercial .ratio {
        max-width: 100%;
        aspect-ratio: 16/9;
        border-width: 1px;
        height: auto;
        max-height: 250px;
    }
    
    .video-comercial {
        width: 100%;
        height: auto;
        max-height: 250px;
    }
    
    .comercial-text-container {
        padding: 0.8rem !important;
        max-width: 100%;
    }
    
    #comercial .lead {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    #comercial {
        padding: 2rem 0;
    }
    
    #comercial h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-lg {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 400px) {
    #comercial .ratio {
        max-width: 100%;
        aspect-ratio: 16/9;
        border-width: 1px;
        height: auto;
        max-height: 200px;
    }
    
    .video-comercial {
        width: 100%;
        height: auto;
        max-height: 200px;
    }
    
    .comercial-text-container {
        padding: 0.6rem !important;
    }
    
    #comercial .lead {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    #comercial h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

/* Separator between video and order form */
.py-4.bg-light {
    height: 30px;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

/* Location Section */
.location-section {
    background-color: #dc3545;
    padding: 2rem 0;
    color: #FFD700;
}

/* Sucursal Tabs */
#ubicacionTabs .nav-link {
    background-color: #dc3545;
    color: #FFD700;
    border: none;
    margin-right: 5px;
}

#ubicacionTabs .nav-link:hover {
    background-color: #c82333;
    color: #FFD700;
}

#ubicacionTabs .nav-link.active {
    background-color: #dc3545;
    color: #FFD700;
    font-weight: bold;
    border: 2px solid #FFD700;
}

/* Menu Section */
.menu-item {
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

.menu-item:hover {
    transform: translateY(-5px);
}

/* Order Form Styles */
.order-item {
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.order-item:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Social Media Icons */
.social-icons a {
    font-size: 2.5rem;
    margin: 0 15px;
    color: #dc3545;
    transition: all 0.3s ease;
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: #fff;
    text-align: center;
}

.social-icons a:hover {
    color: #FFD700;
    transform: scale(1.2);
    background-color: #dc3545;
}

@media (max-width: 576px) {
    .social-icons a {
        width: 35px;
        height: 35px;
        line-height: 35px;
        margin: 0 0.3rem;
    }
}

@media (max-width: 400px) {
    .social-icons a {
        width: 30px;
        height: 30px;
        line-height: 30px;
        margin: 0 0.2rem;
        font-size: 0.9rem;
    }
}

/* Footer Styles */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 2rem 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .contact-info {
        text-align: center;
        margin-top: 1rem;
    }
    
    .social-icons {
        margin-top: 1rem;
        text-align: center;
    }
    
    h1.display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .contact-info {
        text-align: center;
        margin-top: 1rem;
    }
    
    .social-icons {
        margin-top: 1rem;
        text-align: center;
    }
    
    h1.display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    #comercial {
        padding: 3rem 0;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    header .row {
        flex-direction: column;
    }
    
    .contact-info p {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    h1.display-4 {
        font-size: 1.8rem;
    }
    
    .lead {
        font-size: 0.95rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    #comercial {
        padding: 2rem 0;
    }
    
    .btn-lg {
        padding: 0.4rem 0.8rem;
        font-size: 0.95rem;
    }
    
    #orderForm .card-body {
        padding: 1rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-link {
        padding: 0.4rem 0.8rem !important;
        margin: 0.1rem 0;
        font-size: 0.9rem;
    }
    
    .logo {
        max-height: 120px !important;
        max-width: 120px !important;
        margin: 0 auto 0.5rem auto;
    }
}

@media (max-width: 400px) {
    .contact-info p {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    
    h1.display-4 {
        font-size: 1.6rem;
    }
    
    .lead {
        font-size: 0.9rem;
    }
    
    .nav-link {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.85rem;
    }
    
    .logo {
        max-height: 100px !important;
        max-width: 100px !important;
    }
}

/* Animation for buttons */
.btn, .btn-danger, .btn-primary, .btn-success, .btn-warning, .btn-info, .btn-secondary,
.order-now-btn, .view-menu-btn, .view-commercial-btn, .make-order-btn, .add-item-btn {
    transition: all 0.3s ease;
    background-color: #dc3545 !important;
    color: #FFD700 !important;
    border-color: #dc3545;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover, .btn-danger:hover, .btn-primary:hover, .btn-success:hover, .btn-warning:hover, .btn-info:hover, .btn-secondary:hover,
.order-now-btn:hover, .view-menu-btn:hover, .view-commercial-btn:hover, .make-order-btn:hover, .add-item-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
    background-color: #c82333 !important;
    border-color: #c82333;
    color: #FFD700 !important;
}

/* Custom styles for the order form */
#orderForm .card {
    border: none;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

#orderForm .card-body {
    padding: 2rem;
}

/* Highlight for required fields */
.form-control:required {
    border-left: 3px solid #dc3545;
}

/* Responsive order form */
@media (max-width: 768px) {
    .location-btn {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
        margin-bottom: 0.5rem;
        background-color: #dc3545;
        color: #FFD700;
    }
    
    #orderForm h4 {
        font-size: 1.3rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    
    #orderForm .card-body {
        padding: 1.5rem;
    }
    
    .order-item {
        padding: 1rem !important;
    }
    
    #addItemBtn {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .order-item {
        padding: 0.8rem !important;
    }
    
    .location-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    #orderForm h4 {
        font-size: 1.2rem;
        margin-top: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    #addItemBtn {
        width: 100%;
        margin-bottom: 1rem;
        font-size: 0.9rem;
    }
    
    .form-control, .form-select {
        font-size: 0.9rem;
        padding: 0.375rem 0.5rem;
    }
    
    #orderForm .card-body {
        padding: 1rem;
    }
    
    .form-label {
        margin-bottom: 0.3rem;
    }
}

@media (max-width: 400px) {
    .order-item {
        padding: 0.6rem !important;
    }
    
    #orderForm h4 {
        font-size: 1.1rem;
        margin-top: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .form-control, .form-select {
        font-size: 0.85rem;
        padding: 0.3rem 0.4rem;
    }
    
    .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }
    
    .location-btn {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
    }
}