:root {
    --color-bg-dark: #121212;
    --color-bg-charcoal: #1A1A1A;
    --color-gold: #C5A059;
    --color-gold-hover: #D4AF37;
    --color-emerald: #00563B;
    --color-emerald-light: #047857;
    --color-text-light: #F8F9FA;
    --color-text-muted: #A0A0A0;
    
    --font-heading: 'Cinzel', 'Cairo', serif;
    --font-body: 'Cairo', sans-serif;
    
    --transition-smooth: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 1s ease, visibility 1s;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 8px;
    margin-bottom: 20px;
    animation: fadeInOut 2s infinite ease-in-out;
}

.loader-logo span {
    color: var(--color-gold);
}

.loader-line {
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    margin: 0 auto;
    animation: loadingLine 2s infinite ease-in-out;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes loadingLine {
    0% { width: 0; }
    50% { width: 100px; }
    100% { width: 0; }
}

/* Custom Cursor */
#custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out, background-color 0.3s, border-color 0.3s;
    transform: translate(-50%, -50%);
}

#cursor-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    background-color: var(--color-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

.cursor-hover #custom-cursor {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(197, 160, 89, 0.1);
}

@media (hover: none) {
    #custom-cursor, #cursor-dot {
        display: none;
    }
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg-dark);
}

body {
    font-family: var(--font-body);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, .brand-logo {
    font-family: var(--font-heading);
    font-weight: 400;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Mist Animation */
.mist-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.1;
    pointer-events: none;
    z-index: 9999;
    animation: drift 40s linear infinite;
}

.mist-overlay-2 {
    background: radial-gradient(circle at center, rgba(0, 86, 59, 0.05) 0%, transparent 60%);
    animation: pulse 15s ease-in-out infinite alternate;
}

@keyframes drift {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 500px; }
}

@keyframes pulse {
    0% { opacity: 0.2; transform: scale(1); }
    100% { opacity: 0.5; transform: scale(1.1); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-gold);
    border-color: var(--color-gold);
}

.btn-secondary:hover {
    background-color: rgba(197, 160, 89, 0.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: 1px;
    text-align: center;
}

.logo-icon {
    font-size: 2rem;
    color: var(--color-gold);
    animation: glow 3s infinite ease-in-out;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 2px var(--color-gold)); }
    50% { filter: drop-shadow(0 0 10px var(--color-gold)); }
}

.logo-text {
    display: block;
}

.brand-logo span {
    color: var(--color-gold);
}

.nav-menu {
    display: flex;
    gap: 3rem;
}

.nav-menu a {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mobile-toggle:hover {
    color: var(--color-gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(18, 18, 18, 0.4), rgba(18, 18, 18, 0.8));
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    padding: 0 2rem;
}

.subheading {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.heading {
    font-size: 4rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.scroll-down {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.scroll-down span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

.scroll-down .line {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-down .line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-gold);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Sections Common */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Notes Section */
.notes-section {
    padding: 10rem 0;
    background-color: var(--color-bg-dark);
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.note-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    group: hover;
}

.note-image {
    height: 500px;
    background-size: cover;
    background-position: center;
    transition: transform 1s ease;
}

.note-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.2) 100%);
    transition: opacity 0.5s ease;
}

.note-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 2rem;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.note-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-gold);
}

.note-info p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.note-card:hover .note-info {
    transform: translateY(0);
}

.note-card:hover .note-info p {
    opacity: 1;
}

/* Products Collection */
.collection-section {
    padding: 8rem 0;
    background-color: var(--color-bg-charcoal);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.product-card {
    text-align: center;
    transition: var(--transition-smooth);
}

.product-img-wrapper {
    position: relative;
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 3/4;
    background-color: var(--color-bg-dark);
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.quick-add {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
    padding: 1rem 0;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: bottom 0.4s ease;
    cursor: pointer;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.08);
}

.product-card:hover .quick-add {
    bottom: 0;
}

.product-details h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-details .price {
    display: block;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.product-details p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    max-width: 80%;
    margin: 0 auto;
}

/* Newsletter Section */
.newsletter {
    padding: 10rem 0;
    text-align: center;
    background-image: linear-gradient(rgba(0, 86, 59, 0.8), rgba(18, 18, 18, 0.9)), url('https://images.unsplash.com/photo-1603513492128-ba7bc9b3e143?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

.newsletter p {
    margin-bottom: 3rem;
    color: var(--color-text-light);
}

.subscribe-form {
    display: flex;
    gap: 1rem;
}

.subscribe-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

.subscribe-form input:focus {
    border-color: var(--color-gold);
    background-color: rgba(255, 255, 255, 0.15);
}

.subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Footer */
footer {
    background-color: var(--color-bg-dark);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.brand-info p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 1.5rem 0;
    max-width: 300px;
}

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

.social-links a {
    color: var(--color-text-muted);
    font-size: 1.2rem;
}

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

.footer-column h4 {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-column a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 1024px) {
    .heading { font-size: 3.5rem; }
    .notes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .navbar { padding: 1rem 0; background-color: rgba(18, 18, 18, 0.95); }
    
    .mobile-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1001;
        border-left: 1px solid rgba(197, 160, 89, 0.2);
    }
    
    .nav-menu.active { right: 0; }
    
    .nav-menu a { font-size: 1.2rem; }

    .heading { font-size: 2.5rem; }
    .subheading { font-size: 1rem; letter-spacing: 1px; }
    
    .notes-grid { grid-template-columns: 1fr; }
    .note-image { height: 400px; }
    
    .product-grid { grid-template-columns: 1fr; }
    
    .section-header h2 { font-size: 2.2rem; }
    
    .cta-group { flex-direction: column; gap: 1rem; width: 100%; }
    .btn { width: 100%; text-align: center; }

    .footer-container { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .brand-info p { margin: 1.5rem auto; }
    .social-links { justify-content: center; }
}

@media (max-width: 480px) {
    .heading { font-size: 2rem; }
    .hero-text { font-size: 1rem; }
}
