/* CSS Variables for Theme */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --accent-primary: #ff6b35;
    --accent-secondary: #4ecdc4;
    --card-bg: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.1);
    --nav-bg: rgba(255, 255, 255, 0.95);
    --overlay: rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-primary: #ff6b35;
    --accent-secondary: #4ecdc4;
    --card-bg: #2d2d2d;
    --card-shadow: rgba(0, 0, 0, 0.5);
    --nav-bg: rgba(26, 26, 26, 0.95);
    --overlay: rgba(0, 0, 0, 0.6);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
}

body.loaded {
    opacity: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--card-shadow);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-name {
    color: var(--accent-primary);
}

/* Fancy Brand Name Styling */
.brand-fancy {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 25%, #4ecdc4 50%, #44a08d 75%, #ff6b35 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    animation: gradientShift 3s ease infinite;
    filter: drop-shadow(0 2px 4px rgba(255, 107, 53, 0.3));
}

[data-theme="dark"] .brand-fancy {
    background: linear-gradient(135deg, #ff8c5a 0%, #ffb347 25%, #6ed4d1 50%, #5fb3a0 75%, #ff8c5a 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 6px rgba(255, 140, 90, 0.5));
}

.brand-fancy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff6b35 0%, #4ecdc4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: shimmer 2s ease-in-out infinite;
    z-index: -1;
}

.brand-fancy::after {
    content: '✨';
    position: absolute;
    top: -5px;
    right: -15px;
    font-size: 0.6em;
    animation: sparkle 2s ease-in-out infinite;
    opacity: 0.8;
    pointer-events: none;
}

.hero-title .brand-fancy {
    font-size: 1.2em;
    position: relative;
    padding: 10px 20px;
    border-radius: 15px;
    animation: gradientShift 3s ease infinite;
}

.hero-title .brand-fancy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    z-index: -1;
    border: 2px solid transparent;
    animation: heroTitleGlow 2s ease-in-out infinite alternate;
}

@keyframes heroTitleGlow {
    0% {
        box-shadow: 0 8px 32px rgba(255, 107, 53, 0.3), 0 0 20px rgba(255, 107, 53, 0.2), 0 0 40px rgba(78, 205, 196, 0.1);
        border-color: rgba(255, 107, 53, 0.3);
        background: rgba(255, 255, 255, 0.08);
    }
    100% {
        box-shadow: 0 8px 40px rgba(255, 107, 53, 0.5), 0 0 30px rgba(255, 107, 53, 0.4), 0 0 60px rgba(78, 205, 196, 0.3);
        border-color: rgba(255, 107, 53, 0.6);
        background: rgba(255, 255, 255, 0.15);
    }
}

.footer .brand-fancy::after {
    font-size: 0.5em;
    right: -12px;
    top: -3px;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    transition: var(--transition);
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent-primary);
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}

.theme-toggle {
    background: var(--card-bg);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: rotate(15deg) scale(1.1);
    background: var(--accent-primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease;
    letter-spacing: 3px;
    position: relative;
}

.hero-title .brand-fancy {
    font-size: 1.2em;
    animation: gradientShift 3s ease infinite;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    animation: slideInRight 1s ease;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    animation: fadeIn 1.5s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
    background: #ff5722;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.product-category {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.product-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.category-header {
    text-align: center;
    margin-bottom: 2rem;
}

.category-title {
    font-size: 2rem;
    color: var(--text-primary);
    display: inline-block;
    padding: 10px 30px;
    background: var(--card-bg);
    border-radius: 50px;
    box-shadow: 0 4px 15px var(--card-shadow);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    justify-items: center;
    width: 100%;
    max-width: 1200px;
}

.product-card {
    background: var(--card-bg);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--card-shadow);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    min-width: 200px;
    max-width: 200px;
    box-sizing: border-box;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 8px 25px var(--card-shadow);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    animation: bounce 2s infinite;
}

.product-card:nth-child(even) .product-icon {
    animation-delay: 0.3s;
}

.product-card:nth-child(3n) .product-icon {
    animation-delay: 0.6s;
}

.product-card h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Location Section */
.location-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.location-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.location-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.address-container {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--card-shadow);
    padding: 2.5rem;
    text-align: center;
}

.address-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.address-header h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.address-icon {
    font-size: 2rem;
}

.business-address {
    text-align: center;
    font-style: normal;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 2;
    margin: 0 0 2rem 0;
}

.map-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 30px;
    background: var(--accent-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.map-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
    background: #ff5722;
}

.map-button svg {
    width: 20px;
    height: 20px;
}


/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--card-bg);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--card-shadow);
    font-weight: 500;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px var(--card-shadow);
}

.social-link.twitter:hover {
    background: #1da1f2;
    color: white;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-link.telegram:hover {
    background: #0088cc;
    color: white;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid var(--card-shadow);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 40px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 998;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transition: var(--transition);
}

.scroll-top.visible {
    display: flex;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.6);
    background: #ff5722;
}

.scroll-top svg {
    width: 24px;
    height: 24px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        order: 2;
    }

    .theme-toggle {
        order: 3;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--nav-bg);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 10px var(--card-shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        font-size: 1rem;
    }

    [data-theme="dark"] .nav-links a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a.active {
        background: rgba(255, 107, 53, 0.1);
        border-left: 3px solid var(--accent-primary);
    }

    .nav-links a:hover {
        background: rgba(255, 107, 53, 0.05);
    }

    .hero-video {
        object-fit: cover;
        object-position: center;
        min-height: 100%;
        min-width: 100%;
    }
    
    .hero-video-container {
        overflow: hidden;
    }

    .hero-title {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .product-card {
        padding: 1.5rem 1rem;
        min-width: 150px;
        max-width: 150px;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .scroll-top {
        left: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }

    .section-title {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .address-container {
        padding: 1.5rem;
    }

    .address-header h3 {
        font-size: 1.3rem;
    }

    .business-address {
        font-size: 1rem;
    }

    .map-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 30px;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-card {
        min-width: auto;
        max-width: 100%;
    }

    .social-link span {
        display: none;
    }

    .social-link {
        padding: 15px;
    }
}

/* Performance Optimizations */
.hero-video {
    will-change: transform;
}

.product-card {
    will-change: transform;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .whatsapp-float,
    .scroll-top {
        display: none;
    }
}

