/* styles.css */
:root {
    --bg-dark: #faf9fc;
    --bg-mid: #f6f0fb;
    --bg-light: #fcfbfe;
    
    --accent-gold: #c5a059;
    --accent-gold-glow: rgba(197, 160, 89, 0.4);
    --accent-purple: #ce93d8;
    --accent-teal: #81d4fa;
    
    --text-primary: #111827;
    --text-secondary: #4b5563;
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    background-image: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-mid) 50%, var(--bg-light) 100%);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Background Ethereal Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background-color: var(--bg-dark);
}

.chakra-bg-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    mix-blend-mode: multiply;
    transition: background-image 2s ease-in-out;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
    bottom: 10%;
    right: -10%;
    animation-delay: -5s;
    opacity: 0.15;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-teal) 0%, transparent 70%);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
    opacity: 0.1;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
}

h1 i {
    font-style: italic;
    color: var(--accent-gold);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}
.logo span {
    color: var(--accent-gold);
    font-style: italic;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.cart-icon:hover {
    transform: scale(1.1);
    color: var(--accent-gold);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-gold);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 10%;
    min-height: 80vh;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--accent-gold);
    text-decoration: none;
    border: 1px solid var(--accent-gold);
    border-radius: 30px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0);
}

.cta-button:hover {
    background: var(--accent-gold);
    color: #ffffff;
    box-shadow: 0 0 20px var(--accent-gold-glow);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.main-showcase {
    width: 320px;
    transform: rotate(5deg);
    animation: float-card 6s ease-in-out infinite;
}

@keyframes float-card {
    0% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
    100% { transform: translateY(0) rotate(5deg); }
}

.placeholder-gradient-1 {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    background: linear-gradient(145deg, #f0e6fa, #ce93d8);
    margin-bottom: 1rem;
}
.placeholder-gradient-2 { background: linear-gradient(145deg, #f8f9fa, #81d4fa); }
.placeholder-gradient-3 { background: linear-gradient(145deg, #f3e5f5, #cfd8dc); }
.placeholder-gradient-4 { background: linear-gradient(145deg, #f0e6fa, #81d4fa); }

.showcase-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}
.showcase-info p {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

/* Healing Section */
.healing-section {
    padding: 6rem 10%;
    background: rgba(255, 255, 255, 0.4);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.healing-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.healing-text {
    flex: 1;
}

.healing-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.healing-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.healing-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.healing-list li {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--glass-bg);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.healing-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 15px var(--accent-gold-glow);
    border-color: var(--accent-gold);
}

.icon {
    font-size: 1.5rem;
}

.healing-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-orb {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(206, 147, 216, 0.2));
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 
        0 20px 50px rgba(0,0,0,0.1),
        inset 0 0 40px rgba(206, 147, 216, 0.2),
        inset 20px 0 80px rgba(129, 212, 250, 0.2),
        inset -20px 0 80px rgba(207, 216, 220, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: float-orb 8s ease-in-out infinite;
}

@keyframes float-orb {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
    100% { transform: translateY(0) scale(1); }
}

/* Shop Section */
.shop-section {
    padding: 5rem 10%;
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--glass-bg);
    color: var(--text-primary);
    border-color: var(--accent-gold);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

/* Product Card */
.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-gold);
}

.product-img {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    margin-bottom: 1rem;
    object-fit: cover;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-purple);
    margin-bottom: 0.5rem;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 500;
}

.add-to-cart {
    margin-top: auto;
    width: 100%;
    padding: 0.75rem;
    background: rgba(255,255,255,0.5);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-weight: 500;
}

.add-to-cart:hover {
    background: var(--accent-gold);
    color: var(--text-primary);
    border-color: var(--accent-gold);
}

/* About Section */
.about-section {
    padding: 6rem 5%;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.about-glow {
    position: absolute;
    top: -20px; left: -20px; right: -20px; bottom: -20px;
    background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.about-subtitle {
    color: var(--accent-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-content h2 { font-size: 2.5rem; }
}

/* Footer */
footer {
    padding: 3rem 10%;
    border-top: 1px solid var(--glass-border);
    margin-top: 5rem;
    background: rgba(255, 255, 255, 0.5);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0; right: -400px;
    width: 400px; height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.cart-sidebar.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.close-cart {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.cart-item-img {
    width: 60px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.remove-item {
    background: none;
    border: none;
    color: #ff4757;
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

.cart-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.checkout-button {
    width: 100%;
    padding: 1rem;
    background: var(--accent-gold);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.checkout-button:hover {
    background: #e6c855;
    box-shadow: 0 0 15px var(--accent-gold-glow);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
        padding: 2rem 5%;
        gap: 1rem;
    }
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 5rem 5%;
    }
    .hero h1 { font-size: 3rem; }
    .nav-links { 
        display: flex; 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 1rem;
    }
    .healing-container { flex-direction: column; text-align: center; gap: 2rem; }
}

/* Product Modal UI */
.product-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.product-modal-overlay.active { display: flex; opacity: 1; }

.product-modal {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(129, 212, 250, 0.05);
}

.close-modal {
    position: absolute;
    top: 1rem; right: 1.5rem;
    background: none; border: none;
    color: var(--text-primary);
    font-size: 2rem; cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}
.close-modal:hover { color: var(--accent-cyan); }

.product-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
@media (max-width: 768px) {
    .product-modal-content { grid-template-columns: 1fr; }
}

.product-gallery { display: flex; flex-direction: column; gap: 1rem; }
.gallery-image-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
    background: #0a1923;
}
.gallery-image-container::-webkit-scrollbar {
    width: 6px;
}
.gallery-image-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}
.gallery-image-container::-webkit-scrollbar-thumb {
    background: var(--accent-cyan);
    border-radius: 12px;
}
.main-gallery-img, #mainGalleryVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    pointer-events: none;
}
.main-gallery-img.show, #mainGalleryVideo.show {
    opacity: 1;
    pointer-events: auto;
}
.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}
.gallery-thumbnails img, .gallery-thumbnails video {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}
.gallery-thumbnails img:hover, .gallery-thumbnails video:hover { opacity: 1; }
.gallery-thumbnails img.active, .gallery-thumbnails video.active {
    border-color: var(--accent-gold);
    opacity: 1;
}

/* Print Button */
.print-btn-container {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.print-btn {
    background: var(--accent-gold);
    color: #111;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.print-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* Mobile 2-Column Grid */
@media (max-width: 600px) {
    .shop-section {
        padding: 2rem 1rem; /* Much less padding on sides to give grid room */
    }
    .filters {
        flex-wrap: wrap; /* Prevent filter buttons from squishing */
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem; /* Tighter gap */
    }
    .product-card {
        padding: 0.5rem; /* Less inner padding */
    }
    .product-img {
        height: 150px; /* Shorter height makes it closer to a square, unsquishing it */
        margin-bottom: 0.5rem;
    }
    .product-title {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    .product-price {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    .add-to-cart {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    .cart-sidebar {
        width: 100%;
        right: -100%;
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .print-btn-container,
    .footer-cta,
    .breathing-container {
        display: none !important;
    }

    .prompt-card {
        background: none !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        color: black !important;
        break-inside: avoid;
    }
    
    .prompt-question {
        color: black !important;
    }
    
    .prompt-desc {
        color: #333 !important;
    }

    .journal-space {
        background: transparent !important;
        border: 1px solid #ccc !important;
        color: black !important;
        resize: none !important;
    }
    
    .journal-space::placeholder {
        color: #999 !important;
    }
}
