/*
 * Full Width Layout Fixes
 * Ensures all sections display at full viewport width
 */

/* Override WordPress and theme constraints */
body {
    overflow-x: hidden !important;
}

.wp-site-blocks,
.wp-block-group,
main,
article {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Force full width for all alignfull blocks */
.alignfull,
.wp-block-group.alignfull,
div.alignfull,
section.alignfull {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* Override any parent constraints */
.wp-block-group__inner-container,
.entry-content,
.site-content {
    max-width: none !important;
    padding: 0 !important;
}

/* Restaurant hero full width */
.restaurant-hero.alignfull {
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Section backgrounds full width */
.section-lg.alignfull,
.section.alignfull {
    width: 100vw !important;
    max-width: 100vw !important;
}

/* Ambiance section full width */
.ambiance-section.alignfull {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

/* Testimonial slider full width */
.testimonial-slider.alignfull {
    width: 100vw !important;
    max-width: 100vw !important;
}

/* CTA section full width */
.bg-gradient-primary.alignfull {
    width: 100vw !important;
    max-width: 100vw !important;
}

/* Container inside full-width sections */
.alignfull .container,
.alignfull .container-narrow,
.alignfull .container-wide {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Fix WordPress block editor constraints */
.wp-site-blocks {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.wp-block-group__inner-container {
    max-width: none !important;
}

/* Ensure hero content is centered */
.restaurant-hero-content {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Fix button alignment in hero */
.restaurant-hero .wp-block-buttons {
    justify-content: center;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Improve button styling */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-xl {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

.bg-gold {
    background: linear-gradient(135deg, #d4af37 0%, #c9a02c 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.bg-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Fix text colors in hero */
.restaurant-hero h1,
.restaurant-hero p,
.restaurant-hero .restaurant-hero-title,
.restaurant-hero .restaurant-hero-subtitle,
.restaurant-hero .restaurant-hero-tagline {
    color: #ffffff !important;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .alignfull .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .restaurant-hero-content {
        padding: 0 1.5rem;
    }
    
    .btn-xl {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
}
