/* ========================================
   AHMED TRADERS - WHOLESALE DISTRIBUTION
   Corporate Website CSS
   ======================================== */

:root {
    --green-dark: #000000;
    --green-main: #CC0000;
    --green-mid: #E60000;
    --green-light: #FF3333;
    --gold: #D4AC0D;
    --gold-bright: #F0C60F;
    --white: #FFFFFF;
    --off-white: #F5F5F0;
    --light-grey: #B0B0B0;
    --text-secondary: #888;
    --dark: #0a0a0a;
    --card-bg: rgba(204, 0, 0, 0.08);
    --shadow-green: 0 5px 30px rgba(204, 0, 0, 0.3);
    --shadow-gold: 0 5px 30px rgba(212, 172, 13, 0.3);
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
    --font: 'Outfit', 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    background: var(--white);
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
a:hover { color: var(--green-main); }
ul { list-style: none; }
button { border: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
.text-gold { color: var(--gold); }
.text-green { color: var(--green-main); }

/* ANIMATIONS */
@keyframes fadeInUp { from { opacity:0; transform:translateY(40px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-12px); } }
@keyframes shimmer { 0% { background-position:-1000px 0; } 100% { background-position:1000px 0; } }
@keyframes pulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.05); } }
@keyframes slideDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }

.animate-fade-in { animation: fadeIn 0.6s ease-out; }
.animate-up { animation: fadeInUp 0.7s ease-out; }

/* HEADER */
.header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 0.3rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.header.scrolled { padding: 0; background: rgba(0,0,0,0.98); }
.nav { display:flex; justify-content:space-between; align-items:center; }
.logo-link { display:flex; align-items:center; gap:0.75rem; }
.logo-img { height: 75px; width:auto; transition:height 0.4s ease; }
.header.scrolled .logo-img { height: 60px; }
.logo-text { display:flex; flex-direction:column; }
.logo-name { font-size:1.2rem; font-weight:800; color:var(--white); letter-spacing:1px; line-height:1.1; }
.logo-tagline { font-size:0.65rem; color:var(--gold); letter-spacing:2px; text-transform:uppercase; }

.nav-menu { display:flex; align-items:center; gap:2rem; }
.nav-list { display:flex; gap:1.8rem; }
.nav-link {
    font-size: 0.85rem; font-weight:600; letter-spacing:1px;
    text-transform:uppercase; color:rgba(255,255,255,0.85);
    position:relative; padding:0.4rem 0;
    transition: color var(--transition);
}
.nav-link::after {
    content:''; position:absolute; bottom:0; left:0;
    width:0; height:2px; background:var(--gold);
    transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color:var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width:100%; }

.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; }
.hamburger span { width:25px; height:3px; background:var(--white); transition:all var(--transition); border-radius:2px; }
.hamburger.active span:nth-child(1) { transform:rotate(45deg) translate(8px,8px); }
.hamburger.active span:nth-child(2) { opacity:0; }
.hamburger.active span:nth-child(3) { transform:rotate(-45deg) translate(8px,-8px); }

/* BUTTONS */
.btn {
    display:inline-block; padding:0.8rem 2rem;
    font-size:0.9rem; font-weight:700; letter-spacing:1px;
    text-transform:uppercase; border-radius:var(--radius-sm);
    transition:all var(--transition); position:relative; overflow:hidden;
}
.btn::before {
    content:''; position:absolute; top:0; left:-100%; width:100%; height:100%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,0.2),transparent);
    transition:left 0.5s;
}
.btn:hover::before { left:100%; }
.btn-primary { background:var(--gold); color:var(--dark); box-shadow:var(--shadow-gold); }
.btn-primary:hover { background:var(--gold-bright); transform:translateY(-2px); color:var(--dark); }
.btn-outline { background:transparent; color:var(--white); border:2px solid var(--gold); }
.btn-outline:hover { background:var(--gold); color:var(--dark); transform:translateY(-2px); }
.btn-green { background:var(--green-main); color:var(--white); }
.btn-green:hover { background:var(--green-mid); transform:translateY(-2px); }
.btn-lg { padding:1rem 2.5rem; font-size:1rem; }
.btn-block { display:block; width:100%; text-align:center; }

/* HERO */
.hero {
    position:relative; min-height:100vh;
    display:flex; align-items:center; justify-content:center;
    background:url('../images/hero-bg.png') center/cover no-repeat;
    padding:6rem 0; margin-top:70px;
}
.hero-overlay {
    position:absolute; inset:0;
    background:linear-gradient(135deg, rgba(0,0,0,0.90) 0%, rgba(20,20,20,0.85) 60%, rgba(0,0,0,0.7) 100%);
}
.hero-content { position:relative; z-index:2; text-align:center; max-width:950px; margin:0 auto; }
.hero-badge {
    display:inline-flex; align-items:center; gap:0.5rem;
    background:rgba(212,172,13,0.2); border:1px solid rgba(212,172,13,0.5);
    padding:0.4rem 1.2rem; border-radius:50px;
    font-size:0.8rem; font-weight:600; letter-spacing:2px;
    color:var(--gold); text-transform:uppercase; margin-bottom:1.5rem;
    animation: fadeIn 0.8s ease-out;
}
.hero-title {
    font-size:clamp(2.5rem, 6vw, 4.5rem);
    font-weight:900; line-height:1.1;
    color:var(--white); margin-bottom:1.5rem;
    text-shadow:0 4px 20px rgba(0,0,0,0.5);
    animation: fadeInUp 0.8s 0.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-title span { color:var(--gold); }
.hero-desc {
    font-size:1.15rem; color:rgba(255,255,255,0.85);
    max-width:700px; margin:0 auto 2.5rem;
    line-height:1.8; animation:fadeInUp 0.8s 0.35s ease-out both;
}
.hero-buttons { display:flex; gap:1.5rem; justify-content:center; flex-wrap:wrap; animation:fadeInUp 0.8s 0.5s ease-out both; }
.hero-stats { display:flex; gap:3rem; justify-content:center; margin-top:4rem; flex-wrap:wrap; animation:fadeInUp 0.8s 0.65s ease-out both; }
.stat-item { text-align:center; }
.stat-num { display:block; font-size:2.5rem; font-weight:900; color:var(--gold); line-height:1; }
.stat-label { font-size:0.8rem; color:rgba(255,255,255,0.7); letter-spacing:1px; text-transform:uppercase; margin-top:0.3rem; }
.hero-scroll {
    position:absolute; bottom:2rem; left:50%; transform:translateX(-50%);
    display:flex; flex-direction:column; align-items:center; gap:0.5rem; z-index:2;
    animation:float 2s infinite;
}
.hero-scroll span { font-size:0.7rem; color:rgba(255,255,255,0.5); letter-spacing:2px; text-transform:uppercase; }
.hero-scroll i { color:var(--gold); font-size:1.2rem; }

/* SECTIONS */
section { padding: 5rem 0; }
.section-header { text-align:center; margin-bottom:3.5rem; }
.section-tag {
    display:inline-block; background:var(--dark); color:var(--gold);
    border:1px solid rgba(255,255,255,0.1); padding:0.3rem 1rem;
    border-radius:50px; font-size:0.78rem; font-weight:700;
    letter-spacing:2px; text-transform:uppercase; margin-bottom:1rem;
}
.section-title {
    font-size:clamp(1.8rem, 4vw, 3rem); font-weight:800;
    letter-spacing:-0.5px; margin-bottom:1rem;
    text-transform:uppercase; color:#111;
}
.section-title span { color:var(--green-main); }
.section-title.light { color:var(--white); }
.section-title.light span { color:var(--gold); }
.section-desc { font-size:1.05rem; color:var(--text-secondary); max-width:650px; margin:0 auto; }

/* BRANDS SECTION */
.brands { background:var(--off-white); padding:4rem 0; }
.brands-label { text-align:center; font-size:0.8rem; letter-spacing:3px; text-transform:uppercase; color:var(--text-secondary); margin-bottom:2.5rem; }
.brands-grid { display:flex; justify-content:center; align-items:center; gap:4rem; flex-wrap:wrap; }
.brand-card {
    display:flex; flex-direction:column; align-items:center; gap:1rem;
    padding:2rem 3rem; background:var(--white); border-radius:var(--radius-lg);
    box-shadow:0 4px 20px rgba(0,0,0,0.06); border:1px solid rgba(0,0,0,0.06);
    transition:all var(--transition);
}
.brand-card:hover { transform:translateY(-6px); box-shadow:0 12px 35px rgba(204,0,0,0.15); border-color:var(--green-light); }
.brand-card img { height:80px; width:auto; object-fit:contain; }
.brand-card span { font-size:0.78rem; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--text-secondary); }

/* ABOUT */
.about { background:var(--white); }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; }
.about-image-wrap { position:relative; border-radius:var(--radius-lg); overflow:hidden; }
.about-image-wrap img { width:100%; height:500px; object-fit:cover; }
.about-badge {
    position:absolute; bottom:2rem; left:2rem;
    background:var(--dark); color:var(--white);
    padding:1rem 1.5rem; border-radius:var(--radius-md);
    border-left:4px solid var(--gold);
}
.about-badge strong { display:block; font-size:1.6rem; font-weight:900; color:var(--gold); }
.about-badge span { font-size:0.75rem; letter-spacing:1px; text-transform:uppercase; }
.about-content .section-title { text-align:left; }
.about-content .section-tag { margin-bottom:0.8rem; }
.about-desc { font-size:1.05rem; color:#444; line-height:1.9; margin-bottom:1.5rem; }
.about-features { display:flex; flex-direction:column; gap:1rem; margin:2rem 0; }
.feature-row { display:flex; align-items:flex-start; gap:1rem; }
.feature-icon { width:42px; height:42px; background:rgba(204,0,0,0.1); border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.feature-icon i { color:var(--green-main); font-size:1.1rem; }
.feature-text h4 { font-size:1rem; font-weight:700; color:#111; margin-bottom:0.25rem; }
.feature-text p { font-size:0.9rem; color:var(--text-secondary); }

/* PRODUCTS/DISTRIBUTION */
.distribution { background:var(--dark); color:var(--white); }
.dist-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:2rem; }
.dist-card {
    background:rgba(255,255,255,0.05); backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,0.1); border-radius:var(--radius-lg);
    padding:2.5rem; text-align:center; transition:all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dist-card:hover { background:rgba(255,255,255,0.1); transform:translateY(-10px) scale(1.02); border-color:var(--gold); box-shadow:var(--shadow-gold); }
.dist-logo { height:90px; width:auto; margin:0 auto 1.5rem; object-fit:contain; filter:brightness(1.1); }
.dist-card h3 { font-size:1.4rem; font-weight:800; color:var(--white); margin-bottom:0.75rem; }
.dist-card p { color:rgba(255,255,255,0.75); font-size:0.95rem; line-height:1.7; margin-bottom:1.5rem; }
.dist-tags { display:flex; flex-wrap:wrap; gap:0.5rem; justify-content:center; }
.dist-tag { background:rgba(212,172,13,0.2); color:var(--gold); border:1px solid rgba(212,172,13,0.3); padding:0.3rem 0.9rem; border-radius:50px; font-size:0.75rem; font-weight:600; }
.dist-link { display:inline-flex; align-items:center; gap:0.5rem; margin-top:1.5rem; color:var(--gold); font-size:0.85rem; font-weight:700; letter-spacing:1px; text-transform:uppercase; transition:gap var(--transition); }
.dist-link:hover { gap:1rem; color:var(--gold-bright); }

/* DIST CTA */
.dist-cta { margin-top:3rem; }
.dist-cta-inner {
    display:flex; align-items:center; gap:2rem; flex-wrap:wrap;
    background:rgba(255,255,255,0.1); border:1px solid rgba(212,172,13,0.4);
    border-radius:var(--radius-lg); padding:2rem 2.5rem;
    backdrop-filter:blur(10px);
}
.dist-cta-inner > i { font-size:2.5rem; color:var(--gold); flex-shrink:0; }
.dist-cta-inner > div { flex:1; min-width:200px; }
.dist-cta-inner h4 { font-size:1.2rem; font-weight:700; color:var(--white); margin-bottom:0.3rem; }
.dist-cta-inner p { color:rgba(255,255,255,0.7); font-size:0.95rem; }

/* WHY CHOOSE US */
.why-us { background:var(--off-white); }
.why-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:1.8rem; }
.why-card {
    background:var(--white); border-radius:var(--radius-lg);
    padding:2.5rem 2rem; text-align:center;
    border:1px solid rgba(0,0,0,0.04);
    box-shadow:0 4px 20px rgba(0,0,0,0.04);
    transition:all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.why-card:hover { transform:translateY(-10px) scale(1.02); box-shadow:0 20px 40px rgba(0,0,0,0.1); border-color:rgba(204,0,0,0.3); }
.why-icon { width:70px; height:70px; border-radius:50%; background:var(--dark); display:flex; align-items:center; justify-content:center; margin:0 auto 1.5rem; transition:all var(--transition); }
.why-card:hover .why-icon { background:var(--green-main); }
.why-icon i { font-size:1.8rem; color:var(--gold); transition:color var(--transition); }
.why-card:hover .why-icon i { color:var(--white); }
.why-card h3 { font-size:1.1rem; font-weight:700; margin-bottom:0.75rem; color:#111; }
.why-card p { font-size:0.9rem; color:var(--text-secondary); line-height:1.7; }

/* FAQ */
.faq { background:var(--white); }
.faq-list { max-width:850px; margin:0 auto; display:flex; flex-direction:column; gap:1rem; }
.faq-item { border:1px solid rgba(0,0,0,0.08); border-radius:var(--radius-md); overflow:hidden; transition:all var(--transition); }
.faq-item:hover { border-color:var(--green-light); }
.faq-item.active { border-color:var(--green-main); }
.faq-question { display:flex; justify-content:space-between; align-items:center; padding:1.4rem 1.8rem; cursor:pointer; background:var(--white); }
.faq-question h4 { font-size:1rem; font-weight:600; color:#111; }
.faq-question i { color:var(--green-main); transition:transform var(--transition); font-size:0.9rem; }
.faq-item.active .faq-question i { transform:rotate(180deg); }
.faq-answer { max-height:0; overflow:hidden; transition:max-height 0.4s ease, padding 0.3s ease; }
.faq-answer p { padding:0 1.8rem 1.4rem; color:var(--text-secondary); line-height:1.8; font-size:0.95rem; }
.faq-item.active .faq-answer { max-height:300px; }

/* CONTACT */
.contact { background:var(--dark); }
.contact-grid { display:grid; grid-template-columns:1fr 1.3fr; gap:4rem; align-items:start; }
.contact-info h2 { font-size:clamp(1.8rem,3vw,2.5rem); font-weight:800; color:var(--white); text-transform:uppercase; margin-bottom:1rem; }
.contact-info h2 span { color:var(--gold); }
.contact-info > p { color:rgba(255,255,255,0.75); margin-bottom:2.5rem; font-size:1rem; line-height:1.8; }
.contact-details { display:flex; flex-direction:column; gap:1.2rem; }
.contact-card { display:flex; align-items:flex-start; gap:1rem; padding:1.2rem; background:rgba(255,255,255,0.08); border-radius:var(--radius-md); border:1px solid rgba(255,255,255,0.1); transition:all var(--transition); }
.contact-card:hover { background:rgba(255,255,255,0.14); transform:translateX(5px); }
.contact-card i { font-size:1.3rem; color:var(--gold); margin-top:0.1rem; }
.contact-card-text h4 { font-size:0.8rem; font-weight:700; color:rgba(255,255,255,0.5); text-transform:uppercase; letter-spacing:1px; margin-bottom:0.3rem; }
.contact-card-text a, .contact-card-text p { color:var(--white); font-size:0.95rem; font-weight:500; }
.contact-card-text a:hover { color:var(--gold); }

.contact-form-wrap { background:var(--white); border-radius:var(--radius-lg); padding:2.5rem; box-shadow:0 20px 60px rgba(0,0,0,0.2); }
.contact-form-wrap h3 { font-size:1.5rem; font-weight:800; text-transform:uppercase; margin-bottom:0.5rem; color:#111; }
.contact-form-wrap h3 span { color:var(--green-main); }
.contact-form-wrap > p { color:var(--text-secondary); font-size:0.9rem; margin-bottom:2rem; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.form-group { margin-bottom:1rem; }
.form-group input, .form-group textarea, .form-group select {
    width:100%; padding:0.9rem 1.2rem;
    border:1.5px solid #e0e0e0; border-radius:var(--radius-sm);
    font-size:0.95rem; outline:none; background:var(--white); color:#111;
    transition:border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color:var(--green-main); box-shadow:0 0 0 3px rgba(204,0,0,0.1); }
.form-group textarea { resize:vertical; min-height:120px; }

/* FOOTER */
.footer { background:var(--green-dark); color:var(--white); padding:4rem 0 0; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:3rem; margin-bottom:3rem; }
.footer-brand .logo-name { font-size:1.4rem; font-weight:900; }
.footer-brand p { color:rgba(255,255,255,0.6); font-size:0.9rem; line-height:1.8; margin:1rem 0 1.5rem; }
.social-links { display:flex; gap:0.8rem; }
.social-links a { width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.7); transition:all var(--transition); font-size:0.9rem; }
.social-links a:hover { background:var(--gold); color:var(--dark); transform:translateY(-3px); }
.footer-col h4 { font-size:0.85rem; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--gold); margin-bottom:1.5rem; }
.footer-col ul { display:flex; flex-direction:column; gap:0.7rem; }
.footer-col ul li { font-size:0.9rem; color:rgba(255,255,255,0.6); transition:all var(--transition); }
.footer-col ul li:hover { color:var(--gold); transform:translateX(4px); }
.footer-col ul li i { margin-right:0.5rem; color:var(--gold); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.1); padding:1.5rem 0; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; }
.footer-bottom p { font-size:0.85rem; color:rgba(255,255,255,0.5); }
.footer-links { display:flex; gap:1.5rem; }
.footer-links a { font-size:0.8rem; color:rgba(255,255,255,0.5); letter-spacing:1px; text-transform:uppercase; transition:color var(--transition); }
.footer-links a:hover { color:var(--gold); }

/* SCROLL TO TOP */
.scroll-to-top { position:fixed; bottom:2rem; right:2rem; width:48px; height:48px; background:var(--dark); color:var(--gold); border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-green); opacity:0; visibility:hidden; transition:all var(--transition); z-index:999; }
.scroll-to-top.visible { opacity:1; visibility:visible; }
.scroll-to-top:hover { background:var(--green-main); color:var(--white); transform:translateY(-4px); }

/* WHATSAPP BUTTON */
.whatsapp-btn { position:fixed; bottom:5.5rem; right:2rem; width:48px; height:48px; background:#25D366; color:var(--white); border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 20px rgba(37,211,102,0.4); font-size:1.4rem; z-index:999; transition:all var(--transition); animation:pulse 2s infinite; }
.whatsapp-btn:hover { transform:scale(1.1); color:var(--white); }

/* MOBILE NAV */
@media (max-width:900px) {
    .hamburger { display:flex; }
    .nav-menu { position:fixed; top:70px; left:0; right:0; background:rgba(0,0,0,0.95); padding:2rem; flex-direction:column; align-items:flex-start; gap:0; transform:translateY(-120%); opacity:0; transition:all var(--transition); z-index:999; }
    .nav-menu.open { transform:translateY(0); opacity:1; }
    .nav-list { flex-direction:column; gap:0; width:100%; }
    .nav-link { padding:1rem 0; display:block; border-bottom:1px solid rgba(255,255,255,0.07); }
    .nav-menu .btn { margin-top:1.5rem; width:100%; text-align:center; }
    .why-grid { grid-template-columns:repeat(2, 1fr); }
}

@media (max-width:768px) {
    section { padding:3.5rem 0; }
    .hero { padding:4rem 0; margin-top:60px; }
    .hero-title { font-size: 2.2rem; }
    .hero-stats { gap:2rem; flex-direction:column; align-items:center; }
    .about-grid, .contact-grid, .why-grid { grid-template-columns:1fr; }
    .about-image-wrap img { height:300px; }
    .form-row { grid-template-columns:1fr; }
    .footer-grid { grid-template-columns:1fr; gap:2rem; }
    .footer-bottom { flex-direction:column; text-align:center; }
    .logo-img { height: 50px; }
    .header.scrolled .logo-img { height: 45px; }
}

@media (max-width:480px) {
    .container { padding:0 1.2rem; }
    .hero-buttons { flex-direction:column; align-items:center; gap: 1rem; }
    .btn { width: 100%; text-align: center; }
    .brands-grid { flex-direction:column; gap:2rem; }
    .brand-card { padding:1.5rem; width: 100%; max-width: 300px; }
    .contact-card { flex-direction:column; text-align:center; align-items:center; }
}