/* ====================================
GERMODEX PREMIUM FMCG WEBSITE
PART 2 - STYLE.CSS
==================================== */

:root{

--primary:#0B5D2A;
--dark:#03361A;
--gold:#FFD54A;
--yellow:#F5C400;
--white:#ffffff;
--light:#f6faf7;

--shadow:
0 15px 40px rgba(0,0,0,.12);

--radius:24px;

}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

html{
scroll-behavior:smooth;
}

body{

background:var(--light);
color:#222;
overflow-x:hidden;

}

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

a{
text-decoration:none;
}

.container{

width:90%;
max-width:1300px;
margin:auto;

}

/* ===========================
HEADER
=========================== */

.header{

position:fixed;
top:0;
left:0;
width:100%;
z-index:999;

background:
rgba(3,54,26,.92);

backdrop-filter:blur(10px);

}

.nav-container{

height:80px;

display:flex;
align-items:center;
justify-content:space-between;

}

.logo{

font-size:34px;
font-weight:800;
color:white;

letter-spacing:1px;

}

.logo span{

color:var(--gold);

}

.nav{

display:flex;
gap:35px;

}

.nav a{

color:white;
font-weight:500;
transition:.3s;

}

.nav a:hover{

color:var(--gold);

}

.menu-btn{

display:none;
font-size:30px;
color:white;
cursor:pointer;

}

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

.hero{

height:100vh;
position:relative;
overflow:hidden;

}

.hero .swiper{

height:100%;

}

.hero .swiper-slide{

position:relative;

}

.hero .swiper-slide img{

width:100%;
height:100%;
object-fit:cover;

}

.hero-overlay{

position:absolute;
inset:0;

background:

linear-gradient(
90deg,
rgba(0,0,0,.75),
rgba(0,0,0,.35)
);

}

.hero-content{

position:absolute;

top:50%;
left:10%;

transform:translateY(-50%);

max-width:700px;

z-index:10;

color:white;

}

.hero-badge{

display:inline-block;

padding:10px 18px;

background:
rgba(255,255,255,.12);

border:1px solid
rgba(255,255,255,.2);

backdrop-filter:blur(8px);

border-radius:50px;

margin-bottom:20px;

font-size:14px;

}

.hero-content h1{

font-size:90px;
line-height:1;
font-weight:800;

}

.hero-content h1 span{

color:var(--gold);

}

.hero-content h2{

font-size:44px;
margin-top:20px;

}

.hero-content p{

margin-top:25px;

font-size:18px;

line-height:1.8;

max-width:600px;

}

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

.hero-buttons{

margin-top:35px;
display:flex;
gap:15px;

}

.btn-primary{

display:inline-flex;

align-items:center;
justify-content:center;

padding:16px 34px;

background:var(--gold);

color:black;

font-weight:700;

border-radius:50px;

transition:.4s;

}

.btn-primary:hover{

transform:translateY(-4px);

box-shadow:
0 12px 30px rgba(255,213,74,.4);

}

.btn-secondary{

display:inline-flex;

align-items:center;
justify-content:center;

padding:16px 34px;

border-radius:50px;

border:2px solid white;

color:white;

font-weight:700;

transition:.4s;

}

.btn-secondary:hover{

background:white;
color:black;

}

/* ===========================
TRUST BAR
=========================== */

.trust-section{

padding:80px 0;

background:white;

}

.trust-grid{

display:grid;

grid-template-columns:
repeat(4,1fr);

gap:25px;

}

.counter-box{

text-align:center;

padding:30px;

border-radius:20px;

background:white;

box-shadow:var(--shadow);

}

.counter-box h3{

font-size:42px;

color:var(--primary);

font-weight:800;

}

.counter-box p{

margin-top:8px;

}

/* ===========================
SECTION HEADERS
=========================== */

.section-header{

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

}

.section-tag{

display:inline-block;

padding:8px 18px;

background:
rgba(11,93,42,.08);

border-radius:30px;

color:var(--primary);

font-weight:600;

margin-bottom:20px;

}

.section-header h2{

font-size:50px;

color:var(--dark);

font-weight:800;

}

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

.about-section{

padding:120px 0;

background:white;

}

.about-grid{

display:grid;

grid-template-columns:
1fr 1fr;

gap:80px;

align-items:center;

}

.about-image img{

border-radius:30px;

box-shadow:var(--shadow);

}

.about-content h2{

font-size:48px;

margin-bottom:20px;

color:var(--dark);

}

.about-content p{

line-height:1.9;

margin-bottom:25px;

}

.about-content ul{

padding-left:20px;

}

.about-content li{

margin-bottom:12px;

}

/* ===========================
PRODUCTS
=========================== */

.products-section{

padding:120px 0;

background:#f7faf8;

}

.products-grid{

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(260px,1fr));

gap:30px;

}

.product-card{

background:white;

border-radius:30px;

padding:25px;

text-align:center;

box-shadow:var(--shadow);

transition:.4s;

position:relative;

overflow:hidden;

}

.product-card:hover{

transform:translateY(-10px);

}

.product-card::before{

content:"";

position:absolute;

top:0;
left:0;

height:6px;
width:100%;

background:

linear-gradient(
90deg,
var(--gold),
var(--yellow)
);

}

.product-card img{

height:260px;

object-fit:contain;

margin:auto;

}

.product-card h3{

margin-top:20px;

font-size:24px;

color:var(--primary);

}

.product-card p{

margin-top:8px;

}

/* ===========================
WHY SECTION
=========================== */

.why-section{

padding:120px 0;

background:

linear-gradient(
135deg,
var(--dark),
var(--primary)
);

}

.why-section .section-header h2{

color:white;

}

.why-grid{

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(250px,1fr));

gap:25px;

}

.why-card{

background:
rgba(255,255,255,.08);

backdrop-filter:blur(8px);

padding:40px;

border-radius:24px;

text-align:center;

color:white;

transition:.4s;

}

.why-card:hover{

transform:translateY(-8px);

background:
rgba(255,255,255,.15);

}

.why-card{

font-size:40px;

}

.why-card h3{

margin-top:15px;

font-size:22px;

}

/* ===========================
DISTRIBUTOR
=========================== */

.distributor-section{

padding:140px 0;

background:

linear-gradient(
135deg,
#FFD54A,
#F5C400
);

text-align:center;

}

.distributor-content{

max-width:800px;

}

.distributor-content h2{

font-size:60px;

margin:20px 0;

color:#111;

}

.distributor-content p{

font-size:18px;

line-height:1.8;

margin-bottom:35px;

}

/* ===========================
CONTACT
=========================== */

.contact-section{

padding:120px 0;

background:white;

}

.contact-form{

max-width:800px;

margin:auto;

display:flex;
flex-direction:column;
gap:18px;

}

.contact-form input,
.contact-form textarea{

padding:18px;

border:none;

border-radius:18px;

background:#f4f4f4;

font-size:16px;

}

.contact-form button{

height:60px;

border:none;

background:var(--primary);

color:white;

font-size:18px;

font-weight:700;

border-radius:18px;

cursor:pointer;

}

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

.footer{

padding:80px 0;

background:var(--dark);

text-align:center;

color:white;

}

.footer-logo{

font-size:50px;

font-weight:800;

margin-bottom:10px;

}

.footer-logo span{

color:var(--gold);

}

.footer p{

margin-top:10px;

}

/* ===========================
WHATSAPP
=========================== */

.whatsapp-btn{

position:fixed;

bottom:25px;
right:25px;

width:65px;
height:65px;

border-radius:50%;

background:#25D366;

display:flex;

align-items:center;
justify-content:center;

font-size:28px;

color:white;

z-index:999;

box-shadow:
0 10px 25px rgba(0,0,0,.25);

}

/* ===========================
MOBILE
=========================== */

@media(max-width:991px){

.hero-content h1{

font-size:60px;

}

.hero-content h2{

font-size:32px;

}

.about-grid{

grid-template-columns:1fr;

}

.trust-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.nav{

display:none;

}

.menu-btn{

display:block;

}

.hero-content{

left:20px;
right:20px;

}

.hero-content h1{

font-size:46px;

}

.hero-content h2{

font-size:28px;

}

.hero-buttons{

flex-direction:column;

}

.section-header h2{

font-size:34px;

}

.trust-grid{

grid-template-columns:1fr;

}

.distributor-content h2{

font-size:38px;

}

.about-content h2{

font-size:34px;

}



}

/* Global utility classes */

.hidden{
opacity:0;
transform:translateY(40px);
transition:.8s;
}

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

.nav.active{
display:flex;
flex-direction:column;
position:absolute;
top:80px;
left:0;
width:100%;
background:#03361A;
padding:20px;
}

.sticky{
box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.scroll-top{

position:fixed;
bottom:110px;
right:25px;

width:50px;
height:50px;

border-radius:50%;

background:#FFD54A;

display:flex;
align-items:center;
justify-content:center;

font-size:22px;
font-weight:700;

cursor:pointer;

opacity:0;
visibility:hidden;

transition:.3s;

z-index:999;

}

.scroll-top.active{

opacity:1;
visibility:visible;

}

@keyframes floatAnimation{

0%{
transform:translateY(0px);
}

50%{
transform:translateY(-8px);
}

100%{
transform:translateY(0px);
}

}




/* Popup */
.success-popup{
position:fixed;
top:0;left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.55);
display:none;
align-items:center;
justify-content:center;
z-index:99999;
}
.success-popup.active{
display:flex;
animation:fadePopup .35s ease;
}
@keyframes fadePopup{
from{opacity:0;transform:scale(.95);}
to{opacity:1;transform:scale(1);}
}
.popup-box{
width:min(420px,90%);
background:#fff;
padding:40px;
border-radius:24px;
text-align:center;
box-shadow:0 25px 60px rgba(0,0,0,.2);
}
.popup-icon{font-size:60px;margin-bottom:20px;}
.popup-box h2{color:#0B5D2A;margin-bottom:15px;}
.popup-box p{line-height:1.8;margin-bottom:25px;}
.popup-box button{
padding:14px 35px;
background:#0B5D2A;
color:#fff;
border:none;
border-radius:50px;
cursor:pointer;
font-weight:600;
}
