:root {
    --primary: #F4751B;
    --primary-dark: #d86414;
    --primary-light: #fbe0cd;
    --secondary: #125C2A;
    --secondary-dark: #0d421e;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

body {
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--secondary);
}

a {
    text-decoration: none;
    color: inherit;
}

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

.section-padding {
    padding: 80px 0;
}

.mt-100 {
    margin-top: 100px;
}

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

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

.preloader-logo {
    max-width: 250px;
    margin-bottom: 30px;
    animation: pulse 2s infinite ease-in-out;
}

.loader-line {
    width: 200px;
    height: 4px;
    background-color: var(--primary-light);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.loader-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--primary);
    animation: loading 1.5s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes loading {
    0% { width: 0; left: 0; }
    100% { width: 100%; left: 0; }
}

.preloader-hidden {
    opacity: 0;
    pointer-events: none;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact a {
    color: white;
    font-weight: 500;
    transition: var(--transition);
}

.top-contact a:hover {
    color: var(--secondary);
}

.top-contact .divider {
    margin: 0 10px;
    opacity: 0.5;
}

.top-social a {
    color: white;
    margin-left: 15px;
    font-size: 1.1rem;
    transition: var(--transition);
}

.top-social a:hover {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 10px;
    }
}

/* Header */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-height: 80px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    mix-blend-mode: multiply; /* Removes white background from the logo */
}

.logo:hover {
    transform: scale(1.1);
}

.header.scrolled .logo {
    max-height: 70px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition);
}

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

.nav-list a:hover::after, .nav-list a.active::after {
    width: 100%;
}

.nav-list a:hover, .nav-list a.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--secondary);
    cursor: pointer;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    z-index: 1001;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.close-btn {
    align-self: flex-end;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary);
    margin-bottom: 30px;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-list a {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 500;
}

/* Hero Slider */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-color: var(--secondary);
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-furniture { background-image: url('images/furniture_sofa.png'); }
.slide-vessels { background-image: url('images/vessels_uruli.png'); }
.slide-appliances { background-image: url('images/appliances_gas_stove.png'); }
.slide-wooden-bero { background-image: url('images/furniture_wooden_bero.png'); }
.slide-dressing-table { background-image: url('images/furniture_dressing_table_custom.webp'); }
.slide-tv { background-image: url('images/appliances_tv_custom.jpg'); }
.slide-refrigerator { background-image: url('images/appliances_refrigerator_custom.webp'); }

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 1s ease 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.gold-badge {
    background-color: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid #ffd700;
}

.silver-badge {
    background-color: rgba(192, 192, 192, 0.2);
    color: #e0e0e0;
    border: 1px solid #e0e0e0;
}

.platinum-badge {
    background-color: rgba(229, 228, 226, 0.2);
    color: #e5e4e2;
    border: 1px solid #e5e4e2;
}

.slide-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: white;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 117, 27, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 117, 27, 0.6);
}

.slider-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 10;
    display: flex;
    gap: 15px;
}

.prev-btn, .next-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.slider-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.3);
}

/* About & SEO Section */
.about-section {
    background-color: var(--bg-white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.about-content strong {
    color: var(--primary);
}

.mt-30 {
    margin-top: 30px;
}

.brands-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.brands-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.brand-tag {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}

.brand-tag:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Services */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(18, 92, 42, 0.9), transparent);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.item-overlay h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

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

.gallery-item:hover .item-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* FAQ */
.faq-section {
    background-color: var(--bg-white);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background-color: var(--bg-white);
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--bg-light);
}

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

.faq-item.active .faq-question {
    background-color: var(--bg-light);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--bg-white);
}

.faq-answer p {
    padding: 0 20px 20px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: stretch;
}

.contact-info {
    background-color: var(--secondary);
    color: white;
    padding: 50px;
    border-radius: 20px;
}

.contact-info h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-info > p {
    margin-bottom: 40px;
    opacity: 0.9;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item span {
    opacity: 0.8;
    line-height: 1.5;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: var(--shadow-sm);
}

/* Footer */
.footer {
    background-color: #082712;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    max-width: 280px;
    margin-bottom: 20px;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
}

.footer-brand p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #9ca3af;
}

.footer-bottom a {
    color: var(--primary);
    font-weight: 500;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Floating Widgets */
.whatsapp-btn, .back-to-top {
    position: fixed;
    z-index: 99;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
}

.whatsapp-btn {
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.back-to-top {
    bottom: 30px;
    right: 30px;
    background-color: var(--primary);
    border: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .category-section .grid-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item:nth-child(1), .gallery-item:nth-child(2),
    .gallery-item:nth-child(3), .gallery-item:nth-child(4), .gallery-item:nth-child(5) {
        grid-column: span 1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .category-section .grid-gallery {
        grid-template-columns: 1fr;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .slider-controls {
        bottom: 20px;
        right: 20px;
    }
    
    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .whatsapp-btn, .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 20px;
    }
    
    .whatsapp-btn { left: 20px; }
    .back-to-top { right: 20px; }
}
