/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/* HERO - AFBEELDING MAXIMAAL 1260 x 675 */

#hero-background {
    width: 100% !important;
    height: min(53.5714vw, 675px) !important;
    min-height: 0 !important;
    max-height: 675px !important;

    background-size: min(100%, 1260px) auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;

    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;

}

/* Alleen bij schermbreedte vanaf 1260px: 5px extra */

@media only screen and (min-width: 1260px) {
    #hero-background {
        height: 685px !important;
        max-height: 685px !important;
    }
}

/* raar streepje on de de foto op de homepage */

#after_section_1{

	border-top-width: 0px;
}




/* Glas-in-lood tegel */

/* Buitenste indeling: titel bovenaan */
.glas-tegel .glas-tegel-inhoud {
    display: block;
    width: 100%;
}


/* Titel gecentreerd */
.glas-tegel .glas-tegel-titel {
    text-align: left;
	font-size: 32px !important;
    margin: 0 0 15px 0;
}

/* Afbeelding en tekst naast elkaar */
.glas-tegel .glas-tegel-regel {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
	}

.glas-tegel-afbeelding img {
    display: block;
    width: auto;
    height: 180px;
    max-width: none;
    object-fit: cover;
}

.glas-tegel .glas-tegel-tekst p {
    margin-top: -7px;
}



/* Herstel vormgeving van de tegel */
.avia-builder-el .glas-tegel,
.glas-tegel {
    background-color: #f5f1e8 !important;
    padding: 15px !important;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glas-tegel:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

/* Alle tegels in dezelfde rij even hoog */
#top .flex_column.glas-tegel {
    height: 100% !important;
    min-height: 260px;
    box-sizing: border-box;
}

/* Inhoud vult de beschikbare hoogte */
.glas-tegel .glas-tegel-inhoud {
    height: 100%;
    display: flex;
    flex-direction: column;
}



/* Mobiele weergave glas-in-lood tegels */
@media only screen and (max-width: 767px) {

    /* Tegel mag meegroeien met de inhoud */
    #top .flex_column.glas-tegel {
        height: auto !important;
        min-height: 0 !important;
    }

    .glas-tegel .glas-tegel-inhoud {
        height: auto !important;
        display: block;
    }

    /* Afbeelding en tekst onder elkaar */
    .glas-tegel .glas-tegel-regel {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    /* Afbeelding aanpassen aan mobiele breedte */
    .glas-tegel .glas-tegel-afbeelding {
        width: 100%;
    }

    .glas-tegel .glas-tegel-afbeelding img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* Tekst binnen het kader houden */
    .glas-tegel .glas-tegel-tekst {
        width: 100%;
        box-sizing: border-box;
    }

    .glas-tegel .glas-tegel-tekst p {
        margin-top: 0;
    }

    /* Titel iets kleiner op mobiel */
    .glas-tegel .glas-tegel-titel {
        font-size: 24px !important;
    }

}







/* ==================================
   BUTTONS - ATELIER GLASKUNST
   ================================== */

/* Normale button */
#top .avia-button,
#top input[type="submit"],
#top button {
    background-color: #93857c !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 13px 28px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px;
    text-transform: none !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

/* Mouse-over */
#top .avia-button:hover,
#top input[type="submit"]:hover,
#top button:hover {
    background-color: #7c6f67 !important;
    
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}




/* Atelier Glaskunst - Workshop informatie */

#top .ag-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

#top .ag-info li {
    margin: -14px 0 25px;
    padding: 0;
}

#top .ag-info-kop {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1px;
}

#top .ag-info-kop img {
    width: 31px;
    height: 31px;
    object-fit: contain;
}

#top .ag-info-kop strong {
    color: #194333;
    font-size: 28px;
    font-weight: 600;
}

#top .ag-info-kop {
    color: #194333;
    font-size: 40px;
    
}



#top .ag-info-tekst {
    margin-left: 52px;
	line-height: 1.6;
}

#top .ag-info-titel {
    font-size: 40px;
    line-height: 1.2;
    margin: 0 0 0 0;
    padding: 0 0 25px 0;
    font-weight: 400;
    color: #194333;
}

/* Mobiele weergave */
@media (max-width: 767px) {
    #top .ag-inf-titel {
        font-size: 32px;
    }
}


/* Atelier Glaskunst - contact fomulier */

#top .ag-contactformulier .ag-contact-row {
    display: flex;
    gap: 20px;
}

#top .ag-contactformulier .ag-contact-half {
    flex: 1;
    min-width: 0;
}

#top .ag-contactformulier .ag-contact-half input {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    #top .ag-contactformulier .ag-contact-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* Contact Form 7 - foutieve invoervelden */
#top .ag-contactformulier .wpcf7-not-valid {
    border: 1px solid #c0392b !important;
    background-color: #fff8f8;
}

/* Foutmelding onder het veld verbergen */
#top .ag-contactformulier .wpcf7-not-valid-tip {
    display: none;
}

/* Afgeronde hoeken invoervelden */
#top .ag-contactformulier input,
#top .ag-contactformulier textarea,
#top .ag-contactformulier select {
    border-radius: 6px;
}

#top .ag-contactformulier textarea {
    height: 205px;
    min-height: 205px;
    max-height: 205px;
    resize: none;
    box-sizing: border-box;
}


/* Actieve link - normaal menu */
#top #header:not(.av_header_transparency) 
.av-main-nav > li.current-menu-item > a .avia-menu-text,
#top #header:not(.av_header_transparency) 
.av-main-nav > li.current_page_item > a .avia-menu-text {
    border-bottom: 2px solid #b18a55;
    padding-bottom: 3px;
}
}

