/*
Theme Name: Denturo Lavaltrie
Theme URI: https://denturolavaltrie.com
Author: Clinique de denturologie de Lavaltrie
Description: Thème WordPress pour la Clinique de denturologie de Lavaltrie - 641 rue Notre-Dame, Lavaltrie (Québec) J5T 1P4
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: denturo-lavaltrie
*/

/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
    --primary-blue: #014479;
    --light-blue: #27b1d2;
    --dark-blue: #0a2a43;
    --green: #5cb85c;
    --dark: #2d313f;
    --grey-bg: #f5f5f5;
    --white: #ffffff;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    background: var(--white);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--light-blue);
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #333;
    margin-bottom: 15px;
}

ul {
    list-style: none;
    padding: 0;
}

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

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-3, .col-md-4, .col-md-6, .col-md-8, .col-md-12 {
    padding: 0 15px;
}

.col-md-3 { flex: 0 0 25%; max-width: 25%; }
.col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ============================================================
   TOP BAR
   ============================================================ */
#top-bar {
    background: var(--dark);
    color: #ccc;
    padding: 8px 15px;
    font-size: 13px;
}

#top-bar a {
    color: #ccc;
    text-decoration: none;
}

#top-bar a:hover {
    color: var(--white);
}

#top-bar .fa {
    margin-right: 5px;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.header {
    position: relative;
    z-index: 1000;
}

.navbar-container {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    max-height: 60px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
    margin-left: 5px;
}

.main-nav li a {
    display: block;
    padding: 12px 18px;
    color: #333;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.main-nav li a:hover,
.main-nav li.current-menu-item a {
    color: var(--light-blue);
}

/* Dropdown */
.main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    min-width: 280px;
    z-index: 1001;
    padding: 0;
}

.main-nav li:hover .sub-menu {
    display: block;
}

.main-nav .sub-menu li {
    margin: 0;
}

.main-nav .sub-menu li a {
    padding: 10px 20px;
    font-size: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.main-nav .sub-menu li a:hover {
    background: #f8f8f8;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 4px 0;
    transition: 0.3s;
}

/* ============================================================
   HERO / SLIDER
   ============================================================ */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: right;
    padding: 40px;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.hero-content .btn-rdv {
    display: inline-block;
    background: var(--light-blue);
    color: var(--white);
    padding: 14px 30px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    transition: background 0.3s;
}

.hero-content .btn-rdv:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Mobile hero */
.mobile-hero {
    display: none;
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
}

.mobile-hero h1 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 15px;
}

.mobile-hero a {
    color: var(--light-blue);
    font-weight: 700;
}

/* ============================================================
   SERVICES ICONS SECTION
   ============================================================ */
.services-icons {
    background: var(--grey-bg);
    padding: 60px 0;
}

.services-icons .row {
    justify-content: center;
}

.icon-box {
    text-align: center;
    padding: 20px 10px;
    flex: 0 0 20%;
    max-width: 20%;
}

.icon-box i,
.icon-box .service-icon {
    font-size: 48px;
    color: var(--light-blue);
    margin-bottom: 15px;
    display: block;
}

.icon-box .service-icon img {
    width: 48px;
    height: auto;
}

.icon-box h2 {
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
    line-height: 1.4;
}

.icon-box a {
    color: inherit;
    text-decoration: none;
}

.icon-box a:hover h2 {
    color: var(--light-blue);
}

/* ============================================================
   POURQUOI NOUS CHOISIR
   ============================================================ */
.why-us {
    padding: 80px 0;
}

.why-us .row {
    align-items: center;
}

.why-us h2 {
    font-size: 28px;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 5px;
}

.why-us h2 span {
    display: block;
    font-size: 16px;
    color: var(--light-blue);
    text-transform: none;
    font-weight: 400;
}

.why-us p {
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.why-us .author-link {
    display: inline-block;
    background: var(--light-blue);
    color: var(--white);
    padding: 12px 25px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    margin-top: 15px;
    transition: background 0.3s;
}

.why-us .author-link:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.why-us .author-image img {
    border-radius: 4px;
    max-width: 100%;
}

/* ============================================================
   BLACK PATTERN (CTA BAR)
   ============================================================ */
.black-pattern {
    background: var(--dark);
    padding: 40px 0;
    color: var(--white);
}

.black-pattern .row {
    align-items: center;
    justify-content: space-between;
}

.black-pattern p {
    color: var(--white);
    font-size: 16px;
    margin: 0;
}

.black-pattern .policeg {
    font-size: 22px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.black-pattern a {
    display: inline-block;
    border: 2px solid var(--light-blue);
    color: var(--white);
    padding: 12px 25px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.black-pattern a:hover {
    background: var(--light-blue);
    color: var(--white);
}

/* ============================================================
   SAVIEZ-VOUS QUE (DID YOU KNOW)
   ============================================================ */
.did-you-know {
    padding: 80px 0;
}

.did-you-know h3 {
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--dark);
}

.step-box {
    text-align: center;
    margin-bottom: 30px;
}

.step-box .imgsquare {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.step-box .imgsquare img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
}

.step-box .imgsquare .box {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 8px 15px;
    border-radius: 4px 4px 0 0;
}

.step-box .imgsquare .box img {
    width: 30px;
    height: auto;
}

.step-box .content p {
    font-size: 14px;
    color: #666;
    padding: 0 10px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
    display: flex;
    flex-wrap: wrap;
}

.contact-section .left {
    flex: 0 0 50%;
    background: var(--grey-bg);
    min-height: 400px;
}

.contact-section .left.has-bg {
    background-image: url('assets/img/contact.jpg');
    background-size: cover;
    background-position: center;
}

.contact-section .right {
    flex: 0 0 50%;
}

.contact-form-wrapper {
    padding: 60px 0;
}

.contact-form-wrapper h2 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: var(--font-main);
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--light-blue);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.moment label {
    font-weight: 700;
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.moment input[type="checkbox"] {
    margin-right: 3px;
    margin-left: 10px;
}

.btn-submit {
    display: inline-block;
    background: var(--light-blue);
    color: var(--white);
    padding: 14px 35px;
    border: none;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 2px;
}

.btn-submit:hover {
    background: var(--primary-blue);
}

/* Google Map placeholder */
.map-section {
    width: 100%;
    height: 400px;
    background: #e9e9e9;
    position: relative;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-section address {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 10px 20px;
    font-style: normal;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section {
    padding: 80px 0;
}

.about-section .row {
    align-items: center;
}

.about-section h1 {
    font-size: 32px;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.about-section h2 {
    font-size: 24px;
    color: var(--dark);
}

.about-section hr {
    border: none;
    border-top: 3px solid var(--light-blue);
    width: 60px;
    margin: 15px 0 20px;
}

.about-section p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-section .team-photo img {
    max-width: 100%;
    border-radius: 4px;
}

.about-enterprise {
    padding: 60px 0;
}

.about-enterprise h2 {
    font-size: 24px;
    text-transform: uppercase;
    color: var(--dark);
}

.about-enterprise hr {
    border: none;
    border-top: 3px solid var(--light-blue);
    width: 60px;
    margin: 15px 0 20px;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-page h1 {
    text-align: center;
    font-size: 32px;
    text-transform: uppercase;
    color: var(--primary-blue);
    padding: 60px 0 40px;
}

.service-block {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-bottom: 0;
}

.service-block.reverse {
    flex-direction: row-reverse;
}

.service-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 40px 30px;
}

.service-content.blue-theme {
    background: #e8f4f8;
}

.service-content.pale-theme {
    background: var(--white);
}

.service-content h2 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 10px;
}

.service-content h3 {
    font-size: 16px;
    color: var(--light-blue);
    font-weight: 400;
    margin-bottom: 20px;
}

.service-content h4 {
    font-size: 15px;
    color: var(--green);
    font-weight: 700;
    margin: 20px 0 10px;
}

.service-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.service-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.service-content ul li {
    list-style: disc;
    margin-bottom: 5px;
    line-height: 1.6;
}

.service-content ul li ul {
    margin-top: 5px;
}

.service-content ul li ul li {
    list-style: circle;
}

.service-content h5 {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.service-image {
    flex: 0 0 50%;
    max-width: 50%;
    min-height: 400px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-image .placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, #e8f4f8, #d0eaf2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-blue);
    font-size: 14px;
    font-style: italic;
}

.btn-rdv-outline {
    display: inline-block;
    border: 2px solid var(--light-blue);
    color: var(--primary-blue);
    padding: 10px 20px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    margin-top: 15px;
    transition: all 0.3s;
}

.btn-rdv-outline:hover {
    background: var(--light-blue);
    color: var(--white);
}

/* ============================================================
   PROMOTION PAGE
   ============================================================ */
.promo-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.promo-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.promo-hero .container {
    position: relative;
    z-index: 2;
}

.promo-form {
    background: rgba(51, 51, 51, 0.9);
    padding: 40px;
    color: var(--white);
    max-width: 500px;
    margin-left: auto;
    border-radius: 4px;
}

.promo-form h1 {
    color: var(--white);
    font-size: 36px;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 15px;
}

.promo-form .promo-text {
    font-weight: 900;
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 25px;
    text-align: center;
}

.promo-form .promo-text span {
    text-transform: uppercase;
}

.promo-form .form-control {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    color: var(--white);
}

.promo-form .form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

.promo-form .btn-submit {
    width: 100%;
    background: var(--primary-blue);
}

.promo-form .btn-submit:hover {
    background: var(--light-blue);
}

.promo-form .moment label {
    color: var(--white);
}

.promo-form .small {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    opacity: 0.8;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--dark);
    color: #ccc;
    padding: 50px 0 0;
}

.footer-widgets .row {
    margin-bottom: 40px;
}

.footer-widget {
    padding: 0 15px;
}

.footer-widget h2 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-widget p {
    line-height: 1.8;
    color: #aaa;
}

.footer-widget .strong {
    color: #ccc;
    margin-bottom: 3px;
}

.footer-widget a {
    color: var(--light-blue);
    transition: color 0.3s;
}

.footer-widget a:hover {
    color: var(--white);
}

.footer-widget .cadre {
    display: inline-block;
    border: 1px solid var(--light-blue);
    color: var(--light-blue);
    padding: 8px 15px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s;
}

.footer-widget .cadre:hover {
    background: var(--light-blue);
    color: var(--white);
}

.bottom-footer {
    background: rgba(0,0,0,0.2);
    padding: 15px 0;
    text-align: center;
    font-size: 13px;
    color: #888;
}

.bottom-footer span {
    color: var(--white);
    font-weight: 700;
}

.top-scroll {
    display: inline-block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--light-blue);
    color: var(--white);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    font-size: 18px;
    opacity: 0.7;
    transition: opacity 0.3s;
    z-index: 999;
}

.top-scroll:hover {
    opacity: 1;
    color: var(--white);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .icon-box {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .col-md-3, .col-md-4, .col-md-6, .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .service-content, .service-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .service-block.reverse {
        flex-direction: column;
    }

    .contact-section .left,
    .contact-section .right {
        flex: 0 0 100%;
    }

    .promo-form {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
        display: none;
    }

    .mobile-hero {
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav li {
        margin: 0;
    }

    .main-nav li a {
        padding: 12px 20px;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-nav .sub-menu {
        position: static;
        box-shadow: none;
        background: #f8f8f8;
    }

    .main-nav li:hover .sub-menu {
        display: block;
    }

    .icon-box {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .footer-widgets .col-md-4 {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .icon-box {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
