/* Modern UI Enhancements for Bourbon Pointu */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;300;400;600&display=swap');

:root {
    --primary: #D35400;
    --primary-light: #E67E22;
    --dark: #0F0F12;
    --dark-accent: #1C1C22;
    --glass: rgba(15, 15, 18, 0.7);
    --gold: #C5A059;
    --text-main: #FFFFFF;
    --text-dim: rgba(255, 255, 255, 0.7);
}

body, input, select, textarea {
    font-family: 'Outfit', sans-serif !important;
    background-color: var(--dark) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
}

/* Banner / Hero */
#banner {
    background-color: var(--dark) !important;
}

#banner:after {
    background-image: linear-gradient(135deg, rgba(15, 15, 18, 0.4) 0%, rgba(15, 15, 18, 0.9) 100%) !important;
}

#banner .content {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 4em !important;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    text-align: left !important;
}

#banner h1 {
    font-size: 3.5em !important;
    margin-bottom: 0.2em !important;
    color: #FFFFFF !important;
    line-height: 1.1 !important;
}

#banner h2 {
    font-size: 1.5em !important;
    font-weight: 400 !important;
    color: var(--gold) !important;
    margin-top: 0 !important;
}

/* Logo Integration Refinement */
.logo-container {
    width: 140px !important;
    height: 140px !important;
    position: relative;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4));
    margin-top: 2em !important;
    transition: transform 0.3s ease;
    display: inline-block;
}

.logo-container img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.05) !important;
    background-color: rgba(0, 0, 0, 0.2) !important;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5) !important;
    z-index: 2;
    position: relative;
}

.logo-container span {
    position: absolute;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    filter: blur(8px) !important;
    opacity: 0;
    z-index: 1;
    animation: smoke-rise 4s infinite;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%) !important;
}

/* Smoke particles positioning relative to 140px */
.logo-container span:nth-child(1) { top: 50%; left: -10%; animation-delay: 0s; }
.logo-container span:nth-child(2) { top: -10%; left: 50%; animation-delay: 0.5s; }
.logo-container span:nth-child(3) { top: 50%; left: 90%; animation-delay: 1s; }
.logo-container span:nth-child(4) { top: 90%; left: 50%; animation-delay: 1.5s; }
.logo-container span:nth-child(5) { top: 0; left: 0; animation-delay: 2s; }
.logo-container span:nth-child(6) { top: 0; left: 80%; animation-delay: 2.5s; }
.logo-container span:nth-child(7) { top: 80%; left: 80%; animation-delay: 3s; }
.logo-container span:nth-child(8) { top: 80%; left: 0; animation-delay: 3.5s; }

/* Spotlight Sections */
.spotlight .content {
    background: var(--glass) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: none !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.spotlight.left .content { border-radius: 0 30px 30px 0; }
.spotlight.right .content { border-radius: 30px 0 0 30px; }
.spotlight.bottom .content { border-radius: 40px 40px 0 0; }

.spotlight h2 {
    color: var(--gold) !important;
    font-size: 2.5em !important;
    margin-bottom: 0.5em !important;
}

/* Feature Grid (Qualités) */
#four {
    background-color: #0c0c0e !important;
}

#four .box.alt .row.uniform {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

#four .box.alt section {
    background: var(--dark-accent);
    padding: 2.5em !important;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 2em;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important; /* Forces height in flex container */
    flex: 1 1 30% !important; /* Ensures flexible growth */
    min-width: 280px;
}

#four .box.alt section p {
    flex-grow: 1 !important; /* Pushes content to fill the tile */
}

#four .box.alt section:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border-color: var(--gold);
}

#four .icon.major {
    background: var(--primary) !important;
    box-shadow: 0 0 20px rgba(211, 84, 0, 0.4);
    transition: transform 0.3s ease;
}

#four section:hover .icon.major {
    transform: scale(1.1) rotate(5deg);
}

/* Buttons */
.bouton-style-1 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    border-radius: 50px !important;
    padding: 15px 40px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    box-shadow: 0 10px 20px rgba(211, 84, 0, 0.3) !important;
    border: none !important;
    color: #FFFFFF !important; /* Force white text */
    display: inline-block !important;
    text-decoration: none !important;
}

.bouton-style-1:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 15px 30px rgba(211, 84, 0, 0.5) !important;
    color: #FFFFFF !important;
}

/* Contact Section Fixes */
#contact-section {
    background-attachment: fixed !important;
}

.contactform-modern {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 3.5em !important;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 600px;
    margin: 0 auto !important;
    text-align: center !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.contactform-modern h3 {
    margin-bottom: 0.2em !important;
    font-size: 2.2em !important;
}

.contactform-modern p {
    color: var(--text-dim) !important;
    margin-bottom: 2em !important;
}

ul.contact-address {
    list-style: none !important;
    padding: 0 !important;
    margin: 2.5em auto !important;
    display: table !important; /* Forces width to content for centering */
    text-align: left !important;
}

ul.contact-address li {
    padding-left: 0 !important;
    margin-bottom: 1.5em !important;
    display: flex !important;
    align-items: center !important;
    color: var(--text-main) !important;
    font-size: 1.15em !important;
    line-height: 1.4 !important;
    white-space: nowrap; /* Prevent wrapping issued in screenshot */
}

ul.contact-address li:before {
    display: none !important;
}

ul.contact-address li i {
    margin-right: 20px !important;
    color: var(--gold) !important;
    font-size: 1.4em !important;
    width: 32px;
    text-align: center;
}

ul.contact-address li a {
    color: var(--text-main) !important;
    border-bottom: none !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

ul.contact-address li a:hover {
    color: var(--gold) !important;
}

.social-embed {
    margin-top: 2em;
    padding-top: 2em;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Fix Facebook iFrame sizing */
ul.contact-address iframe {
    display: block !important;
    margin-top: 15px !important;
}

/* Footer */
#footer {
    background-color: var(--dark) !important;
    border-top: 1px solid rgba(255,255,255,0.05);
}

#footer a {
    color: var(--text-dim) !important;
    border-bottom: none !important;
}

#footer a:hover {
    color: var(--gold) !important;
}

#footer .icons li a:before {
    color: var(--text-main) !important;
}

/* Nav Fixes */
#header {
    background: var(--glass) !important;
    backdrop-filter: blur(10px);
}

#header nav ul li a {
    color: var(--text-main) !important;
    font-weight: 400 !important;
}

#header nav ul li a:hover {
    color: var(--gold) !important;
}

/* Language Switcher */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 5px;
    display: flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-link {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    text-decoration: none !important;
    color: var(--text-dim) !important;
    font-weight: 600;
    font-size: 0.9em;
    border-radius: 50px;
    transition: all 0.3s ease;
    border-bottom: none !important;
}

.lang-link.active {
    background: var(--primary);
    color: #fff !important;
}

.lang-link:not(.active):hover {
    color: var(--gold) !important;
    background: rgba(255, 255, 255, 0.05);
}

.lang-link img {
    width: 20px;
    margin-right: 8px;
    border-radius: 2px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Transitions */
.goto-next {
    background: var(--glass) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px);
    width: 60px !important;
    height: 60px !important;
    margin-left: -30px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.goto-next:hover {
    background: var(--primary) !important;
    transform: translateY(5px) !important;
}

.goto-next:before {
    background-size: 15px !important;
    background-position: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    top: 0 !important;
    left: 0 !important;
}
    opacity: 0 !important;
    filter: blur(10px);
}

.image.fit img {
    transition: transform 1.5s ease !important;
}

.spotlight:hover .image.fit img {
    transform: scale(1.05);
}
