/* CSS Variables & Design System */
:root {
    /* Colors */
    --bg-primary: #0a110d; /* Very dark forest green/black */
    --bg-secondary: #121e17; /* Lighter dark green for sections */
    --bg-card: rgba(25, 40, 31, 0.6); /* Glassmorphism card bg */
    
    --text-primary: #f0f2eb; /* Soft ivory */
    --text-secondary: #9ca39b; /* Muted greenish grey */
    
    --accent: #b5c4ad; /* Soft sage green */
    --accent-hover: #cde0c4;
    --border-color: rgba(181, 196, 173, 0.15);
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Spacing & Layout */
    --section-pad: 8rem 0;
    --container-width: 1200px;
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

em {
    font-style: italic;
    color: var(--accent);
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.section-title.center {
    text-align: center;
}

/* Typography Utilities */
.subtitle {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-primary);
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(181, 196, 173, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid transparent;
}

.btn-secondary:hover {
    color: var(--accent);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.w-100 {
    width: 100%;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition);
}

#navbar.scrolled {
    background-color: rgba(10, 17, 13, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
    font-style: italic;
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn-primary) {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.nav-links a:not(.btn-primary):hover {
    opacity: 1;
    color: var(--accent);
}

.nav-links .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05); /* Slight zoom for dramatic effect */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 17, 13, 0.9) 0%, rgba(10, 17, 13, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    max-width: var(--container-width);
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background-color: var(--text-primary);
}

/* Initial Hero Animations */
.hero-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

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

@keyframes fadeUpAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Story Section */
.story {
    padding: var(--section-pad);
    background-color: var(--bg-secondary);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.story-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.story-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    border-left: 1px solid var(--border-color);
    padding-left: 3rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Products Section */
.products {
    padding: var(--section-pad);
}

.product-showcase {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-card.reverse {
    direction: rtl;
}

.product-card.reverse > * {
    direction: ltr;
}

.product-img-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.product-img-wrapper::after {
    content: '';
    display: block;
    padding-bottom: 120%; /* Aspect ratio */
}

.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.product-info {
    padding: 2rem;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-header h3 {
    font-size: 2.5rem;
}

.badge {
    background-color: rgba(181, 196, 173, 0.1);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

.product-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.features-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.features-list li::before {
    content: '•';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

/* Pricing Section */
.pricing {
    padding: var(--section-pad);
    background-color: var(--bg-secondary);
}

.pricing-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 6rem;
}

.price-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.price-card.premium {
    border-color: var(--accent);
}

.popular-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent);
    color: var(--bg-primary);
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

.price-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.price-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.price {
    font-size: 3rem;
    font-family: var(--font-serif);
    margin-bottom: 2rem;
    color: var(--accent);
}

.price span {
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--text-secondary);
}

.size-options {
    margin-bottom: 2.5rem;
}

.size-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.size-row:last-child {
    border-bottom: none;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 4rem;
}

.step-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.step h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-secondary);
}

/* Footer */
footer {
    padding: 6rem 0 2rem;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1.5rem;
    max-width: 400px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
}

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

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.social-icons a:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Scroll Animations - Premium Cinematic System */
.animate-on-scroll {
    opacity: 0;
    will-change: transform, opacity, filter;
    transition:
        opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 1000ms cubic-bezier(0.16, 1, 0.3, 1),
        filter 1000ms cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.fade-up { transform: translateY(70px); filter: blur(8px); }
.animate-on-scroll.fade-left { transform: translateX(-70px); filter: blur(8px); }
.animate-on-scroll.fade-right { transform: translateX(70px); filter: blur(8px); }
.animate-on-scroll.scale-up { transform: scale(0.88); filter: blur(8px); }
.animate-on-scroll.zoom-soft { transform: scale(1.08); filter: blur(8px); }
.animate-on-scroll.reveal-rotate { transform: translateY(60px) rotateX(10deg); transform-origin: center bottom; filter: blur(8px); }
.animate-on-scroll.clip-reveal { clip-path: inset(0 100% 0 0); opacity: 1; }

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotateX(0);
    filter: blur(0);
    clip-path: inset(0 0 0 0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-700 { transition-delay: 700ms; }

.section-title.animate-on-scroll.is-visible em {
    animation: textGlow 1.3s ease both;
}

@keyframes textGlow {
    0% { text-shadow: 0 0 0 rgba(181,196,173,0); }
    45% { text-shadow: 0 0 24px rgba(181,196,173,0.35); }
    100% { text-shadow: 0 0 0 rgba(181,196,173,0); }
}

/* FAQ Section */
.faq {
    padding: var(--section-pad);
    background-color: var(--bg-primary);
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-family: var(--font-sans);
    text-align: left;
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
}

/* Floating Messenger */
.floating-messenger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #0084ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(0, 132, 255, 0.4);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-messenger:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #0073e6;
    color: white;
}

/* Gallery / Masonry */
.gallery-header {
    padding: 8rem 0 3rem;
    text-align: center;
    background-color: var(--bg-secondary);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 20px;
    gap: 1.5rem;
    padding: 4rem 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.masonry-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--bg-card);
}

.masonry-item img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 { font-size: 4rem; }
    .story-grid { gap: 3rem; }
    .product-card { gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 3rem; }
    .story-grid { grid-template-columns: 1fr; }
    .story-stats { border-left: none; padding-left: 0; border-top: 1px solid var(--border-color); padding-top: 2rem; display: flex; justify-content: space-between;}
    .product-card { grid-template-columns: 1fr !important; }
    .pricing-cards { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* =========================================
   Testimonials
   ========================================= */
.testimonials { padding: 5rem 0; background-color: var(--bg-secondary); border-top: 1px solid var(--border-color); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.review-card { background: var(--bg-card); padding: 2rem; border-radius: 12px; border: 1px solid var(--border-color); display: flex; flex-direction: column; justify-content: space-between; }
.review-text { font-style: italic; color: var(--text-primary); margin-bottom: 1.5rem; line-height: 1.6; }
.review-author { display: flex; align-items: center; gap: 1rem; }
.review-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.review-author h4 { margin: 0; font-size: 1rem; color: var(--accent); font-family: var(--font-sans); }
.review-author span { font-size: 0.8rem; color: var(--text-secondary); }

/* =========================================
   Order Form
   ========================================= */
.order-form-section { padding: 5rem 0; background-color: var(--bg-primary); }
.order-form-container { max-width: 700px; margin: 0 auto; background: var(--bg-card); padding: 3rem; border-radius: 16px; border: 1px solid var(--border-color); backdrop-filter: blur(10px); }
.custom-form input, .custom-form select, .custom-form textarea { width: 100%; padding: 12px 15px; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; font-family: inherit; font-size: 1rem; box-sizing: border-box; transition: all 0.3s; background: rgba(255,255,255,0.05); color: var(--text-primary); }
.custom-form input:focus, .custom-form select:focus, .custom-form textarea:focus { border-color: var(--accent); outline: none; background: rgba(255,255,255,0.1); }
.custom-form option { background: var(--bg-primary); color: var(--text-primary); }

/* =========================================
   Language Switch Button
   ========================================= */
.lang-switch { display: inline-flex; align-items: center; margin-left: 1rem; }
.lang-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); font-weight: bold; font-size: 0.85rem; color: var(--text-primary) !important; transition: all 0.3s; text-decoration: none; }
.lang-btn:hover { background: var(--accent); color: var(--bg-primary) !important; border-color: var(--accent); opacity: 1 !important; transform: scale(1.05); }

/* =========================================
   Promo Banner Floating (Popup Modal)
   ========================================= */
.promo-banner { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); z-index: 2000; display: flex; align-items: center; justify-content: center; animation: fadeInPromo 0.3s ease; }
.promo-box { background: white; color: #111827; padding: 40px 50px; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 500px; text-align: center; position: relative; animation: popUpPromo 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.promo-box i { font-size: 3.5rem; color: #10b981; }
.promo-content { font-weight: 600; font-size: 1.3rem; line-height: 1.5; }
.promo-close { position: absolute; top: 15px; right: 15px; background: #f3f4f6; border: none; color: #4b5563; cursor: pointer; width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s; font-size: 1.2rem; }
.promo-close:hover { background: #e5e7eb; color: #111827; transform: rotate(90deg); }
@keyframes fadeInPromo { from { opacity: 0; } to { opacity: 1; } }
@keyframes popUpPromo { from { transform: scale(0.8) translateY(20px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
@media (max-width: 768px) { .promo-box { margin: 20px; padding: 30px 20px; } }

/* =========================================
   Custom Cursor & UX Elements
   ========================================= */
#custom-cursor { position: fixed; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(16, 185, 129, 0.6); pointer-events: none; transform: translate(-50%, -50%); z-index: 9999; transition: width 0.2s, height 0.2s, background 0.2s; mix-blend-mode: difference; display: none; }
body:hover #custom-cursor { display: block; } /* Hide when mouse leaves window */
@media (max-width: 768px) { #custom-cursor { display: none !important; } }
.cursor-hover { width: 60px !important; height: 60px !important; background: rgba(255, 255, 255, 0.8) !important; mix-blend-mode: normal !important; display:flex; align-items:center; justify-content:center; }
.cursor-hover::after { content: '🔍'; font-size:20px; }

/* Lightbox Gallery */
.lightbox { display:none; position:fixed; z-index:9999; inset:0; background:rgba(0,0,0,0.95); justify-content:center; align-items:center; opacity:0; transition:opacity 0.3s; backdrop-filter:blur(5px); }
.lightbox.active { display:flex; opacity:1; }
.lightbox-content { max-width:90%; max-height:90vh; border-radius:10px; box-shadow:0 0 30px rgba(0,0,0,0.5); transform:scale(0.8); transition:transform 0.3s; object-fit:contain; }
.lightbox.active .lightbox-content { transform:scale(1); }
.lightbox-close { position:absolute; top:20px; right:30px; color:white; font-size:40px; cursor:pointer; background:none; border:none; outline:none; transition:color 0.2s; }
.lightbox-close:hover { color:var(--accent); }
.masonry-item img { cursor: pointer; }

/* Cinematic Hero Video Background */
.hero-bg-video {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6) contrast(1.1);
}
.hero-bg-video.is-active { display: block; }
.hero.has-video .hero-bg { display: none; }
.hero-overlay { z-index: 2; background: linear-gradient(180deg, rgba(15,23,42,0.6) 0%, var(--bg-primary) 100%); }
.hero-content { z-index: 3; }


/* Dynamic Cart Builder */
.cart-builder { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; background: rgba(0,0,0,0.2); padding: 30px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); }
.product-selection label { display:block; color:#9ca3af; font-size:0.9rem; margin-bottom:8px; font-weight:500; }
.product-selection select, .product-selection input[type="text"] { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid #374151; background: rgba(0,0,0,0.4); color: white; margin-bottom: 20px; font-size: 1rem; transition: border-color 0.2s; }
.product-selection select:focus { border-color: var(--accent); outline: none; }
.cart-summary { background: rgba(16, 185, 129, 0.05); padding: 25px; border-radius: 12px; border: 1px solid rgba(16, 185, 129, 0.2); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.cart-summary h4 { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 12px; margin-bottom: 15px; color: var(--accent); font-size: 1.2rem; }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,0.1); font-size:0.95rem; animation: fadeIn 0.3s ease; }
.cart-item-remove { color: #ef4444; cursor: pointer; background: none; border: none; font-weight: bold; font-size: 1.2rem; padding: 5px 10px; border-radius: 5px; transition: background 0.2s; }
.cart-item-remove:hover { background: rgba(239, 68, 68, 0.2); }
.cart-total { display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; margin-top: 20px; color: #d1d5db; }
.cart-total strong { color: var(--accent); font-size: 1.8rem; }
@media (max-width: 768px) { .cart-builder { grid-template-columns: 1fr; padding: 20px; } }

/* Trust Badges Animation */
.trust-badges div { transition: transform 0.3s ease; }
.trust-badges div:hover { transform: translateY(-5px); }
.trust-badges div:hover i { color: #34d399 !important; transform: scale(1.1); transition: all 0.3s ease; }

/* Mobile Sticky CTA */
.mobile-sticky-cta { display:none; position:fixed; bottom:0; left:0; width:100%; background:rgba(15, 23, 42, 0.95); backdrop-filter:blur(10px); padding:15px; box-sizing:border-box; z-index:900; border-top:1px solid rgba(255,255,255,0.1); transform: translateY(100%); transition: transform 0.3s ease; }
.mobile-sticky-cta.visible { transform: translateY(0); }
.mobile-sticky-cta a { display:block; text-align:center; width:100%; font-size:1.1rem; padding:12px; }
@media (max-width: 768px) { 
    .mobile-sticky-cta { display:block; } 
    .floating-messenger { bottom: 85px; } /* Push messenger up slightly */
}




/* =========================================
   Inline Quote Cart Rows
   ========================================= */
.inline-cart-row { display: grid; grid-template-columns: auto 1fr 1fr auto auto; gap: 12px; align-items: center; margin-bottom: 12px; padding: 12px; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; background: rgba(255,255,255,0.04); }
.inline-cart-row select { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid #374151; background: rgba(0,0,0,0.35); color: var(--text-primary); }
.remove-row-btn { width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(239,68,68,0.15); color: #fca5a5; cursor: pointer; }
.remove-row-btn:hover { background: rgba(239,68,68,0.35); }
.calc-giftbox-label { white-space: nowrap; color: var(--text-secondary); font-size: 0.9rem; }
.row-price { min-width: 90px; text-align: right; color: var(--accent); font-weight: 700; }
@media (max-width: 768px) { .inline-cart-row { grid-template-columns: 1fr; } .row-price { text-align: left; } .remove-row-btn { justify-self: end; } }


/* =========================================
   v1.9 Premium Motion Upgrade
   ========================================= */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    z-index: 3000;
    background: linear-gradient(90deg, rgba(181,196,173,0.2), var(--accent), rgba(255,255,255,0.9));
    box-shadow: 0 0 18px rgba(181,196,173,0.45);
    pointer-events: none;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at var(--mx, 50%) var(--my, 20%), rgba(181,196,173,0.08), transparent 28vw),
        radial-gradient(circle at 10% 80%, rgba(16,185,129,0.05), transparent 28vw);
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at 25% 50%, rgba(181,196,173,0.16), transparent 32%),
        linear-gradient(90deg, rgba(10,17,13,0.78) 0%, rgba(10,17,13,0.18) 65%, rgba(10,17,13,0.45) 100%);
    mix-blend-mode: screen;
    opacity: 0.55;
}

.hero-bg, .hero-bg-video {
    transform: scale(1.08);
    transition: transform 0.35s linear, filter 0.6s ease;
    will-change: transform;
}

.hero-content {
    transform: translate3d(0, var(--hero-content-y, 0px), 0);
    transition: transform 0.18s linear;
}

.hero h1 {
    text-shadow: 0 18px 55px rgba(0,0,0,0.55);
}

.hero .subtitle {
    position: relative;
    width: fit-content;
}

.hero .subtitle::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--accent), transparent);
    animation: lineReveal 1.2s ease 0.8s forwards;
}

@keyframes lineReveal { to { transform: scaleX(1); } }

.btn-primary, .btn-secondary, .btn-outline, .price-card, .review-card, .step, .masonry-item, .product-img-wrapper {
    will-change: transform;
}

.btn-primary, .btn-outline {
    position: relative;
    overflow: hidden;
}

.btn-primary::before, .btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transition: left 0.7s ease;
}

.btn-primary:hover::before, .btn-outline:hover::before { left: 130%; }

.product-card, .price-card, .review-card, .order-form-container {
    position: relative;
}

.product-card::before, .price-card::before, .review-card::before, .order-form-container::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(181,196,173,0.25), transparent 35%, rgba(255,255,255,0.08));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.price-card:hover::before, .review-card:hover::before, .order-form-container:hover::before { opacity: 1; }

.story, .products, .pricing, .testimonials, .faq, .order-form-section {
    position: relative;
    overflow: hidden;
}

.story::after, .pricing::after, .order-form-section::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    right: -160px;
    top: 12%;
    background: radial-gradient(circle, rgba(181,196,173,0.08), transparent 65%);
    pointer-events: none;
}

.process-steps .step, .reviews-grid .review-card, .pricing-cards .price-card {
    transform-style: preserve-3d;
}

.masonry-item {
    box-shadow: 0 14px 40px rgba(0,0,0,0.18);
    transition: transform 0.55s cubic-bezier(0.16,1,0.3,1), box-shadow 0.55s ease;
}

.masonry-item:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 24px 60px rgba(0,0,0,0.34);
}

.scroll-indicator .line {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.18);
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    left: 0;
    top: -60%;
    width: 100%;
    height: 60%;
    background: var(--accent);
    animation: scrollLine 1.8s ease-in-out infinite;
}

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

@media (max-width: 768px) {
    .animate-on-scroll.fade-up { transform: translateY(42px); }
    .animate-on-scroll.fade-left, .animate-on-scroll.fade-right { transform: translateY(42px); }
    .hero-bg, .hero-bg-video { transform: scale(1.04); }
    .hero::after { opacity: 0.38; }
    body::before { opacity: 0.35; }
    .product-card::before, .price-card::before, .review-card::before, .order-form-container::before { display: none; }
    .masonry-item:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .animate-on-scroll { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
    .scroll-progress { display: none; }
}


/* =========================================
   V2.0 Storytelling, Soulful Gallery, Smart CTA & Luxury Mode
   ========================================= */
.scroll-storytelling {
    position: relative;
    padding: 9rem 0;
    overflow: hidden;
    background:
        radial-gradient(circle at var(--mx, 25%) var(--my, 20%), rgba(181,196,173,0.13), transparent 35%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 55%, var(--bg-primary) 100%);
}
.scroll-storytelling::before {
    content: '';
    position: absolute;
    inset: 8% auto 8% 50%;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent, rgba(181,196,173,0.45), transparent);
    opacity: 0.75;
}
.storytelling-container { position: relative; z-index: 1; }
.storytelling-intro { max-width: 760px; margin: 0 auto 5rem; text-align: center; }
.storytelling-intro p { color: var(--text-secondary); font-size: 1.12rem; max-width: 680px; margin: 0 auto; }
.storytelling-track { display: grid; gap: 2rem; max-width: 980px; margin: 0 auto; }
.story-scene {
    position: relative;
    min-height: 260px;
    padding: 3rem;
    border-radius: 28px;
    border: 1px solid rgba(181,196,173,0.18);
    background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
    backdrop-filter: blur(14px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.24);
    overflow: hidden;
    transform-style: preserve-3d;
}
.story-scene:nth-child(even) { margin-left: min(12vw, 120px); }
.story-scene:nth-child(odd) { margin-right: min(12vw, 120px); }
.story-scene-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(181,196,173,0.35);
    color: var(--accent);
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin-bottom: 1.3rem;
    background: rgba(181,196,173,0.08);
}
.story-scene h3 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 1rem; }
.story-scene p { max-width: 620px; color: var(--text-secondary); font-size: 1.1rem; }
.story-scene-glow {
    position: absolute;
    right: -12%;
    bottom: -25%;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(181,196,173,0.22), transparent 67%);
    filter: blur(8px);
    pointer-events: none;
}
.story-scene.is-visible .story-scene-glow { animation: slowBreath 5s ease-in-out infinite; }
@keyframes slowBreath { 0%,100% { transform: scale(0.92); opacity: 0.55; } 50% { transform: scale(1.08); opacity: 1; } }

.masonry-item { position: relative; isolation: isolate; box-shadow: 0 20px 50px rgba(0,0,0,0.18); }
.masonry-item::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at 50% 35%, transparent 25%, rgba(0,0,0,0.72) 100%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}
.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.2rem;
    transform: translateY(18px);
    opacity: 0;
    transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    background: linear-gradient(to top, rgba(0,0,0,0.82), transparent);
}
.gallery-caption strong { display: block; color: var(--text-primary); font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 0.25rem; }
.gallery-caption span { display: block; color: rgba(240,242,235,0.78); font-size: 0.9rem; line-height: 1.45; }
.masonry-item:hover::before { opacity: 1; }
.masonry-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }
.masonry-item:hover img { transform: scale(1.09); filter: saturate(1.08) contrast(1.05); }
.lightbox-caption {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    max-width: min(760px, 86vw);
    color: white;
    text-align: center;
    padding: 1rem 1.3rem;
    border-radius: 18px;
    background: rgba(10,17,13,0.58);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(12px);
}
.lightbox-caption strong { display:block; font-family: var(--font-serif); font-size: 1.25rem; margin-bottom:0.25rem; }
.lightbox-caption span { color: rgba(255,255,255,0.78); }

.smart-cta {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: min(370px, calc(100vw - 32px));
    z-index: 1200;
    padding: 1.15rem;
    border-radius: 24px;
    border: 1px solid rgba(181,196,173,0.25);
    background: rgba(10,17,13,0.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 28px 80px rgba(0,0,0,0.35);
    display: grid;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    pointer-events: none;
    transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}
.smart-cta.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.smart-cta span { color: var(--accent); text-transform: uppercase; letter-spacing: 2px; font-size: 0.72rem; }
.smart-cta strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.25rem; line-height: 1.25; }
.smart-cta .btn-primary { padding: 0.8rem 1.2rem; }
.smart-cta-close, .mini-popup-close {
    position: absolute;
    top: 9px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.08);
    color: var(--text-primary);
    cursor: pointer;
}

.smart-mini-popup {
    position: fixed;
    left: 24px;
    bottom: 24px;
    width: min(360px, calc(100vw - 32px));
    z-index: 1190;
    padding: 1.4rem;
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(25,40,31,0.95), rgba(10,17,13,0.88));
    border: 1px solid rgba(181,196,173,0.23);
    box-shadow: 0 30px 90px rgba(0,0,0,0.36);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    pointer-events: none;
    transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}
.smart-mini-popup.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.smart-mini-popup span { color: var(--accent); text-transform: uppercase; letter-spacing: 2px; font-size: 0.72rem; }
.smart-mini-popup h3 { margin: 0.5rem 0; font-size: 1.45rem; }
.smart-mini-popup p { color: var(--text-secondary); font-size: 0.96rem; margin-bottom: 1rem; }
.smart-mini-popup a { color: var(--accent); border-bottom: 1px solid rgba(181,196,173,0.4); }

.luxury-mode-toggle {
    position: fixed;
    top: 92px;
    right: 22px;
    z-index: 1001;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.68rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(181,196,173,0.28);
    background: rgba(10,17,13,0.72);
    color: var(--text-primary);
    backdrop-filter: blur(12px);
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(0,0,0,0.22);
}
.luxury-mode-toggle i { color: var(--accent); }
body.luxury-mode {
    --accent: #d8c28a;
    --accent-hover: #f1db9e;
    --border-radius: 22px;
}
body.luxury-mode::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(216,194,138,0.13), transparent 28%),
        radial-gradient(circle at 82% 72%, rgba(216,194,138,0.10), transparent 30%);
}
body.luxury-mode .hero-overlay { background: linear-gradient(180deg, rgba(8,8,5,0.52), rgba(10,17,13,0.96)); }
body.luxury-mode .product-img-wrapper, body.luxury-mode .price-card, body.luxury-mode .story-scene { box-shadow: 0 36px 110px rgba(0,0,0,0.35); }
body.luxury-mode .btn-primary { box-shadow: 0 12px 32px rgba(216,194,138,0.22); }

@media (max-width: 768px) {
    .scroll-storytelling { padding: 5rem 0; }
    .scroll-storytelling::before { left: 2rem; transform: none; }
    .storytelling-intro { text-align: left; margin-bottom: 2.5rem; }
    .story-scene, .story-scene:nth-child(even), .story-scene:nth-child(odd) { margin: 0; padding: 2rem; min-height: auto; }
    .smart-cta { left: 12px; right: 12px; bottom: 82px; width: auto; }
    .smart-mini-popup { left: 12px; right: 12px; bottom: 82px; width: auto; }
    .smart-mini-popup.visible + .smart-cta.visible { transform: translateY(-12px) scale(0.98); }
    .luxury-mode-toggle { top: 76px; right: 12px; padding: 0.55rem 0.75rem; font-size: 0.86rem; }
    .gallery-caption { opacity: 1; transform: none; padding: 0.9rem; }
    .masonry-item::before { opacity: 0.6; }
    .lightbox-caption { bottom: 18px; padding: 0.8rem 1rem; }
}
