/* Main Styles for Pedro's BBQ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #d62300;
    transition: color 0.3s ease;
}

a:hover {
    color: #a51b00;
}

img {
    max-width: 100%;
    height: auto;
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #d62300;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #d62300;
    margin: 15px auto 0;
}

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

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #d62300;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #a51b00;
    color: #fff;
}

/* Header Styles */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    width: 80px;
    height: auto;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #333;
    font-weight: bold;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d62300;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.order-btn {
    padding: 10px 20px;
    background-color: #d62300;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
}

.order-btn:hover {
    background-color: #a51b00;
    color: #fff;
}

.language-btn {
    padding: 8px 15px;
    background-color: #d62300;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-left: 15px;
}

.language-btn:hover {
    background-color: #a51b00;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
}

.mobile-menu {
    display: none;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    color: #333;
    font-weight: bold;
    display: block;
    padding: 8px 0;
}

.mobile-menu .language-btn {
    margin: 15px 0 0;
    display: inline-block;
}

/* Hero Section */
.hero {
    background-image: url('../images/hero/Banner.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 250px; /* Reduced by 50% from 500px */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-btn {
    font-size: 1.1rem;
    padding: 15px 30px;
}

/* Popular Items Section */
.popular-items {
    background-color: #fff;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.item-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.item-image {
    height: 250px;
    overflow: hidden;
}

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

.item-card:hover .item-image img {
    transform: scale(1.05);
}

.item-content {
    padding: 20px;
}

.item-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #d62300;
}

.item-description {
    color: #666;
    margin-bottom: 15px;
}

.item-link {
    display: inline-block;
    color: #d62300;
    font-weight: bold;
    position: relative;
}

.item-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d62300;
    transition: width 0.3s ease;
}

.item-link:hover::after {
    width: 100%;
}

.view-all {
    text-align: center;
}

.view-all-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #d62300;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.view-all-btn:hover {
    background-color: #a51b00;
    color: #fff;
}

/* About Section */
.about {
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.about-image {
    flex: 1;
}

.about-img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
    background-color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-author {
    font-weight: bold;
    color: #333;
}

.testimonial-date {
    font-size: 0.9rem;
    color: #777;
}

.reviews-link {
    margin-top: 40px;
}

.reviews-btn {
    margin-top: 15px;
}

/* Contact Section */
.contact-section {
    background-color: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h2 {
    color: #d62300;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: #d62300;
    margin-right: 15px;
    margin-top: 5px;
}

.info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #333;
}

.info-item p {
    color: #555;
}

.directions-box {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.directions-box h3 {
    color: #d62300;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.directions-box h4 {
    color: #333;
    margin: 15px 0 8px;
    font-size: 1.1rem;
}

.directions-box p {
    color: #555;
    margin-bottom: 15px;
}

.directions-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.directions-buttons .btn {
    flex: 1;
    text-align: center;
}

.contact-map {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-map h2 {
    color: #d62300;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
}

.contact-form-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-section h2 {
    color: #d62300;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.form-submit {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 10px;
}

/* Privacy Policy Section */
.privacy-section {
    background-color: #f9f9f9;
}

.privacy-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.privacy-content h2 {
    color: #d62300;
    font-size: 1.8rem;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content h3 {
    color: #333;
    font-size: 1.4rem;
    margin: 25px 0 15px;
}

.privacy-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

.privacy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.privacy-content li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
}

.footer-section h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: #d62300;
    margin-top: 10px;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-section a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #d62300;
}

.footer-logo {
    width: 120px;
    margin-bottom: 15px;
}

.footer-section .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-section .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: #fff;
    transition: background-color 0.3s ease;
}

.footer-section .social-links a:hover {
    background-color: #d62300;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.devournow-link {
    color: #d62300;
    font-weight: bold;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #d62300;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #d62300;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: #a51b00;
}

/* Gallery Page Styles */
.gallery-section {
    padding: 60px 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #d62300;
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    height: 250px;
}

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

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

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    transition: opacity 0.3s ease;
}

.gallery-item-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-item-desc {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1001;
    overflow: auto;
}

.modal-content {
    display: flex;
    max-width: 1000px;
    height: 80%;
    margin: 5% auto;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.modal-image {
    flex: 1;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    flex: 1;
    padding: 30px;
    position: relative;
}

.modal-title {
    font-size: 1.8rem;
    color: #d62300;
    margin-bottom: 15px;
}

.modal-description {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: #d62300;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.modal-nav-btn {
    padding: 10px 20px;
    background-color: #d62300;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.modal-nav-btn:hover {
    background-color: #a51b00;
}

.no-scroll {
    overflow: hidden;
}

/* Promotional Popup */
.promo-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1002;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #d62300;
}

.popup-content h3 {
    font-size: 1.8rem;
    color: #d62300;
    margin-bottom: 15px;
}

.popup-content p {
    margin-bottom: 25px;
    color: #555;
    font-size: 1.1rem;
}

.popup-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #d62300;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.popup-btn:hover {
    background-color: #a51b00;
    color: #fff;
}

/* New Footer Styles Based on Example */
.footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
}

.footer-section h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #d62300;
    margin-top: 10px;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 15px;
}

.footer-section a {
    color: #ccc;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.footer-section a:hover {
    color: #d62300;
}

.footer-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    border-radius: 50%;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact-item i {
    color: #d62300;
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}

.footer-contact-text {
    color: #ccc;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #d62300;
}

.footer-divider {
    height: 1px;
    background-color: #444;
    margin: 30px 0;
}

.footer-bottom {
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.devournow-link {
    color: #d62300;
    font-weight: bold;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .order-btn, .header .language-btn {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .modal-content {
        flex-direction: column;
        height: auto;
    }
    
    .modal-image {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .directions-buttons {
        flex-direction: column;
    }
}
