/*==================================================
                GOOGLE FONT (match alufit.com)
==================================================*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Montserrat:wght@400;700&family=Crimson+Text:ital@1&display=swap');

/*==================================================
                VARIABLES
==================================================*/
:root{
    --accent:#10cca9;
    --text:#666;
    --heading:#222;
    --sidebar-w:280px;
    --border:#ececec;
    --footer-widgets:#fff;
    --footer-bar:#e5e5e5;
}

/*==================================================
                RESET
==================================================*/
*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Open Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:14px;
    line-height:26px;
    color:var(--text);
    background:#fff;
    overflow-x:hidden;
}

/*==================================================
                LINKS
==================================================*/
a{
    color:var(--accent);
    text-decoration:none;
    transition:.3s ease;
}

a:hover{
    color:var(--accent);
}

/*==================================================
                IMAGES
==================================================*/
img{
    display:block;
    max-width:100%;
    height:auto;
    border:none;
}

/*==================================================
                BUTTONS
==================================================*/
button{
    border:none;
    outline:none;
    background:none;
    cursor:pointer;
    font-family:inherit;
}

/*==================================================
                LISTS
==================================================*/
ul{
    list-style:none;
}

/*==================================================
                HEADINGS (typehub match)
==================================================*/
h1,.h1{
    font-family:"Open Sans",sans-serif;
    font-weight:300;
    font-size:50px;
    line-height:63px;
    color:var(--heading);
}

h2,.h2{
    font-family:"Open Sans",sans-serif;
    font-weight:300;
    font-size:42px;
    line-height:63px;
    color:var(--heading);
}

h3,.h3{
    font-family:"Open Sans",sans-serif;
    font-weight:300;
    font-size:30px;
    line-height:52px;
    color:var(--heading);
}

h4,.h4{
    font-family:"Open Sans",sans-serif;
    font-weight:400;
    font-size:18px;
    line-height:28px;
    color:var(--heading);
}

h5,.h5{
    font-family:"Open Sans",sans-serif;
    font-weight:400;
    font-size:16px;
    line-height:26px;
    color:var(--heading);
}

h6,.h6{
    font-family:"Montserrat",sans-serif;
    font-weight:700;
    font-size:12px;
    line-height:22px;
    letter-spacing:2px;
    text-transform:uppercase;
    color:var(--heading);
}

p{
    color:var(--text);
    margin-bottom:18px;
}

/*==================================================
                MOBILE HEADER
==================================================*/
.mobile-header{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:70px;
    background:#fff;
    border-bottom:1px solid var(--border);
    z-index:99999;
    padding:0 20px;
    align-items:center;
    justify-content:space-between;
}

.mobile-header .logo img{
    width:160px;
}

/*==================================================
                MENU BUTTON
==================================================*/
.menu-toggle{
    width:42px;
    height:42px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-end;
    gap:5px;
}

.menu-toggle span{
    width:26px;
    height:2px;
    background:#323232;
    transition:.35s;
}

.menu-toggle.active span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
}

/*==================================================
                SIDEBAR
==================================================*/
.sidebar{
    position:fixed;
    top:0;
    left:0;
    width:var(--sidebar-w);
    height:100vh;
    background:#fff;
    border-right:1px solid var(--border);
    overflow-y:auto;
    z-index:9999;
    display:flex;
    flex-direction:column;
}

.sidebar-logo{
    padding:40px 25px 30px;
    text-align:center;
}

.sidebar-logo img{
    width:180px;
    margin:0 auto;
}

.sidebar-nav{
    padding:10px 0 40px;
    border-top:1px solid #f2f2f2;
    border-bottom:1px solid #f2f2f2;
    margin:0 20px;
}

.sidebar-nav li{
    width:100%;
}

.sidebar-nav a{
    position:relative;
    display:block;
    width:100%;
    padding:14px 10px;
    text-align:center;
    text-transform:uppercase;
    letter-spacing:1px;
    font-size:13px;
    font-weight:400;
    color:#777;
    transition:.3s;
}

.sidebar-nav a::before{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    border-bottom:2px solid transparent;
    transition:.3s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active{
    color:var(--accent);
}

.sidebar-nav a:hover::before,
.sidebar-nav a.active::before{
    border-bottom-color:var(--accent);
}

/*==================================================
                MAIN LAYOUT
==================================================*/
.main-wrapper,
.wrapper{
    margin-left:var(--sidebar-w);
    width:calc(100% - var(--sidebar-w));
    min-height:100vh;
    background:#fff;
}

.content{
    width:100%;
    max-width:1500px;
    margin:0 auto;
    padding:40px 50px 60px;
}

/*==================================================
                COMMON SECTION
==================================================*/
.section{
    width:100%;
}

.section-pad{
    padding:40px 0 60px;
}

.section-title{
    font-size:42px;
    line-height:1.2;
    font-weight:300;
    color:#333;
    margin-bottom:35px;
}

.section-subtitle{
    font-size:18px;
    color:#666;
    margin-bottom:30px;
}

.page-title{
    text-align:center;
    font-size:42px;
    font-weight:300;
    color:#333;
    margin-bottom:40px;
}

/*==================================================
                FLEX LAYOUT
==================================================*/
.row{
    display:flex;
    gap:40px;
    align-items:flex-start;
    margin-bottom:30px;
}

.row:last-child{
    margin-bottom:0;
}

.col-half{
    width:50%;
    flex:0 0 calc(50% - 20px);
}

.col-third{
    width:33.333%;
}

.col-quarter{
    width:25%;
}

/*==================================================
                HOMEPAGE – INTRO / SCHUECO
==================================================*/
.hero-row{
    align-items:flex-start;
}

.intro-text h3{
    font-size:30px;
    line-height:1.4;
    font-weight:300;
    color:#222;
    margin-bottom:20px;
}

.intro-text h3.sub-heading{
    font-size:18px;
    line-height:1.5;
    margin-top:28px;
    margin-bottom:18px;
}

.intro-text .lead,
.intro-text p{
    font-size:16px;
    line-height:1.8;
    color:#666;
}

.intro-text a{
    color:var(--accent);
}

.schueco-block{
    text-align:center;
}

.schueco-block > a img{
    max-width:280px;
    margin:0 auto 18px;
}

.schueco-block p{
    font-size:15px;
    margin-bottom:12px;
}

.schueco-block p strong{
    color:#333;
    font-weight:600;
}

/*==================================================
                HOMEPAGE – PROJECTS
==================================================*/
.project-card{
    display:flex;
    flex-direction:column;
}

.project-image{
    width:100%;
}

.project-image img{
    width:100%;
    display:block;
}

.project-details{
    padding-top:18px;
}

.project-details p{
    font-size:15px;
    line-height:1.85;
    color:#555;
    margin-bottom:0;
}

.project-details strong{
    color:#222;
    font-weight:600;
}

/*==================================================
                HOMEPAGE – FAMILY / QUOTE
==================================================*/
.family-title{
    font-family:"Montserrat",sans-serif;
    font-size:26px;
    font-weight:400;
    color:#333;
    margin-bottom:30px;
}

.alufit-quote-section{
    width:50%;
    flex:0 0 calc(50% - 20px);
    padding:20px 10px 20px 30px;
    position:relative;
}

.alufit-quote-icon{
    font-family:"Crimson Text",Georgia,serif;
    font-style:italic;
    font-size:90px;
    line-height:1;
    color:#ddd;
    display:block;
    margin-bottom:10px;
}

.alufit-quote-text{
    font-size:22px;
    line-height:1.6;
    color:#555;
    font-weight:300;
}

/*==================================================
                FOOTER (match alufit.com widgets)
==================================================*/
.alufit-footer{
    width:100%;
    background:var(--footer-widgets);
    color:#757575;
    margin-top:40px;
    border-top:1px solid #eee;
}

.alufit-footer-top{
    max-width:1500px;
    margin:auto;
    padding:65px 50px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:45px;
}

.alufit-footer h3{
    font-family:"Montserrat",sans-serif;
    color:#222;
    font-size:12px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:28px;
    position:relative;
}

.alufit-footer h3::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-10px;
    width:40px;
    height:2px;
    background:var(--accent);
}

.alufit-footer p{
    color:#757575;
    font-size:14px;
    line-height:1.9;
    margin-bottom:0;
}

.alufit-footer strong{
    color:#333;
}

.alufit-footer ul{
    margin:0;
    padding:0;
}

.alufit-footer li{
    margin-bottom:12px;
}

.alufit-footer a{
    color:#757575;
    transition:.3s;
}

.alufit-footer a:hover{
    color:var(--accent);
}

.alufit-footer-bottom{
    background:var(--footer-bar);
}

.alufit-footer-bottom-inner{
    max-width:1500px;
    margin:auto;
    padding:22px 50px;
    color:#757575;
    font-size:13px;
}

/*==================================================
                BACK TO TOP
==================================================*/
.back-to-top{
    position:fixed;
    right:30px;
    bottom:30px;
    width:44px;
    height:44px;
    border-radius:50%;
    background:var(--accent);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:9999;
}

.back-to-top.show{
    opacity:1;
    visibility:visible;
}

.back-to-top:hover{
    background:#222;
    transform:translateY(-3px);
}

/*==================================================
                SIDEBAR OVERLAY
==================================================*/
.sidebar-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.35s ease;
    z-index:9998;
}

.sidebar-overlay.active{
    opacity:1;
    visibility:visible;
}

/*==================================================
                IMAGE SLIDER
==================================================*/
.image-slider{
    position:relative;
    overflow:hidden;
    width:100%;
    background:#fff;
}

.slide{
    display:none;
    width:100%;
}

.slide.active{
    display:block;
    animation:fade .6s ease;
}

.slide img{
    width:100%;
    display:block;
}

.slider-arrows{
    pointer-events:none;
}

.slider-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border-radius:50%;
    background:rgba(255,255,255,.92);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    line-height:1;
    color:#333;
    cursor:pointer;
    transition:.3s;
    z-index:20;
    pointer-events:auto;
    box-shadow:0 2px 10px rgba(0,0,0,.12);
}

.slider-prev,
.slider-arrow.left{
    left:12px;
}

.slider-next,
.slider-arrow.right{
    right:12px;
}

.slider-arrow:hover{
    background:var(--accent);
    color:#fff;
}

.slider-nav,
.slider-dots{
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:16px;
}

.slider-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#d0d0d0;
    cursor:pointer;
    transition:.3s;
    padding:0;
}

.slider-dot.active{
    background:var(--accent);
}

/*==================================================
                LIGHTBOX
==================================================*/
.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.92);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999999;
    animation:fade .35s ease;
}

.lightbox.active{
    display:flex;
}

.lightbox-content{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    max-width:92%;
    max-height:92%;
}

#lightbox-img,
#lightbox-image{
    max-width:100%;
    max-height:85vh;
    object-fit:contain;
    background:#fff;
    padding:6px;
    animation:zoomIn .35s ease;
}

.lightbox-counter{
    margin-top:18px;
    color:#fff;
    font-size:15px;
    font-weight:600;
}

.lightbox-close{
    position:absolute;
    top:20px;
    right:25px;
    width:46px;
    height:46px;
    border-radius:50%;
    background:rgba(255,255,255,.15);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:32px;
    color:#fff;
    cursor:pointer;
    transition:.3s;
    z-index:100000;
}

.lightbox-close:hover{
    background:var(--accent);
}

.lightbox-prev,
.lightbox-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:54px;
    height:54px;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    color:#fff;
    cursor:pointer;
    transition:.3s;
    z-index:100000;
}

.lightbox-prev{ left:25px; }
.lightbox-next{ right:25px; }

.lightbox-prev:hover,
.lightbox-next:hover{
    background:var(--accent);
}

body.lightbox-open{
    overflow:hidden;
}

/*==================================================
                ANIMATIONS
==================================================*/
@keyframes fade{
    from{ opacity:0; }
    to{ opacity:1; }
}

@keyframes zoomIn{
    from{ transform:scale(.92); opacity:0; }
    to{ transform:scale(1); opacity:1; }
}

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

.fade-up{
    animation:fadeUp .7s ease;
}

/*==================================================
                UTILITIES
==================================================*/
.hide-mobile{ display:block; }
.text-center{ text-align:center; }
.mt-20{margin-top:20px;}
.mt-30{margin-top:30px;}
.mt-40{margin-top:40px;}
.mb-20{margin-bottom:20px;}
.mb-30{margin-bottom:30px;}
.mb-40{margin-bottom:40px;}

/*==================================================
                TABLET
==================================================*/
@media(max-width:1200px){
    .content{
        padding:30px 30px 50px;
    }

    .row{
        gap:28px;
    }

    .alufit-footer-top{
        padding:55px 30px;
        gap:35px;
    }
}

/*==================================================
                MOBILE
==================================================*/
@media(max-width:991px){
    .mobile-header{
        display:flex;
    }

    .sidebar{
        left:calc(-1 * var(--sidebar-w));
        transition:.35s ease;
    }

    .sidebar.active{
        left:0;
    }

    .main-wrapper,
    .wrapper{
        margin-left:0;
        width:100%;
    }

    .content{
        padding:100px 20px 40px;
    }

    .row{
        flex-direction:column;
    }

    .col-half,
    .col-third,
    .col-quarter,
    .alufit-quote-section{
        width:100%;
        flex:none;
    }

    .alufit-quote-section{
        padding:10px 0 0;
    }

    .hide-mobile{
        display:none !important;
    }

    .section-title,
    .page-title{
        font-size:32px;
        line-height:1.3;
    }

    .intro-text h3{
        font-size:24px;
        line-height:1.35;
    }

    h1{ font-size:34px; line-height:1.3; }
    h2{ font-size:30px; line-height:1.3; }
    h3{ font-size:22px; line-height:1.4; }
}

@media(max-width:768px){
    .alufit-footer-top{
        grid-template-columns:1fr;
        gap:35px;
        padding:45px 25px;
        text-align:center;
    }

    .alufit-footer h3::after{
        left:50%;
        transform:translateX(-50%);
    }

    .alufit-footer-bottom-inner{
        text-align:center;
        padding:18px 20px;
    }

    .alufit-quote-text{
        font-size:18px;
    }
}

@media(max-width:480px){
    .mobile-header{
        height:65px;
    }

    .mobile-header .logo img{
        width:135px;
    }

    .content{
        padding:90px 15px 30px;
    }
}

/*==================================================
                SCROLLBAR
==================================================*/
::-webkit-scrollbar{ width:8px; }
::-webkit-scrollbar-track{ background:#efefef; }
::-webkit-scrollbar-thumb{ background:#b5b5b5; border-radius:20px; }
::-webkit-scrollbar-thumb:hover{ background:#8a8a8a; }

::selection{
    background:var(--accent);
    color:#fff;
}
