/**
 * SPA Styles for La Scacciata
 * Loading states, transitions, and page-specific styles
 */

/* Custom Properties */
:root {
    --orange: #ffa726;
    --yellow-accent: #fed330;
}

/* Design System Variables */
:root {
    --orange: #ffa726;
}

/* SPA Container */
#app-content {
    min-height: 80vh;
    transition: opacity 0.3s ease;
}

#app-content.loading {
    position: relative;
}

/* Loading Spinner */
.spa-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 100;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--cream);
    border-top: 4px solid var(--red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    color: var(--red);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* Error State */
.spa-error {
    text-align: center;
    padding: 60px 20px;
    color: var(--dark);
}

.spa-error h2 {
    color: var(--red);
    margin-bottom: 20px;
    font-size: 2rem;
}

.spa-error p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Active Navigation State */
.nav-links a.active {
    color: var(--red);
}

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

/* Page Hero Sections */
.gallery-hero {
    background: linear-gradient(135deg, var(--blue) 0%, var(--dark) 100%);
    color: var(--light);
    text-align: center;
    padding: 80px 0 60px;
}

/* About Hero Banner (matches menu and events hero style) */
.about-hero {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.about-hero-image {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.05);
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-hero:hover .about-hero-image img {
    transform: scale(1.15);
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(41, 110, 115, 0.75) 0%,
        rgba(218, 18, 26, 0.65) 50%,
        rgba(235, 179, 55, 0.7) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(1px);
}

.about-hero-overlay .container {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.about-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: 72px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4),
                 -1px -1px 8px rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.about-subtitle {
    font-family: "Playfair Display", serif;
    font-size: 20;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .about-hero-image {
        height: 360px;
    }
    
    .about-hero h1 {
        font-size: 48px;
        letter-spacing: 3px;
    }
    
    .about-subtitle {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .about-hero-image {
        height: 280px;
    }
    
    .about-hero h1 {
        font-size: 36px;
        letter-spacing: 2px;
    }
    
    .about-subtitle {
        font-size: 20px;
    }
}

/* Events Hero Banner (matches menu hero style) */
.events-hero {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.events-hero-image {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.events-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.05);
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.events-hero:hover .events-hero-image img {
    transform: scale(1.15);
}

.events-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(235, 179, 55, 0.75) 0%,
        rgba(41, 110, 115, 0.65) 50%,
        rgba(218, 18, 26, 0.7) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(1px);
}

.events-hero-overlay .container {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.events-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: 72px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4),
                 -1px -1px 8px rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.events-subtitle {
    font-family: "Playfair Display", cursive;
  font-size: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.events-content {
    padding-top: 60px;
    padding-bottom: 60px;
}

@media (max-width: 768px) {
    .events-hero-image {
        height: 360px;
    }
    
    .events-hero h1 {
        font-size: 48px;
        letter-spacing: 3px;
    }
    
    .events-subtitle {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .events-hero-image {
        height: 280px;
    }
    
    .events-hero h1 {
        font-size: 36px;
        letter-spacing: 2px;
    }
    
    .events-subtitle {
        font-size: 20px;
    }
}

.menu-hero h1,
.about-hero h1,
.gallery-hero h1,
.events-hero h1 {
    font-size: 3.5rem;
    font-family: "Playfair Display", serif;
    margin-bottom: 20px;
    color: var(--yellow);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.menu-subtitle,
.about-subtitle,
.gallery-subtitle,
.events-subtitle {
    font-size: 1.3rem;
    color: var(--cream);
    max-width: 600px;
    margin: 0 auto;
}

/* Menu Page Styles */
.menu-content {
    padding: 40px 0;
}

.menu-section {
    margin-bottom: 60px;
}

.menu-category {
    font-size: 2.5rem;
    color: var(--red);
    text-align: center;
    margin-bottom: 10px;
    font-family: "Playfair Display", serif;
    font-weight: 700;
}

.category-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 40px;
    opacity: 0.8;
}

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

.menu-item {
    background: var(--light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

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

.menu-item-content {
    padding: 25px;
}

.menu-item-content h3 {
    font-size: 1.4rem;
    color: var(--red);
    margin-bottom: 10px;
    font-weight: 600;
}

.menu-item-content p {
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.8;
}

.price {
    font-size: 1.3rem;
    color: var(--terracotta);
    font-weight: 700;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-item-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.item-info h3 {
    color: var(--red);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.item-info p {
    color: var(--dark);
    opacity: 0.8;
    margin: 0;
}

.menu-cta {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light) 100%);
    border-radius: 20px;
    margin-top: 60px;
}

.menu-cta h3 {
    color: var(--red);
    font-size: 2rem;
    margin-bottom: 15px;
}

.menu-cta p {
    color: var(--dark);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* About Page Styles */
.story-content {
    padding: 40px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.story-text h2 {
    color: var(--red);
    font-size: 2.5rem;
    margin-bottom: 25px;
    font-family: "Playfair Display", serif;
    font-weight: 700;
}

.story-text h3 {
    color: var(--terracotta);
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.story-text p {
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.values-section {
    margin-bottom: 60px;
}

.values-section h2 {
    text-align: center;
    color: var(--red);
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-family: "Playfair Display", serif;
    font-weight: 700;
}

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

.value-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--light);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.value-item i {
    font-size: 3rem;
    color: var(--red);
    margin-bottom: 20px;
}

.value-item h3 {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.value-item p {
    color: var(--dark);
    opacity: 0.8;
    line-height: 1.6;
}

.team-section,
.contact-info {
    margin-bottom: 40px;
}

.team-section h2,
.contact-info h3 {
    color: var(--red);
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Contact Layout Styles */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info h3 {
    color: var(--red);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: left;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    position: relative;
    margin-bottom: 28px;
    padding: 15px 20px 15px 50px;
    background: linear-gradient(135deg, rgba(247, 241, 227, 0.8), rgba(255, 255, 255, 0.9));
    border-radius: 12px;
    border-left: 4px solid var(--terracotta);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(10px);
}

.contact-list li:hover {
    transform: translateY(-3px) translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-left-color: var(--red);
}

.contact-list li::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.contact-list li:nth-child(1)::before {
    background: linear-gradient(135deg, var(--red), var(--red-accent));
}
.contact-list li:nth-child(3)::before {
    background: linear-gradient(135deg, var(--blue), var(--teal-accent));
}
.contact-list li:nth-child(4)::before {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-accent));
}

.contact-list li:nth-child(4)::before {
    background: linear-gradient(135deg, var(--yellow), #fed330);
}

.contact-list li:hover::before {
    transform: translateY(-50%) scale(1.3);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.6), 0 0 20px rgba(218, 18, 26, 0.3);
}

@media (prefers-reduced-motion: no-preference) {
    @keyframes locationPulse {
        0%, 100% {
            transform: translateY(-50%) scale(1);
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8), 0 0 0 rgba(218, 18, 26, 0.7);
        }
        50% {
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.6), 0 0 15px rgba(218, 18, 26, 0.4);
        }
    }
    .contact-list li:nth-child(1)::before {
        animation: locationPulse 2.5s infinite ease-in-out;
    }
}

.contact-list li strong {
    color: var(--red);
    display: inline-block;
    min-width: 70px;
    margin-right: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-list li a {
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.contact-list li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--terracotta));
    transition: width 0.3s ease;
}

.contact-list li a:hover {
    color: var(--red);
    transform: translateX(3px);
}

.contact-list li a:hover::after {
    width: 100%;
}

.contact-list li .hours-text {
    color: var(--dark);
    font-weight: 500;
    line-height: 1.4;
}

/* Special styling for address link */
.contact-list li:first-child {
    border-left-color: var(--red);
    background: linear-gradient(135deg, rgba(218, 18, 26, 0.05), rgba(255, 255, 255, 0.95));
}

.contact-list li:first-child a {
    font-weight: 600;
    color: var(--red);
}

.map-container {
    background: var(--light);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info h3 {
        text-align: center;
        width: 100%;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .contact-list li {
        padding: 12px 15px 12px 40px;
        margin-bottom: 20px;
    }
    
    .contact-list li::before {
        left: 15px;
        width: 10px;
        height: 10px;
    }
    
    .contact-list li strong {
        display: block;
        margin-bottom: 5px;
        margin-right: 0;
        min-width: auto;
    }
    
    .hours-text {
        font-size: 0.9rem;
    }
}

.cta-section {
    text-align: center;
    padding: 50px 20px;
    border-radius: 20px;
}

.cta-section h3 {
    color: var(--red);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

/* Gallery Page Styles */
.gallery-content {
    padding: 40px 0;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--light);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.gallery-cta {
    text-align: center;
    padding: 40px 20px;
}

.gallery-cta h3 {
    color: var(--red);
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: none;
    border: none;
    color: var(--light);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Events Page Styles */
.events-content {
    padding: 40px 0;
}

.events-intro {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.events-intro h2 {
    color: var(--red);
    font-size: 2.5rem;
    margin-bottom: 25px;
    font-family: "Playfair Display", serif;
    font-weight: 700;
}

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

.service-item {
    text-align: center;
    padding: 40px 25px;
    background: var(--light);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-item i {
    font-size: 3rem;
    color: var(--red);
    margin-bottom: 20px;
}

.service-item h3 {
    color: var(--dark);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.catering-options {
    margin-bottom: 60px;
}

.catering-options h2 {
    color: var(--red);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    font-family: "Playfair Display", serif;
    font-weight: 700;
}

.option-section {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--light);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.option-section h3 {
    color: var(--terracotta);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.option-section p {
    color: var(--dark);
    margin-bottom: 20px;
    opacity: 0.8;
}

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

.option-section li {
    padding: 10px 0;
    border-bottom: 1px solid var(--cream);
    color: var(--dark);
}

.option-section li:last-child {
    border-bottom: none;
}

.booking-section {
    margin-bottom: 40px;
}

.booking-section h2 {
    color: var(--red);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    font-family: "Playfair Display", serif;
    font-weight: 700;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.booking-info h3,
.contact-form h3 {
    color: var(--terracotta);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.booking-info ol {
    padding-left: 20px;
    margin-bottom: 30px;
}

.booking-info li {
    margin-bottom: 10px;
    color: var(--dark);
    line-height: 1.6;
}

.booking-requirements h4 {
    color: var(--red);
    margin-bottom: 15px;
}

.booking-requirements ul {
    list-style: none;
    padding: 0;
}

.booking-requirements li {
    padding: 8px 0;
    color: var(--dark);
    position: relative;
    padding-left: 20px;
}

.booking-requirements li::before {
    content: "•";
    color: var(--terracotta);
    position: absolute;
    left: 0;
}

.catering-form {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--cream);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-group input[type="date"] {
  min-width: 0;
}.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
}

.success-message {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light) 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.success-message i {
    font-size: 3rem;
    color: var(--terracotta);
    margin-bottom: 20px;
}

.success-message h4 {
    color: var(--red);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.error-message {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(218, 18, 26, 0.15);
    margin-bottom: 25px;
    border-left: 4px solid var(--red);
    animation: slideIn 0.3s ease;
}

.error-message i {
    font-size: 2.5rem;
    color: var(--red);
    margin-bottom: 15px;
}

.error-message h4 {
    color: var(--red);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.error-message p {
    color: var(--dark);
    opacity: 0.9;
}

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

.catering-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.catering-form button[type="submit"] i.fa-spinner {
    margin-right: 8px;
}

.contact-direct {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--dark) 100%);
    color: var(--light);
    border-radius: 15px;
}

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

/* Specialty Cards Styles */
.specialties-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 600px) {
  .specialties-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .specialties-grid {
        /* Keep 2 columns (do not switch to 3) — we'll jump to 4 at 1200px */
        grid-template-columns: 1fr 1fr;
  }
}

/* Desktop: show 4 specialties per row on wider screens */
@media (min-width: 1200px) {
    .specialties-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
}

.specialty-card-overlay {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  height: 320px;
  display: flex;
  align-items: stretch;
  margin-bottom: 1rem;
}

.specialty-photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.specialty-img-full {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
  display: block;
}

.specialty-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(0deg, 
    rgba(44,44,44,0.9) 0%, 
    rgba(44,44,44,0.8) 25%, 
    rgba(44,44,44,0.5) 50%, 
    rgba(44,44,44,0.2) 75%, 
    rgba(44,44,44,0.0) 100%);
  color: #fffbe6;
  padding: 2rem 1rem 1rem 1rem;
  text-align: left;
  z-index: 10;
  pointer-events: none;
  transition: all 0.4s ease;
}

.specialty-card-overlay:hover .specialty-overlay-text {
  background: linear-gradient(0deg, 
    rgba(44,44,44,0.95) 0%, 
    rgba(44,44,44,0.9) 30%, 
    rgba(44,44,44,0.7) 55%, 
    rgba(44,44,44,0.4) 75%, 
    rgba(44,44,44,0.15) 90%, 
    rgba(44,44,44,0.0) 100%);
  padding: 3rem 1rem 1rem 1rem;
}

.specialty-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #FCDD09;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.specialty-desc {
  font-size: 1rem;
  color: #fffbe6;
  margin-bottom: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  max-height: 0;
  overflow: hidden;
}

.specialty-card-overlay:hover .specialty-desc {
  opacity: 1;
  transform: translateY(0);
  max-height: 200px;
  margin-top: 0.5rem;
}

.image-fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(44,44,44,0.85);
  color: #fffbe6;
  padding: 1rem 2rem;
  border-radius: 1rem;
  text-align: center;
  z-index: 3;
}

/* Address Link Styles */
.address-link {
  color: #296E73;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 4px;
  padding: 2px 4px;
  display: inline-block;
}

.address-link:hover {
  color: #FCDD09;
  background-color: rgba(41, 110, 115, 0.1);
  transform: translateY(-1px);
}

.address-link:active {
  transform: translateY(0);
}

.map-note {
  font-size: 0.8rem;
  color: #666;
  font-style: italic;
  margin-top: 4px;
}

/* About Page Section Backgrounds */
.about-hero {
  color: var(--dark);
}

.about-story-section {
  padding: 80px 0;
}

.about-values-section {
  background: linear-gradient(135deg, #f8f6f0 0%, #fff 100%);
  padding: 80px 0;
}

.about-contact-section {
  background: linear-gradient(135deg, var(--cream) 0%, #f8f6f0 100%);
  padding: 80px 0;
}

.about-cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--dark) 100%);
  color: var(--light);
  padding: 80px 0;
  text-align: center;
}

.about-cta-section h3 {
  color: var(--yellow);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--cream);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-hero h1,
    .about-hero h1,
    .gallery-hero h1,
    .events-hero h1 {
        font-size: 2.5rem;
    }
    
    .story-grid,
    .booking-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .catering-form {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .gallery-masonry {
        grid-template-columns: 1fr;
    }
}
