/* =============================================
   ASHISH ELECTRICALS — Electrical Goods (Delhi)
   Theme: Dark Charcoal + Warm Gold + Cream
============================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root { 
    --dark:         #1a1a2e;
    --dark-mid:     #2a2a4a;
    --gold:         #c9a84c;
    --gold-light:   #e8cc7a;
    --cream:        #f8f6f0;
    --white:        #ffffff;
    --text-dark:    #1a1a1a;
    --text-mid:     #4a4a5a;
    --text-light:   #7a7a8a;
    --border:       #e0ddd6;
    --shadow:       0 6px 28px rgba(26,26,46,0.12);
    --shadow-hover: 0 14px 44px rgba(26,26,46,0.2);
    --radius:       14px;
    --transition:   all 0.32s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; letter-spacing: 0.3px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ---- BUTTONS ---- */
.btn {
    display: inline-block;
    padding: 0.82rem 2rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.3px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--text-dark);
    box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 26px rgba(201,168,76,0.5);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.8);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-3px);
}
.full-width { width: 100%; text-align: center; }
.whatsapp-btn {
    display: inline-block;
    margin-top: 0.6rem;
    background: #25d366;
    color: #fff;
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition);
}
/* =====================
   HEADER
===================== */
#main-header {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    padding: 0.9rem 0;
    transition: var(--transition);
    background: rgba(26,26,46,0.2);
    backdrop-filter: blur(6px);
}
#main-header.scrolled {
    background: var(--dark);
    padding: 0.55rem 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    backdrop-filter: none;
}
#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-mark {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.logo h1, .logo h3 {
    color: var(--white);
    font-size: 1.3rem;
    line-height: 1.1;
    margin: 0;
}
.logo h1 span, .logo h3 span { color: var(--gold-light); }
.logo .tagline, .logo p {
    color: rgba(255,255,255,0.65);
    font-size: 0.68rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.8px;
    margin: 0;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 1.6rem;
    align-items: center;
}
nav a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}
nav a:hover::after { width: 100%; }
nav a:hover { color: var(--gold-light); }

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.4rem;
    gap: 5px;
}
.hamburger span {
    width: 25px; height: 2.5px;
    background: var(--white);
    display: block;
    border-radius: 3px;
    transition: var(--transition);
}

/* =====================
   HERO
===================== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(circle at 20% 80%, rgba(201,168,76,0.22) 0%, transparent 42%),
        radial-gradient(circle at 85% 15%, rgba(201,168,76,0.18) 0%, transparent 45%),
        linear-gradient(160deg, #1a1a2e 0%, #23233f 55%, #1a1a2e 100%);
}
#hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent 0 38px, rgba(255,255,255,0.02) 38px 40px);
    z-index: 0;
}
.hero-decor {
    position: absolute;
    z-index: 1;
    opacity: 0.18;
    font-size: 12rem;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    animation: float-decor 6s ease-in-out infinite;
}
.hero-decor-1 { top: 8%; left: 6%; }
.hero-decor-2 { bottom: 10%; right: 7%; animation-delay: 2s; }
@keyframes float-decor {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50%      { transform: translateY(-22px) rotate(4deg); }
}
.hero-overlay { position: absolute; inset: 0; z-index: 1; }
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 7rem 2rem 2rem;
}
.hero-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--text-dark);
    padding: 0.35rem 1.2rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.4rem;
    font-family: 'Poppins', sans-serif;
}
.hero-content h2 {
    font-size: clamp(2.4rem, 5.5vw, 4.8rem);
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-desc {
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 2.2rem;
    color: rgba(255,255,255,0.85);
}
.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 2rem;
    max-width: 700px;
    margin: 0 auto;
}
.hero-stat {
    flex: 1;
    min-width: 140px;
    padding: 0.4rem 1rem;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.hero-stat:last-child { border-right: none; }
.hero-stat span { display: block; font-size: 1.7rem; }
.hero-stat p {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.3rem;
}
.hero-scroll {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.5rem;
    z-index: 2;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.scroll-arrow {
    width: 20px; height: 20px;
    border-right: 2px solid var(--gold-light);
    border-bottom: 2px solid var(--gold-light);
    transform: rotate(45deg);
    margin: 0.4rem auto 0;
    animation: bounce-arrow 1.6s infinite;
}
@keyframes bounce-arrow {
    0%, 100% { transform: rotate(45deg) translate(0,0); }
    50%      { transform: rotate(45deg) translate(5px,5px); }
}
.whatsapp-btn:hover { background: #1ebe58; transform: translateY(-2px); }

/* ---- SECTION BADGE ---- */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--text-dark);
    padding: 0.28rem 1.1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
    font-family: 'Poppins', sans-serif;
}

section h2 {
    font-size: 2.7rem;
    color: var(--dark);
    margin-bottom: 0.7rem;
    line-height: 1.15;
}
.section-sub {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2.8rem;
}

#about, #services, #portfolio, #why-us, #contact { padding: 5.5rem 0; }
/* =====================
   ABOUT
===================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3rem;
    align-items: center;
}
.about-text h2 { font-size: 2.4rem; }
.about-text p {
    color: var(--text-mid);
    font-size: 0.98rem;
    margin-bottom: 1rem;
}
.about-text p strong { color: var(--text-dark); }
.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin-top: 1.2rem;
}
.highlight-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.highlight-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.about-info-card {
    background: linear-gradient(160deg, var(--dark) 0%, var(--dark-mid) 100%);
    color: var(--white);
    border-radius: var(--radius);
    padding: 2.2rem 2rem;
    box-shadow: var(--shadow-hover);
    border-top: 4px solid var(--gold);
}
.about-info-icon {
    display: inline-flex;
    width: 52px; height: 52px;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
    border-radius: 12px;
    margin-bottom: 1rem;
}
.about-info-card h3 {
    color: var(--gold-light);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.info-list { list-style: none; margin-bottom: 1.5rem; }
.info-list li {
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    font-size: 0.92rem;
}
.info-list li:last-child { border-bottom: none; }
.info-list strong { color: var(--gold-light); font-weight: 600; }

/* =====================
   SERVICES
===================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.service-body { padding: 2rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.service-icon {
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
    border-radius: 12px;
    margin-bottom: 1.1rem;
}
.service-body h3 { font-size: 1.25rem; color: var(--dark); margin-bottom: 0.6rem; }
.service-body p { color: var(--text-mid); font-size: 0.9rem; flex: 1; }
.service-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 1rem 0 1.3rem;
}
.service-tags li {
    background: var(--cream);
    border: 1px solid var(--border);
    color: var(--text-mid);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
}
.service-body .btn { margin-top: auto; }

/* =====================
   PORTFOLIO / CATEGORIES
===================== */
#portfolio { background: var(--white); }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}
.portfolio-item {
    position: relative;
    height: 220px;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.portfolio-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.cat-1 { background: linear-gradient(135deg, #23233f, #3b3b68); }
.cat-2 { background: linear-gradient(135deg, #2f2f55, #4a4a7a); }
.cat-3 { background: linear-gradient(135deg, #1d1d33, #3a3a63); }
.cat-4 { background: linear-gradient(135deg, #26264a, #45456f); }
.cat-5 { background: linear-gradient(135deg, #333660, #4f5280); }
.cat-6 { background: linear-gradient(135deg, #2a2a4a, #44446e); }
.portfolio-chips span {
    font-size: 3.4rem;
    display: flex; align-items: center; justify-content: center;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
}
.portfolio-overlay {
    position: absolute; inset: auto 0 0 0;
    background: linear-gradient(transparent, rgba(26,26,46,0.92));
    color: var(--white);
    text-align: center;
    padding: 2rem 1rem 1rem;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
/* =====================
   WHY US
===================== */
#why-us { background: var(--white); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}
.why-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.7rem;
    text-align: center;
    transition: var(--transition);
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}
.why-icon {
    width: 62px; height: 62px;
    margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
    border-radius: 50%;
}
.why-card h3 { font-size: 1.15rem; color: var(--dark); margin-bottom: 0.6rem; }
.why-card p { color: var(--text-mid); font-size: 0.9rem; }

/* =====================
   CONTACT
===================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.3rem 1.4rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-hover); }
.contact-icon {
    width: 50px; height: 50px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
    border-radius: 10px;
}
.contact-card h3 { font-size: 1.05rem; color: var(--dark); margin-bottom: 0.35rem; }
.contact-card p { color: var(--text-mid); font-size: 0.9rem; line-height: 1.7; }
.contact-card a { color: var(--gold); text-decoration: none; }
.contact-card a:hover { color: var(--gold-light); }

.contact-form {
    background: linear-gradient(160deg, var(--dark) 0%, var(--dark-mid) 100%);
    border-radius: var(--radius);
    padding: 2.2rem 2rem;
    color: var(--white);
    box-shadow: var(--shadow-hover);
    border-top: 4px solid var(--gold);
}
.contact-form h3 {
    color: var(--gold-light);
    font-size: 1.4rem;
    margin-bottom: 1.3rem;
}
.form-group { margin-bottom: 1rem; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.5); }
.form-group select { appearance: auto; }
.form-group select option { color: var(--text-dark); background: #fff; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.1);
}

/* ---- MAP ---- */
#map-section iframe { display: block; }
/* =====================
   FOOTER
===================== */
footer {
    background: #12121f;
    color: var(--white);
    padding: 3.5rem 0 1.8rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 2.2rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-desc { color: rgba(255,255,255,0.55); font-size: 0.87rem; line-height: 1.75; }
footer h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.2rem;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.55rem; }
footer a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.87rem; transition: color 0.3s; }
footer a:hover { color: var(--gold-light); }
footer p { color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.85; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}
.footer-bottom p { font-size: 0.82rem; }

/* =====================
   FLOATING WHATSAPP
===================== */
.float-whatsapp {
    position: fixed;
    bottom: 2rem; right: 2rem;
    z-index: 999;
    background: #25d366;
    width: 58px; height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
    transition: var(--transition);
    animation: pulse-wa 2.5s infinite;
}
.float-whatsapp:hover {
    background: #1ebe58;
    transform: scale(1.1);
    animation: none;
    box-shadow: 0 8px 28px rgba(37,211,102,0.65);
}
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.5); }
    50%       { box-shadow: 0 6px 36px rgba(37,211,102,0.82); }
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2,1fr); }
    .portfolio-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .why-grid { grid-template-columns: repeat(2,1fr); }
    .contact-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hamburger { display: flex; }
    #nav-menu {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--dark);
        padding: 1.5rem 2rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    }
    #nav-menu.active { display: block; }
    nav ul { flex-direction: column; gap: 1.1rem; }
    section h2 { font-size: 2rem; }
    #about, #services, #portfolio, #why-us, #contact { padding: 4rem 0; }
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 0; }
    .hero-stat { min-width: 120px; }
}
@media (max-width: 580px) {
    .container { padding: 0 1.2rem; }
    .hero-content h2 { font-size: 2.1rem; }
    .about-highlights { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 290px; text-align: center; }
    .hero-stats { flex-direction: column; }
    .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .hero-stat:last-child { border-bottom: none; }
}