/* =====================================================================
   GLOBAL PAGE STYLES
   ---------------------------------------------------------------------
   This stylesheet now focuses on layout- and page-specific rules. Shared
   components (buttons, forms, cards, cart, tokens) live in dedicated
   files under static/css/components/* and global.css.
   ===================================================================== */

/* Typography helpers */
.hero-title,
.section-title {
    font-family: var(--font-serif);
    font-weight: 700;
}

/* Navigation */
.navbar {
    background: var(--dark-color);
    box-shadow: 0 1px 0.5px rgba(231, 230, 230, 0.1);
    border-bottom: 3px solid #d4a574;
    padding-top: 0.4rem;
    padding-bottom: 0.3rem;
    z-index: 1050;
    border-radius: 0;
    min-height: unset;
    overflow: visible;
}
.navbar .container {
    align-items: center !important;
}

.navbar.fixed-top {
    z-index: 1050;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding-top: 0.4rem;
    padding-bottom: 0.2rem;
    box-shadow: 0 2px 12px rgba(44,24,16,0.08);
    border-bottom: 3px solid var(--primary-color);
    z-index: 1050;
}
.navbar.scrolled .nav-link {
    color: var(--primary-color) !important;
}

.navbar-brand img {
    height: 68px;
    width: 68px;
    object-fit: contain;
    margin-right: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    border-radius: 50%;
    cursor: pointer;
}

.header-logo {
    height: 68px !important;
    width: 68px !important;
    object-fit: contain;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.navbar-brand img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.35);
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 0.5rem 1.2rem;
    background: none;
    border: none;
    position: relative;
    transition: color 0.2s;
}
.navbar-nav .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #d4a574;
    transition: width 0.3s;
    position: absolute;
    left: 50%;
    bottom: 1px;
    transform: translateX(-50%);
}
.navbar-nav .nav-link:hover::after {
    width: 80%;
}
.navbar-nav .nav-link:hover {
    color: #d4a574 !important;
}

/* Mobile burger menu underline behavior - SHORT underline like under the cart */

@media (max-width: 991.98px) {
    .navbar-collapse .navbar-nav .nav-link {
        position: relative;
    }
    .navbar-collapse .navbar-nav .nav-link::after {
        left: 0;
        transform: none; /* start from left */
        width: 0; /* animate from zero */
        height: 2px;
        bottom: 0;
        background: #d4a574; /* same gold color */
    }
    .navbar-collapse .navbar-nav .nav-link:hover::after,
    .navbar-collapse .navbar-nav .nav-link:focus::after,
    .navbar-collapse .navbar-nav .nav-link.active::after {
        width: 100px; /* requested length */
    }
}

.navbar .btn-primary {
    background: none;
    color: #d4a574;
    border: 2px solid #d4a574;
    border-radius: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.5rem 1.5rem;
    transition: background 0.2s, color 0.2s;
}
.navbar .btn-primary:hover {
    background: #d4a574;
    color: #fff;
}

/* Cart navigation icon */
.cart-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-nav-link i {
    font-size: 1.2rem;
}

.cart-nav-count {
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 20px;
    margin-left: 6px;
}

/* Ensure the cart counter can be controlled via class when needed */
.cart-nav-count.hidden {
    display: none;
}

/* Cart Modal Styles */
.cart-modal-item {
    transition: var(--transition);
}

.cart-modal-item:hover {
    background-color: var(--light-color);
}

.cart-modal-item:last-child {
    border-bottom: none !important;
}

.cart-modal-item .btn-outline-secondary {
    border-color: var(--border-color);
    color: var(--text-dark);
}

.cart-modal-item .btn-outline-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.cart-modal-item .btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}

.hero-title {
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Sections - using Bootstrap classes */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 1.5rem;
}

/* Section spacing consistency */
section .text-center.mb-5 {
    margin-bottom: 3rem !important;
}

/* About section specific spacing */
#about .section-title + .lead {
    margin-top: 2rem !important;
}

/* Ensure consistent spacing after section subtitles */
.section-subtitle + * {
    margin-top: 2rem !important;
}

/* About Section */

/* Removed: use Bootstrap p-3 utility on markup instead of custom padding */

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.about-image img {
    transition: var(--transition);
    max-height: 680px;
    object-fit: cover;
    width: 630px;
    max-width: 100%;
}

/* Homepage about image specific presentation extracted from inline styles */
.about-image .about-photo {
    max-height: 700px;
    width: 580px;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.1) sepia(0.15) saturate(1.1);
}

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

/* Menu Section */
/* Generic hover shadow utility (use with Bootstrap shadow-sm on base) */



.price {
    font-weight: 600;
    color: var(--primary-color);
}

.menu-item-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: nowrap;
}
/* Removed legacy menu list/button sizing rules in favor of Bootstrap utilities on markup */

.reservation-info .info-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.reservation-info i {
    font-size: 1.2rem;
    color: var(--secondary-color) !important;
}

#reservation {
    background: var(--primary-color) !important;
    color: #2c1810 !important;
}

.feature-item:last-child {
    margin-right: 4rem;
}

/* Contact Section */
/* Hover background utility for light surfaces (used on contact cards) */
.hover-bg-light:hover { background: var(--light-color) !important; }

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}


.map-container {
    border-radius: 15px;
    overflow: hidden;
}

/* Footer */
footer {
    background: var(--dark-color) !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    max-width: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Demo template helper styles extracted from inline <style> in templates/menu/index.html.twig */
.example-wrapper {
    margin: 1em auto;
    max-width: 800px;
    width: 95%;
    font: 18px/1.5 sans-serif;
}

.example-wrapper code {
    background: #F5F5F5;
    padding: 2px 6px;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Responsive footer adjustments */
@media (max-width: 768px) {
    footer .container {
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    footer .container {
        padding: 0 15px;
    }
}

/* Footer Legal Links Hover Effect */
footer a.text-white {
    transition: all 0.3s ease;
    text-decoration: none;
}

footer a.text-white:hover {
    color: var(--primary-color) !important;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Footer Logo Styles */
.footer-logo-row img {
    height: 110px !important;
    width: 110px !important;
    object-fit: contain;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
}

.footer-logo-row img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.35);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */

/* Carousel Banner Styles */
.carousel-banner {
  position: relative;
  height: 100vh !important;
  min-height: 100vh !important;
  width: 100vw;
  min-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.35), rgba(212, 165, 116, 0.25)), 
              linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45));
  z-index: 1;
}
.carousel-banner .container,
.carousel-banner .row,
.carousel-banner .col-lg-8 {
  position: relative;
  z-index: 2;
}
.carousel-banner .hero-title,
.carousel-banner .hero-subtitle,
.carousel-banner .hero-buttons {
  color: #fff;
}

/* Carousel banner responsive heights */
@media (max-width: 768px) {
  .carousel-banner {
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
  }
}

@media (max-width: 768px) {
  
  /* Larger buttons and text for screens less than 768px */
  .hero-buttons .btn {
    padding: 10px 22px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
  }
  
  .d-flex.flex-column.flex-sm-row.justify-content-center.align-items-center.gap-3 .btn {
    padding: 12px 24px !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
  }
  
  /* Reduce gap between buttons */
  .hero-buttons {
    gap: 0.75rem !important;
  }
  
  .d-flex.flex-column.flex-sm-row.justify-content-center.align-items-center.gap-3 {
    gap: 0.75rem !important;
  }

  .reservation-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
  }

  .reservation-stats .col-md-4 {
    flex: 0 0 45%;
    max-width: 45%;
    margin-bottom: 0.5rem;
  }

  .reservation-stats .stat-item {
    width: 100%;
    padding: 0.75rem !important;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .carousel-banner {
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
  }
  .d-flex.flex-column.flex-sm-row.justify-content-center.align-items-center.gap-3 .btn {
    font-size: 1.5rem !important;
  }
  .reservation-stats {
    gap: 0.75rem 1rem;
    justify-content: center;
  }
  .reservation-stats .col-md-4 {
    flex: 0 0 auto;
    max-width: none;
    display: flex;
    justify-content: center;
  }
  .reservation-stats .stat-item {
    width: auto;
    min-width: 200px;
    max-width: 260px;
    margin: 0 auto;
  }
}

/* Tablet and mobile styles - replaced with Bootstrap classes */

/* Button styles for screens less than 991px */
@media (max-width: 990px) {
  .hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
  }
  
  .hero-buttons .btn {
    padding: 12px 30px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3) !important;
  }
  
  .hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    border: none !important;
    color: white !important;
  }
  
  .hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-lg) !important;
    color: white !important;
  }
  
  .hero-buttons .btn-outline-light {
    background: transparent !important;
    border: 2px solid white !important;
    color: white !important;
  }
  
  .hero-buttons .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: white !important;
    transform: translateY(-2px) !important;
    color: white !important;
  }
  
  /* Review buttons styles for mobile */
  .d-flex.flex-column.flex-sm-row.justify-content-center.align-items-center.gap-3 {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
  }
  
  .d-flex.flex-column.flex-sm-row.justify-content-center.align-items-center.gap-3 .btn {
    padding: 12px 24px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3) !important;
  }
  
  .d-flex.flex-column.flex-sm-row.justify-content-center.align-items-center.gap-3 .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    border: none !important;
    color: white !important;
  }
  
  .d-flex.flex-column.flex-sm-row.justify-content-center.align-items-center.gap-3 .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-lg) !important;
    color: white !important;
  }
  
  /* Slightly smaller hero text on mobile */
  .hero-title {
    font-size: 3.5rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.3rem !important;
  }
}

@media (max-width: 768px) {
  .d-flex.flex-column.flex-sm-row.justify-content-center.align-items-center.gap-3 .btn {
    font-size: 1.3rem !important;
  }
}

@media (max-width: 576px) {
    .menu-card-content {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
    
    /* For very small screens, buttons should be in column */
    .hero-buttons {
        flex-direction: column !important;
    }
    
    .d-flex.flex-column.flex-sm-row.justify-content-center.align-items-center.gap-3 {
        flex-direction: column !important;
    }
    
    /* Larger buttons for very small screens for better touch interaction */
    .hero-buttons .btn {
        padding: 12px 24px !important;
        font-size: 1.2rem !important;
        font-weight: 600 !important;
    }
    
    .d-flex.flex-column.flex-sm-row.justify-content-center.align-items-center.gap-3 .btn {
        padding: 12px 24px !important;
        font-size: 1.2rem !important;
        font-weight: 600 !important;
    }
    
    /* Smaller hero title and subtitle for very small screens */
    .hero-title {
        font-size: 3rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.2rem !important;
    }
    
    /* Additional styles for carousel banner on very small screens */
    .carousel-banner .hero-title {
        font-size: 3rem !important;
        line-height: 1.2 !important;
    }
    
    .carousel-banner .hero-subtitle {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
    }
}

/* Tablet styles for banner buttons - replaced with Bootstrap classes */

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 72px;
}

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

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

.navbar {
    margin-top: 0;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23d4a574' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

footer a[href^="mailto:"] {
    text-decoration: none;
}

.ps-lg-custom {
    padding-left: 4rem !important;
}

/* Footer styles for screens up to 991px */
@media (max-width: 991px) {
  .footer-logo-row {
    justify-content: center !important;
    flex-direction: column !important;
    text-align: center !important;
  }
  .footer-logo-row p {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .footer-logo-row img {
    margin-bottom: 1rem;
    margin-right: 0 !important;
    height: 100px !important;
    width: 100px !important;
  }
  .col-lg-4 > .mx-auto.text-start {
    max-width: 100% !important;
    text-align: center !important;
  }
  .col-lg-4 > .mx-auto.text-start * {
    text-align: center !important;
  }
  .ps-lg-custom {
    padding-left: 0 !important;
  }
  footer .row.align-items-center {
    text-align: center !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  footer .row.align-items-center > div {
    text-align: center !important;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  /* Override Bootstrap text-md-start class */
  footer .row.align-items-center .text-md-start {
    text-align: center !important;
  }
  footer .col-md-6 {
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  footer .col-md-6:first-child {
    margin-bottom: 1rem;
  }
  footer .col-md-6 nav {
    justify-content: center !important;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
  }
  /* Override Bootstrap justify-content-md-end class - must be more specific than Bootstrap's @media (min-width: 768px) */
  footer nav[aria-label="Liens légaux"],
  footer .col-md-6 nav[class*="justify-content"] {
    justify-content: center !important;
  }
  footer .row.align-items-center a {
    display: inline-block;
    margin-bottom: 0;
  }
}

/* Reservation Section Styles */

/* Mobile styles for reservation section - replaced with Bootstrap classes */

@media (max-width: 576px) {
  
  /* Center reservation header on mobile */
  .reservation-header h1,
  .reservation-header .display-4,
  .reservation-header .col-lg-8 h1,
  .reservation-header .col-lg-8 .display-4,
  .reservation-header .container h1,
  .reservation-header .container .display-4,
  .reservation-header .row h1,
  .reservation-header .row .display-4 {
    text-align: center !important;
    font-size: 2.5rem !important;
  }

  /* Ensure 3rem titles on other banner pages */
  .menu-hero h1,
  .gallery-header h1,
  .contact-header h1,
  .reviews-header h1,
  .menu-hero .display-4,
  .gallery-header .display-4,
  .contact-header .display-4,
  .reviews-header .display-4 {
    font-size: 3rem !important;
  }
  
  .reservation-header .lead,
  .reservation-header .col-lg-8 .lead,
  .reservation-header .container .lead,
  .reservation-header .row .lead {
    text-align: center !important;
    font-size: 1.2rem !important;
  }

  /* Ensure 1.2rem subheadings on other banner pages */
  .menu-hero .lead,
  .gallery-header .lead,
  .contact-header .lead,
  .reviews-header .lead {
    font-size: 1.2rem !important;
  }

  /* Full height on very small screens */
  .reservation-header {
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
  }
  
  .reservation-hero-divider {
    margin: 1rem auto 2rem auto !important;
    display: block !important;
  }
  
  /* Add top margin before reservation section on mobile */
  
  /* Ensure container is centered */
  .reservation-header .container {
    text-align: center !important;
  }
  
  .reservation-header .row {
    justify-content: center !important;
  }
  
  .reservation-header .col-lg-8 {
    text-align: center !important;
  }
  
  /* Force center all text in reservation header */
  .reservation-header * {
    text-align: center !important;
  }
  
  /* Override any Bootstrap text alignment */
  .reservation-header .text-start,
  .reservation-header .text-left {
    text-align: center !important;
  }
}

/* Cart Sidebar */
.navbar.scrolled .navbar-brand img {
    height: 68px;
    width: 68px;
    background: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(212,165,116,0.20);
    transition: all 0.3s ease;
}

.navbar.scrolled .header-logo {
    height: 68px !important;
    width: 68px !important;
}
.navbar.scrolled .navbar-brand img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(212,165,116,0.40);
}

/* Login Page Styles */
.login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 18%, rgba(244, 228, 193, 0.6) 0%, transparent 45%),
        radial-gradient(circle at 88% 8%, rgba(212, 165, 116, 0.35) 0%, transparent 55%),
        radial-gradient(circle at 75% 85%, rgba(139, 69, 19, 0.18) 0%, transparent 50%),
        linear-gradient(135deg, #fdf7f0 0%, #ffffff 40%, #f4eee4 100%);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.login-body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 65%);
    pointer-events: none;
}

/* Additional login left side enhancements */
.login-left .welcome-text {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-style: italic;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.login-left .welcome-text::before {
    content: '"';
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    position: absolute;
    top: -10px;
    left: -10px;
}

.login-left .welcome-text::after {
    content: '"';
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    position: absolute;
    bottom: -10px;
    right: -10px;
}

/* Responsive adjustments for login form */
@media (max-width: 768px) {
    .login-form-container {
        margin-top: -2rem;
        padding: 2rem;
    }
    
    .login-left .welcome-text {
        display: none;
    }
}

@media (max-width: 576px) {
    .login-form-container {
        margin-top: -1rem;
        padding: 1.5rem;
    }
    
    .login-branding {
        margin-top: -2rem;
    }
    
    .login-title {
        font-size: 2.5rem;
    }
    
    .login-subtitle {
        font-size: 1.1rem;
    }
}

.login-left {
    background: linear-gradient(160deg, rgba(212, 165, 116, 0.9) 0%, rgba(139, 69, 19, 0.75) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    contain: layout style paint;
    transform: translateZ(0);
}

.login-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.login-left::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    will-change: transform;
    transform-origin: center;
    backface-visibility: hidden;
}

/* Decorative circles */
.login-left .decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: float 6s ease-in-out infinite;
    will-change: transform;
    transform-origin: center;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    contain: layout style paint;
}

.login-left .decoration-circle:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 25%;
    left: 15%;
    animation-delay: 0s;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.login-left .decoration-circle:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 65%;
    right: 20%;
    animation-delay: 3s;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.login-left .decoration-circle:nth-child(3) {
    width: 40px;
    height: 40px;
    bottom: 25%;
    left: 25%;
    animation-delay: 6s;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 100%);
}

/* Removed problematic decorative lines that cause white line artifacts */

@keyframes float {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(0, -10px, 0) rotate(45deg);
    }
}

.login-branding {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 3rem 2rem 2rem;
    animation: fadeInUp 1s ease-out;
}

.login-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin-bottom: 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    animation: logoFloat 4s ease-in-out infinite;
    border: 4px solid rgba(255, 255, 255, 0.2);
    will-change: transform;
    transform-origin: center;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    contain: layout style paint;
}

.login-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}


.login-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.4);
    animation: fadeInUp 1s ease-out 0.3s both;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
}

.login-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    animation: expandLine 1s ease-out 1s both;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -5px, 0) scale(1.01);
    }
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

.login-form-container {
    background: rgba(255, 255, 255, 0.92);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(212, 165, 116, 0.18);
    box-shadow: 0 25px 65px rgba(212, 165, 116, 0.25);
    backdrop-filter: blur(16px);
    width: 100%;
    max-width: 450px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.login-form-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(212, 165, 116, 0.28);
}

.login-form-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    font-weight: 700;
}

.login-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.login-form .input-group-text {
    background: rgba(244, 228, 193, 0.35);
    border: 1px solid rgba(212, 165, 116, 0.35);
    color: var(--secondary-color);
}

.login-form .form-control {
    border: 1px solid rgba(212, 165, 116, 0.35);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background: rgba(252, 249, 243, 0.9);
    transition: all 0.25s ease;
}

.login-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(212, 165, 116, 0.28);
    background: rgba(255, 255, 255, 0.96);
}

.login-form .btn-primary {
    background: linear-gradient(135deg, #d4a574 0%, #b26d2b 100%);
    border: none;
    padding: 0.85rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    color: #fff;
    background-size: 200% 200%;
    box-shadow: 0 12px 22px rgba(212, 165, 116, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.4s ease;
}

.login-form .btn-primary:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(139, 69, 19, 0.22);
}

.login-form .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 8px 14px rgba(139, 69, 19, 0.18);
}

.login-footer a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

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


/* Custom Secondary Button */
.btn-custom-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #a0522d);
    border: none;
    color: white;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-custom-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-custom-secondary:hover {
    background: linear-gradient(135deg, #a0522d, var(--secondary-color));
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3);
}

.btn-custom-secondary:hover::before {
    left: 100%;
}

.btn-custom-secondary:focus {
    background: linear-gradient(135deg, var(--secondary-color), #a0522d);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

.btn-custom-secondary:active {
    transform: translateY(0) scale(0.98);
}

.btn-custom-secondary i {
    transition: transform 0.3s ease;
}

.btn-custom-secondary:hover i {
    transform: scale(1.1);
}

/* Soft Secondary Button */
.btn-soft-secondary {
    background: rgba(108, 117, 125, 0.1);
    border: 1px solid rgba(108, 117, 125, 0.3);
    color: #6c757d;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-soft-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-soft-secondary:hover {
    background: rgba(108, 117, 125, 0.2);
    border-color: rgba(108, 117, 125, 0.5);
    color: #495057;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-soft-secondary:hover::before {
    left: 100%;
}

.btn-soft-secondary:focus {
    background: rgba(108, 117, 125, 0.2);
    border-color: rgba(108, 117, 125, 0.5);
    color: #495057;
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
}

.btn-soft-secondary:active {
    transform: translateY(0) scale(0.98);
}

.btn-soft-secondary i {
    transition: transform 0.3s ease;
}

.btn-soft-secondary:hover i {
    transform: scale(1.1);
}

/* Gallery Navigation */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.gallery-nav-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-btn:focus {
    outline: none;
    box-shadow: none;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive navigation - replaced with Bootstrap classes */

/* Carousel Background Images */
img.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    overflow: hidden;
}

/* Footer utility classes */
.footer-content-width {
    max-width: 320px;
}

.footer-email-link {
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-email-link:hover {
    color: var(--primary-color) !important;
    transform: scale(1.05);
    text-shadow: 0 0 8px rgba(212, 165, 116, 0.5);
}

/* Utility classes */
.no-results {
    display: none;
}

.map-border {
    border: 0;
}

/* Reservation Header Banner - extends page-banner-header */
.reservation-header {
    /* Base styles from components/banners.css */
}

.reservation-header .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .reservation-header {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
    }
    /* Push title and subtitle slightly lower */
    .reservation-header h1,
    .reservation-header .display-4,
    .reservation-header .lead {
        margin-top: 0.75rem !important;
    }
    /* Reduce spacing before the stat cards (divider bottom margin) */
    .reservation-hero-divider {
        margin: 0.5rem auto 1rem auto !important;
    }

    /* Center reservation info block and texts on mobile */
    #reservation .section-title,
    #reservation .lead {
        text-align: center !important;
    }
    /* Ensure section title block is centered */
    #reservation .section-title {
        margin-left: auto !important;
        margin-right: auto !important;
        display: block;
    }
    /* Only apply to reservation-info on reservation page, not homepage */
    #reservation .reservation-info {
        display: flex;
        flex-direction: column;
        align-items: center !important;
    }
    #reservation .reservation-info .info-item {
        justify-content: center !important;
    }
}

/* Center "Informations pratiques" on screens smaller than 992px */
@media (max-width: 991.98px) {
    #reservation .col-lg-6:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    #reservation .col-lg-6:first-child .section-title,
    #reservation .col-lg-6:first-child .lead {
        text-align: center !important;
    }
    
    #reservation .col-lg-6:first-child .reservation-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    #reservation .col-lg-6:first-child .reservation-info .info-item {
        justify-content: center;
        width: 100%;
    }
}

/* Tablet-only typography for reservation banner (keeps <576px at 3rem) */
@media (min-width: 577px) and (max-width: 768px) {
    .reservation-header h1,
    .reservation-header .display-4,
    .menu-hero h1,
    .menu-hero .display-4,
    .gallery-header h1,
    .gallery-header .display-4,
    .contact-header h1,
    .contact-header .display-4,
    .reviews-header h1,
    .reviews-header .display-4 {
        font-size: 3.5rem !important;
    }
    .reservation-header .lead,
    .menu-hero .lead,
    .gallery-header .lead,
    .contact-header .lead,
    .reviews-header .lead {
        font-size: 1.2rem !important;
    }
}

/* Banner overlay moved to components/banners.css */

.reservation-header h1,
.menu-hero h1,
.gallery-header h1,
.contact-header h1,
.reviews-header h1 {
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center !important;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.reservation-header .lead,
.menu-hero .lead,
.gallery-header .lead,
.contact-header .lead,
.reviews-header .lead {
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    text-align: center !important;
    font-family: 'Inter', sans-serif;
}

/* Banner divider moved to components/banners.css */

.reservation-header .breadcrumb {
    background: none;
    padding: 0;
}

.reservation-header .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.reservation-header .breadcrumb-item a:hover {
    text-decoration: underline;
}

.reservation-header .breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

.reservation-header .breadcrumb-item + .breadcrumb-item::before {
    color: white;
}

.reservation-stats .stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.reservation-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.reservation-stats .stat-item h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.reservation-stats .stat-item p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.95;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    /* Smaller reservation stat cards and text on tablets/mobiles */
    .reservation-stats .stat-item {
        padding: 0.75rem 1rem !important;
        border-radius: 10px;
        min-width: 160px;
    }
    .reservation-stats .stat-item h3 {
        font-size: 1.6rem;
    }
    .reservation-stats .stat-item p {
        font-size: 0.95rem;
    }
    /* Spacing between wrapped cards */
    .reservation-stats .row {
        justify-content: center;
        gap: 0.75rem 1rem;
        display: flex;
        flex-wrap: wrap;
    }
    .reservation-stats .col-md-4 {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
        display: flex;
        justify-content: center;
    }
    .reservation-stats .stat-item {
        width: 100%;
        max-width: 260px;
    }
}

/* Reservation Section */


/* Reservation form validation styles aligned with contact form */

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #198754;
}

/* JavaScript inline styles replacements */
.icon-large {
    font-size: 3rem;
    color: #ddd;
}

.icon-success-large {
    font-size: 4rem;
}

.notification {
    position: fixed;
    top: 20px; /* align with alert-fixed-center */
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    min-width: unset; /* allow shrink */
    max-width: 90%;
    width: fit-content; /* shrink to text */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Phone link styles */
#reservation .phone-link {
    color: #2c1810 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

#reservation .phone-link:hover {
    color: var(--secondary-color) !important;
    text-shadow: 0 0 8px rgba(139, 69, 19, 0.3) !important;
}

/* Footer phone link styles */
.footer-phone-link {
    color: #fff !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-phone-link:hover {
    color: var(--primary-color) !important;
    transform: scale(1.05);
    text-shadow: 0 0 8px rgba(212, 165, 116, 0.5);
}


/* Bootstrap theme overrides are centralized in global.css; duplicates removed here for maintainability. */


/* Homepage gallery overlay override to match container corners */
.gallery-item .gallery-overlay {
    border-radius: inherit !important;
}

footer .footer-logo-row {
    gap: var(--space-md);
}

@media (max-width: 576px) {
    .btn,
    button {
        font-size: 1.2grem !important;
    }
}