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

:root {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --accent-red: #f43f5e;
    --accent-orange: #f97316;
    --accent-gradient: linear-gradient(135deg, #f43f5e, #f97316);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glow: 0 10px 40px rgba(244, 63, 94, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

h1 { font-size: 3rem; letter-spacing: -1px; }
h2 { font-size: 2.5rem; text-align: center; margin: 3rem 0; }
a { color: var(--text-main); text-decoration: none; transition: 0.3s ease; }
a:hover { color: var(--accent-orange); }

/* Header & Navigation */
header {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container h1 {
    margin: 0;
    font-size: 1.8rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-container p {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

/* Search Bar */
.search-form {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 5px 15px;
}
.search-form input {
    background: transparent;
    border: none;
    color: var(--text-main);
    outline: none;
    padding: 5px;
}
.search-form button {
    background: transparent;
    border: none;
    color: var(--accent-orange);
    cursor: pointer;
    font-weight: bold;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    height: 70vh;
    background: linear-gradient(to right, rgba(15, 17, 21, 0.9) 0%, rgba(15, 17, 21, 0.3) 100%), url('../images/premium_banner.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}
.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 10;
}
.hero-content h2 {
    text-align: left;
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-transform: uppercase;
    color: #fff;
}
.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}
.btn {
    display: inline-block;
    background: var(--accent-gradient);
    color: #fff !important;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.6);
}

/* Main Content Container */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 50vh;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 15px rgba(230, 57, 70, 0.2);
    border-color: var(--accent-red);
}

.product-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}
.product-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* About Section */
.about-section {
    background: var(--bg-card);
    padding: 60px;
    border-radius: 20px;
    margin: 60px 0;
    border: 1px solid var(--glass-border);
}
.about-section h2 {
    margin-top: 0;
}
.about-section p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Product Details Page Styles */
.product-detail-container {
    display: flex;
    gap: 40px;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}
.product-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.product-image .thumbnail-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-top: 0 !important;
}
.product-image .thumbnail-gallery img {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    aspect-ratio: 4/3 !important;
    object-fit: cover !important;
    border-radius: 15px !important;
}
.product-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.product-info {
    flex: 1;
}
.product-info h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.product-info table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.product-info table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--glass-border);
}
.product-info table tr:first-child td {
    border-top: 1px solid var(--glass-border);
}

/* Footer */
footer {
    background: #000;
    padding: 60px 20px 30px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
    gap: 40px;
}
.footer-col {
    flex: 1;
    min-width: 250px;
}
.footer-col h4 {
    color: var(--accent-red);
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.footer-col p, .footer-col li {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 10px;
}
.footer-col ul {
    list-style: none;
}
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #555;
    font-size: 0.85rem;
}

/* Smooth Utilities */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}
@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media(max-width: 900px) {
    .nav-container { flex-direction: column; gap: 15px; }
    nav ul { flex-wrap: wrap; justify-content: center; }
    .hero-content h2 { font-size: 2.5rem; }
    .product-detail-container { flex-direction: column; }
}

/* Hero Swiper overrides */
.hero-swiper {
    width: 100%;
    height: 80vh;
    margin-top: 70px;
}
.hero-swiper .swiper-slide {
    display: flex;
    align-items: center;
    position: relative;
}
.hero-swiper .swiper-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}
.hero-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}
.hero-swiper .swiper-pagination-bullet-active {
    background: var(--accent-orange);
    opacity: 1;
}
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Common Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.section-header h2 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.features-section {
    padding: 80px 20px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.feature-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 0 20px rgba(244, 162, 97, 0.2);
    border-color: var(--accent-orange);
}
.feature-card .icon {
    font-size: 3rem;
    color: var(--accent-red);
    margin-bottom: 20px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.feature-card p {
    color: var(--text-muted);
}

/* Enhanced Product Grid */
.products-section {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.5);
}
.product-card {
    overflow: hidden;
    position: relative;
    padding: 0;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    transition: all 0.4s ease;
}
.product-card .img-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}
.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 0;
    border-radius: 20px 20px 0 0;
    transition: transform 0.6s ease;
    box-shadow: none;
}
.product-card:hover img {
    transform: scale(1.1);
}
.product-card .hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.product-card:hover .hover-overlay {
    opacity: 1;
}
.product-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    margin: 0;
}
.product-card .price {
    padding: 0 20px 20px;
    font-weight: 800;
    color: var(--accent-orange);
    font-size: 1.1rem;
}

/* Modern About Section */
.about-section {
    padding: 80px 40px;
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(255,255,255,0.2) 100%);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    margin: 80px 20px;
    position: relative;
    overflow: hidden;
}
.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.1) 0%, transparent 70%);
    z-index: 0;
}
.about-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.about-content h2 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 10px;
}
.about-content h3.highlight {
    font-size: 1.5rem;
    color: var(--accent-red);
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}
.about-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}
.stat-item h4 {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 5px;
}
.stat-item p {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 20px;
}
.testimonial-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: auto;
}
.quote-icon {
    font-size: 2.5rem;
    color: rgba(230, 57, 70, 0.2);
    margin-bottom: 20px;
}
.testimonial-card .feedback {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.client-info h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}
.client-info span {
    color: var(--accent-orange);
    font-size: 0.9rem;
    font-weight: 600;
}

@media(max-width: 768px) {
    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }
}

/* --- Mobile Responsiveness --- */
.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--text-main);
    cursor: pointer;
    z-index: 1001;
}

@media(max-width: 991px) {
    .mobile-menu-toggle {
        display: block;
    }
    .search-form {
        display: none; /* Hide search on mobile for simplicity, or can be moved to menu */
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--bg-card);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding-top: 80px;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    .main-nav.active {
        right: 0;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero {
        height: auto;
        min-height: 50vh;
        padding: 80px 20px;
    }
    .nav-container {
        padding: 10px 15px;
    }
    .logo-container h1 {
        font-size: 1.4rem;
    }
    .product-grid, .blog-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
    .thumbnail-gallery {
        grid-template-columns: 1fr !important;
    }
}

/* Blog Section */
.blog-section {
    padding: 80px 20px;
    background: var(--bg-dark);
}
.blog-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}
.blog-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow);
}
.blog-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.1);
}
.blog-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.blog-content {
    padding: 30px;
}
.blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
}
.blog-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
}
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.blog-card:hover .read-more {
    color: var(--accent-red);
}


/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 10px 0;
    border-radius: 0 0 5px 5px;
    border-top: 3px solid var(--accent-red);
}
.dropdown-menu li {
    display: block;
    margin: 0;
}
.dropdown-menu li a {
    color: var(--text-color) !important;
    padding: 10px 20px;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
}
.dropdown-menu li a:hover {
    background-color: #f8f9fa;
    color: var(--accent-red) !important;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
