/* Global Styles */

:root {
    --primary-color: #e31837;
    --secondary-color: #ff6b6b;
    --dark-color: #333;
    --light-color: #f4f4f4;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}


/* Navbar Styles */

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}


/* Hero Section */

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero background.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-content .btn {
    animation: fadeInUp 1s ease 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* About Section */

.about {
    padding: 5rem 0;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}


/* Menu Section */

.menu-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.menu-card img {
    height: 200px;
    object-fit: cover;
}

.price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}


/* Gallery Section */

.gallery {
    padding-top: 100px;
    background-color: white;
}

.gallery h2 {
    margin-bottom: 2rem;
    padding-bottom: 0;
}

.gallery h2::after {
    display: none;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 30px;
    transition: box-shadow 0.3s ease;
}

.gallery-item img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover img {
    transform: scale(1.1);
}


/* Contact Section */

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 1px solid #ddd;
    padding: 0.8rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}


/* Footer */

.footer {
    background: var(--dark-color);
    color: white;
    flex-shrink: 0;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

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


/* WhatsApp Button */

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    color: white;
}


/* Animations */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive Styles */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .feature-item {
        margin-bottom: 2rem;
    }
    .contact-form {
        margin-bottom: 2rem;
    }
}


/* Button Styles */

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.8rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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


/* Section Headers */

section h2 {
    color: var(--dark-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}


/* Only show the red line for sections on the home page */

.home-page section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}


/* Tooltip Styles */

.tooltip {
    font-size: 0.9rem;
}

.tooltip-inner {
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--primary-color);
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: var(--primary-color);
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: var(--primary-color);
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: var(--primary-color);
}


/* Add cursor pointer to elements with tooltips */

[data-bs-toggle="tooltip"] {
    cursor: pointer;
}


/* Featured Section */

.featured {
    background-color: white;
}

.featured-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.featured-item {
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-5px);
}

.featured-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.featured-item h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}


/* Special Offers Section */

.offer-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-10px);
}

.offer-card i {
    color: var(--primary-color);
}

.offer-card h4 {
    margin: 1rem 0;
    color: var(--dark-color);
}

.offer-card p {
    color: #666;
    margin-bottom: 1.5rem;
}


/* Testimonials Section */

.testimonial-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--primary-color);
}

.testimonial-content p {
    font-style: italic;
    color: #666;
}

.testimonial-author {
    text-align: center;
}

.testimonial-author img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonial-author h5 {
    margin: 0.5rem 0;
    color: var(--dark-color);
}

.testimonial-author p {
    margin: 0;
    font-size: 0.9rem;
}


/* Responsive Styles */

@media (max-width: 768px) {
    .featured-items {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        margin-bottom: 2rem;
    }
    .offer-card {
        margin-bottom: 2rem;
    }
}