/* styles.css */
:root {
    --bg-dark: #030f14;
    --bg-mid: #0a222c;
    --bg-light: #153a47;
    
    --accent-gold: #f3e4c4;
    --accent-gold-glow: rgba(243, 228, 196, 0.4);
    --accent-purple: #7df3e1;
    --accent-teal: #a2c4f5;
    
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(125, 243, 225, 0.15);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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;
    overflow-x: hidden;
    position: relative;
}

/* Background Ethereal Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    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.3;
}

.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.2;
}

@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(3, 15, 20, 0.5);
    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: var(--bg-dark);
    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;
}

.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: var(--bg-dark);
    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, #153a47, #7df3e1);
    margin-bottom: 1rem;
}
.placeholder-gradient-2 { background: linear-gradient(145deg, #0a222c, #a2c4f5); }
.placeholder-gradient-3 { background: linear-gradient(145deg, #153a47, #f3e4c4); }
.placeholder-gradient-4 { background: linear-gradient(145deg, #030f14, #7df3e1); }

.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(10, 34, 44, 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 rgba(125, 243, 225, 0.1);
    border-color: var(--accent-purple);
}

.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.2), rgba(125, 243, 225, 0.05));
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 
        0 20px 50px rgba(0,0,0,0.5),
        inset 0 0 40px rgba(125, 243, 225, 0.2),
        inset 20px 0 80px rgba(162, 196, 245, 0.2),
        inset -20px 0 80px rgba(243, 228, 196, 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 30px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-gold-glow);
}

.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.05);
    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(--bg-dark);
    border-color: var(--accent-gold);
}

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

.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;
    max-width: 100vw;
    height: 100vh;
    background: rgba(3, 15, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    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: 100vw;
    height: 100vh;
    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(255,255,255,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(--bg-dark);
    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) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 5rem 5%;
    }
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; }
    .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(10, 15, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 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.5), inset 0 0 20px rgba(96, 239, 255, 0.05);
}

.close-modal {
    position: absolute;
    top: 1rem; right: 1.5rem;
    background: none; border: none;
    color: var(--text-color);
    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-y: auto;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    /* Custom scrollbar for the image container */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-cyan) rgba(255, 255, 255, 0.05);
}
.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 {
    width: 100%;
    height: auto;
    display: block;
}
.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}
.gallery-thumbnails img {
    width: 70px; height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: all 0.3s ease;
}
.gallery-thumbnails img:hover { opacity: 1; }
.gallery-thumbnails img.active {
    border-color: var(--accent-gold);
    opacity: 1;
}
