
:root {
    --samsung-blue: #1428a0;
    --samsung-black: #000000;
    --text-dark: #333;
    --bg-light: #f8f9fa;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
}

a {
    text-decoration: none;
}


.top-hero {
  
    background: linear-gradient(135deg, #021B79 0%, #0575E6 100%);
    color: white;
    padding: 80px 0 0 0; 
    min-height: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1rem;
    max-width: 450px;
    opacity: 0.8;
}

/* Ensure the hero image (phone) sits correctly if added via JS or img tag */
.hero-image-placeholder img {
    max-width: 100%;
    height: auto;
    position: absolute;
    right: -50px;
    top: 50px;
    width: 600px; /* Adjust based on your actual image */
}

/* =========================================
   3. ECOSYSTEM SECTION (Icons)
   ========================================= */
.ecosystem {
    background-color: #fff;
    padding: 60px 0;
}

.section-heading {
    font-size: 2rem;
    color: var(--samsung-black);
    margin-bottom: 40px;
    font-weight: 700;
}

.eco-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.eco-item:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.icon-box img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.eco-item span {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: capitalize;
}

/* =========================================
   4. MID HERO (Banner with Girl/Buds)
   ========================================= */
.mid-hero {
    position: relative;
    width: 100%;
    min-height: 400px;
    overflow: hidden;
}

.mid-hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
    display: block;
}

.mid-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay to make text readable */
    background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    align-items: center;
}

.promo-text {
    color: white;
    padding-left: 10%; /* Positions text like the screenshot */
}

.promo-text h3 {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

.promo-text .small-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Specific button styling for the banner */
.btn-primary {
    background-color: #2b49f5;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #1a33c4;
}

/* =========================================
   5. PRODUCT SLIDERS (Collection & Watch)
   ========================================= */
.product-collection {
    background-color: #fff;
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 55%; /* Center vertically relative to cards */
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.nav-arrow:hover {
    background: var(--samsung-black);
    color: white;
    border-color: var(--samsung-black);
}

.prev-arrow { left: 10px; }
.next-arrow { right: 10px; }

/* The Scrollable Container */
.product-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 5px;
    scroll-behavior: smooth;
    /* Hide scrollbar for clean look */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.product-slider::-webkit-scrollbar {
    display: none; 
}

/* Individual Product Card */
.product-card {
    min-width: 250px;
    max-width: 250px;
    background: white;
    /* border: 1px solid #eee; */ /* Optional: Remove border for cleaner look */
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: var(--card-shadow);
}

.badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff9900;
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.product-img {
    height: 200px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    /* Truncate text if too long */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card .price {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

/* Buy Button inside Card */
.btn-buy-full {
    width: 100%;
    background-color: #4a6bf6;
    color: white;
    border: none;
    padding: 8px 0;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.btn-buy-full:hover {
    background-color: #2b49f5;
}


.black-banner {
    background-color: #000;
    color: white;
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    background-image: radial-gradient(circle at center, #333 0%, #000 70%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.watch-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}


footer {
    background-color: #000;
    color: white;
    padding-top: 50px;
}


@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-image-placeholder img {
        display: none; 
    }

    .promo-text h3 {
        font-size: 1.8rem;
    }

    .watch-title {
        font-size: 2rem;
    }
}