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

:root {
    --primary-color: #ff4081;
    --primary-hover: #e91e63;
    --secondary-color: #212529;
    --text-color: #333333;
    --bg-color: #ffffff;
    --font-main: 'Outfit', sans-serif;
    --border-radius: 12px;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Animations */
@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.slide-down {
    animation: slideDown 0.8s ease-out forwards;
}

/* Hero Section */
.hero-container {
    position: relative;
    width: 100vw;
    height: 85vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: zoomIn 1s cubic-bezier(0.2, 1, 0.2, 1) forwards;
}

.hero-content h1 {
    font-size: 4rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.btn-primary-custom {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.4);
}

.btn-primary-custom:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 64, 129, 0.6);
}

/* Navbar */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: all 0.3s;
}

.navbar-brand img {
    height: 50px;
    transition: transform 0.3s;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color) !important;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: 0; left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Product Cards */
.product-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-img-wrap {
    overflow: hidden;
    position: relative;
    padding-top: 100%; /* square ratio */
}

.product-img-wrap img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.1);
}

.product-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.add-to-cart-btn {
    margin-top: auto;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.add-to-cart-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Custom Footer */
.footer-custom {
    background: var(--secondary-color);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-custom h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

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

/* Modal Popup Validation */
.welcome-popup .modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.welcome-popup .modal-header {
    background: var(--primary-color);
    color: white;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    border-bottom: none;
}

.welcome-popup .btn-close {
    filter: invert(1);
}

/* Badge for cart */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    padding: 0.25em 0.6em;
    font-size: 0.75rem;
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: flex;
        margin-top: 0;
    }
}
.category-dropdown {
    min-width: 500px;
    flex-wrap: wrap;
    padding: 10px;
}
.category-item {
    width: 50%;
    padding: 5px;
}
.category-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.category-dropdown .dropdown-item {
    transition: transform 0.2s ease, background-color 0.2s ease;
}

/* Categories Section Overlay */
.category-block .category-img {
    transition: transform 0.5s ease;
}
.category-block:hover .category-img {
    transform: scale(1.1);
}
.category-overlay {
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.category-block:hover .category-overlay {
    opacity: 1;
}

