/*==================================================
AUTOMECHANIKA FRANKFURT 2026
Century Extrusions
==================================================*/

/*====================================
ROOT VARIABLES
====================================*/

:root{

    --primary:#0E7C3F;
    --secondary:#0B3D24;
    --accent:#00A651;
    --dark:#1f2937;
    --text:#555555;
    --light:#ffffff;
    --grey:#F7FAFC;
    --border:#e7ecf2;

    --shadow:0 15px 35px rgba(0,0,0,.08);
    --radius:12px;
    --transition:.35s ease;

}


/*====================================
GLOBAL
====================================*/

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    font-size:18px;
    color:var(--text);
    line-height:1.8;
    background:#fff;
    overflow-x:hidden;

}

section{

    padding:90px 0;
    position:relative;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;
    transition:var(--transition);

}

a:hover{

    text-decoration:none;

}

h1,h2,h3,h4,h5{

    color:var(--dark);
    font-weight:700;
    margin-bottom:20px;
}

h1{ font-size:54px; }
h2{ font-size:40px; }
h3{ font-size:26px; }

p{

    margin-bottom:20px;

}

.container-xl{
    max-width:1240px;
    margin:0 auto;
    padding:0 24px;
}


/*====================================
SECTION TITLE
====================================*/

.section-title{

    margin-bottom:60px;
    text-align:center;

}

.section-title span{

    display:inline-block;
    background:#E7F5EC;
    color:var(--primary);
    padding:8px 18px;
    border-radius:50px;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:18px;

}

.section-title h2{

    display:inline-block;
    font-size:40px;
    font-weight:800;
    letter-spacing:-0.5px;
    line-height:1.2;
    margin-bottom:8px;
    position:relative;

}

.section-title h2::after{

    content:'';
    display:block;
    width:64px;
    height:4px;
    margin:16px auto 0;
    border-radius:4px;
    background:linear-gradient(90deg, var(--primary), var(--accent));

}

.section-title p{

    max-width:760px;
    margin:20px auto 0;
    font-size:18px;

}


/*====================================
BUTTONS
====================================*/

.btn{

    padding:14px 36px;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
    border:none;
    display:inline-block;
    cursor:pointer;

}

.btn-primary{

    background:var(--primary);
    color:#fff;

}

.btn-primary:hover{

    background:var(--secondary);
    color:#fff;

}

.btn-outline-primary{

    border:2px solid var(--primary);
    color:var(--primary);
    background:transparent;

}

.btn-outline-primary:hover{

    background:var(--primary);
    color:#fff;

}

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

.btn-outline-hero{
    border:2px solid rgba(255,255,255,.7);
    color:#fff;
    background:transparent;
}

.btn-outline-hero:hover{
    background:#fff;
    color:var(--secondary);
}

.btn-accent:hover{
    background:#00893f;
    color:#fff;
}

/* Ripple effect */
.btn{
    position:relative;
    overflow:hidden;
}

.ripple{
    position:absolute;
    border-radius:50%;
    background:rgba(255,255,255,.5);
    transform:scale(0);
    animation:rippleAnim .6s linear;
    pointer-events:none;
}

@keyframes rippleAnim{
    to{
        transform:scale(4);
        opacity:0;
    }
}


/*====================================
HERO SECTION
====================================*/

.amf-hero{

    position:relative;
    min-height:640px;
    display:flex;
    align-items:center;
    padding:150px 0 100px;
    overflow:hidden;
    color:#fff;

}

.hero-row-gap > [class*="col-"]{
    margin-bottom:40px;
}

.hero-row-gap > [class*="col-"]:last-child{
    margin-bottom:0;
}

/* ---- Background slider layers ---- */
.hero-slider{
    position:absolute;
    inset:0;
    z-index:0;
}

.hero-slide{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:opacity 1.2s ease;
}

.hero-slide.active{
    opacity:1;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(135deg, rgba(6,38,22,.92), rgba(11,61,36,.85));
}

/* ---- Slider dots ---- */
.hero-slider-dots{
    position:absolute;
    bottom:24px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
    z-index:2;
}

.hero-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:rgba(255,255,255,.4);
    cursor:pointer;
    transition:var(--transition);
}

.hero-dot.active{
    background:#fff;
    transform:scale(1.3);
}

/* ---- Hero content ---- */
.hero-content{
    position:relative;
    z-index:1;
    max-width:820px;
    text-align:center;
    margin:0 auto;
}

.event-badge{

    display:inline-block;
    background:rgba(255,255,255,.15);
    border:1px solid rgba(255,255,255,.4);
    color:#fff;
    padding:10px 22px;
    border-radius:50px;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:25px;

}

.amf-hero h1{

    font-size:54px;
    line-height:1.15;
    margin-bottom:20px;
    color:#fff;

}

.amf-hero h1 span{
    color:#9CF0BE;
}

.amf-hero h2{

    font-size:24px;
    color:#E7F5EC;
    font-weight:500;
    margin-bottom:25px;

}

.amf-hero p{

    font-size:18px;
    margin-bottom:35px;
    color:#e7edf5;

}

.hero-btn{

    margin-top:10px;
    display:flex;
    gap:16px;
    justify-content:center;
    flex-wrap:wrap;

}


/*====================================
EVENT DETAILS
====================================*/

.event-details{

    margin:35px 0 0;

}

.detail-box{

    display:flex;
    align-items:flex-start;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.18);
    padding:20px;
    margin-bottom:18px;
    border-radius:12px;
    text-align:left;

}

.detail-box i{

    width:55px;
    height:55px;
    background:rgba(255,255,255,.12);
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    margin-right:18px;
    flex-shrink:0;

}

.detail-box strong{

    display:block;
    font-size:16px;
    margin-bottom:5px;
    color:#fff;

}

.detail-box p{

    margin:0;
    font-size:14px;
    color:#dfeee5;

}

/* Floating info card, centered below CTA */
.hero-float-card{
    display:inline-block;
    background:#fff;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:20px 30px;
    margin:10px auto 0;
    animation:floatCard 4s ease-in-out infinite;
}

@keyframes floatCard{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-10px); }
}

.hero-float-card ul{
    list-style:none;
    padding:0;
    margin:0;
    display:flex;
    gap:26px;
    flex-wrap:wrap;
    justify-content:center;
}

.hero-float-card li{
    display:flex;
    flex-direction:column;
    font-size:13px;
    text-align:left;
}

.hero-float-card li span:first-child{
    color:var(--text);
    margin-bottom:2px;
}

.hero-float-card li strong{
    color:var(--secondary);
    font-size:15px;
}


/*====================================
STATISTICS / POSITIONING
====================================*/

.amf-stats{

    background:#ffffff;
    padding:60px 0;

}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:24px;
}

.stat-card{

    background:#fff;
    border:1px solid var(--border);
    border-radius:15px;
    padding:36px 16px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.35s;
    height:100%;

}

.stat-card:hover{

    transform:translateY(-8px);

}

.stat-card .stat-icon{
    width:64px;
    height:64px;
    margin:0 auto 18px;
    border-radius:50%;
    background:#E7F5EC;
    color:var(--primary);
    font-size:26px;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:var(--transition);
}

.stat-card:hover .stat-icon{
    background:var(--primary);
    color:#fff;
    transform:scale(1.08);
}

.stat-card h3{

    font-size:36px;
    color:var(--primary);
    margin-bottom:8px;

}

.stat-card p{

    margin:0;
    font-weight:600;
    font-size:15px;
    color:var(--secondary);

}


/*====================================
ABOUT
====================================*/

.amf-about{

    background:var(--grey);

}

.amf-about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.amf-about img{

    border-radius:18px;
    box-shadow:var(--shadow);

}

.amf-about h2{

    margin-bottom:25px;

}

.amf-about p{

    margin-bottom:18px;

}

.amf-about .btn{

    margin-top:15px;

}


/*====================================
INDUSTRIES WE SERVE
====================================*/

.amf-industries{
    background:#fff;
}

.industries-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:22px;
}

.industry-card{
    background:var(--grey);
    border-radius:var(--radius);
    padding:34px 16px;
    text-align:center;
    transition:var(--transition);
    overflow:hidden;
}

.industry-card i{
    font-size:34px;
    color:var(--primary);
    margin-bottom:16px;
    display:inline-block;
    transition:var(--transition);
}

.industry-card p{
    margin:0;
    font-weight:600;
    color:var(--secondary);
    font-size:15px;
}

.industry-card:hover{
    background:var(--primary);
    transform:translateY(-6px);
}

.industry-card:hover i,
.industry-card:hover p{
    color:#fff;
}

.industry-card:hover i{
    transform:scale(1.15);
}


/*====================================
MEET OUR TEAM
====================================*/

.amf-team{
    background:var(--grey);
}

.team-row{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.team-card{
    display:flex;
    align-items:center;
    gap:24px;
    background:#fff;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:22px 28px;
    transition:var(--transition);
}

.team-card:hover{
    transform:translateY(-4px);
}

.team-card img{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;
}

.team-card-info{
    flex:1;
}

.team-card-info h4{
    margin-bottom:2px;
    font-size:19px;
}

.team-card-info span{
    display:block;
    color:var(--primary);
    font-size:14px;
    font-weight:600;
    margin-bottom:10px;
}

.team-card-actions{
    display:flex;
    align-items:center;
    gap:14px;
    flex-shrink:0;
}

.team-card-actions a.linkedin{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#E7F5EC;
    color:var(--primary);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
}

.team-card-actions a.linkedin:hover{
    background:var(--primary);
    color:#fff;
}


/*====================================
/*====================================
WHY US
====================================*/

.amf-whyus{
    position:relative;
    background:linear-gradient(160deg, var(--secondary) 0%, #082a19 100%);
    color:#fff;
    overflow:hidden;
}

.amf-whyus::before{
    content:'';
    position:absolute;
    top:-120px;
    right:-120px;
    width:360px;
    height:360px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(0,166,81,.25) 0%, rgba(0,166,81,0) 70%);
    pointer-events:none;
}

.amf-whyus .container-xl{
    position:relative;
    z-index:1;
}

.amf-whyus .section-title h2,
.amf-whyus .section-title p{
    color:#fff;
}

.amf-whyus .section-title span{
    background:rgba(255,255,255,.12);
    color:#fff;
}

.whyus-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
    gap:24px;
}

.whyus-card{
    position:relative;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.15);
    border-radius:var(--radius);
    padding:36px 24px 28px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:16px;
    transition:var(--transition);
}

.whyus-card:hover{
    background:rgba(255,255,255,.1);
    border-color:rgba(0,166,81,.6);
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(0,0,0,.25);
}

.whyus-card .whyus-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:64px;
    height:64px;
    border-radius:50%;
    background:linear-gradient(135deg, var(--accent), var(--primary));
    box-shadow:0 10px 24px rgba(0,166,81,.35);
    flex-shrink:0;
}

.whyus-card i{
    color:#fff;
    font-size:24px;
}

.whyus-card p{
    margin:0;
    color:#e7edf5;
    font-weight:600;
    font-size:16px;
    line-height:1.5;
}


/*====================================
GET YOUR PASS TODAY
====================================*/

.amf-pass{
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#fff;
    text-align:center;
}

.amf-pass h2{
    color:#fff;
    font-size:36px;
    margin-bottom:16px;
}

.amf-pass p{
    color:#e7edf5;
    max-width:640px;
    margin:0 auto 30px;
}


/*====================================
BOOK YOUR VISIT FORM
====================================*/

.amf-book{
    background:var(--grey);
}

.book-grid{
    display:grid;
    grid-template-columns:0.8fr 1.2fr;
    gap:50px;
    align-items:flex-start;
}

.book-benefits{
    background:#fff;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:36px;
}

.book-benefits li{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:18px;
    font-weight:600;
    color:var(--secondary);
    list-style:none;
}

.book-benefits li i{
    color:var(--accent);
    font-size:18px;
}

.book-form{
    background:#fff;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:40px;
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-bottom:20px;
}

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group.full{
    grid-column:1 / -1;
}

.form-group label{
    font-size:14px;
    font-weight:600;
    color:var(--secondary);
    margin-bottom:8px;
}

.form-group input,
.form-group select,
.form-group textarea{
    border:1px solid var(--border);
    border-radius:8px;
    padding:12px 14px;
    font-family:'Poppins',sans-serif;
    font-size:15px;
    color:var(--text);
    background:var(--grey);
    transition:var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    outline:none;
    border-color:var(--primary);
    background:#fff;
}

.form-group textarea{
    resize:vertical;
    min-height:110px;
}

.book-form .btn{
    width:100%;
    margin-top:10px;
}

.radio-row{
    display:flex;
    gap:30px;
}

.radio-option{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:500;
    color:var(--text);
    cursor:pointer;
    margin-bottom:0 !important;
}

.radio-option input[type="radio"]{
    width:18px;
    height:18px;
    accent-color:var(--primary);
    cursor:pointer;
}

.form-success{
    display:none;
    background:#eafaf0;
    border:1px solid var(--accent);
    color:#00893f;
    padding:16px 20px;
    border-radius:8px;
    margin-bottom:20px;
    font-weight:600;
}

.form-error{
    display:none;
    background:#fdecea;
    border:1px solid #e05353;
    color:#c0392b;
    padding:16px 20px;
    border-radius:8px;
    margin-bottom:20px;
    font-weight:600;
}


/*====================================
CERTIFICATIONS
====================================*/

/*====================================
FIND US / MAP
====================================*/

.amf-map{
    background:var(--grey);
}

.map-embed{
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow:var(--shadow);
    line-height:0;
}

.map-embed iframe{
    display:block;
}


/*====================================
CERTIFICATIONS
====================================*/

.amf-certs{
    background:#fff;
}

.certs-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:24px;
}

.cert-item{
    background:var(--grey);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:28px 20px;
    text-align:center;
    transition:var(--transition);
}

.cert-item:hover{
    box-shadow:var(--shadow);
    transform:translateY(-4px);
}

.cert-item img{
    margin:0 auto 16px;
    max-height:60px;
    width:auto;
}

.cert-item h4{
    font-size:17px;
    margin-bottom:8px;
    color:var(--secondary);
}

.cert-item p{
    font-size:14px;
    margin:0;
    color:var(--text);
}


/*====================================
FAQ
====================================*/

.amf-faq{
    background:var(--grey);
}

.faq-list{
    max-width:820px;
    margin:0 auto;
}

.faq-item{
    background:#fff;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    margin-bottom:16px;
    overflow:hidden;
}

.faq-question{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 26px;
    cursor:pointer;
    font-weight:600;
    color:var(--secondary);
}

.faq-question i{
    transition:var(--transition);
    color:var(--primary);
}

.faq-item.active .faq-question i{
    transform:rotate(180deg);
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
    padding:0 26px;
}

.faq-item.active .faq-answer{
    max-height:300px;
    padding:0 26px 22px;
}


/*====================================
DISCLAIMER FOOTER
====================================*/

.amf-disclaimer{
    background:var(--dark);
    color:#c9d1db;
    padding:36px 0;
    font-size:13px;
    text-align:center;
}

.amf-disclaimer p{
    margin:0;
    max-width:900px;
    margin:0 auto;
}


/*====================================
STICKY MOBILE CTA
====================================*/

.sticky-cta{
    display:none;
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    background:#fff;
    box-shadow:0 -8px 24px rgba(0,0,0,.12);
    padding:14px 20px;
    z-index:999;
}

.sticky-cta .btn{
    width:100%;
}

.floating-whatsapp{
    position:fixed;
    bottom:90px;
    left:20px;
    width:56px;
    height:56px;
    background:#25D366;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:26px;
    box-shadow:var(--shadow);
    z-index:998;
}

.back-to-top{
    position:fixed;
    bottom:90px;
    right:20px;
    width:52px;
    height:52px;
    background:var(--primary);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:20px;
    box-shadow:var(--shadow);
    z-index:998;
    border:none;
    cursor:pointer;
    opacity:0;
    visibility:hidden;
    transform:translateY(12px);
    transition:opacity var(--transition), transform var(--transition), background var(--transition);
}

.back-to-top.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.back-to-top:hover{
    background:var(--accent);
}


/*====================================
UTILITY CLASSES
====================================*/

.shadow-box{

    background:#fff;
    padding:35px;
    border-radius:15px;
    box-shadow:var(--shadow);

}

.rounded-img{

    border-radius:15px;

}

.text-primary{

    color:var(--primary) !important;

}

.bg-light-blue{

    background:#E7F5EC;

}

.reveal{
    opacity:0;
    transform:translateY(24px);
    transition:opacity .6s ease, transform .6s ease;
}

.reveal.visible{
    opacity:1;
    transform:translateY(0);
}


/*====================================
RESPONSIVE
====================================*/

@media (max-width:1024px){

    .stats-grid{ grid-template-columns:repeat(3,1fr); }
    .industries-grid{ grid-template-columns:repeat(3,1fr); }
    .whyus-grid{ grid-template-columns:repeat(2,1fr); }
    .book-grid{ grid-template-columns:1fr; }
    .amf-about-grid{ grid-template-columns:1fr; }

}

@media (max-width:768px){

    h1{ font-size:36px; }
    h2{ font-size:28px; }
    .amf-hero{ padding:120px 0 60px; }
    .amf-hero h1{ font-size:36px; }
    .amf-hero h2{ font-size:20px; }
    .stats-grid{ grid-template-columns:repeat(2,1fr); }
    .industries-grid{ grid-template-columns:repeat(2,1fr); }
    .whyus-grid{ grid-template-columns:1fr; }
    .form-row{ grid-template-columns:1fr; }
    .team-card{ flex-direction:column; text-align:center; }
    .team-card-actions{ flex-direction:row; }
    .hero-float-card{ position:static; margin-top:20px; }
    .sticky-cta{ display:block; }
    section{ padding:60px 0; }

}
