/* assets/css/style.css - Complete Stunning Design */
:root {
    --primary: #0D2440;
    --secondary: #2E5E99;
    --third: #7BA4D0;
    --white-bg: #E7F0FA;
    --white: #ffffff;
    --dark: #1a1a2e;
    --gray: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --gradient-1: linear-gradient(135deg, #0D2440 0%, #2E5E99 100%);
    --gradient-2: linear-gradient(135deg, #2E5E99 0%, #7BA4D0 100%);
    --gradient-3: linear-gradient(135deg, #7BA4D0 0%, #E7F0FA 100%);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--white-bg);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
header {
    background: rgba(13, 36, 64, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    max-height: 55px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    transition: all 0.3s;
    font-weight: 500;
    border-radius: 8px;
}

nav ul li a:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.cart-link {
    background: var(--secondary);
    border-radius: 8px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0D2440 0%, #1a3a5c 50%, #2E5E99 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/><circle cx="150" cy="120" r="60" fill="rgba(255,255,255,0.02)"/></svg>') repeat;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0;
}

.hero-text {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--white-bg);
}

.hero-title {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #7BA4D0, #E7F0FA);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 5px 15px rgba(46,94,153,0.3);
}

.btn-primary:hover {
    background: var(--third);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46,94,153,0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 38px;
    font-size: 18px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stats .stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.hero-stats .stat i {
    font-size: 28px;
    color: var(--third);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Features Bar */
.features-bar {
    background: white;
    padding: 50px 0;
    margin-top: -5px;
    position: relative;
    z-index: 5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-item i {
    font-size: 48px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--primary);
}

.feature-item p {
    color: var(--gray);
    font-size: 14px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--third));
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

.section-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Categories Showcase */
.categories-showcase {
    padding: 80px 0;
    background: var(--white-bg);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.category-icon i {
    font-size: 55px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary);
}

.category-card p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.category-link {
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
}

.category-link i {
    transition: transform 0.3s;
}

.category-card:hover .category-link i {
    transform: translateX(5px);
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
    background: white;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--danger);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay span {
    background: white;
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--primary);
    font-weight: 600;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-cart:hover {
    background: var(--secondary);
}

/* Swiper Carousel */
.swiper {
    padding: 20px 10px;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--secondary);
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 18px;
}

/* Category Rows */
.category-row {
    padding: 60px 0;
    background: var(--white-bg);
}

.category-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
    gap: 15px;
}

.category-row-header h2 {
    font-size: 28px;
    color: var(--primary);
}

.view-all {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
}

.category-row-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.mini-product-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.mini-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mini-product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.mini-product-card h4 {
    font-size: 14px;
    margin: 10px 0;
}

.mini-product-card .price {
    font-weight: 700;
    color: var(--secondary);
}

.btn-mini-cart {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-mini-cart:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.how-it-works .section-header h2,
.how-it-works .section-header p {
    color: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    margin: 0 auto 15px;
}

.step-icon i {
    font-size: 45px;
    margin-bottom: 20px;
    color: var(--third);
}

.step h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonial-card {
    background: var(--white-bg);
    padding: 30px;
    border-radius: 20px;
    margin: 15px;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar i {
    font-size: 45px;
    color: var(--secondary);
}

.testimonial-author h4 {
    font-size: 16px;
    margin-bottom: 3px;
}

.testimonial-author span {
    font-size: 12px;
    color: var(--gray);
}

.swiper-pagination-bullet-active {
    background: var(--secondary);
}

/* CTA Banner */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
}

/* Footer */
.main-footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    max-height: 50px;
    margin-bottom: 15px;
}

.footer-about {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--third);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.7);
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 32px;
    margin-bottom: 15px;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.payment-methods span {
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.footer-badge {
    background: var(--secondary);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    font-size: 13px;
    margin-top: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-title { font-size: 48px; }
    .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
}

@media (max-width: 992px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .category-row-products { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .menu-toggle { display: block; }
    nav { display: none; width: 100%; }
    nav.active { display: block; }
    nav ul { flex-direction: column; text-align: center; padding: 20px 0; gap: 10px; }
    .hero-title { font-size: 36px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .features-grid { grid-template-columns: 1fr; gap: 25px; }
    .section-header h2 { font-size: 28px; }
    .categories-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 30px; }
    .category-row-products { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col h3:after { left: 50%; transform: translateX(-50%); }
    .payment-icons { justify-content: center; }
    .payment-methods { justify-content: center; }
    .footer-social { justify-content: center; }
    .footer-contact li { justify-content: center; }
    .cta-content h2 { font-size: 28px; }
}

@media (max-width: 480px) {
    .btn { padding: 10px 20px; font-size: 14px; }
    .hero-title { font-size: 28px; }
    .hero-stats .stat { font-size: 14px; }
}

/* Badges */
.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.badge-success { background: var(--success); color: white; }
.badge-danger { background: var(--danger); color: white; }
.badge-warning { background: var(--warning); color: var(--dark); }

/* Table Responsive */
.table-responsive { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid #ddd; }
th { background: var(--primary); color: white; }

@media (max-width: 768px) {
    table, thead, tbody, th, td, tr { display: block; }
    thead tr { display: none; }
    tr { margin-bottom: 15px; border: 1px solid #ddd; border-radius: 8px; }
    td { display: flex; justify-content: space-between; align-items: center; padding: 10px; border-bottom: 1px solid #eee; }
    td:before { content: attr(data-label); font-weight: bold; width: 40%; }
    td:last-child { border-bottom: none; }
}