/*

Eatery Cafe Template - Adapté pour SOLID TECHNOLOGIE

http://www.templatemo.com/tm-515-eatery

*/

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');

/* ====================== CHARTE DE COULEURS ====================== */
:root {
    --brand-primary: #07234d;
    --brand-secondary: #0f3267;
    --brand-accent: #D4933F;
    --text-light: #FFFFFF;
    --text-dark: #2A2A2A;
    --bg-light: #FFFFFF;
    --bg-neutral: #F5F7FA;
    --bg-soft: #F9FBFD;
    --gray: #8B95A8;
}

body {
    background: var(--bg-light);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}
.logo {
    display: block;
    max-height: 40px; /* Ajustez selon la hauteur souhaitée */
    width: auto;
    margin-bottom: 15px;
}

/* Si vous utilisez l'option 1 avec texte */
.brand-text {
    display: none; /* Caché sur mobile */
}

@media (min-width: 768px) {
    .brand-text {
        display: inline; /* Affiché sur desktop */
        margin-left: 10px;
    }
}
/*---------------------------------------
   TYPOGRAPHY              
-----------------------------------------*/
h1,h2,h3,h4,h5,h6 {
    font-weight: bold;
    line-height: inherit;
}

h1 {
    color: var(--text-light);
    font-size: 3em;
    line-height: 50px;
}

h2 {
    color: var(--text-dark);
    font-size: 2em;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 0;
}

h3,
h3 a {
    color: var(--text-dark);
}

p {
    color: var(--gray);
    font-size: 14px;
    font-weight: normal;
    line-height: 24px;
}

/*---------------------------------------
   GENERAL               
-----------------------------------------*/
html{
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-dark);
    -webkit-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none !important;
}

a:hover, a:active, a:focus {
    color: var(--brand-accent);
    outline: none;
}

::-webkit-scrollbar{
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    cursor: pointer;
    background: var(--brand-primary);
}

.section-title {
    padding-bottom: 40px;
    /* text-align: center supprimé pour restaurer le style original du contact (titre aligné à gauche dans la colonne droite) */
}

.section-title h2 {
    margin: 0;
}

.section-title h4 {
    color: var(--gray);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0;
}

.overlay {
    background: rgba(7, 35, 77, 0.6);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

section {
    position: relative;
    padding: 100px 0;
}

/* Sections centrées seulement (expertise et portfolio) */
#expertise, 
#portfolio {
    text-align: center;
    background: var(--bg-neutral);
}

.about-image img,
.team-thumb img {
    width: 100%;
}
  
#google-map iframe {
    border: 0;
    width: 100%;
    height: 390px;
}

/* Uniformisation des tailles d'images dans les grilles (expertise + réalisations) */
.team-thumb,
.menu-thumb {
    overflow: hidden;
    height: 300px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    margin-bottom: 30px;
    position: relative;
}

.team-thumb img,
.menu-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-thumb:hover img,
.menu-thumb:hover img {
    transform: scale(1.12);
}

/* Image À propos */
#about .about-image img {
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/*---------------------------------------
   BUTTONS               
-----------------------------------------*/
.section-btn {
    background: var(--brand-accent);
    border-radius: 0;
    border: 0;
    color: var(--text-light);
    font-size: inherit;
    font-weight: bold;
    padding: 12px 30px;
    transition: 0.5s 0.2s;
}

.section-btn:hover {
    background: #c4833a;
}

/*---------------------------------------
   PRE LOADER              
-----------------------------------------*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: none repeat scroll 0 0 var(--brand-primary);
}

.spinner {
    border: 1px solid transparent;
    border-radius: 3px;
    position: relative;
}

.spinner:before {
    border: 1px solid transparent;
    border-top-color: var(--brand-accent);
}

/*---------------------------------------
   MENU (Navbar)              
-----------------------------------------*/
.custom-navbar {
    border: none;
    margin-bottom: 0;
    padding: 25px 0;
}

.custom-navbar .navbar-brand {
    color: var(--text-light);
    font-size: 18px;
    font-weight: bold;
}

.custom-navbar .navbar-brand span {
    color: var(--brand-accent);
}

.top-nav-collapse {
    background: var(--brand-primary);
}

.custom-navbar .navbar-nav.navbar-nav-first {
    margin-left: 8em;
}

.custom-navbar .navbar-nav.navbar-right li a {
    padding-right: 12px;
    padding-left: 12px;
}

.custom-navbar .navbar-nav.navbar-right .section-btn {
    display: inline-block;
    margin: 0.2em 0 0 1em;
}

.custom-navbar .navbar-nav.navbar-right .section-btn:hover {
    background: var(--brand-accent);
}

.custom-navbar .navbar-nav.navbar-right .section-btn:focus {
    color: var(--text-light);
}

.custom-navbar .navbar-nav.navbar-right .section-btn a {
    padding: 10px 25px;
}

.custom-navbar .nav .section-btn a:hover {
    color: var(--text-light);
}

.custom-navbar .nav li a {
    font-size: 12px;
    font-weight: bold;
    color: var(--text-light);
    padding-right: 22px;
    padding-left: 22px;
    text-transform: uppercase;
}

.custom-navbar .nav li a:hover {
    background: transparent;
    color: var(--brand-accent);
}

.custom-navbar .navbar-nav > li > a:hover,
.custom-navbar .navbar-nav > li > a:focus {
    background-color: transparent;
}

.custom-navbar .nav li.active > a {
    background-color: transparent;
    color: var(--brand-accent);
}

.custom-navbar .navbar-toggle {
    border: none;
    padding-top: 10px;
}

.custom-navbar .navbar-toggle {
    background-color: transparent;
}

.custom-navbar .navbar-toggle .icon-bar {
    background: var(--text-light);
    border-color: transparent;
}

@media(min-width:768px) {
    .custom-navbar {
      border-bottom: 0;
      background: 0 0; 
    }

    .custom-navbar.top-nav-collapse {
      background: rgb(224, 224, 228);
      -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      padding: 12px 0;
    }

    .top-nav-collapse .navbar-brand {
      color: var(--text-light);
    }

    .top-nav-collapse .nav li a {
      color: var(--text-light);
    }

    .top-nav-collapse .nav .section-btn a {
      color: var(--text-light);
    }
}

/*---------------------------------------
   HOME              
-----------------------------------------*/
#home {
    padding: 0;
}

#home h1 {
    color: var(--text-light);
    padding-bottom: 30px;
}

#home h3 {
    color: var(--text-light);
    font-size: 14px;
    line-height: inherit;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

@media (min-width: 768px) {
    .slider .col-md-8 {
      padding-left: 0;
    }
}

.slider .owl-dots {
    position: absolute;
    top: 50%;
    right: 2em;
    justify-content: center;
}

.owl-theme .owl-dots .owl-dot {
    display: block;
}

.owl-theme .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 7px 10px;
    border: 2px solid #d9d9d9;
    background: transparent;
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity 200ms ease;
    border-radius: 30px;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background-color: var(--brand-accent);
    border-color: transparent;
}

.slider .caption {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    background-color: rgba(20,20,20,0.2);
    height: 100%;
    color: #fff;
    cursor: e-resize;
    padding: 4em 0 0 2em;
}

.slider .item {
    background-position: inherit;
    background-repeat: no-repeat;
    background-attachment: local;
    background-size: cover;
    height: 650px;
}

.slider .item-second .section-btn {
    background: var(--brand-primary);
}

.slider .item-second .section-btn:hover {
    background: var(--brand-accent);
}

.slider .item-third .section-btn {
    background: transparent;
    border: 1px solid var(--text-light);
}

.slider .item-third .section-btn:hover,
.slider .item-third .section-btn:focus {
    background: var(--brand-accent);
    border-color: transparent;
    color: var(--text-light);
}

/*---------------------------------------
   ABOUT              
-----------------------------------------*/
#about {
    padding-bottom: 0;
}

.about-info {
    padding: 0 6em 5em 0;
}

.about-info .section-title {
    padding-bottom: 20px;
}

.about-image {
    position: absolute;
}

/*---------------------------------------
   TEAM (Expertise)              
-----------------------------------------*/
#expertise {
    background: var(--bg-neutral);
}

.team-thumb {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.team-info {
    padding: 10px 30px 20px 30px;
}

.team-thumb:hover .team-hover {
    opacity: 0.95;
    transition-delay: 0.3s;
    transform: translateY(0);
}

.team-thumb img {
    transition: 0.5s 0.2s;
}

.team-thumb:hover img {
    transform: scale(1.2);
}

.team-thumb .social-icon li a {
    background: var(--brand-primary);
    border-radius: 100%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    color: #d9d9d9;
    font-size: 20px;
    margin: 15px 5px 0 5px;
}

.team-thumb .team-item {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.team-item h4 {
    color: var(--text-light);
}

.team-info p {
    color: var(--gray);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 5px;
}

/*---------------------------------------
   MENU (Portfolio/Réalisations)              
-----------------------------------------*/
#portfolio {
    padding-bottom: 0;
    padding: 20px ;
}

#portfolio .container {
    width: 100%;
}

#portfolio .col-md-4 {
    margin: 0;
    padding: 0;
}

.menu-thumb img {
    width: 100%;
    transition: 0.5s;
}

.menu-thumb:hover img {
    transform: scale(1.15);
}

#portfolio .menu-thumb {
    overflow: hidden;
    position: relative;
    cursor: pointer;
    width: 95%;
}

.menu-thumb .menu-info {
    position: absolute;
    top: 60%;
    left: 0px;
    right: 0px;
    bottom: 0px;
    text-align: left;
    padding: 25px 30px;
    transition: 0.5s 0.2s;
}

.menu-info .menu-item {
    float: left;
}

.menu-info .menu-price {
    float: right;
}

.menu-info .menu-price span {
    font-size: 20px;
    font-weight: bold;
    line-height: normal;
    display: block;
    margin-top: 10px;
}

.menu-thumb .menu-info h3,
.menu-thumb .menu-info p,
.menu-thumb .menu-info span {
    transform: translateY(100%);
    opacity: 0;
    display: block;
    transition: 0.5s 0.2s;
    color: var(--text-light);
    z-index: 2;
    position: relative;
}

.menu-thumb .menu-info h3 {
    margin-top: 0;
}

.menu-thumb .menu-info p {
    color: #d9d9d9;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.menu-thumb:hover .menu-info h3,
.menu-thumb:hover .menu-info p,
.menu-thumb:hover .menu-info span {
    transform: translateY(0px);
    opacity: 1;
}

.menu-thumb:hover .menu-info {
    background: rgba(7, 35, 77, 0.1);
}

/*---------------------------------------
   CONTACT (style originel restauré)             
-----------------------------------------*/
#contact .section-title {
    padding-bottom: 0;
}

#contact .text-success,
#contact .text-danger {
    display: none;
}

#contact .form-control {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #dddddd;
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 15px;
    transition: all ease-in-out 0.4s;
}

#contact .form-control:hover,
#contact .form-control:focus {
    border-bottom-color: #c9c9c9;
}

#contact input {
    height: 55px;
}

#contact button#cf-submit {
    background: var(--brand-accent);
    border-radius: 0;
    border: 0;
    color: var(--text-light);
    font-weight: bold;
    height: 50px;
    padding-bottom: 5px;
}

#contact button#cf-submit:hover {
    background: #c4833a;
    color: var(--text-light);
    padding-bottom: 20px;
}


/*---------------------------------------
   FOOTER              
-----------------------------------------*/
footer {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 120px 0;
    padding-bottom: 80px;
    background: var(--brand-primary);
    color: var(--text-light);
}

footer .section-title {
    padding-bottom: 10px;
}

footer h2 {
    font-size: 20px;
    color: var(--text-light);
}

footer a,
footer p {
    color: var(--gray);
}

footer strong {
    color: #d9d9d9;
}

footer address p {
    margin-bottom: 0;
}

.footer-info,
footer .social-icon {
    margin-top: 20px;
}

.footer-open-hour {
    background: var(--brand-primary);
    border-radius: 20px;
    margin-top: 0;
    padding: 40px 0 40px 80px;
    overflow: hidden;
    position: relative;
    z-index: 22;
    right: 20px;
    bottom: 20px;
}

.footer-open-hour::after {
    background: rgba(7,35,77,0.95);
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.footer-open-hour h2 {
    color: var(--text-light);
}

.footer-open-hour p {
    color: #d9d9d9;
}

.footer-open-hour strong {
    color: var(--text-light);
}

/*---------------------------------------
   SOCIAL ICON              
-----------------------------------------*/
.social-icon {
    position: relative;
    padding: 0;
    margin: 0;
}

.social-icon li {
    display: inline-block;
    list-style: none;
    margin-bottom: 5px;
}

.social-icon li a {
    border-radius: 100px;
    color: var(--brand-accent);
    font-size: 15px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s ease-in-out;
    position: relative;
}

.social-icon li a:hover {
    background: var(--brand-accent);
    color: var(--text-light);
}
/* Pour le bouton d'envoi */
#submit-btn {
    text-align: center;
    padding: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Pour le footer */
.copyright-text {
    text-align: center;
    margin-top: 15px;
}

/* Pour les icônes sociales */
.social-icon {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.social-icon li {
    margin: 0 10px;
}
.footer-social {
    margin-bottom: 20px;
}

.footer-copyright {
    text-align: center;
}

/*---------------------------------------
   RESPONSIVE STYLES              
-----------------------------------------*/
@media screen and (max-width: 1170px) {
    .custom-navbar .navbar-nav.navbar-nav-first {
      margin-left: inherit;
    }
}

@media only screen and (max-width: 1200px) {
    .about-info {
      padding-right: 0;
    }

    .about-image {
      position: relative;
    }
}

@media only screen and (max-width: 992px) {
    section {
      padding: 60px 0;
    }

    .custom-navbar .section-btn {
      margin-left: 1em;
    }

    .slider .item {
      background-position: center;
    }

    .about-info {
      padding: 0;
    }

    .team-info {
      margin-bottom: 50px;
    }

    #portfolio .menu-thumb {
      width: 103%;
    }

    #google-map,
    .footer-info {
      margin-bottom: 50px;
    }

    .team-thumb,
    .menu-thumb {
        height: 280px;
    }

    #about .about-image img {
        height: 350px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .custom-navbar .nav li a {
      padding-right: 10px;
      padding-left: 10px;
    }
}

@media only screen and (max-width: 767px) {
    h1 {
      font-size: 2.5em;
    }

    h1,h2,h3 {
      line-height: normal;
    }

    .custom-navbar {
      background: var(--brand-primary);
      -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      padding: 10px 0;
      text-align: center;
    }

    .custom-navbar .nav li a {
      line-height: normal;
      padding: 10px;
    }

    .custom-navbar .navbar-brand,
    .top-nav-collapse .navbar-brand {
      color: var(--text-light);
      font-weight: 600;
    }

    .custom-navbar .nav li a,
    .top-nav-collapse .nav li a {
      color: var(--text-light);
    }

    .custom-navbar .navbar-nav.navbar-right li {
      display: inline-block;
    }

    .custom-navbar .navbar-nav.navbar-right .section-btn {
      display: block !important;
      width: 50%;
      margin: 10px auto 10px auto;
      padding: 10px;
    }

    .custom-navbar .section-btn a {
      color: var(--text-light) !important;
    }

    .slider .caption {
      padding: 0;
    }

    .menu-thumb .menu-info {
      top: 80%;
    }

    footer {
      padding: 60px 0;
      padding-bottom: 60px;
    }

    .footer-open-hour {
      right: 0;
      bottom: 0;
      margin-top: 30px;
    }

    .team-thumb,
    .menu-thumb {
        height: 250px;
    }

    #about .about-image img {
        height: 300px;
    }
}

@media only screen and (max-width: 580px) {
    h1 {
      font-size: 2.1em;
    }

    h2 {
      font-size: 1.8em;
    }

    .menu-thumb .menu-info {
      top: 60%;
    }
}