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

:root {
    --primary: #f5c000;
    --primary-hover: #d4a500;
    --dark: #0f1012;
    --dark-light: #181a1e;
    --dark-card: #202329;
    --light: #f7f9fc;
    --text-dark: #1f2937;
    --text-light: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(0, 0, 0, 0.08);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.25);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header Utilities */
.top-bar {
    background-color: var(--primary);
    color: var(--dark);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.main-header {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 20px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

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

/* Responsive Dynamic Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    font-weight: 500;
    padding: 10px 0;
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links li a:hover,
.nav-links li.has-dropdown:hover > a {
    color: var(--primary);
}

/* Dropdown Menu styling */
.has-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dark-light);
    border-top: 3px solid var(--primary);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    box-shadow: var(--shadow-premium);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 100;
    padding: 10px 0;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: block;
}

.dropdown-menu li a:hover {
    background-color: rgba(245, 192, 0, 0.1);
    color: var(--primary);
    padding-left: 25px;
}

/* Action Icons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions a {
    font-size: 1.25rem;
    position: relative;
}

.header-actions a:hover {
    color: var(--primary);
}

.badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--primary);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Hamburger menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section / Carousel Slider */
.hero-slider {
    position: relative;
    height: 600px;
    background-color: var(--dark);
    overflow: hidden;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.slide-item.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.1);
    z-index: -1;
}

.slide-content {
    max-width: 700px;
    color: var(--text-light);
    animation: slideInLeft 1s var(--transition) forwards;
}

.slide-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--dark);
    padding: 14px 35px;
    font-weight: 700;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(245, 192, 0, 0.4);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 192, 0, 0.6);
}

/* Category Grid & Cards */
.section {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.category-card {
    position: relative;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/* Category item hover overlay rising from the bottom */
.collection-item-v2 {
    position: relative;
}

.collection-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.hover-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 192, 0, 0.7); /* Golden primary yellow with transparency */
    transition: var(--transition);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.overlay-icon-fa {
    font-size: 4.5rem;
    color: var(--dark);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-item-v2:hover .hover-overlay {
    top: 0;
    opacity: 1;
}

.collection-item-v2:hover .overlay-icon-fa {
    opacity: 1;
    transform: translateY(0);
}

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

.collection-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2; /* Renders above hover-overlay */
    background: linear-gradient(to top, rgba(15, 16, 18, 0.9) 20%, transparent 100%);
    transition: var(--transition);
}

.collection-item-v2:hover .collection-content {
    background: transparent;
}

.collection-content .heading {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 600;
}

.collection-content .subheading {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 5px;
    transition: var(--transition);
}

.collection-item-v2:hover .subheading {
    color: var(--dark) !important;
}

.collection-item-v2:hover .btn-text {
    color: var(--dark) !important;
}

/* Products Grid (New Arrivals) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #ffffff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(245, 192, 0, 0.2);
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary);
    color: var(--dark);
    font-weight: 750;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 50px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(245, 192, 0, 0.3);
}

.product-img-wrapper {
    height: 220px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    background-color: #fafafa;
    transition: var(--transition);
}

.product-card:hover .product-img-wrapper {
    background-color: #f1f3f7;
}

.product-img-wrapper img {
    max-height: 85%;
    max-width: 85%;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover img {
    transform: scale(1.1) rotate(2deg);
}

.product-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: var(--transition);
}

.product-card:hover .product-info h4 a {
    color: var(--primary-hover);
}

.product-prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}

.price {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--dark);
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-card {
    flex: 1;
    text-align: center;
    padding: 12px;
    background-color: var(--dark);
    color: var(--text-light);
    font-weight: 700;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-card:hover .btn-card {
    background-color: var(--primary);
    color: var(--dark);
    box-shadow: 0 6px 15px rgba(245, 192, 0, 0.4);
}

/* Testimonial Section */
.testimonials-section {
    background-color: #f1ebd9;
    position: relative;
    padding: 100px 10%;
}

.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.testimonial-img {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    max-height: 450px;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1.2;
}

.testimonial-stars {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--text-dark);
    line-height: 1.5;
}

.testimonial-author h5 {
    font-size: 1.2rem;
    font-weight: 700;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Shop Gram (Instagram Grid) */
.shop-gram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.shop-gram-card {
    position: relative;
    height: 250px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.shop-gram-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.shop-gram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 192, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.shop-gram-overlay i {
    font-size: 2rem;
    color: var(--dark);
}

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

.shop-gram-card:hover .shop-gram-overlay {
    opacity: 1;
}

/* Info Banner Widgets */
.info-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.info-widget {
    background-color: var(--primary);
    color: var(--dark);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.info-widget i {
    font-size: 2rem;
    margin-bottom: 15px;
}

.info-widget h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.info-widget p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer styling */
.main-footer {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 80px 10% 30px 10%;
    border-top: 5px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--text-light);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--dark-light);
    border-radius: 50%;
    color: var(--text-light);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Category & Product Pages Details */
.breadcrumbs {
    padding: 20px 10%;
    background-color: #fff;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs span {
    margin: 0 8px;
    color: var(--text-muted);
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.product-detail-img {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--light);
    border-radius: var(--radius);
    padding: 30px;
}

.product-detail-img img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.product-detail-info h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.product-detail-info .category-tag {
    display: inline-block;
    background-color: rgba(245, 192, 0, 0.1);
    color: var(--primary-hover);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.product-detail-info .price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.product-detail-info .description {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Admin Dashboard CSS (Styling forms, sidebars and cards) */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background-color: #f3f4f6;
}

.admin-sidebar {
    width: 260px;
    background-color: var(--dark);
    color: var(--text-light);
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.admin-logo {
    padding: 0 25px;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.admin-logo span {
    color: var(--primary);
}

.admin-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    color: var(--text-muted);
    font-weight: 500;
}

.admin-menu li a:hover,
.admin-menu li.active a {
    color: var(--primary);
    background-color: var(--dark-light);
    border-left: 4px solid var(--primary);
}

.admin-main {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.admin-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.admin-card {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 192, 0, 0.15);
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th, .table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.table th {
    background-color: #f9fafb;
    font-weight: 700;
}

.btn-admin {
    display: inline-block;
    padding: 8px 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    border: none;
}

.btn-admin-primary {
    background-color: var(--primary);
    color: var(--dark);
}

.btn-admin-danger {
    background-color: #ef4444;
    color: #fff;
}

.btn-admin-secondary {
    background-color: #6b7280;
    color: #fff;
}

.alert {
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Custom Interactive Menu Nesting Tool Styles */
.nested-list {
    margin-left: 20px;
    border-left: 2px dashed #d1d5db;
    padding-left: 15px;
}

/* Responsive Breakpoints */
@media(max-width: 992px) {
    .main-header {
        padding: 15px 5%;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        max-height: 500px;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links li a {
        padding: 15px 5%;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }
    
    .has-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        border-top: none;
        background-color: var(--dark-light);
        padding: 0;
    }
    
    .has-dropdown:hover .dropdown-menu {
        max-height: 300px;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .slide-content h2 {
        font-size: 2.5rem;
    }
    
    .testimonials-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-detail-container {
        grid-template-columns: 1fr;
    }
}
