/* Global Variables */
:root {
    --bg-color: #f5f5f7;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --accent-blue: #0071e3;
    --accent-blue-hover: #0077ed;
    --white: #ffffff;
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg-color);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

h2.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 54px;
    /* Apple nav height */
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 1.1rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #000;
    color: white;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/BaCKGROUND.png');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    /* Increased opacity for better visibility of user image */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* Added shadow for readability on custom bg */
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #cecece;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border-radius: 980px;
    /* Pill shape */
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    transform: scale(1.02);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
}

.btn-secondary:hover {
    background-color: rgba(0, 113, 227, 0.1);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background-color: #1ebc59;
}


/* Common Section Styles */
.section-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 6rem 20px;
}

/* Products Section */
.products-section {
    background-color: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: scale(1.03);
}

.card-image-placeholder {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.product-card:hover .card-image-placeholder {
    transform: scale(1.05);
}

/* Mapping user screenshots to categories */
.img-smartphones {
    background-image: url('assets/Screenshot%202026-02-11%20144930.png');
}

.img-tvs {
    background-image: url('assets/Screenshot%202026-02-11%20144954.png');
}

.img-appliances {
    background-image: url('assets/Screenshot%202026-02-11%20145012.png');
}

.img-accessories {
    background-image: url('assets/Screenshot%202026-02-11%20145050.png');
}


.gradient-1 {
    background: linear-gradient(135deg, #1c1c1e 0%, #3a3a3c 100%);
}

.gradient-2 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.gradient-3 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-4 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.card-info {
    padding: 2rem;
    text-align: center;
}

.card-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-desc {
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.product-list {
    text-align: left;
    padding-left: 1rem;
}

.product-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 10px;
}

.product-list li::before {
    content: "•";
    color: var(--text-primary);
    position: absolute;
    left: -10px;
}

/* Why Choose Us */
.choose-us-section {
    background-color: var(--bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    margin-bottom: 0.8rem;
}

.feature-item p {
    color: var(--text-secondary);
}

/* Reviews */
.reviews-section {
    background-color: var(--white);
}

.review-scroller {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding-bottom: 1rem;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.review-scroller::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Saf */
}

.review-card {
    min-width: 300px;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 18px;
    box-shadow: var(--card-shadow);
}

.stars {
    color: #FFD700;
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #444;
}

.review-card span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    background-color: #000;
    color: white;
}

.contact-section h2 {
    color: white;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #cecece;
}

.contact-info a {
    color: var(--accent-blue);
}

.action-buttons {
    margin-top: 2rem;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* Footer */
footer {
    background-color: #111;
    color: #888;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* Animations included in script.js (fade-in classes) */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out forwards;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 54px;
        left: 0;
        width: 100%;
        background: rgba(251, 251, 253, 0.95);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid #ccc;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hero-buttons {
        flex-direction: column;
    }
}