/* ===========================================================
   Administratiekantoor Rammers - stylesheet
   Kleuren en stijl nagebouwd op basis van de bestaande site
   =========================================================== */

:root{
    --teal:        #028484;
    --teal-dark:   #016161;
    --teal-darker: #009292;
    --dark-grey:   #3e4444;
    --text-dark:   #212121;
    --bg-light:    #F8F8F9;
    --white:       #ffffff;
    --max-width:   1170px;
}

*{ box-sizing: border-box; }

body{
    margin: 0;
    font-family: 'Raleway', Arial, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Lato', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.3;
}

a{
    color: var(--teal-dark);
    text-decoration: none;
}
a:hover{ color: var(--teal); }

img{ max-width: 100%; display: block; }

.container{
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.site-header{
    background: #1c1f1f;
}
/* Op alle binnenpagina's (niet de homepage) is de header teal */
body.is-inner-page .site-header{
    background: var(--teal);
}

.site-header-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 20px;
    flex-wrap: wrap;
}

.site-title{
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.site-title a{ color: var(--white); }

.site-description{
    margin: 4px 0 0;
    font-size: 13px;
    color: #cfcfcf;
}
.site-description a{ color: #cfcfcf; }

/* hamburger */
.menu-toggle{
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    padding: 0;
}
.menu-toggle span{
    display: block;
    height: 3px;
    background: var(--white);
    margin: 6px 0;
    border-radius: 2px;
}

.main-navigation{
    background: transparent;
}
.main-navigation .nav-menu{
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.main-navigation li{ position: relative; }
.main-navigation a{
    display: block;
    padding: 8px 16px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}
.main-navigation li:hover > a,
.main-navigation li.current > a{
    color: var(--white);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,.6);
    text-underline-offset: 4px;
}
body.is-home .main-navigation li:hover > a,
body.is-home .main-navigation li.current > a{
    color: var(--teal-darker);
    text-decoration: none;
}

@media (max-width: 900px){
    .menu-toggle{ display: block; }
    .main-navigation{
        display: none;
        width: 100%;
        order: 3;
    }
    .main-navigation.is-open{ display: block; }
    .main-navigation .nav-menu{
        flex-direction: column;
        padding: 10px 0 0;
    }
    .main-navigation a{ padding: 12px 0; }
}

/* ===== Breadcrumb (alleen binnenpagina's) ===== */
.breadcrumb-bar{
    background: var(--teal-darker);
    color: var(--white);
    font-size: 13px;
    padding: 10px 0;
}
.breadcrumb-bar a{ color: var(--white); }
.breadcrumb-bar a:hover{ text-decoration: underline; }
.breadcrumb-bar .sep{ margin: 0 8px; opacity: .7; }
.breadcrumb-bar .current{ opacity: .85; }

/* ===== Hero / banner ===== */
.hero{
    background: url('../img/hero-bg.jpg') center/cover no-repeat;
    background-color: #2b2b2b;
    color: var(--white);
    text-align: center;
    padding: 90px 20px 80px;
    border-bottom: 5px solid var(--teal);
}
.hero h1{
    color: var(--white);
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.35;
    margin: 0 0 22px;
    animation: fadeInUp .9s ease both;
}
.hero .hero-divider{
    display: inline-block;
    width: 60px;
    height: 2px;
    background: var(--white);
    margin-bottom: 22px;
}
.hero p{
    font-size: 17px;
    margin: 0;
    animation: fadeInUp 1.2s ease both;
}

@keyframes fadeInUp{
    from{ opacity: 0; transform: translateY(25px); }
    to{ opacity: 1; transform: translateY(0); }
}

/* binnenpagina header (kleinere variant van hero) */
.page-inner-title{
    background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), url('../img/inner-bg.jpg') center top/cover no-repeat;
    background-color: #565656;
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}
.page-inner-title h1{
    color: var(--white);
    margin: 0;
    font-size: 28px;
}

/* ===== Service blokken (home) ===== */
.wrap-service{
    padding: 60px 0;
    text-align: center;
    background: var(--white);
}
.wrap-service h2{
    font-size: 24px;
    margin-bottom: 8px;
}
.title-divider{
    display: inline-block;
    width: 50px;
    height: 3px;
    background: var(--teal);
    margin-bottom: 40px;
}
.service-row{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.service-box{
    flex: 1 1 280px;
    max-width: 340px;
    background: var(--bg-light);
    border-radius: 4px;
    padding: 35px 25px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.service-box:hover{
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.service-box .icon{
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    border: 2px solid var(--teal);
    color: var(--teal);
    font-size: 24px;
    margin: 0 auto 18px;
}
.service-box h3{
    font-size: 18px;
    margin: 0 0 12px;
}
.service-box p{
    font-size: 14px;
    color: #555;
    margin: 0;
}
.service-box a{ color: inherit; display: block; }
.service-box a:hover h3{ color: var(--teal-dark); }

/* ===== CTA / highlight balk ===== */
.wrap-highlight{
    background: var(--teal);
    color: var(--white);
    text-align: center;
    padding: 70px 20px;
}
.wrap-highlight h2{
    color: var(--white);
    margin: 0 0 22px;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 700;
}
.btn{
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 13px 30px;
    border-radius: 2px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-size: 13px;
    border: 2px solid var(--white);
    transition: background .2s ease, color .2s ease;
}
.btn:hover{
    background: var(--white);
    color: var(--teal-dark);
}

/* ===== Testimonials (carousel) ===== */
.wrap-testimonial{
    background: var(--teal);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}
.testimonial-quote-icon{
    font-size: 34px;
    color: rgba(255,255,255,.45);
    margin-bottom: 10px;
}
.testimonial-carousel{
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    min-height: 110px;
}
.testimonial-slide{
    display: none;
    animation: fadeInUp .6s ease both;
}
.testimonial-slide.active{ display: block; }
.testimonial-slide p{
    font-size: 16px;
    margin: 0 0 16px;
    line-height: 1.7;
}
.testimonial-slide strong{ font-size: 14px; }

.testimonial-dots{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
    list-style: none;
    padding: 0;
}
.testimonial-dots li{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--white);
    background: transparent;
    cursor: pointer;
}
.testimonial-dots li.active{ background: var(--white); }

/* ===== Algemene contentpagina's ===== */
.page-content{
    max-width: 820px;
    margin: 0 auto;
    padding: 50px 20px;
    overflow: hidden; /* clearfix: voorkomt dat zwevende afbeeldingen buiten de sectie uitsteken */
}
.page-content h2{
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 36px;
}
.page-content h2:first-child{ margin-top: 0; }
.page-content h3{ font-size: 18px; }
.page-content p{ margin: 0 0 18px; color: #333; }
.page-content .lead{
    font-size: 17px;
    color: #444;
}

.page-content img.inline-img{
    float: right;
    max-width: 300px;
    margin: 0 0 20px 24px;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
@media (max-width: 600px){
    .page-content img.inline-img{
        float: none;
        margin: 0 auto 24px;
    }
}

/* ===== Contactformulier ===== */
.contact-grid{
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 980px;
    margin: 0 auto;
    padding: 50px 20px;
}
.contact-form{ flex: 1 1 380px; }
.contact-info{ flex: 1 1 260px; }

.form-row{ margin-bottom: 16px; }
.form-row label{
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}
.form-row input,
.form-row textarea{
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: inherit;
    font-size: 14px;
}
.form-row input:focus,
.form-row textarea:focus{
    outline: none;
    border-color: var(--teal);
}
.form-cols{
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.form-cols .form-row{ flex: 1 1 200px; }

.btn-submit{
    background: var(--teal);
    color: var(--white);
    border: none;
    padding: 13px 32px;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .5px;
    cursor: pointer;
    transition: background .2s ease;
}
.btn-submit:hover{ background: var(--teal-dark); }

.alert{
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 22px;
    font-size: 14px;
}
.alert-success{ background: #e3f6ea; color: #1c6b3a; border: 1px solid #b8e6c8; }
.alert-error{ background: #fdeaea; color: #a32424; border: 1px solid #f4c2c2; }

.contact-info h3{ font-size: 16px; }
.contact-info p{ font-size: 14px; color: #333; }

/* ===== Route ===== */
.route-map{
    max-width: 980px;
    margin: 0 auto;
    padding: 50px 20px;
}
.route-map iframe{
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 4px;
}

/* ===== Footer ===== */
.site-footer{
    background: var(--dark-grey);
    color: #ddd;
}
.site-footer-bottom{
    text-align: center;
    padding: 22px 20px;
    font-size: 14px;
    color: #ccc;
}
.site-footer-bottom a{ color: #cccccc; }
.site-footer-bottom a:hover{ color: var(--white); }

.back-to-top{
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 42px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    background: var(--teal);
    color: var(--white);
    border-radius: 3px;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,.2);
    transition: background .2s ease;
    text-decoration: none;
}
.back-to-top:hover{ background: var(--teal-dark); color: var(--white); }

/* ===== Responsive helpers ===== */
@media (max-width: 600px){
    .hero{ padding: 70px 16px 60px; }
    .hero h1{ font-size: 24px; }
    .wrap-service, .wrap-highlight, .wrap-testimonial{ padding: 40px 16px; }
    .contact-grid{ padding: 36px 16px; }
}
