/* Ruqma Luxury Design System */
:root {
    --color-primary: #D4AF37;
    /* Gold */
    --color-secondary: #050708;
    /* Black */
    --color-accent: #FFFFFF;
    /* White */
    --color-gray: #1a1a1a;
    --color-gold-glow: rgba(212, 175, 55, 0.2);
    --font-primary: 'IBM Plex Sans', sans-serif;
    --font-secondary: 'Nunito Sans', sans-serif; /* Corrected to Nunito Sans */
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--color-secondary);
    color: var(--color-accent);
    font-family: var(--font-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Glassmorphism Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-fast);
}

header.sticky {
    background: rgba(5, 7, 8, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 15px 5%;
}

.logo img {
    height: 100px; /* Zoomed in for better visibility */
    width: auto;
}

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

nav a {
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

nav a:hover {
    color: var(--color-primary);
}

/* Hero Section with Smoky Background */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
    background: radial-gradient(circle at center, #1a1a1a 0%, #050708 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.08), transparent 40%);
    z-index: 1;
    animation: pulse 10s infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%; /* Ensure content fills width to center children */
}

.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 40%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
}

.hero p {
    font-size: 1.2rem;
    color: #999;
    margin: 0 auto 40px; /* Explicitly centered with margin auto */
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    font-family: var(--font-secondary);
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-fast);
    background: transparent;
}

.btn-primary:hover {
    background: var(--color-primary);
    color: var(--color-secondary);
    box-shadow: 0 0 30px var(--color-gold-glow);
}

/* Product Section */
.products {
    padding: 120px 5%;
    background-color: #000;
}

.section-title {
    margin-bottom: 80px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.section-title div {
    height: 2px;
    width: 60px;
    background: var(--color-primary);
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    padding: 40px;
    border-radius: 4px;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 560px;
    min-height: clamp(520px, 54vw, 680px);
    margin: 0 auto;
}

.product-card:hover {
    transform: translateY(-15px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.product-image {
    width: min(100%, 420px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    margin-bottom: 30px;
    transition: var(--transition-slow);
}

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

.product-card h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: #fff;
}

.product-card p {
    color: #888;
    margin-bottom: 30px;
    font-size: 0.95rem;
    line-height: 1.8;
    font-family: var(--font-secondary);
}

/* Floating WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: var(--transition-fast);
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px var(--color-gold-glow);
}

.whatsapp-btn svg {
    fill: var(--color-secondary);
    width: 32px;
    height: 32px;
}

/* Animations */
.animate {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Product Detail Page Styles */
.product-hero {
    padding: 96px 5% 90px;
    display: flex;
    align-items: flex-start;
    gap: 60px;
    min-height: 90vh;
}

.product-hero-info {
    flex: 1;
}

.product-hero-image {
    flex: 1;
    text-align: center;
}

.product-hero-image img {
    max-width: 100%;
    filter: drop-shadow(0 0 50px rgba(212, 175, 55, 0.1));
}

.price {
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: 300;
    margin: 20px 0;
    font-family: var(--font-secondary);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 60px 0;
    border-top: 1px solid #1a1a1a;
    padding-top: 40px;
}

.spec-item h5 {
    color: var(--color-primary);
    margin-bottom: 5px;
    font-size: 0.8rem;
}

.spec-item p {
    color: #ccc;
    font-size: 1.1rem;
    font-family: var(--font-secondary);
}

/* Footer */
footer {
    padding: 80px 5%;
    background-color: #050708;
    text-align: center;
    border-top: 1px solid #1a1a1a;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 40px;
}

.copyright {
    color: #555;
    font-size: 0.8rem;
    margin-top: 40px;
    font-family: var(--font-secondary);
}

@media (max-width: 768px) {
    header {
        padding: 10px 5%;
    }

    .logo img {
        height: 64px;
    }

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

    .product-card {
        min-height: auto;
        max-width: 520px;
    }

    .product-image {
        width: 100%;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .product-hero {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
        gap: 20px;
        padding: 68px 5% 56px;
    }

    nav ul {
        display: none;
    }
}
