/*
 * ZHARRO Brand Landing Page Stylesheet
 *
 * This file defines the visual identity for the ZHARRO landing page. It uses
 * a dark, luxurious palette with warm copper accents and clear typography.  
 */

/* CSS Variables for color palette */
:root {
    --stone-black: #0F0F0F;
    --molten-silver: #C0C0C0;
    --copper-flame: #B87333;
    --amber-glow: #FF7E3E;
}

/* Reset some default margins and paddings */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--stone-black);
    color: var(--molten-silver);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--molten-silver);
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

/* Layout helpers */
.section {
    padding: 4rem 1rem;
}

.dark-section {
    /* Slightly lighter background to differentiate sections */
    background-color: #141414;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Hero section styling */
.section-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
    background-image: url('../assets/background.png');
    background-size: cover;
    background-position: center;
    color: var(--molten-silver);
}

/* Dark overlay on hero to ensure readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Flame flicker effect overlay */
.section-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 126, 62, 0.3), rgba(255, 126, 62, 0) 60%);
    animation: flicker 3s infinite alternate;
    z-index: 1;
}

@keyframes flicker {
    0% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.03);
    }
    100% {
        opacity: 0.15;
        transform: scale(0.97);
    }
}

/* Content on hero */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-logo {
    width: 120px;
    margin: 0 auto 1rem;
    display: block;
}

.hero-title {
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--molten-silver);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

.btn-primary {
    background-color: var(--copper-flame);
    color: var(--stone-black);
}

.btn-primary:hover {
    background-color: var(--amber-glow);
}

.btn-secondary {
    background-color: var(--molten-silver);
    color: var(--stone-black);
}

.btn-secondary:hover {
    background-color: var(--amber-glow);
    color: var(--stone-black);
}

/* Product grid */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.product-grid figure {
    flex: 1 1 280px;
    max-width: 300px;
    text-align: center;
}

.product-grid img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    background-color: #222;
}

.product-grid figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--molten-silver);
}

.product-details {
    margin-top: 2rem;
}

.product-details ul {
    list-style: none;
    padding-left: 0;
}

.product-details li {
    margin-bottom: 0.5rem;
}

/* Ritual steps */
.ritual-steps {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.ritual-steps li {
    margin-bottom: 0.5rem;
}

.ritual-text {
    margin-top: 1rem;
}

/* Contact form */
.contact-form {
    margin-top: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--molten-silver);
    font-family: 'Open Sans', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
}

.contact-form button {
    border: none;
    cursor: pointer;
}

/* Footer styling */
.footer {
    padding: 2rem 1rem;
    background-color: #111;
    text-align: center;
}

.footer-logo {
    width: 80px;
    margin-bottom: 1rem;
}

.footer-content p {
    font-size: 0.8rem;
    color: var(--molten-silver);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-grid {
        flex-direction: column;
        align-items: center;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .hero-logo {
        width: 100px;
    }
}