/*
Theme Name: Wa7ati Premium
Theme URI: https://wa7ati.com
Author: Wa7ati
Author URI: https://wa7ati.com
Description: Luxury Jewelry WooCommerce Theme (Cinematic Dark, White Text, Gold Accents)
Version: 3.0
License: GNU General Public License v2 or later
Text Domain: wa7ati-premium
*/

/* --- 1. GLOBAL SETTINGS & RESPONSIVE RESET --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #0d0d0f; /* Even darker black */
    color: #ffffff; /* Text is now WHITE */
    overflow-x: hidden;
}

/* Elegant Serif like reference screenshot */
h1, h2, h3, h4, .pack-card, .price-text, .trust-label {
    font-family: 'Cormorant Garamond', serif; 
    font-weight: 500;
}

h2 {
    color: #ffffff; /* WHITE headings */
    margin-bottom: 50px;
    font-size: 40px;
    letter-spacing: 2px;
    text-align: center;
}

/* --- 2. LAYOUT CONTAINERS & ANIMATED BACKGROUNDS --- */
.section {
    padding: 100px 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.dark {
    background: #0a0a0a;
}

/* Sparkle Bokeh Animation Effect (CSS only, reference Gemini image) */
.section-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.05) 5%, transparent 10%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.07) 0%, rgba(212, 175, 55, 0.07) 8%, transparent 12%),
        radial-gradient(circle at 30% 70%, rgba(212, 175, 55, 0.04) 0%, rgba(212, 175, 55, 0.04) 4%, transparent 10%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.08) 6%, transparent 15%);
    background-size: 500px 500px, 400px 400px, 600px 600px, 500px 500px;
    filter: blur(8px);
    animation: sparkleBackground 30s linear infinite;
    z-index: 1;
    opacity: 0.6;
}

@keyframes sparkleBackground {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-250px, -250px) rotate(3deg); }
}

/* --- 3. HEADER & HERO --- */
header {
    padding: 25px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    background: rgba(13, 13, 15, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    color: #d4af37; /* Logo is GOLD */
    font-weight: bold;
    letter-spacing: 4px;
    text-decoration: none;
}

.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 20px;
    background-color: #000;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(13, 13, 15, 0.2), rgba(0,0,0,0.9)); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 850px;
}

.hero-content h1 {
    font-family: 'Cormorant Garamond', serif; 
    font-size: 85px;
    color: #ffffff; /* WHITE hero text */
    letter-spacing: 5px;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-content p {
    font-size: 24px;
    opacity: 0.9;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* --- 4. BUTTONS --- */
.btn, .product a.button, .wp-block-button__link {
    background: linear-gradient(135deg, #d4af37, #aa8529);
    color: #0d0d0f !important; /* Gold gradient buttons keep gold look */
    font-weight: bold;
    padding: 18px 45px;
    border-radius: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn:hover, .product a.button:hover, .wp-block-button__link:hover {
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.6);
    transform: translateY(-3px) scale(1.03);
}

/* --- 5. REALISTIC PROMISE SECTION (Video Wrappers) --- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

.trust-card-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.4s ease;
    background-color: #050505; /* Fallback color while video loads */
}

.trust-card-video-wrapper:hover {
    transform: translateY(-5px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

/* Make sure the video covers the whole box without stretching */
.trust-video {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.8;
}

/* Moody gradient overlay so the text is always readable */
.trust-overlay {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.1) 60%);
    z-index: 1;
}

.trust-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    color: #ffffff;
    font-size: 22px;
    letter-spacing: 1px;
    text-align: center;
}

/* Moody gradient overlay */
.trust-card-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 60%);
}

.trust-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    color: #ffffff;
    font-size: 22px;
    letter-spacing: 1px;
    text-align: center;
}

/* --- 6. EXAMPLE PRODUCTS GRID --- */
.example-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    width: 100%;
}

.product-card {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.05);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.5s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

.product-image-holder {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 12px;
    margin-bottom: 25px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.03);
    position: relative;
    overflow: hidden;
}

/* Subtle sparkle over image on hover */
.product-card:hover .product-image-holder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle at center, rgba(255,255,255,0.3) 0%, transparent 10%);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: sparkleEffect 10s infinite linear;
}

@keyframes sparkleEffect {
    0% { transform: translate(0,0); }
    100% { transform: translate(-50px, -50px); }
}

.product-card h4 {
    font-size: 24px;
    color: #ffffff; /* WHITE product names */
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.product-card p {
    font-size: 15px;
    opacity: 0.7;
    margin-bottom: 20px;
    height: 40px; /* simple fixed height */
}

.price-text {
    color: #ffffff; /* WHITE prices */
    font-size: 26px;
    margin-bottom: 25px;
    font-weight: 400;
}

/* --- 7. REVIEWS & SOCIAL --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
}

.review-card {
    background: #111;
    padding: 40px;
    border-radius: 20px;
    text-align: left;
    position: relative;
    border: 1px solid rgba(255,255,255,0.02);
}

.review-card p {
    font-size: 17px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 20px;
    font-style: italic;
}

.reviewer {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: #d4af37; /* Reviewer name is GOLD */
}

.star-rating {
    color: #d4af37;
    font-size: 18px;
    margin-bottom: 10px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.social-post {
    height: 280px;
    background: #111;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(212, 175, 55, 0.05);
    transition: transform 0.3s;
}
.social-post:hover { transform: scale(1.02); }

/* --- 8. FLOATING WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover { transform: translateY(-5px) scale(1.1) rotate(-5deg); }

/* --- 9. MOBILE OPTIMIZATION --- */
@media (max-width: 1024px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .example-products-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 60px; }
}

@media (max-width: 768px) {
    header { padding: 15px 25px; }
    .hero-content h1 { font-size: 48px; }
    .hero-content p { font-size: 18px; }
    .section { padding: 70px 15px; }
    .trust-grid { gap: 15px; }
    .example-products-grid { gap: 20px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .social-grid { grid-template-columns: repeat(2, 1fr); }
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
}