/* ═══════════════════════════════════════
   GO ELECTRONICS — Premium Design System
   Theme: royal-indigo
═══════════════════════════════════════ */

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --secondary: #059669;
    --accent: #f59e0b;
    --background: #f8fafc;
    --white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 12px;
    --radius-lg: 20px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

h2 span, h1 span { color: var(--primary); }

section { padding: 100px 0; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    border: none;
}

.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-secondary { background-color: #25d366; color: var(--white); }
.btn-secondary:hover { background-color: #1da851; transform: translateY(-2px); }

.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text-main); }
.btn-outline:hover { background: var(--white); border-color: var(--primary); color: var(--primary); }

.btn-outline-alt { border: 2px solid var(--primary); color: var(--primary); width: 100%; background: transparent; }
.btn-outline-alt:hover { background: var(--primary); color: var(--white); }

.btn-whatsapp { background-color: #25d366; color: var(--white); }
.full-width { width: 100%; }

/* ── Header ── */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.98);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    font-family: var(--font-heading);
    color: var(--text-main);
}

.logo i { color: var(--primary); font-size: 1.4rem; }
.logo span { color: var(--text-main); }

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-menu a:hover { color: var(--primary); }

.header-cta { display: flex; align-items: center; gap: 15px; }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2.5px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: 0.3s;
}

/* ── Hero ── */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
    overflow: hidden;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }

.hero-image { position: relative; }

.image-wrapper { position: relative; z-index: 1; }

.main-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.experience-card {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    z-index: 2;
    border-left: 5px solid var(--primary);
    animation: float 3s ease-in-out infinite;
}

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

.exp-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}

.exp-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ── Services ── */
.services { background: var(--white); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--background);
    padding: 40px 30px;
    border-radius: var(--radius);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    background: var(--white);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 25px;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 { margin-bottom: 15px; font-size: 1.15rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ── Products ── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.product-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.product-info { padding: 25px; }
.product-info h3 { margin-bottom: 10px; font-size: 1.15rem; }

.condition {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.condition i { color: var(--secondary); }

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.center-btn { text-align: center; }

/* ── About ── */
.about { background: var(--white); }

.about-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image { flex: 1; }

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-text { flex: 1; }

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item { display: flex; flex-direction: column; }

.stat-val {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}

.stat-lab { color: var(--text-muted); font-weight: 500; font-size: 0.9rem; }

/* ── Why Us ── */
.why-us { background: var(--background); }

.reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.reason-item {
    text-align: center;
    padding: 40px 25px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.reason-item i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.reason-item h4 { margin-bottom: 10px; font-size: 1.1rem; }
.reason-item p { color: var(--text-muted); font-size: 0.9rem; }

/* ── Testimonials ── */
.testimonials { background: var(--white); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--background);
    padding: 35px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.testimonial-card .stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-card .reviewer {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
}

/* ── Contact ── */
.contact { background: #f1f5f9; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.contact-info { padding: 60px; }
.contact-info > h2 { margin-bottom: 15px; font-size: 1.8rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 10px; }

.info-list { margin: 35px 0; }

.info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.info-item i {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.info-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.info-item a, .info-item p { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; }
.info-item a:hover { color: var(--primary); }

.contact-social { margin-top: 25px; }
.contact-map { width: 100%; }
.map-placeholder { height: 100%; min-height: 500px; }

/* ── Footer ── */
footer {
    background: var(--white);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

footer p { color: var(--text-muted); font-size: 0.9rem; }
.hours { margin-top: 10px; font-size: 0.85rem; color: var(--text-muted); }

/* ── Floating CTAs ── */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s;
    text-decoration: none;
    animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover { transform: scale(1.1); }

.call-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 0.3s;
    text-decoration: none;
}

.call-float:hover { transform: scale(1.1); }

/* ── Mobile Sticky Bar ── */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 999;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
}

.mobile-sticky-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.sticky-call { background: var(--primary); color: var(--white); }
.sticky-wa { background: #25d366; color: var(--white); }

/* ── Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .hero-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-flex { flex-direction: column-reverse; gap: 40px; }
    .hero-text { text-align: center; }
    .hero-btns { justify-content: center; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-image { order: -1; }
    .experience-card { left: 20px; }
    .contact-info { padding: 40px 30px; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-menu-toggle { display: flex; }
    .call-btn { display: none; }
    .section-header h2 { font-size: 1.8rem; }
    .hero { padding-top: 120px; padding-bottom: 60px; }
    .hero-text h1 { font-size: 2rem; }
    .hero-btns .btn { padding: 12px 20px; font-size: 0.9rem; }
    .about-stats { gap: 20px; }
    .stat-val { font-size: 1.4rem; }
    .products-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .product-image { height: 180px; }
    .product-info { padding: 15px; }
    .product-info h3 { font-size: 1rem; }
    .whatsapp-float, .call-float { bottom: 80px; }
    .call-float { bottom: 150px; }
    section { padding: 60px 0; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; }
}

@media (min-width: 769px) {
    .mobile-only { display: none !important; }
    .mobile-sticky-bar { display: none !important; }
}
