/* Color Palette & Variables based on Frameer Jewels Design */
:root {
    --deep-plum: #3B1835;
    --champagne-gold: #C9A86A;
    --warm-ivory: #F7F2E9;
    --soft-taupe: #B8A99A;
    --espresso: #241C1A;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--warm-ivory);
    color: var(--espresso);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

p {
    font-size: 1rem;
    color: var(--espresso);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(247, 242, 233, 0.95);
    padding: 1rem 5%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s;
}

.logo {
    justify-self: start;
}

nav {
    justify-self: center;
}

.nav-search-container {
    justify-self: end;
    position: relative;
    display: flex;
    align-items: center;
}

#nav-search {
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(184, 169, 154, 0.5);
    border-radius: 50px;
    background-color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--espresso);
    outline: none;
    width: 220px;
    transition: all 0.3s ease;
}

#nav-search:focus {
    border-color: var(--champagne-gold);
    box-shadow: 0 0 8px rgba(201, 168, 106, 0.3);
}

.search-results-dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    width: 250px;
    background-color: var(--warm-ivory);
    border: 1px solid var(--soft-taupe);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1001;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid rgba(184, 169, 154, 0.2);
    transition: background-color 0.2s;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background-color: rgba(201, 168, 106, 0.1);
}

.search-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.search-item-info h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--espresso);
    margin-bottom: 0.2rem;
}

.search-item-info p {
    font-size: 0.8rem;
    color: var(--soft-taupe);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--deep-plum);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.logo img {
    height: 60px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.2rem;
    background-color: #ffffff;
    border: 1px solid rgba(184, 169, 154, 0.3);
    /* soft taupe transparent */
    border-radius: 50px;
    padding: 0.4rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.nav-links a {
    display: inline-block;
    text-decoration: none;
    color: var(--espresso);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: var(--deep-plum);
    color: var(--warm-ivory);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--espresso);
    margin: 6px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 5%;
    overflow: hidden;
}

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

.mobile-video {
    display: none;
}

.desktop-video {
    display: block;
}

.hero-content {
    max-width: 650px;
    z-index: 1;
    width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--champagne-gold);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--champagne-gold);
    color: var(--warm-ivory);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--champagne-gold);
}

.btn-secondary {
    background-color: transparent;
    color: var(--espresso);
    border-color: var(--espresso);
}

.btn-secondary:hover {
    background-color: var(--espresso);
    color: var(--warm-ivory);
}

.btn-light {
    border-color: var(--warm-ivory);
    color: var(--warm-ivory);
    background-color: transparent;
}

.btn-light:hover {
    background-color: var(--warm-ivory);
    color: var(--deep-plum);
}

/* Neon Glow Effect for Hero Buttons */
.neon-btn {
    position: relative;
    border: none;
    color: var(--espresso);
    font-weight: 600;
    background: transparent;
    z-index: 1;
    overflow: hidden;
    border-radius: 50px;
}

.neon-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--champagne-gold));
    animation: neon-spin 2s linear infinite;
    z-index: -2;
}

.neon-btn::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #ffffff;
    /* White background for high visibility */
    z-index: -1;
    transition: 0.3s ease;
    border-radius: 50px;
}

.neon-btn:hover::after {
    background: var(--warm-ivory);
}

.neon-btn:hover {
    color: var(--champagne-gold);
    box-shadow: 0 0 15px rgba(201, 168, 106, 0.5);
    /* Champagne gold glow */
}

@keyframes neon-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Collection Section */
.collection-section {
    padding: 6rem 5%;
    text-align: center;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header p {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--soft-taupe);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    text-align: left;
    background: #fff;
    padding-bottom: 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.product-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    background-color: var(--soft-taupe);
    margin-bottom: 1.5rem;
}

.product-info {
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-price {
    color: var(--soft-taupe);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.btn-view {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border: none;
    border-bottom: 1px solid var(--champagne-gold);
    background: transparent;
    color: var(--espresso);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.3s;
    margin-top: auto;
    align-self: flex-start;
}

.btn-view:hover {
    color: var(--champagne-gold);
}



/* Contact Section */
.contact-section {
    padding: 6rem 5%;
    background-color: #fff;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    margin-bottom: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--soft-taupe);
    font-family: var(--font-body);
    background-color: var(--warm-ivory);
    color: var(--espresso);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--champagne-gold);
}

/* Footer */
.footer {
    background-color: var(--deep-plum);
    color: var(--warm-ivory);
    padding: 3rem 5%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    border-bottom: 1px solid rgba(247, 242, 233, 0.2);
    padding-bottom: 4rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-logo img {
    height: 60px;
    object-fit: contain;
}

.footer-contact p {
    color: rgba(247, 242, 233, 0.8);
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.footer-contact a {
    color: rgba(247, 242, 233, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--champagne-gold);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h4 {
    color: var(--champagne-gold);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a {
    color: var(--warm-ivory);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}

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

.footer-socials {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-socials a {
    color: var(--warm-ivory);
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a:hover {
    color: var(--champagne-gold);
    transform: translateY(-3px);
}

.footer-socials svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(247, 242, 233, 0.6);
}

/* Product Detail Page */
.product-page-section {
    padding: 120px 5% 5rem;
    min-height: 80vh;
    background-color: var(--warm-ivory);
}

.product-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

#back-to-shop {
    margin-bottom: 2rem;
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
}

.product-page-content {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.product-page-image {
    flex: 1;
    min-width: 350px;
    display: flex;
    flex-direction: column;
}

.main-image-wrapper {
    flex: 1;
    overflow: hidden;
    cursor: crosshair;
}

.main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 500px;
    transition: transform 0.2s ease, transform-origin 0.2s ease;
}

.product-thumbnails {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    justify-content: center;
    background: #fff;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-thumbnail.active {
    border-color: var(--champagne-gold);
}

.product-thumbnail:hover {
    border-color: var(--soft-taupe);
}

.product-page-info {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-page-info h2 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: var(--espresso);
}

.product-page-info .price {
    font-size: 1.5rem;
    color: var(--soft-taupe);
    margin-bottom: 2rem;
    font-weight: 500;
}

.product-page-info .description {
    margin-bottom: 2.5rem;
    color: var(--espresso);
    font-size: 1.05rem;
    line-height: 1.8;
}

.quantity-selector {
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.quantity-selector label {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.quantity-selector input {
    width: 70px;
    padding: 0.8rem;
    border: 1px solid var(--soft-taupe);
    font-family: var(--font-body);
    text-align: center;
    font-size: 1rem;
    background-color: transparent;
}

/* About Us Section */
.about-section {
    padding: 6rem 5%;
    background-color: var(--deep-plum);
    text-align: center;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    margin-bottom: 2rem;
    color: var(--champagne-gold);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--warm-ivory);
}

/* Category Filters */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--soft-taupe);
    background: transparent;
    color: var(--espresso);
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--deep-plum);
    color: var(--warm-ivory);
    border-color: var(--deep-plum);
}

/* FAQ Section */
.faq-section {
    padding: 6rem 5%;
    background-color: #fcfbf9;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-container h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--deep-plum);
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(184, 169, 154, 0.3);
}

.faq-item h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--espresso);
}

.faq-item p {
    color: var(--espresso);
    line-height: 1.6;
}

/* Legal Page */
.legal-page-section {
    padding: 120px 5% 5rem;
    min-height: 80vh;
    background-color: var(--warm-ivory);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.legal-content h2 {
    margin-bottom: 2rem;
    color: var(--deep-plum);
    border-bottom: 1px solid var(--soft-taupe);
    padding-bottom: 1rem;
}

.legal-text {
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--espresso);
}

.legal-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.legal-text p {
    margin-bottom: 1rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .product-page-content {
        flex-direction: column;
    }

    .main-image-wrapper img {
        min-height: 400px;
    }

    .product-page-info {
        padding: 3rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .nav-search-container {
        display: none;
    }

    .logo-link {
        display: flex;
        align-items: center;
    }

    .logo-text {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.15rem;
        letter-spacing: 2px;
        width: max-content;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 5%;
        width: 90%;
        background-color: var(--warm-ivory);
        padding: 2rem;
        text-align: center;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        gap: 1.5rem;
        border-radius: 30px;

        /* Smooth animation */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(15px);
    }

    .hamburger {
        display: block;
        margin-left: auto;
    }

    .hero {
        padding-left: 5%;
        padding-right: 5%;
        padding-bottom: 0;
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons a[href="#contact"] {
        display: none;
    }

    .mobile-video {
        display: block;
    }

    .desktop-video {
        display: none;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-brand {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-socials {
        justify-content: center;
    }

    .product-page-info {
        padding: 2rem 1.5rem;
    }

    .product-page-info h2 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}