/* cmsms stylesheet: dermacos2026 modified: 05/01/26 09:20:57 */
#logo{
    max-width: 230px;
}

#contact-form input.cms_submit.fbsubmit{
        color: #fff;
    display: inline-block;
    padding: 11px 30px 13px;
    font-family: 'Oswald', sans-serif;
    background: #7ec6c8;
    position: relative;
    font-size: 18px;
    font-weight: 400;
    border-radius: 22px;
    float: right;
    width: auto;
    border: 0;
}
.grid_12 img{
    max-width: 100%;
    height: auto!important;
}
/* ==================== TREATMENTS GRID ==================== */
.treatments-section {
    padding: 0;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card */
.treatment-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.treatment-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-10px);
}

/* Afbeelding */
.card-image {
    display: block;
    height: 260px;                    /* ← pas dit aan als je wilt */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.treatment-card:hover .card-image {
    transform: scale(1.08);
}

/* Content */
.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 25px 28px 30px;
}


#footerbehandelingen {
    background: #f8f6f3;
    padding: 45px 0 35px;
    margin-top: 60px;
    border-top: 1px solid #e2d9cc;
    text-align: center;
}

/* Hr lijnen mooier maken */
#footerbehandelingen hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #d4c3a8, transparent);
    margin: 25px 0;
}

/* Link knoppen */
#footerbehandelingen p:first-of-type {
    margin: 30px 0;
}

#footerbehandelingen a {
    display: inline-block;
    padding: 12px 28px;
    margin: 6px 8px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Terug knop */
a.terug {
    background: white;
    color: #555;
    border: 2px solid #c48a6f;
}

a.terug:hover {
    background: #c48a6f;
    color: white;
    transform: translateX(-5px);
}

/* Verder knoppen */
a.verder {
    background: #c48a6f;
    color: white;
    border: 2px solid #c48a6f;
}

a.verder:hover {
    background: #a56f57;
    border-color: #a56f57;
    transform: translateY(-3px);
}

/* Contact tekst */
#footerbehandelingen p:last-of-type {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.75;
    color: #444;
    font-size: 1.05rem;
}

#footerbehandelingen strong {
    color: #222;
}

/* Responsive */
@media (max-width: 768px) {
    #footerbehandelingen a {
        margin: 8px 5px;
        padding: 11px 22px;
        font-size: 0.98rem;
    }
}

.card-content h3 {
    margin: 0 0 12px 0;
    font-size: 1.45rem;
    line-height: 1.3;
}

.card-content h3 a {
    color: #222;
    text-decoration: none;
}

.card-content h3 a:hover {
    color: #c48a6f;   /* jouw huisstijlkleur */
}

.card-content p {
    flex: 1;
    margin: 0 0 18px 0;
    line-height: 1.65;
    color: #555;
}

.read-more {
    color: #c48a6f;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
}

.read-more:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .card-image {
        height: 240px;
    }
}



/* ==================== AFSPRAAK KNOP (boven) ==================== */
#afspraak-btn p,
p:has(a.btn.btn-default) {
    text-align: center;
    margin: 40px 0 50px;
}

.btn.btn-default {
    display: inline-block;
    background: #3477ac;
    color: white !important;
    padding: 16px 45px;
    font-size: 1.18rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(52, 119, 172, 0.3);
    transition: all 0.3s ease;
}

.btn.btn-default:hover {
    background: #285d85;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(52, 119, 172, 0.4);
}

/* ==================== FOOTER BEHANDELINGEN ==================== */
#footerbehandelingen {
    background: #f8f7f4;
    padding: 45px 20px 35px;
    margin-top: 60px;
    text-align: center;
    border-top: 1px solid #e0d9cc;
}

#footerbehandelingen hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #c5b89a, transparent);
    margin: 28px 0;
}

/* Alle links in de footer */
#footerbehandelingen p:first-of-type a {
    display: inline-block;
    padding: 13px 32px;
    margin: 8px 10px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
}

/* Terug knop */
a.terug {
    background: white;
    color: #3477ac;
    border: 2px solid #3477ac;
}

a.terug:hover {
    background: #3477ac;
    color: white;
    transform: translateX(-5px);
}

/* Verder knoppen */
a.verder {
    background: #3477ac;
    color: white;
    border: 2px solid #3477ac;
}

a.verder:hover {
    background: #285d85;
    border-color: #285d85;
    transform: translateY(-3px);
}

/* Contact tekst onderaan */
#footerbehandelingen p:last-of-type {
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
    color: #444;
    font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 768px) {
    .btn.btn-default,
    #footerbehandelingen p:first-of-type a {
        padding: 13px 28px;
        font-size: 1.02rem;
        margin: 6px 6px;
    }
}



body.wie-wij-zijn img[alt="DSC_9919_websize"]{
    float: left;
    border: 4px solid #fcfcfc;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: 0 0 5px 0 #cdcbcb;
    box-shadow: 0 0 5px 0 #cdcbcb;
    margin: 2px 25px 0 0;
}




.cta-appointment {
    position: absolute;
    top: 128px;
    right: 40px;
    z-index: 9999;
    background: #d7511e;
    color: white !important;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(52, 119, 172, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
}

.cta-appointment:hover {
    background: #d7511e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(52, 119, 172, 0.4);
}

/* Responsive: kleiner op mobiel */
@media only screen and (max-width: 1170px) {
    .cta-appointment{
        top: 166px;
    }
}
@media (max-width: 992px) {
    .cta-appointment {
        
        right: 20px;
        padding: 12px 24px;
        font-size: 0.98rem;
    }
}

@media (max-width: 768px) {
    .cta-appointment {
        top: 100px;
        padding: 11px 20px;
        font-size: 0.95rem;
        font-size: 12px;
        line-height: 14px;
    }
}
















/* ==================== HOMEPAGE NIEUWS ITEMS ==================== */
body.home .grid_4 .NewsSummary {
    background: #fff;
    border-radius: 10px;
    padding: 25px 28px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

body.home .grid_4 .NewsSummary:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Titel van het nieuws */
body.home .NewsSummaryLink a {
    color: #233d5c;
    font-size: 1.28rem;
    line-height: 1.35;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-bottom: 14px;
}

body.home .NewsSummaryLink a:hover {
    color: #3477ac;
}

/* Inhoud tekst */
body.home .NewsSummaryContent,
body.home .NewsSummarySummary {
    flex: 1;
    font-size: 1.04rem;
    line-height: 1.75;
    color: #555;
}

/* Lees meer link */
body.home .NewsSummarySummary a {
    color: #3477ac;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    display: inline-block;
    padding-top: 10px;
}

body.home .NewsSummarySummary a:hover {
    text-decoration: underline;
}

/* Zorg dat alle 3 nieuwsblokken dezelfde hoogte hebben */
body.home .grid_4 {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-top: 70px;
}

/* Extra styling voor de hele nieuwssectie */
body.home .grid_12 > h2:first-child {
    text-align: center;
    color: #3477ac;
    margin-bottom: 40px;
    font-size: 1.7rem;
}
body.huidbehandelingen .item{
    height: auto!important;
}
#carousel_wrapper{
    background-size: cover;
}
@media (max-width: 996px) {
    body{
        color: #444;
    }
    #carousel_wrapper{
        padding-top: 0!important;
    }
    #carousel_wrapper>div{
        padding-bottom: 40px;
        padding-top: 40px!important;
    }
    #carousel_wrapper .item {
        height: 400px !important;
    }
    .owl-pagination{
        /* bottom: -50px;*/
    }
}

@media only screen and (max-width: 767px) {
    #content {
        text-align: left;
    }
    body.home .grid_4{
        padding-top: 20px;
    }
}

@media only screen and (max-width: 480px) {
    #owl p {
        display: block;
    }
    .container {
        width: 100%;
        padding: 0 15px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
}



/* ==================== HAMBURGER MENU - FIX ==================== */
.menu {
    position: relative;
}

/* Hamburger knop rechtsboven */
.menu .hamburger {
    display: none;
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #3477ac;
    z-index: 10000;
    padding: 8px;
}

.menu .hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: #3477ac;
    margin: 6px 0;
    transition: 0.3s;
}

/* Mobiel menu */
@media (max-width: 767px) {
    body.wie-wij-zijn img[alt="DSC_9919_websize"]{
        float: none;
        margin: 0 auto;
    }
    .menu nav ul.sf-menu {
        display: none !important;
        flex-direction: column;
        position: fixed;           /* <-- belangrijk */
        top: 70px;                 /* pas aan naar hoogte van je header */
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        padding: 20px 0;
        z-index: 9999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .menu nav ul.sf-menu.sf-expanded {
        display: flex !important;
    }

    .menu .hamburger {
        display: block;
    }

    /* Menu items */
    .menu nav ul.sf-menu li {
        width: 100%;
        text-align: left;
    }

    .menu nav ul.sf-menu a {
        padding: 14px 25px;
        display: block;
    }

    /* Submenu */
    .menu nav ul.sf-menu ul.sub-menu {
        position: static;
        box-shadow: none;
        background: #f9f7f3;
        padding-left: 20px;
    }
}

/* Hamburger animatie */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}


select.select-menu {
    display: none!important;
}

@media (max-width: 767px) {
    .sf-menu>li+li{
        margin-left: 0;
    }
    .menu nav ul.sf-menu{
        top: 117px;
    }
    .menu nav ul.sf-menu ul.sub-menu {
        display: block!important;
    }
    header section.brd1 .container .row .grid_12{
        position: relative;
    }
    .cta-appointment {
        top: 100px;
        right: auto;
        left: 0px;
    }
    #carousel_wrapper{
        border-top: 60px solid white;
    }
}
@media only screen and (max-width: 480px) {
    header{
        text-align: left;
    }
    header .socials {
        float: right;
    }
    header h1 {
        display: inline-block;
    }
    .menu .hamburger{
        right: -6px;
    }
}
