/* Base Styles */
:root {
    --primary-color: #d73c2c;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --background-color: #ffffff;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #666666;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --border-radius: 6px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --footer-bg: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.btn:hover {
    background-color: #c62a1a;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #1a2530;
}

.btn-tertiary {
    background-color: var(--dark-gray);
}

.btn-tertiary:hover {
    background-color: #555555;
}

/* Header and Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    max-height: 60px;
    width: auto;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 10px 5px;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 0;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light-gray);
}

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

.feature {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    background-color: var(--primary-color);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Featured Pizzas Section */
.featured-pizzas {
    padding: 80px 0;
    text-align: center;
}

.featured-pizzas h2 {
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--secondary-color);
}

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

.pizza-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.pizza-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.pizza-card h3 {
    color: var(--secondary-color);
    margin: 20px 15px 10px;
}

.pizza-card p {
    padding: 0 15px 20px;
    color: var(--dark-gray);
}

/* Blog Preview Section */
.blog-preview {
    padding: 80px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.blog-preview h2 {
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--secondary-color);
}

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

.blog-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card h3 {
    color: var(--secondary-color);
    margin: 20px 20px 10px;
    text-align: left;
}

.blog-card p {
    padding: 0 20px;
    color: var(--dark-gray);
    text-align: left;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    margin: 0 0 20px 20px;
    color: var(--primary-color);
    font-weight: 600;
    text-align: left;
    position: relative;
}

.read-more:after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover:after {
    margin-left: 10px;
}

.view-all {
    margin-top: 20px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    text-align: center;
    background-color: var(--secondary-color);
    color: white;
}

.testimonials h2 {
    margin-bottom: 50px;
    font-size: 2rem;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    text-align: left;
    position: relative;
}

.quote {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial p {
    margin: 15px 0 20px;
    font-style: italic;
}

.customer h4 {
    color: var(--accent-color);
}

.customer p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: normal;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo img {
    max-width: 150px;
    margin-bottom: 15px;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-social a {
    color: white;
    opacity: 0.8;
}

.footer-links ul li a:hover,
.footer-social a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-contact svg {
    margin-top: 3px;
    flex-shrink: 0;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.legal-links {
    display: flex;
    gap: 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    color: white;
    padding: 15px;
    display: none;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-link {
    font-size: 0.9rem;
    text-decoration: underline;
    color: var(--accent-color);
}

/* Page Banner */
.page-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.page-banner h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

/* Blog Page Styles */
.blog-content {
    padding: 80px 0;
}

.blog-post {
    margin-bottom: 80px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.post-content {
    padding: 30px;
}

.post-content h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.post-meta {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--dark-gray);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.post-overview {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

.post-overview h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.post-overview ul {
    list-style-type: disc;
    padding-left: 20px;
}

.post-overview ul li {
    margin-bottom: 5px;
}

.post-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Glossary Section */
.glossary {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.glossary h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

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

.glossary-item {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.glossary-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 8px;
}

/* About Page Styles */
.about-story {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 2rem;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.mission-values {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.mission-values h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
    font-size: 2rem;
}

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

.value-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.value-icon {
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.team-section {
    padding: 80px 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
    font-size: 2rem;
}

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

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

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

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    margin: 20px 0 5px;
    color: var(--secondary-color);
}

.team-member p {
    padding: 0 15px;
    margin-bottom: 10px;
}

.team-member p:nth-of-type(1) {
    color: var(--primary-color);
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--light-gray);
    border-radius: 50%;
    color: var(--secondary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.about-testimonials {
    background-color: var(--secondary-color);
}

.about-locations {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.about-locations h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
    font-size: 2rem;
}

.locations-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.locations-map img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.locations-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.locations-text .btn {
    margin-top: 10px;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.contact-info > p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-method {
    display: flex;
    margin-bottom: 30px;
    gap: 20px;
}

.contact-icon {
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--dark-gray);
}

.contact-note {
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.7;
}

.social-contact {
    margin-top: 40px;
}

.social-contact h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-form-container {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(215, 60, 44, 0.2);
}

.consent-checkbox {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.consent-checkbox input {
    width: auto;
    margin-top: 5px;
}

.consent-checkbox label {
    margin: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

.contact-form button {
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
}

.map-section {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.map-container img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.faq-section {
    padding: 80px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

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

.faq-item {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    position: relative;
    animation: modalopen 0.4s;
}

@keyframes modalopen {
    from {opacity: 0; transform: translateY(-60px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--dark-gray);
}

.thank-you-container {
    text-align: center;
}

.check-icon {
    color: var(--success-color);
    margin-bottom: 20px;
}

.thank-you-container h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.thank-you-container p {
    margin-bottom: 25px;
}

.close-btn {
    display: inline-block;
    min-width: 120px;
}

/* Responsive Adjustments */
@media (max-width: 1100px) {
    .about-content,
    .locations-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: -1;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 15px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .feature,
    .pizza-card,
    .blog-card {
        transform: none !important;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .post-image img {
        height: 250px;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .contact-form-container {
        padding: 25px;
    }
}
