/* 
 * Salvatore Pizza - Main Stylesheet
 * Theme: Authentic Italian Pizza Restaurant
 */

/* =============== GLOBAL STYLES =============== */
:root {
    /* Color Palette */
    --primary-color: #d84315; /* Deep red-orange */
    --primary-dark: #9f0000; /* Darker shade of primary */
    --primary-light: #ff7543; /* Lighter shade of primary */
    --secondary-color: #1b5e20; /* Deep green */
    --secondary-light: #4c8c4a; /* Lighter shade of secondary */
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-medium: #666666;
    --background-light: #ffffff;
    --background-off-white: #f9f5f1;
    --background-cream: #f5f0e6;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --error-color: #f44336;
    --warning-color: #ff9800;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --font-size-small: 0.875rem;
    --font-size-normal: 1rem;
    --font-size-medium: 1.125rem;
    --font-size-large: 1.5rem;
    --font-size-xlarge: 2rem;
    --font-size-xxlarge: 2.5rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Border Radius */
    --border-radius-sm: 3px;
    --border-radius-md: 5px;
    --border-radius-lg: 8px;
    --border-radius-xl: 12px;
    
    /* Box Shadow */
    --box-shadow-light: 0 2px 5px rgba(0, 0, 0, 0.1);
    --box-shadow-medium: 0 4px 10px rgba(0, 0, 0, 0.15);
    --box-shadow-dark: 0 6px 15px rgba(0, 0, 0, 0.2);
    
    /* Container Width */
    --container-max-width: 1200px;
    --container-padding: 1.5rem;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-normal);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    padding-left: var(--spacing-xl);
}

/* Custom Markers for Lists */
ul.custom-markers {
    list-style: none;
    padding-left: 0;
}

ul.custom-markers li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.5rem;
}

ul.custom-markers li::before {
    content: "🍕";
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 1rem;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

h1 {
    font-size: var(--font-size-xxlarge);
    margin-bottom: var(--spacing-lg);
}

h2 {
    font-size: var(--font-size-xlarge);
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: var(--font-size-large);
    margin-bottom: var(--spacing-md);
}

h4 {
    font-size: var(--font-size-medium);
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: var(--font-size-normal);
    text-align: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--box-shadow-light);
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    color: var(--text-light);
    box-shadow: var(--box-shadow-medium);
    transform: translateY(-2px);
}

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

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

.tertiary-btn {
    background-color: transparent;
    color: var(--text-medium);
    text-decoration: underline;
    padding: 0.5rem 1rem;
}

.tertiary-btn:hover {
    color: var(--primary-color);
}

/* =============== HEADER & NAVIGATION =============== */
header {
    background-color: var(--background-light);
    box-shadow: var(--box-shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    flex: 0 0 150px;
}

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

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =============== HERO SECTION =============== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/logo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero p {
    font-size: var(--font-size-large);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* =============== ADVANTAGES SECTION =============== */
.advantages {
    background-color: var(--background-off-white);
    padding: 5rem 0;
    text-align: center;
}

.advantages h2 {
    margin-bottom: 3rem;
}

.advantage-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.advantage-item {
    flex: 1 1 250px;
    max-width: 300px;
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
}

.advantage-item .icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.advantage-item h3 {
    font-size: var(--font-size-medium);
    margin-bottom: 1rem;
}

.advantage-item p {
    color: var(--text-medium);
    font-size: var(--font-size-normal);
}

.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: var(--font-size-medium);
    color: var(--text-medium);
    margin: 0;
}

.cta {
    margin-top: 2rem;
}

/* =============== ABOUT PIZZA SECTION =============== */
.about-pizza {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.about-pizza h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.about-pizza p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.about-pizza h3 {
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-pizza .cta {
    text-align: center;
    margin-top: 3rem;
}

/* =============== PRODUCTS SECTION =============== */
.products {
    padding: 5rem 0;
    background-color: var(--background-cream);
}

.products h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: var(--font-size-medium);
    margin-bottom: 0.5rem;
}

.product-info .price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: var(--font-size-medium);
    margin-bottom: 1rem;
}

.product-info .description {
    color: var(--text-medium);
    font-size: var(--font-size-small);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.product-actions .btn {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-small);
    flex: 1;
}

/* =============== PRODUCT DETAIL PAGE =============== */
.product-detail {
    padding: 4rem 0;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: var(--text-medium);
    font-size: var(--font-size-small);
}

.breadcrumb a {
    color: var(--text-medium);
}

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

.product-detail-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.product-detail-image {
    flex: 1 1 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
}

.product-detail-image img {
    width: 100%;
    height: auto;
}

.product-detail-info {
    flex: 1 1 400px;
}

.product-detail-info h1 {
    font-size: var(--font-size-xlarge);
    margin-bottom: 1rem;
}

.product-detail-info .price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.product-rating .stars {
    color: #FFD700;
    margin-right: 0.5rem;
}

.product-rating .rating-count {
    color: var(--text-medium);
    font-size: var(--font-size-small);
}

.product-description h3 {
    margin-bottom: 1rem;
}

.product-description p {
    margin-bottom: 1rem;
}

.product-description ul {
    margin-bottom: 1.5rem;
}

.product-size, .product-quantity {
    margin-top: 2rem;
}

.product-size h3, .product-quantity h3 {
    margin-bottom: 1rem;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.size-options label {
    flex: 1 1 120px;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-options label:hover {
    border-color: var(--primary-color);
}

.size-options input[type="radio"] {
    margin-right: 0.5rem;
}

.size-options input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.quantity-selector {
    display: flex;
    align-items: center;
    max-width: 120px;
    margin-bottom: 2rem;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    background-color: var(--background-off-white);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background-color: var(--primary-light);
    color: var(--text-light);
}

.quantity-btn.minus {
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
}

.quantity-btn.plus {
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

.quantity-selector input {
    width: 50px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: var(--font-size-normal);
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.product-actions .btn {
    flex: 1;
}

.product-additional {
    margin-bottom: 4rem;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-size: var(--font-size-normal);
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.tab-content {
    display: none;
    padding: 1rem 0;
}

.tab-content.active {
    display: block;
}

.nutrition-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.nutrition-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.nutrition-table tr:last-child td {
    border-bottom: none;
}

.nutrition-table td:first-child {
    font-weight: 600;
}

.reviews-list {
    margin-top: 2rem;
}

.review {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.review:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.review-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.reviewer {
    font-weight: 600;
    margin-right: 1rem;
}

.review-date {
    color: var(--text-medium);
    font-size: var(--font-size-small);
}

.review .stars {
    color: #FFD700;
}

.review p {
    margin: 0;
}

.review-summary {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.average-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.big-rating {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.related-products {
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.related-products h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.related-product {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--background-off-white);
    border-radius: var(--border-radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-product:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-light);
}

.related-product img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
}

.related-product h3 {
    font-size: var(--font-size-medium);
    margin-bottom: 0.5rem;
}

.related-product .price {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* =============== CART PAGE =============== */
.cart-section {
    padding: 4rem 0;
}

.cart-section h1 {
    text-align: center;
    margin-bottom: 3rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem;
    background-color: var(--background-off-white);
    border-radius: var(--border-radius-lg);
}

.cart-empty svg {
    color: var(--text-medium);
    margin: 0 auto 1.5rem;
}

.cart-empty h2 {
    margin-bottom: 1rem;
}

.cart-empty p {
    margin-bottom: 2rem;
    color: var(--text-medium);
}

.cart-items-container {
    margin-bottom: 3rem;
}

.cart-header {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.cart-row {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    align-items: center;
    padding: 1rem 0;
}

.cart-items .cart-row {
    border-bottom: 1px solid var(--border-color);
}

.cart-col {
    padding: 0 0.5rem;
}

.product-info {
    display: flex;
    align-items: center;
}

.product-info img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-right: 1rem;
}

.product-name {
    font-weight: 600;
}

.product-price, .product-total {
    font-weight: 600;
}

.product-quantity {
    display: flex;
    align-items: center;
}

.product-remove button {
    background: none;
    border: none;
    color: var(--error-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.product-remove button:hover {
    color: var(--primary-dark);
}

.cart-summary {
    background-color: var(--background-off-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-light);
}

.cart-totals {
    margin-bottom: 2rem;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-total-final {
    border-bottom: none;
    font-weight: 700;
    font-size: var(--font-size-large);
    color: var(--primary-color);
}

.cart-actions {
    display: flex;
    justify-content: space-between;
}

/* =============== CHECKOUT PAGE =============== */
.checkout-section {
    padding: 4rem 0;
}

.checkout-section h1 {
    text-align: center;
    margin-bottom: 3rem;
}

.checkout-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.checkout-form {
    flex: 1 1 600px;
}

.order-summary {
    flex: 1 1 350px;
    background-color: var(--background-off-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-light);
    align-self: flex-start;
}

.checkout-form h2,
.order-summary h2 {
    margin-bottom: 2rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1 1 250px;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-size: var(--font-size-normal);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.order-items {
    margin-bottom: 2rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.order-item-info {
    display: flex;
    align-items: center;
}

.order-item-info img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-right: 1rem;
}

.order-item-name {
    font-weight: 600;
}

.order-item-quantity {
    color: var(--text-medium);
    font-size: var(--font-size-small);
}

.order-item-price {
    font-weight: 600;
}

.order-totals {
    margin-top: 2rem;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.order-total-final {
    border-bottom: none;
    font-weight: 700;
    font-size: var(--font-size-large);
    color: var(--primary-color);
    padding-top: 1rem;
}

/* =============== SUCCESS PAGE =============== */
.success-section {
    padding: 5rem 0;
    text-align: center;
}

.success-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--background-off-white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-light);
}

.success-icon {
    color: var(--success-color);
    margin-bottom: 2rem;
}

.success-content h1 {
    margin-bottom: 1.5rem;
}

.success-message {
    font-size: var(--font-size-large);
    margin-bottom: 1rem;
}

.delivery-info {
    color: var(--text-medium);
    margin-bottom: 2.5rem;
}

.next-steps {
    margin: 3rem 0;
    text-align: left;
}

.next-steps h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.customer-support {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.customer-support h3 {
    margin-bottom: 1rem;
}

/* =============== CONTACT PAGE =============== */
.page-header {
    background-color: var(--background-cream);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-medium);
}

.contact-section {
    padding: 5rem 0;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-info {
    flex: 1 1 350px;
    background-color: var(--background-off-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-light);
}

.contact-form {
    flex: 1 1 600px;
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

.info-icon {
    flex: 0 0 50px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.info-content {
    flex: 1;
}

.info-content h3 {
    margin-bottom: 0.5rem;
}

.info-content p {
    margin-bottom: 0.5rem;
}

.social-links {
    margin-top: 2.5rem;
}

.social-links h3 {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--background-light);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow-light);
}

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

.map-section {
    margin-top: 4rem;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
}

/* =============== ABOUT PAGE =============== */
.about-story {
    padding: 5rem 0;
}

.story-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.story-text {
    flex: 1 1 600px;
}

.story-image {
    flex: 1 1 300px;
}

.story-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-medium);
}

.about-values {
    padding: 5rem 0;
    background-color: var(--background-cream);
    text-align: center;
}

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

.value-item {
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
}

.value-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-team {
    padding: 5rem 0;
    text-align: center;
}

.team-intro {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-medium);
}

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

.team-member {
    background-color: var(--background-off-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
}

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

.team-member h3 {
    margin: 1.5rem 0 0.5rem;
}

.team-member p {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

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

.team-member .social-icons {
    justify-content: center;
    margin: 1.5rem 0;
}

.about-process {
    padding: 5rem 0;
    background-color: var(--background-cream);
}

.about-process h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    margin-bottom: 2.5rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50px;
    width: 2px;
    height: calc(100% + 25px);
    background-color: var(--primary-color);
    z-index: 0;
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-right: 1.5rem;
    position: relative;
    z-index: 1;
}

.process-step h3 {
    margin-bottom: 0.5rem;
}

.about-certifications {
    padding: 5rem 0;
}

.about-certifications h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.certification-item {
    padding: 2rem;
    background-color: var(--background-off-white);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--box-shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
}

.certification-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.certification-item h3 {
    font-size: var(--font-size-medium);
    margin-bottom: 1rem;
}

.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/logo.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: var(--font-size-large);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* =============== FOOTER =============== */
footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1 1 200px;
}

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

.footer-links, .footer-contact, .footer-social {
    flex: 1 1 200px;
}

.footer-links h4, .footer-contact h4, .footer-social h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--text-light);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-social .social-icons {
    margin-top: 1rem;
}

.footer-social .social-icons a {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

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

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    flex: 1;
    opacity: 0.8;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--text-light);
    opacity: 0.8;
    font-size: var(--font-size-small);
    transition: opacity 0.3s ease;
}

.legal-links a:hover {
    opacity: 1;
    color: var(--primary-light);
}

/* =============== COOKIE NOTICE =============== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-light);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-content p {
    flex: 1 1 400px;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
}

.cookie-content a {
    font-size: var(--font-size-small);
    margin-top: 0.5rem;
    display: block;
    text-decoration: underline;
}

/* =============== NOTIFICATIONS =============== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--success-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-medium);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* =============== EDITOR'S NOTE =============== */
.editor-note {
    background-color: var(--background-cream);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

.editor-note h3, .editor-note h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.editor-note p {
    margin-bottom: 0.75rem;
    font-style: italic;
}

.editor-note p:last-child {
    margin-bottom: 0;
    text-align: right;
    font-weight: 600;
}

/* =============== RESPONSIVE STYLES =============== */
@media (max-width: 992px) {
    html {
        font-size: 14px;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .product-detail-content {
        gap: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .cart-row {
        grid-template-columns: 2fr 1fr 1fr 1fr 0.5fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .advantages, .products, .about-pizza {
        padding: 3rem 0;
    }
    
    .advantage-items {
        gap: 1.5rem;
    }
    
    .stats {
        gap: 2rem;
    }
    
    .cart-row {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .cart-header .product-price, 
    .cart-header .product-remove,
    .cart-items .product-price,
    .cart-items .product-remove {
        display: none;
    }
    
    .product-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-info img {
        margin-bottom: 0.5rem;
    }
    
    .tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        flex: 1 1 auto;
        text-align: center;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: var(--font-size-normal);
    }
    
    .advantage-items, .product-grid {
        gap: 1.5rem;
    }
    
    .cart-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .cart-header {
        display: none;
    }
    
    .cart-items .product-total::before {
        content: "Total: ";
        font-weight: normal;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .success-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-info, .contact-form {
        padding: 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
    
    nav ul {
        gap: 0.5rem;
    }
    
    nav ul li {
        margin-left: 0.5rem;
    }
    
    nav ul li a {
        padding: 0.25rem;
        font-size: 0.9rem;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}
