/* ShreeDasCollections - Luxury Jewellery Website */
/* Color Theme: Black (#000000), Gold (#D4AF37), White (#FFFFFF) */

:root {
    --primary-black: #000000;
    --primary-gold: #D4AF37;
    --primary-white: #FFFFFF;
    --gold-dark: #B8941F;
    --gold-light: #F4E5C2;
    --shadow-color: rgba(212, 175, 55, 0.3);
}

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

body {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--primary-white);
    color: var(--primary-black);
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    background-color: var(--primary-black) !important;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-gold) !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar-brand:hover {
    color: var(--gold-light) !important;
}

.navbar-nav .nav-link {
    color: var(--primary-white) !important;
    font-weight: 500;
    margin: 0 15px;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
    position: relative;
}

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

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

.navbar-nav .nav-link:hover {
    color: var(--primary-gold) !important;
}

.navbar-toggler {
    border-color: var(--primary-gold) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23D4AF37' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1a1a 100%);
    color: var(--primary-white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23D4AF37" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-white);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.btn-shop {
    background-color: var(--primary-gold);
    color: var(--primary-black);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid var(--primary-gold);
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-shop:hover {
    background-color: transparent;
    color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-gold);
}

/* Category Cards */
.category-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.category-card {
    background-color: var(--primary-white);
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.category-img-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    position: relative;
}

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

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

.category-card-body {
    padding: 25px;
    text-align: center;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 15px;
}

.btn-view-category {
    background-color: var(--primary-black);
    color: var(--primary-gold);
    padding: 10px 30px;
    border: 2px solid var(--primary-black);
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-view-category:hover {
    background-color: var(--primary-gold);
    color: var(--primary-black);
    border-color: var(--primary-gold);
}

/* Product Section */
.product-section {
    padding: 80px 0;
}

.product-card {
    background-color: var(--primary-white);
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px var(--shadow-color);
    border-color: var(--primary-gold);
}

.product-img-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    position: relative;
}

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

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

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

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 10px;
}

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

.product-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.btn-buy {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: 2px solid;
}

.btn-flipkart {
    background-color: #2874f0;
    color: white;
    border-color: #2874f0;
}

.btn-flipkart:hover {
    background-color: #0c5dd1;
    border-color: #0c5dd1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 116, 240, 0.3);
}

.btn-meesho {
    background-color: #9f2089;
    color: white;
    border-color: #9f2089;
}

.btn-meesho:hover {
    background-color: #7d1a6c;
    border-color: #7d1a6c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(159, 32, 137, 0.3);
}

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

.btn-whatsapp:hover {
    background-color: #1ea952;
    border-color: #1ea952;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #1ea952;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

.whatsapp-float i {
    color: white;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.8);
    }
}

/* Footer */
.footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: var(--primary-gold);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: var(--primary-white);
    line-height: 1.8;
    text-decoration: none;
}

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

.contact-info {
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-gold);
    margin-right: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-gold);
    color: var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary-white);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: var(--gold-light);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1a1a 100%);
    color: var(--primary-white);
    padding: 80px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--primary-white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }

    .category-img-wrapper,
    .product-img-wrapper {
        height: 250px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn-shop {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .category-img-wrapper,
    .product-img-wrapper {
        height: 200px;
    }
}
.new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e90d0d;
    color: hsl(0, 0%, 100%);
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 10px;
    z-index: 1;
}