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

:root {
    --primary-gradient: linear-gradient(135deg, #ff6b6b, #ff8e53);
    --secondary-gradient: linear-gradient(135deg, #ff8e53, #ffbd4a);
    --text-color: #333;
    --light-text: #fff;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    height: 68px;
}

.logo-img {
    max-height: 64px;
    width: auto;
    display: block;
    object-fit: contain;
}

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

.nav-links-mobile {
    display: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 2rem;
    transition: var(--transition);
}

.nav-links a:hover {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.menu-btn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 2002;
    border: none;
    background: transparent;
    padding: 0;
}

.menu-btn .bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    position: absolute;
    left: 0;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.menu-btn .bar:nth-child(1) {
    top: 8px;
}

.menu-btn .bar:nth-child(2) {
    top: 14px;
    width: 80%;
}

.menu-btn .bar:nth-child(3) {
    top: 20px;
}

/* Hamburger to X animation */
.menu-btn.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    background: #ff6b6b;
}

.menu-btn.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-btn.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    background: #ff6b6b;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 1;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    background:
        linear-gradient(120deg, rgba(255,107,107,0.7), rgba(255,142,83,0.7), rgba(255,189,74,0.7), rgba(255,107,107,0.7)),
        url('hero1.jpg') center center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    filter: blur(4px) brightness(0.95);
}
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(30,30,30,0.55) 0%, rgba(30,30,30,0.25) 60%, rgba(30,30,30,0.05) 100%);
    pointer-events: none;
}
.hero-content {
    color: var(--light-text);
    max-width: 800px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    position: relative;
    z-index: 2;
}
.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    background: var(--light-text);
    color: #ff6b6b;
    cursor: pointer;
    transition: var(--transition);
    transform: scale(1);
    animation: floatBtn 2.5s ease-in-out infinite;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}
@keyframes floatBtn {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.07); }
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background: #fff;
}
.services h2, .featured-products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.service-card {
    padding: 2rem;
    text-align: center;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
}
.service-card:hover {
    transform: translateY(-14px) scale(1.03) rotate(-1deg);
    box-shadow: 0 12px 32px rgba(255, 110, 80, 0.18);
    background: linear-gradient(120deg, #fff7f0 60%, #ffe0c3 100%);
}
.service-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Products Section */
.featured-products {
    padding: 5rem 2rem;
    background: #f9f9f9;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
}
.product-card:hover {
    transform: translateY(-14px) scale(1.03) rotate(-1deg);
    box-shadow: 0 12px 32px rgba(255, 110, 80, 0.18);
    background: linear-gradient(120deg, #fff7f0 60%, #ffe0c3 100%);
}
.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover img {
    transform: scale(1.05);
}
.product-card h3, .product-card p {
    padding: 1rem;
}

/* Gallery Section */
.gallery {
    padding: 5rem 2rem;
    background: #fff;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    padding-top: 75%; /* Force 4:3 aspect ratio */
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f5f5f5; /* Light background while loading */
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    will-change: transform;
    backface-visibility: hidden;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.9), rgba(255, 142, 83, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 110, 80, 0.15);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Contact Section */
.contact {
    padding: 5rem 1rem;
    background: var(--secondary-gradient);
    color: var(--light-text);
}

.contact h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item:first-child {
    padding-top: 0;
}

.info-item i {
    font-size: 1.25rem;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.info-item p {
    font-size: 1.1rem;
    line-height: 1.4;
    word-break: break-word;
}

#map {
    width: 100%;
    height: 260px;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 1rem;
    }

    .contact h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .contact-container {
        padding: 0;
    }
    
    .contact-info {
        padding: 1.25rem;
    }
    
    #map {
        height: 200px;
        margin-bottom: 1.5rem;
    }
    
    .info-item {
        padding: 1rem 0;
    }
    
    .info-item i {
        font-size: 1.1rem;
        min-width: 36px;
        height: 36px;
    }
    
    .info-item p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 3rem 1rem;
    }

    .contact h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .contact-info {
        padding: 1rem;
    }

    .info-item {
        padding: 0.875rem 0;
    }

    .info-item i {
        min-width: 32px;
        height: 32px;
    }

    #map {
        height: 180px;
        margin-bottom: 1.25rem;
    }
}

/* Footer */
.footer {
    background: #333;
    color: var(--light-text);
    padding: 3rem 2rem 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(.4,2,.6,1);
}
.footer.visible {
    opacity: 1;
    transform: translateY(0);
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-section h4 {
    margin-bottom: 1rem;
}
.footer-section a {
    color: var(--light-text);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}
.footer-section a:hover {
    color: #ff8e53;
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-links a {
    font-size: 1.5rem;
}
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Mobile Nav Backdrop Overlay */
.nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-backdrop.visible {
    opacity: 1;
}
@media (max-width: 768px) {
    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .nav-links-desktop {
        display: none !important;
    }
    .nav-links-mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 85vw;
        max-width: 360px;
        background: #ffffff;
        box-shadow: -4px 0 25px rgba(0, 0, 0, 0.1);
        border-radius: 32px 0 0 32px;
        flex-direction: column;
        justify-content: space-between;
        padding: 0;
        z-index: 2001;
        transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
        transform: translateX(100%);
    }
    .mobile-nav-header {
        padding: 2rem 2rem 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mobile-nav-header .logo {
        font-size: 1.4rem;
    }
    .nav-items {
        padding: 1.5rem 1rem;
        flex-grow: 1;
    }
    .nav-items a {
        display: flex;
        align-items: center;
        font-size: 1.1rem;
        margin: 0.8rem 0;
        padding: 0.8rem 1.2rem;
        border-radius: 12px;
        color: var(--text-color);
        transition: all 0.3s ease;
        opacity: 0;
        transform: translateX(30px);
    }
    .nav-items a i {
        margin-right: 1rem;
        font-size: 1.2rem;
        width: 24px;
        text-align: center;
        color: #ff8e53;
    }
    .nav-links.open .nav-items a {
        opacity: 1;
        transform: translateX(0);
    }
    .nav-items a:nth-child(1) { transition-delay: 0.1s; }
    .nav-items a:nth-child(2) { transition-delay: 0.15s; }
    .nav-items a:nth-child(3) { transition-delay: 0.2s; }
    .nav-items a:nth-child(4) { transition-delay: 0.25s; }
    .nav-items a:hover {
        background: var(--primary-gradient);
        color: #fff;
        transform: translateX(8px);
    }
    .nav-items a:hover i {
        color: #fff;
    }
    .mobile-nav-footer {
        padding: 1.5rem 2rem;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
        transition-delay: 0.3s;
    }
    .nav-links.open .mobile-nav-footer {
        opacity: 1;
        transform: translateY(0);
    }
    .mobile-nav-footer .social-links {
        display: flex;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    .mobile-nav-footer .social-links a {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--primary-gradient);
        color: white;
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }
    .mobile-nav-footer .social-links a:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(255, 110, 80, 0.2);
    }
    .nav-contact {
        font-size: 0.9rem;
        color: var(--text-color);
        opacity: 0.8;
        line-height: 1.6;
    }
    .nav-contact span {
        display: block;
        font-size: 1.1rem;
        font-weight: 600;
        color: #ff8e53;
    }
    .nav-links.open {
        display: flex;
        transform: translateX(0);
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .services-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
    .logo {
        height: 52px;
    }
    .logo-img {
        max-height: 48px;
        margin-bottom: 0.5rem;
    }
    #map {
        height: 180px;
        margin-bottom: 1rem;
    }
    .hero {
        background-attachment: scroll;
    }
    .hero::before {
        background-attachment: scroll;
    }
}
@media (min-width: 769px) {
    .close-btn {
        display: none !important;
    }
}
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .services h2,
    .featured-products h2 {
        font-size: 2rem;
    }
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(255, 110, 80, 0.18);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0.85;
    z-index: 3000;
    transition: opacity 0.3s, transform 0.3s;
    animation: bounceIn 0.7s;
}
.scroll-to-top:hover {
    opacity: 1;
    transform: scale(1.1);
}
@keyframes bounceIn {
    0% { transform: scale(0.7); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}
#map {
    width: 100%;
    height: 260px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    min-height: 180px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.form-message {
    margin-top: 1rem;
    font-size: 1rem;
    min-height: 24px;
    color: #ff6b6b;
    text-align: center;
    font-weight: 500;
}
.form-message.success {
    color: #2ecc40;
}

/* Partners Section */
.partners {
    padding: 4rem 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.partners h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.partners-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.partners-container::before,
.partners-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 1;
}

.partners-container::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, transparent);
}

.partners-container::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa, transparent);
}

.partners-track {
    display: flex;
    will-change: transform;
    animation: slide 30s linear infinite;
}

.partners-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
}

.partners-content img {
    height: 60px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Pause animation when tab is not visible */
@media (prefers-reduced-motion: reduce) {
    .partners-track {
        animation-play-state: paused;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partners-content img {
        height: 50px;
        max-width: 120px;
    }
    .partners-content {
        gap: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 480px) {
    .partners-content img {
        height: 40px;
        max-width: 100px;
    }
    .partners-content {
        gap: 20px;
        padding-right: 20px;
    }
} 