/* --- Variables & Reset --- */
:root {
    --bg-dark: #1a1a1a;
    --bg-darker: #111111;
    --bg-card: #4a4a4a;
    --bg-card-glass: rgba(74, 74, 74, 0.4);
    
    --accent-primary: #ff8c00;
    --accent-hover: #e67c00;
    --accent-glow: rgba(255, 140, 0, 0.5);
    
    --text-main: #f5f5f5;
    --text-muted: #cccccc;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    --nav-height: 80px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
}

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

/* --- Typography Utilities --- */
.highlight {
    color: var(--accent-primary);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* --- Global Layout Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-primary);
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-primary);
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-primary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--accent-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    background-color: rgba(17, 17, 17, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo,
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

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

.nav-links a:not(.btn-primary) {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after,
.nav-links a:not(.btn-primary).active::after {
    width: 100%;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: url('assets/pics/hero_burning_spread.png') center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(17, 17, 17, 0.8) 70%, var(--bg-dark) 100%);
    z-index: 0;
}

#fire-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    background: linear-gradient(to right, #ffffff, var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 8px 12px rgba(0, 0, 0, 0.9));
    animation: fadeInDown 1s ease-out forwards;
}

.hero-tagline {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator a {
    color: var(--text-muted);
}

.hero-scroll-indicator a:hover {
    color: var(--accent-primary);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .hero-tagline { font-size: 1.2rem; }
    .hero-buttons { flex-direction: column; gap: 1rem; }
}

/* --- Products Section --- */
.products {
    background-color: var(--bg-darker);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.product-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.2);
    border-color: rgba(255, 140, 0, 0.3);
}

.product-image-container {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.badge {
    background-color: var(--accent-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--accent-primary);
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    min-height: 48px;
}

.product-specs {
    list-style: none;
    margin-bottom: 2rem;
}

.product-specs li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-specs li i {
    color: var(--accent-primary);
    width: 20px;
    text-align: center;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.download-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-link:hover {
    color: var(--text-main);
}

/* --- About Section --- */
.about {
    background-color: var(--bg-dark);
}

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

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

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

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--accent-primary);
    text-shadow: 0 2px 10px var(--accent-glow);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Timeline */
.process-timeline {
    position: relative;
    padding-left: 30px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 140, 0, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: -46px;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: var(--bg-dark);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-primary);
    font-size: 0.8rem;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.2);
    z-index: 2;
}

.timeline-content h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

/* --- Exports Section --- */
.exports {
    background-color: var(--bg-darker);
}

.exports-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.testimonials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.export-map {
    position: relative;
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.map-placeholder {
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: radial-gradient(circle, rgba(255,140,0,0.1) 0%, transparent 70%);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.map-bg-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.15;
    filter: invert(70%) sepia(30%) saturate(1500%) hue-rotate(350deg) brightness(150%) contrast(110%);
}

/* Pulsating Dots on Map */
.dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
}

.dot::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
    animation: pulse 2s infinite;
    opacity: 0;
}

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

/* Approximate positions on a 2D map */
.dot.middle-east { top: 40%; right: 38%; animation-delay: 0s; }
.dot.romania { top: 32%; left: 56%; animation-delay: 0.5s; }
.dot.maldives { top: 52%; right: 30%; animation-delay: 1s; }
.dot.new-zealand { bottom: 12%; right: 5%; animation-delay: 1.5s; }
.served-countries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
}

.served-countries li {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.export-details h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.export-details p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.certifications {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--bg-card);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-primary);
    transition: var(--transition);
}

.cert-badge:hover {
    transform: translateX(5px);
    background-color: rgba(74, 74, 74, 0.8);
}

.cert-badge i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.cert-badge span {
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(26, 26, 26, 0) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    position: relative;
}

.testimonial-card::before {
    content: '\f10d'; /* fa-quote-left */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    color: rgba(255, 140, 0, 0.05);
}

.quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.author {
    color: var(--accent-primary);
    font-weight: 700;
    font-family: var(--font-heading);
}

@media (max-width: 900px) {
    .exports-grid, .certifications, .testimonials {
        grid-template-columns: 1fr;
    }
}

/* --- Gallery Section --- */
.gallery {
    background-color: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Gallery filter buttons */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 0.6rem 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: var(--text-light, #f5f5f5);
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.filter-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #1a1a1a;
}

/* Video cells in the gallery */
.gallery-item-video {
    cursor: default;
}

.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    display: block;
}

.gallery-item-video:hover video {
    transform: none;
}

/* --- Contact & Bulk Order Section --- */
.contact {
    background-color: var(--bg-darker);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.calc-box {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-box h3, .faq-accordion h3, .contact-form h3 {
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.calc-form label, .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.calc-form select, .calc-form input,
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-main);
    font-family: var(--font-body);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.calc-form select:focus, .calc-form input:focus,
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.2);
}

.calc-result {
    background-color: rgba(255, 140, 0, 0.1);
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--accent-primary);
    font-size: 1.1rem;
}

/* FAQ Accordion */
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background-color: var(--bg-card);
    color: var(--text-main);
    padding: 1.2rem;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover, .faq-question.active {
    background-color: rgba(255, 140, 0, 0.1);
    color: var(--accent-primary);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 1.2rem;
    color: var(--text-muted);
}

.contact-form-wrapper {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.w-100 {
    width: 100%;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Footer --- */
.footer {
    background-color: #0a0a0a;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand p {
    color: var(--text-muted);
    margin: 1.5rem 0;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-primary);
    transform: translateY(-3px);
}

.footer h4 {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.footer-links ul, .footer-contact ul {
    list-style: none;
}

.footer-links li, .footer-contact li {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-contact i {
    color: var(--accent-primary);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    background-color: #000;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Quote Form Status Message --- */
.form-status {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.95rem;
    min-height: 1.2em;
    transition: color 0.3s ease;
}

.form-status.sending {
    color: var(--text-muted);
}

.form-status.success {
    color: #4caf50;
}

.form-status.error {
    color: #ff6b6b;
}

