/*
Theme Name: Nepwears Online
Author: Ameet Ranjit
Description: Custom dynamic landing page for Nepwears Online.
Version: 1.0
Text Domain: nepwears
*/


/* CSS Variables */
:root {
    --text-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.25);
    --hover-bg: rgba(255, 255, 255, 0.25);
    --max-content-width: 500px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 30px 15px;
    background-color: #1a1a2e; /* Fallback */
}

/* 🎨 Animated Gradient Background matching Logo Colors */
#gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(-45deg, #FF1493, #8A2BE2, #00BFFF, #FF00FF);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Dark Overlay to make text readable */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: -1;
}

/* 🪟 Glassmorphism Container */
.glass-panel {
    width: 100%;
    max-width: var(--max-content-width);
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px 25px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* --- Profile Section --- */
.profile {
    text-align: center;
    margin-bottom: 25px;
}

.profile-image img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    background: #fff; /* In case logo is transparent png */
}

h1 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* --- Main Brand Links --- */
.main-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.main-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.main-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.main-btn:hover {
    transform: translateY(-3px);
    background: var(--hover-bg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Brand specific hover colors */
.main-btn.instagram:hover { background: #E4405F; border-color: #E4405F; }
.main-btn.facebook:hover { background: #1877F2; border-color: #1877F2; }
.main-btn.tiktok:hover { background: #000000; border-color: #25F4EE; }
.main-btn.whatsapp:hover { background: #25D366; border-color: #25D366; }

/* --- Divider --- */
.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px;
    background: var(--glass-border);
    z-index: 1;
}

.divider span {
    position: relative;
    z-index: 2;
    background: rgba(30, 30, 46, 0.8);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--glass-border);
}

/* --- Categories Grid --- */
.categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.cat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.cat-card:hover {
    background: var(--hover-bg);
    transform: translateY(-3px);
}

.cat-card img {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid rgba(255,255,255,0.5);
    background: #fff;
}

.cat-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.2;
}

.cat-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cat-icons .icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.2);
    transition: all 0.2s;
}

.cat-icons .icon:hover {
    transform: scale(1.1);
}

.cat-icons .ig:hover { background: #E4405F; }
.cat-icons .fb:hover { background: #1877F2; }
.cat-icons .wa:hover { background: #25D366; }

/* --- Footer --- */
footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delays for smooth loading effect */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive adjustments */
@media (max-width: 400px) {
    .categories-grid { grid-template-columns: 1fr; }
}