/* ==========================================
   VOGUE ATELIER - Boutique Website
   Stylish, Minimal, Fashion-Forward
   ========================================== */

:root {
    --primary: #1a1a1a;
    --secondary: #c9a86c;
    --accent: #f5f5f5;
    --bg: #ffffff;
    --bg-alt: #fafafa;
    --text: #1a1a1a;
    --text-light: #666;
    --border: #e5e5e5;
    
    --font-heading: 'Italiana', serif;
    --font-body: 'Outfit', sans-serif;
    
    --section-padding: 100px;
    --container-width: 1300px;
    --transition: 0.3s ease;
    --shadow: 0 10px 40px rgba(0,0,0,0.08);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-weight: 400;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); }

::selection { background: var(--primary); color: var(--bg); }

/* ==========================================
   PRELOADER
   ========================================== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-text {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--bg);
    letter-spacing: 15px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; }

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 15px;
}

.text-center { text-align: center; }

/* ==========================================
   LAYOUT
   ========================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section { padding: var(--section-padding) 0; }

.section-header {
    max-width: 600px;
    margin: 0 auto 60px;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

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

.btn-primary:hover { background: #333; }

.btn-light {
    background: var(--bg);
    color: var(--primary);
}

.btn-light:hover { background: var(--accent); }

.btn-outline-dark {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--bg);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover { background: #128c7e; }

.btn-lg { padding: 18px 45px; font-size: 0.85rem; }
.btn-sm { padding: 12px 24px; font-size: 0.75rem; }

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--bg);
    text-decoration: none;
    letter-spacing: 5px;
    transition: color var(--transition);
}

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

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--bg);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
    position: relative;
    transition: color var(--transition);
}

.navbar.scrolled .nav-links a { color: var(--primary); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width var(--transition);
}

.nav-links a:hover::after { width: 100%; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform var(--transition);
}

.icon-btn:hover { transform: scale(1.1); }

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

.menu-toggle span {
    width: 25px;
    height: 1px;
    background: var(--bg);
    transition: all var(--transition);
}

.navbar.scrolled .menu-toggle span { background: var(--primary); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right var(--transition);
}

.mobile-menu.active { right: 0; }

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu li { margin: 30px 0; }

.mobile-menu a {
    color: var(--bg);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 5px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slider .slide.active { opacity: 1; }

.slide-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.slide-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.6), transparent);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--bg);
    max-width: 600px;
}

.slide-tag {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.slide-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.slide-content h1 span {
    color: var(--secondary);
    font-style: italic;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* Hero Nav */
.hero-nav {
    position: absolute;
    bottom: 50px;
    left: 10%;
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: var(--bg);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition);
}

.nav-btn:hover {
    background: var(--bg);
    color: var(--primary);
}

.slide-counter {
    color: var(--bg);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.slide-counter .current { font-size: 1.5rem; font-weight: 600; }

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--bg);
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: var(--secondary);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleX(0.5); opacity: 0.5; }
    50% { transform: scaleX(1); opacity: 1; }
}

/* Social Sidebar */
.social-sidebar {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-sidebar a {
    color: var(--bg);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    transition: color var(--transition);
}

.social-sidebar a:hover { color: var(--secondary); }

/* ==========================================
   CATEGORIES SECTION
   ========================================== */
.categories { background: var(--bg); padding: 80px 0; }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    text-decoration: none;
    color: var(--bg);
}

.category-image {
    position: absolute;
    inset: 0;
}

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

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

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.category-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.category-info span {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ==========================================
   COLLECTIONS SECTION
   ========================================== */
.collections { background: var(--bg-alt); }

.collection-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: transparent;
    border: 1px solid var(--border);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--bg);
    transition: all var(--transition);
}

.product-card:hover { box-shadow: var(--shadow); }

.product-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img { transform: scale(1.05); }

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.product-card:hover .product-overlay { opacity: 1; }

.quick-view {
    padding: 14px 30px;
    background: var(--bg);
    border: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    transform: translateY(20px);
    transition: all var(--transition);
}

.product-card:hover .quick-view { transform: translateY(0); }

.product-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 15px;
    background: var(--primary);
    color: var(--bg);
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.product-tag.hot { background: var(--secondary); }

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--bg);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-10px);
    transition: all var(--transition);
}

.product-card:hover .wishlist-btn {
    opacity: 1;
    transform: translateY(0);
}

.product-info { padding: 25px; }

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.product-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.current-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.original-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.collection-cta { text-align: center; margin-top: 50px; }

/* ==========================================
   LOOKBOOK SECTION
   ========================================== */
.lookbook { background: var(--bg); }

.lookbook-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.lookbook-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.lookbook-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.lookbook-item.tall { grid-row: span 2; }

.lookbook-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.lookbook-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
    color: var(--bg);
    text-align: center;
}

.lookbook-item:hover .lookbook-overlay { opacity: 1; }

.look-number {
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.lookbook-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features {
    background: var(--primary);
    color: var(--bg);
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.feature-item .feature-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.feature-item p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about { background: var(--bg-alt); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images { position: relative; }

.img-main {
    width: 80%;
    height: 500px;
    overflow: hidden;
}

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

.img-accent {
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 250px;
    height: 300px;
    border: 8px solid var(--bg-alt);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.about-content .lead {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 15px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.about-stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat-item { text-align: center; }

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials { background: var(--bg); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-alt);
    padding: 40px;
}

.testimonial-content p {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 3px;
}

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

/* ==========================================
   INSTAGRAM SECTION
   ========================================== */
.instagram {
    padding: 80px 0 0;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.insta-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

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

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

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact { background: var(--bg-alt); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-item .icon { font-size: 1.3rem; }

.contact-item h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.contact-map {
    height: 450px;
    box-shadow: var(--shadow);
}

/* ==========================================
   NEWSLETTER SECTION
   ========================================== */
.newsletter {
    background: var(--primary);
    padding: 80px 0;
    text-align: center;
}

.newsletter-content h2 {
    color: var(--bg);
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.newsletter-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 18px 25px;
    border: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--primary);
    color: var(--bg);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    display: block;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

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

.social-links a {
    color: var(--bg);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color var(--transition);
}

.social-links a:hover { color: var(--secondary); }

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.footer-links ul { list-style: none; }

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--bg); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
}

/* ==========================================
   BACK TO TOP
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    color: var(--bg);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 99;
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #333; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .lookbook-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .lookbook-item.large, .lookbook-item.tall { grid-column: span 1; grid-row: span 1; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .menu-toggle { display: flex; }
    
    .slide-content { left: 5%; right: 5%; max-width: none; }
    .hero-nav { left: 5%; }
    .hero-scroll, .social-sidebar { display: none; }
    
    .categories-grid { grid-template-columns: 1fr; }
    .category-card { height: 300px; }
    
    .products-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    
    .lookbook-grid { grid-template-columns: 1fr; }
    .lookbook-item { height: 300px; }
    
    .features-grid { grid-template-columns: 1fr; }
    
    .contact-details { grid-template-columns: 1fr; }
    
    .testimonials-grid { grid-template-columns: 1fr; }
    
    .instagram-grid { grid-template-columns: repeat(3, 1fr); }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .newsletter-form { flex-direction: column; }
    .footer-bottom { flex-direction: column; gap: 15px; }
}

/* Built by Vibhu Badge */
.built-by {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.built-by a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.built-by a:hover {
    color: rgba(255,255,255,0.9);
}

.built-by strong {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.built-by a:hover strong {
    background: linear-gradient(135deg, #a78bfa, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

