/* 
   Universal ShopZone - Main Stylesheet
   Theme: Future Commerce (Deep Violet/Lime Green)
   Font: 'Poppins', sans-serif
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

:root {
    --primary-color: #4A148C; /* Deep Violet */
    --primary-light: #7c43bd;
    --primary-dark: #12005e;
    --secondary-color: #76FF03; /* Lime Green */
    --secondary-dark: #32cb00;
    --accent-color: #00E5FF; /* Cyan Accent */
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --text-muted: #666;
    --bg-light: #f3f4f6;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 2px 4px rgba(74, 20, 140, 0.1);
    --shadow-md: 0 4px 6px rgba(74, 20, 140, 0.15);
    --shadow-lg: 0 10px 15px rgba(74, 20, 140, 0.2);
    --radius: 12px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    color: var(--secondary-dark);
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.btn-zone {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border-radius: 8px;
    border: none;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-outline-zone {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    background: transparent;
    transition: all 0.3s;
}

.btn-outline-zone:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(118, 255, 3, 0.2) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
}

.hero-title {
    font-weight: 800;
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.search-box {
    background: var(--white);
    padding: 0.5rem;
    border-radius: 10px;
    display: flex;
    box-shadow: var(--shadow-lg);
    max-width: 650px;
}

.search-input {
    border: none;
    flex-grow: 1;
    padding: 1rem 1.5rem;
    outline: none;
    font-size: 1rem;
    border-radius: 8px;
}

.search-btn {
    background: var(--secondary-color);
    color: var(--primary-dark);
    border: none;
    padding: 0 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
}

.search-btn:hover {
    background: var(--secondary-dark);
}

/* Section Styling */
.section-padding {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

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

/* Deal Cards */
.deal-card {
    background: var(--white);
    border-radius: var(--radius);
    border: none;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.deal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.deal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.deal-card:hover::before {
    transform: scaleX(1);
}

.deal-img-wrapper {
    padding: 2rem;
    text-align: center;
    background: #f8f9fa;
    position: relative;
}

.deal-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.deal-card:hover .deal-logo {
    filter: grayscale(0%);
}

.discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

.deal-body {
    padding: 1.5rem;
    flex-grow: 1;
    text-align: center;
}

.deal-brand {
    font-size: 0.85rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.deal-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.coupon-btn {
    width: 100%;
    padding: 0.8rem;
    border: 2px dashed var(--primary-color);
    background: rgba(74, 20, 140, 0.05);
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.coupon-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-style: solid;
}

/* New Sections */

/* 1. Trending Now (Grid) */
.trending-section {
    background-color: var(--white);
}

.trend-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.trend-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.trend-item:hover .trend-img {
    transform: scale(1.1);
}

.trend-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1.5rem;
    color: var(--white);
}

/* 2. Benefits Icons */
.benefits-section {
    background-color: var(--bg-light);
}

.benefit-box {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: transform 0.3s;
}

.benefit-box:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(118, 255, 3, 0.2);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

/* 3. Newsletter / Join Zone */
.join-zone-section {
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
    position: relative;
}

.join-zone-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2376FF03' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.join-form {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.join-input {
    border-radius: 50px;
    padding: 1rem 1.5rem;
    border: none;
}

.join-btn {
    border-radius: 50px;
    padding: 1rem 2.5rem;
    background: var(--secondary-color);
    color: var(--primary-dark);
    font-weight: 800;
    border: none;
    margin-top: 1rem;
    width: 100%;
    transition: background 0.3s;
}

.join-btn:hover {
    background: var(--secondary-dark);
}

/* 4. Featured Partners (Logos) */
.partners-section {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

.partner-logo {
    opacity: 0.5;
    transition: opacity 0.3s;
    max-width: 120px;
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    color: #e5e5e5;
    padding: 5rem 0 2rem;
}

.footer-brand {
    color: var(--white);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-brand span {
    color: var(--secondary-color);
}

.footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    margin-bottom: 0.8rem;
}

.footer a:hover {
    color: var(--secondary-color);
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    text-align: center;
    line-height: 36px;
    border-radius: 50%;
    margin-right: 0.5rem;
    color: var(--white);
}

.social-links a:hover {
    background: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-section {
        clip-path: none;
        padding: 4rem 0;
    }
    .search-btn {
        padding: 0 1.5rem;
    }
}
