/*
Theme Name: My Starter Theme
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: MilanVastra Theme (Converted)
Version: 2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-starter-theme
Tags: blank, starter, custom, milanvastra
*/

/* =============================================
   BASE & RESET (MilanVastra Custom)
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    overflow-x: hidden;
    color: #000000;
}

img, video {
    max-width: 100%;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
}

.admin-panel {
    display: none;
}

input, textarea, select {
    outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #d6c2a8;
    border-radius: 10px;
}

.scrollbar-none::-webkit-scrollbar {
    display: none;
}
.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/* =============================================
   UTILITIES
   ============================================= */
.h-16 {
    height: 3rem !important;
}

.gold {
    color: #cba264;
}

.brand-red {
    color: #810239;
}

.bg-brand-red {
    background-color: #810239;
}


/* =============================================
   ANIMATIONS & EFFECTS
   ============================================= */
.glass {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.floating {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.whatsapp-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* =============================================
   SECTIONS & COMPONENTS
   ============================================= */

/* Hero */
.hero-bg {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.8)), url('assets/hero_bg_opt.webp');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}
@media (min-width: 768px) {
    .hero-bg {
        background-attachment: fixed;
    }
}

/* Product Card */
.product-card {
    transition: transform 0.4s, box-shadow 0.4s;
    border-radius: 30px;
    border: none;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-card img {
    height: 300px !important;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}
@media (min-width: 640px) {
    .product-card img {
        height: 360px !important;
    }
}
@media (min-width: 768px) {
    .product-card img {
        height: 420px !important;
    }
}

/* Gallery */
.gallery img {
    transition: transform 0.4s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Gallery Videos */
.gallery-video-card {
    border-radius: 30px;
    aspect-ratio: 9/16;
    overflow: hidden;
    transition: transform 0.3s;
    background: black;
}
.gallery-video-card:hover {
    transform: scale(1.03);
}


/* =============================================
   MODAL FIXES
   ============================================= */
@media (max-width: 767px) {
    .gallery-modal-bg {
        height: 75vh !important;
        min-height: 440px !important;
        overflow: hidden !important;
    }
    
    .gallery-modal-img {
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        object-fit: cover !important;
    }

    .gallery-modal-scroll {
        flex: 1 1 0% !important;
        min-height: 0 !important;
        padding: 1.5rem !important;
    }
}