/* Modern Vincenzo's Website - Inspired by Italian Market Design */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
}

/* Modern Container */
.modern-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Header Styles */
.modern-header {
    background: linear-gradient(135deg, #8B0000 0%, #b91d1d 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-section img {
    max-height: 100px;
    height: auto;
}

.site-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin: 0;
}

.tagline {
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    opacity: 0.9;
    margin-top: 5px;
}

.header-contact {
    text-align: right;
}

.phone-number {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.phone-number:hover {
    color: #FFD700;
}

.header-links {
    font-size: 14px;
}

.header-links a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
}

.header-links a:hover {
    text-decoration: underline;
}

/* Navigation Menu */
.modern-nav {
    background: #fff;
    border-bottom: 3px solid #8B0000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 0;
}

.modern-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.modern-nav li {
    margin: 0;
}

.modern-nav a {
    display: block;
    padding: 18px 25px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.modern-nav a:hover,
.modern-nav a.active {
    color: #8B0000;
    background: #f8f8f8;
    border-bottom-color: #8B0000;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(139, 0, 0, 0.7), rgba(139, 0, 0, 0.7)), 
                url('../Images/store2.jpg') center/cover;
    color: white;
    padding: 80px 30px;
    text-align: center;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FFD700;
    color: #8B0000;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background: #FFC700;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.3);
}

/* Content Section */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
}

.content-section {
    background: white;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content-section h2 {
    color: #8B0000;
    font-size: 32px;
    margin-bottom: 20px;
    border-bottom: 3px solid #8B0000;
    padding-bottom: 10px;
}

.content-section h3 {
    color: #333;
    font-size: 24px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.content-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 30px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.info-card .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.info-card h3 {
    color: #8B0000;
    font-size: 22px;
    margin-bottom: 15px;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Customer Reviews Section */
.reviews-section {
    background: #f8f8f8;
    padding: 60px 30px;
    margin: 40px 0;
}

.reviews-section h2 {
    text-align: center;
    color: #8B0000;
    font-size: 36px;
    margin-bottom: 15px;
}

.reviews-section .section-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B0000, #b91d1d);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 700;
    color: #333;
    font-size: 18px;
    margin-bottom: 3px;
}

.review-date {
    color: #999;
    font-size: 14px;
}

.review-rating {
    margin-bottom: 15px;
}

.stars {
    color: #FFD700;
    font-size: 18px;
    letter-spacing: 2px;
}

.review-text {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
    font-style: italic;
}

.google-badge {
    text-align: center;
    margin-top: 40px;
}

.google-logo {
    width: 120px;
    height: auto;
    margin-bottom: 15px;
}

.google-rating {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.google-rating .stars {
    font-size: 20px;
}

.review-count {
    color: #666;
    font-size: 14px;
}

.view-all-reviews {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background: white;
    color: #8B0000;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #8B0000;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.view-all-reviews:hover {
    background: #8B0000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Menu Page Styles */
.content-wrapper table {
    width: 100%;
    max-width: 100%;
}

/* Menu sections nest tables 2-3 levels deep; without this the 20px table margin
   above stacks at every level, producing large gaps around section images. */
.content-wrapper table table {
    margin: 0;
}

.content-wrapper table img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Menu section header images - make them full width */
.content-wrapper table[width="100%"] td[align="center"] table img,
.content-wrapper table td[align="center"] > table img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

/* Special styling for sauce images - smaller */
.content-wrapper table td img[src*="Marinara.jpg"],
.content-wrapper table td img[src*="Spaghetti.jpg"] {
    max-width: 300px !important;
    width: 100% !important;
    margin: 0 auto;
    display: block;
}

/* Camera icons - inline with text */
.content-wrapper img[src*="iconPic"] {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-left: 5px !important;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
}

/* Menu section styling */
.content-wrapper table[width="650"],
.content-wrapper table[width="100%"] {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.content-wrapper table td {
    padding: 10px;
}

.content-wrapper table td[align="center"] {
    padding: 15px 10px;
}

/* Menu navigation links */
.content-wrapper td[align="center"] a {
    color: #8B0000;
    text-decoration: none;
    font-weight: 600;
    padding: 5px 10px;
    display: inline-block;
    transition: all 0.3s ease;
}

.content-wrapper td[align="center"] a:hover {
    color: #b91d1d;
    text-decoration: underline;
}

/* Footer */
.modern-footer {
    background: #333;
    color: white;
    padding: 40px 30px 20px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #FFD700;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #999;
    font-size: 14px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th {
    background: #8B0000;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

table tr:hover {
    background: #f8f8f8;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #8B0000;
}

button,
input[type="submit"] {
    background: #8B0000;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover,
input[type="submit"]:hover {
    background: #a01010;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .header-contact {
        text-align: center;
    }
    
    .site-title {
        font-size: 24px;
    }
    
    .modern-nav ul {
        flex-direction: column;
    }
    
    .modern-nav a {
        padding: 15px 20px;
        border-bottom: 1px solid #ddd;
    }
    
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-section p {
        font-size: 16px;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .icon-circle {
        width: 70px !important;
        height: 70px !important;
    }
    
    .icon-circle span {
        font-size: 35px !important;
    }
    
    .content-section {
        padding: 20px;
    }
    
    /* Menu page mobile styles */
    .content-wrapper table td[align="center"] a {
        display: inline-block;
        margin: 5px;
        padding: 8px 12px;
        background-color: rgba(139, 0, 0, 0.1);
        border-radius: 4px;
        white-space: nowrap;
        font-size: 14px;
    }
    
    .content-wrapper table td {
        padding: 8px;
        font-size: 14px;
    }
    
    .content-wrapper table td[colspan] {
        display: block;
        width: 100% !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .site-title {
        font-size: 20px;
    }
    
    .phone-number {
        font-size: 18px;
    }
    
    .hero-section {
        padding: 40px 20px;
    }
    
    .hero-section h1 {
        font-size: 24px;
    }
    
    .icon-circle {
        width: 60px !important;
        height: 60px !important;
    }
    
    .icon-circle span {
        font-size: 30px !important;
    }
    
    /* Menu page extra small screens */
    .content-wrapper table td[align="center"] a {
        display: block;
        margin: 3px 0;
        text-align: center;
        font-size: 13px;
        padding: 10px;
    }
    
    .content-wrapper table td {
        font-size: 13px;
        padding: 5px;
    }
    
    .content-wrapper {
        padding: 20px 15px;
    }
}