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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 65px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 999;
    transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
    padding: 60px 80px 20px;
}

.header.scrolled {
    padding: 2px 80px 2px 60px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info {
    display: none;
    align-items: center;
    gap: 12px;
}

.header-address,
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #8B1538;
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-address:hover,
.header-phone:hover {
    background: #6B0F2A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.3);
}

.header-address svg,
.header-phone svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Show header info on scroll (desktop) */
.header.scrolled .header-info {
    display: flex;
}

.logo {
    width: auto;
    display: block;
    border-radius: 8px;
    height: 120px;
    transition: height 0.4s ease;
}

.logo.scrolled {
    height: 70px;
}

.logo-animating {
    pointer-events: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(to top, #dfdfdf 0%, #ffffff 50%);
    padding: 0 80px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Hero Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero Animation Classes */
.hero-title {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-description {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.hero-cta-button {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

.hero-mobile-image {
    opacity: 0;
    animation: scaleIn 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

.left-column .grid-item:nth-child(1) {
    opacity: 0;
    animation: fadeInUp 0.7s ease-out forwards;
    animation-delay: 0.3s;
}

.left-column .grid-item:nth-child(2) {
    opacity: 0;
    animation: fadeInUp 0.7s ease-out forwards;
    animation-delay: 0.45s;
}

.left-column .grid-item:nth-child(3) {
    opacity: 0;
    animation: fadeInUp 0.7s ease-out forwards;
    animation-delay: 0.6s;
}

.right-column .grid-item:nth-child(1) {
    opacity: 0;
    animation: fadeInUp 0.7s ease-out forwards;
    animation-delay: 0.4s;
}

.right-column .grid-item:nth-child(2) {
    opacity: 0;
    animation: fadeInUp 0.7s ease-out forwards;
    animation-delay: 0.55s;
}

.right-column .grid-item:nth-child(3) {
    opacity: 0;
    animation: fadeInUp 0.7s ease-out forwards;
    animation-delay: 0.7s;
}

.hero-logo {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
    animation-delay: 0s;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .hero-description,
    .hero-cta-button,
    .hero-mobile-image,
    .left-column .grid-item,
    .right-column .grid-item,
    .hero-logo {
        animation: none;
        opacity: 1;
    }
}

/* Mobile Hero Image - hidden on desktop */
.hero-mobile-image {
    display: none;
}

/* Mobile Carousel - hidden on desktop */
.mobile-carousel {
    display: none;
}

.hero-content {
    display: flex;
    gap: 80px;
    align-items: stretch;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.hero-left {
    flex: 0 0 40%;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}


.hero-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: 56px;
    font-weight: 400;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.highlight-italiana {
    display: inline-block;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-cta-button {
    background: #8B1538;
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.hero-cta-button:hover {
    background: #6B0F2A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.3);
}

/* Image Grid */
.hero-right {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    transform: scale(1.05);
}

.image-grid {
    display: flex;
    gap: 20px;
    width: 100%;
    align-items: center;
}

.grid-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.left-column {
    margin-top: 0;
}

.right-column {
    margin-top: 60px;
}

.grid-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.grid-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Quality Section */
.quality-section {
    padding: 120px 80px;
    background: #f5f5f5;
    position: relative;
    z-index: 5;
}

.quality-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 100px;
    align-items: center;
}

.quality-left {
    flex: 0 0 45%;
}

.quality-left img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.quality-right {
    flex: 1;
}

.section-title {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    font-weight: 300;
}

/* Contact Section */
.contact-section {
    padding: 120px 80px 0;
    background: #ffffff;
    position: relative;
    z-index: 5;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    font-weight: 300;
    margin-top: 20px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 80px;
}

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

.icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-card h3 {
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.contact-details {
    font-size: 16px;
    color: #666;
    font-weight: 300;
}

.contact-details p {
    margin: 8px 0;
}

/* Map Container */
.map-container {
    max-width: 1200px;
    margin: 80px auto 80px;
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    display: block;
}

/* Footer */
.footer {
    background: #6B0F2A;
    color: white;
    padding: 50px 80px;
    margin-top: 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    font-size: 14px;
    font-weight: 300;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

/* Fixed Bottom CTA Button */
.fixed-cta-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

#ristorioOnline {
    display: block;
    width: 100%;
}

/* Style any button created by Ristorio script */
#ristorioOnline button,
#ristorioOnline [data-ristorio],
.fixed-cta-button,
#ristorioOnlineButton {
    width: 100% !important;
    background: #8B1538 !important;
    color: white !important;
    border: none !important;
    padding: 20px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 8px 8px 0 0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'Montserrat', sans-serif !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    pointer-events: auto !important;
}

#ristorioOnline button:hover,
#ristorioOnline [data-ristorio]:hover,
.fixed-cta-button:hover,
#ristorioOnlineButton:hover {
    background: #6B0F2A !important;
}

#ristorioOnline button div,
#ristorioOnline [data-ristorio] div,
.fixed-cta-button div,
#ristorioOnlineButton div {
    font-size: 18px !important;
    font-weight: 600 !important;
    pointer-events: none !important;
}

/* Modal Close Button */
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.modal-close-btn:hover {
    transform: scale(1.1);
}

.modal-close-btn svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2.5;
}

.modal-close-btn:hover svg {
    stroke: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .header {
        padding: 50px 60px 15px;
    }
    
    .header.scrolled {
        padding: 2px 60px 2px 40px;
    }
    
    /* Show header info on scroll for medium screens */
    .header.scrolled .header-info {
        display: flex;
    }
    
    .hero {
        padding: 0 60px 40px;
    }
    
    .hero-content {
        gap: 60px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .quality-section {
        padding: 100px 60px;
    }
    
    .quality-container {
        gap: 80px;
    }
    
    .contact-section {
        padding: 100px 60px 0;
    }
    
    .footer {
        padding: 50px 60px;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .header-address span {
        display: inline;
    }
}

@media (max-width: 968px) {
    .header {
        padding: 40px 40px 15px;
    }
    
    .header.scrolled {
        padding: 2px 40px 2px 20px;
    }
    
    .logo {
        height: 100px;
    }
    
    .logo.scrolled {
        height: 60px;
    }
    
    /* Show header info on scroll for tablet */
    .header.scrolled .header-info {
        display: flex;
    }
    
    .hero {
        padding: 0 40px 40px;
        min-height: 100vh;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 60px;
    }
    
    /* Hide mobile elements on tablet */
    .hero-mobile-image,
    .mobile-carousel {
        display: none;
    }
    
    .hero-left {
        flex: 1;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        position: relative;
        min-height: calc(100vh - 200px);
    }
    
    .hero-right {
        transform: scale(1);
    }
    
    .image-grid {
        gap: 15px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .quality-section {
        padding: 80px 40px;
    }
    
    .quality-container {
        flex-direction: column;
        gap: 60px;
    }
    
    /* Hide carousel on tablet, show regular image */
    .quality-section .mobile-carousel {
        display: none;
    }
    
    .quality-left {
        flex: 1;
        display: block;
    }
    
    .section-title {
        font-size: 38px;
    }
    
    .contact-section {
        padding: 80px 40px 0;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer {
        padding: 45px 40px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .header {
        padding: 10px 20px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    
    .header.scrolled {
        padding: 10px 20px;
    }
    
    .logo {
        height: 50px;
    }
    
    .logo.scrolled {
        height: 50px;
    }
    
    /* Show header info always on mobile */
    .header-info {
        display: flex;
        gap: 8px;
    }
    
    .header-address,
    .header-phone {
        font-size: 13px;
        padding: 8px 14px;
        gap: 6px;
    }
    
    .header-address span {
        display: none;
    }
    
    .header-phone span {
        display: inline;
    }
    
    .header-address svg,
    .header-phone svg {
        width: 16px;
        height: 16px;
    }
    
    .hero {
        padding: 0;
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        overflow: hidden;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 0;
        padding-top: 30px;
        height: 100%;
        justify-content: flex-start;
    }
    
    /* Mobile Hero Image */
    .hero-mobile-image {
        display: block;
        width: 100%;
        padding: 40px 24px 24px;
        flex-shrink: 0;
    }
    
    .hero-mobile-image img {
        width: 100%;
        height: auto;
        max-height: 35vh;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .hero-left {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        padding: 0 24px 20px;
        flex: 1;
        min-height: 0;
        text-align: center;
    }
    
    .hero-text-wrapper {
        width: 100%;
    }
    
    /* Hide desktop image grid on mobile */
    .hero-right {
        display: none;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 20px;
        font-weight: 600;
    }
    
    .hero-description {
        font-size: 17px;
        line-height: 1.6;
        margin-bottom: 28px;
        color: #555;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta-button {
        display: none;
    }
    
    .quality-section {
        padding: 60px 0 60px 0;
    }
    
    .quality-container {
        flex-direction: column;
        gap: 40px;
    }
    
    /* Hide desktop image on mobile */
    .quality-left {
        display: none;
    }
    
    /* Show Mobile Carousel in quality section */
    .quality-section .mobile-carousel {
        display: block;
        width: 100%;
        overflow: hidden;
        padding: 0;
        order: -1;
    }
    
    .quality-section .carousel-track {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 24px;
    }
    
    .quality-section .carousel-track::-webkit-scrollbar {
        display: none;
    }
    
    .quality-section .carousel-item {
        flex: 0 0 85%;
        scroll-snap-align: center;
        height: 250px;
    }
    
    .quality-section .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        display: block;
    }
    
    .quality-right {
        padding: 0 24px;
        text-align: center;
    }
    
    .section-title {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 20px;
        font-weight: 500;
    }
    
    .section-description {
        font-size: 17px;
        line-height: 1.7;
        color: #555;
    }
    
    .contact-section {
        padding: 60px 24px 0;
    }
    
    .contact-header {
        margin-bottom: 50px;
        padding: 0 8px;
    }
    
    .contact-header .section-title {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    
    .section-subtitle {
        font-size: 17px;
        line-height: 1.6;
        color: #555;
        margin-top: 16px;
    }
    
    .contact-card {
        padding: 0 8px;
    }
    
    .contact-card h3 {
        font-size: 20px;
        line-height: 1.4;
        font-weight: 600;
        margin-bottom: 16px;
    }
    
    .contact-details {
        font-size: 16px;
        line-height: 1.7;
    }
    
    .contact-details p {
        margin: 6px 0;
    }
    
    .footer {
        padding: 40px 24px;
    }
    
    .footer-content p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-links a {
        font-size: 15px;
        line-height: 1.6;
    }
}

