/* 
   Shoporiaa - Vibrant Social Marketplace Design System 
   Theme: Modern Pop (Vibrant Pink & Cyan)
*/

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

:root {
    --primary-color: #FF2E63; /* Vibrant Pink/Red */
    --secondary-color: #08D9D6; /* Cyan/Teal */
    --dark-color: #252A34; /* Dark Blue-Grey */
    --light-color: #F9F9F9; /* Off-white */
    --white-color: #FFFFFF;
    --accent-color: #EAEAEA;
    --gradient-primary: linear-gradient(135deg, #FF2E63 0%, #FF0844 100%);
    --gradient-secondary: linear-gradient(135deg, #08D9D6 0%, #252A34 100%);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* --- Navigation --- */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--dark-color) !important;
    letter-spacing: -1px;
}

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

.nav-link {
    font-weight: 600;
    color: var(--dark-color) !important;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-primary-gradient {
    background: var(--gradient-primary);
    color: var(--white-color);
    border: none;
    padding: 10px 25px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 46, 99, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 46, 99, 0.6);
    color: var(--white-color);
}

/* --- Hero Section --- */
.hero-section {
    background: var(--light-color);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(8, 217, 214, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 46, 99, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: rgba(8, 217, 214, 0.3);
    z-index: -1;
    transform: skewX(-15deg);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

/* --- Section Styles --- */
.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* --- Cards --- */
.category-card {
    background: var(--white-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.category-img-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.category-title {
    color: var(--white-color);
    margin: 0;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* --- Deal Cards --- */
.deal-card {
    background: var(--white-color);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.deal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

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

.deal-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(8, 217, 214, 0.1);
    color: #00aaa6;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--radius-lg);
    font-weight: 600;
    padding: 8px 20px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 4px 10px rgba(255, 46, 99, 0.3);
}

/* --- New Sections Styles --- */
.feature-box {
    text-align: center;
    padding: 40px 20px;
    background: var(--white-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 46, 99, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    background: var(--primary-color);
    color: var(--white-color);
    transform: rotateY(180deg);
}

.stat-card {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 40px;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.testimonial-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin: 15px;
    border-left: 5px solid var(--secondary-color);
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ddd;
    margin-right: 15px;
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-color);
    color: #aaa;
    padding: 80px 0 30px;
}

.footer-title {
    color: var(--white-color);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-link {
    color: #aaa;
    display: block;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white-color);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* --- Modal --- */
.modal-content {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--white-color);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
}
