/* ========================
   CSS VARIABLES & THEMING
   ======================== */
:root {
    --primary-color: #FDB095;
    --accent-color: #e74c3c;
    --secondary-color: #3498db;
    --light-bg: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #666;
    --border-color: #ddd;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --primary-color: #FDB095;
    --accent-color: #e74c3c;
    --secondary-color: #3498db;
    --light-bg: #210440;
    --tet_color:#180230;
    --text-dark: #ecf0f1;
    --text-light: #bbb;
    --border-color: #E5958E;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ========================
   PRELOADER
   ======================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: preloaderFadeOut 0.8s ease-in-out 2.2s forwards;
}

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

.preloader img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
box-shadow: 3px 3px 4px black;
}

.preloader-logo {
    font-size: 4rem;
    color: #e74c3c;
    margin-bottom: 1.5rem;
    animation: preloaderBounce 0.8s ease-in-out infinite;
}

.preloader-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    letter-spacing: 2px;
    animation: preloaderGlow 1.5s ease-in-out infinite;
}

.preloader-loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #e74c3c;
    border-radius: 50%;
    margin: 0 auto;
    animation: preloaderSpin 1s linear infinite;
}

/* ========================
   GENERAL STYLES
   ======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    transition: var(--transition);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

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

/* ========================
   NAVIGATION
   ======================== */
.navbar {
    background: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.navbar img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 3px 3px 4px black;
}

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

.logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    font-style: italic;
    text-shadow: 1px 1px 2px black;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--accent-color);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--accent-color);
    transform: rotate(20deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================
   BUTTONS
   ======================== */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ========================
   HERO SECTION
   ======================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #FFBA00 100%);
    color: white;
    padding: 6rem 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.hero-image {
    display: flex;
    align-items: center;
    margin-top: 100px;
    justify-content: center;
}
.hero-image img{
    width: 500px;
    border-radius: 20px;
    filter: drop-shadow(10px 10px 10px black);
    height: 500px;
}

.image-placeholder {
    width: 500px;
    height: 500px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.3);
   }

.image-placeholder.large {
    width: 350px;
    height: 400px;
    font-size: 6rem;
}

/* ========================
   CAROUSEL SECTION
   ======================== */
.carousel-section {
    padding: 5rem 0;
    background: white;
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .carousel-section {
    background: var(--tet_color);
}

.carousel-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    position: relative;
}

.carousel-wrapper {
    flex: 1;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    position: relative;
}

.carousel-item {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: red;
}

.carousel-item img {
    width: 500px;
    height: 500px;
    object-fit: cover;
    display: block;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.carousel-control {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 10;
}

.carousel-control:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.carousel-control.prev {
    margin-right: 1rem;
}

.carousel-control.next {
    margin-left: 1rem;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border: 2px solid var(--accent-color);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--accent-color);
    width: 30px;
    border-radius: 6px;
}

.indicator:hover {
    background: var(--accent-color);
}

/* ========================
   FEATURES SECTION
   ======================== */
.features {
    padding: 5rem 0;
    background: var(--light-bg);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

[data-theme="dark"] .feature-card {
    background: var(--tet_color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================
   PRODUCTS SECTION
   ======================== */
.products {
    padding: 5rem 0;
    background: var(--light-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 3px 3px 4px black;
    transition: var(--transition);
}

[data-theme="dark"] .product-card {
    background: var(--tet_color);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}
.product-image img{
    width: 500px;
    height: 720px;
}

.product-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--text-dark);
}

.product-card p {
    padding: 0.5rem 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.product-specs {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-specs span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

[data-theme="dark"] .product-specs span {
    background: #333;
}

/* ========================
   ABOUT SECTION
   ======================== */
.about {
    padding: 5rem 0;
    background: white;
}

[data-theme="dark"] .about {
    background: var(--tet_color);
}

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

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

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

.stat p {
    color: var(--text-light);
    font-weight: 500;
}

/* ========================
   CONTACT SECTION
   ======================== */
.contact {
    padding: 5rem 0;
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    font-size: 2rem;
    color: var(--accent-color);
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-light);
}

.contact-details a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background: white;
    color: var(--text-dark);
    transition: var(--transition);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: #2a2a2a;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* ========================
   FOOTER
   ======================== */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

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

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

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

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

.footer-links {
    display: flex;
    gap: 2rem;
}

/* ========================
   FLOATING WHATSAPP BUTTON
   ======================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 999;
}

.floating-whatsapp:hover {
    background: #20ba5a;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */
@media (max-width: 768px) {
    .carousel-container {
        gap: 1rem;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-control.prev {
        margin-right: 0.5rem;
    }
    
    .carousel-control.next {
        margin-left: 0.5rem;
    }
    
    .carousel-item img {
        height: 300px;
    }
    
    .carousel-caption {
        font-size: 1.1rem;
        padding: 1.5rem 1rem 1rem;
    }
    
    .nav-menu {
        position: fixed;
        left: 0;
        bottom: 0;
        flex-direction: row;
        background: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
        padding: 0;
        justify-content: space-around;
        align-items: center;
        height: auto;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

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

    .nav-menu li {
        padding: 0.8rem 0;
        flex: 1;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li:last-child {
        border-right: none;
    }

    .nav-menu a {
        display: block;
        font-size: 0.9rem;
    }

    .nav-menu a::after {
        display: none;
    }

    .hamburger {
        display: none;
    }

    body {
        padding-bottom: 60px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        padding: 2rem 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .image-placeholder {
        width: 200px;
        height: 250px;
        font-size: 4rem;
    }

    .image-placeholder.large {
        width: 250px;
        height: 300px;
        font-size: 5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .floating-whatsapp {
        bottom: 80px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        flex-direction: column;
    }
    
    .carousel-control {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .carousel-control.prev,
    .carousel-control.next {
        position: absolute;
        margin: 0;
    }
    
    .carousel-control.prev {
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .carousel-control.next {
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .carousel-item img {
        height: 250px;
    }
    
    .carousel-caption {
        font-size: 1rem;
        padding: 1rem 0.8rem 0.8rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .indicator.active {
        width: 25px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-specs {
        flex-direction: column;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .navbar {
        padding: 0.8rem 0;
    }

    .logo h2 {
        font-size: 1.2rem;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* ========================
   SCROLL ANIMATIONS
   ======================== */
.scroll-animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-section {
    opacity: 1;
}

/* Section Scroll Animation */
.section-title {
    opacity: 1;
}

/* Staggered animation for children elements */
.scroll-section.in-view .feature-card,
.scroll-section.in-view .product-card,
.scroll-section.in-view .contact-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

.scroll-section.in-view .feature-card:nth-child(1),
.scroll-section.in-view .product-card:nth-child(1),
.scroll-section.in-view .contact-item:nth-child(1) { 
    animation-delay: 0.1s; 
}

.scroll-section.in-view .feature-card:nth-child(2),
.scroll-section.in-view .product-card:nth-child(2),
.scroll-section.in-view .contact-item:nth-child(2) { 
    animation-delay: 0.2s; 
}

.scroll-section.in-view .feature-card:nth-child(3),
.scroll-section.in-view .product-card:nth-child(3),
.scroll-section.in-view .contact-item:nth-child(3) { 
    animation-delay: 0.3s; 
}

.scroll-section.in-view .feature-card:nth-child(4),
.scroll-section.in-view .product-card:nth-child(4),
.scroll-section.in-view .contact-item:nth-child(4) { 
    animation-delay: 0.4s; 
}

.scroll-section.in-view .product-card:nth-child(5) { 
    animation-delay: 0.5s; 
}

.scroll-section.in-view .product-card:nth-child(6) { 
    animation-delay: 0.6s; 
}

.scroll-animate[data-animation=\"fadeInRight\"].in-view {
    animation: fadeInRight 0.8s ease forwards;
}

.scroll-animate[data-animation=\"scaleIn\"].in-view {
    animation: scaleIn 0.8s ease forwards;
}

/* ========================
   KEYFRAME ANIMATIONS
   ======================== */
@keyframes preloaderBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes preloaderSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes preloaderGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
        opacity: 1;
    }
    50% {
        text-shadow: 0 0 20px rgba(231, 76, 60, 0.8);
        opacity: 0.8;
    }
}

@keyframes preloaderFadeOut {
    from {
        opacity: 1;
        visibility: visible;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes particleFloat {
    0% {
        transform: translate(var(--tx), var(--ty)) translateY(0);
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) translateY(var(--distance));
        opacity: 0;
    }
}

@keyframes moveOrb1 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(100px, -50px);
    }
    50% {
        transform: translate(50px, 100px);
    }
    75% {
        transform: translate(-50px, 50px);
    }
}

@keyframes moveOrb2 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-100px, 50px);
    }
    50% {
        transform: translate(-50px, -100px);
    }
    75% {
        transform: translate(50px, -50px);
    }
}

@keyframes moveOrb3 {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(100px, 50px);
    }
    66% {
        transform: translate(-50px, 100px);
    }
}

@keyframes moveOrb4 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(80px, -80px);
    }
    50% {
        transform: translate(-100px, 50px);
    }
    75% {
        transform: translate(50px, 100px);
    }
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

.feature-card,
.product-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

/* ========================
   PRODUCT MODAL
   ======================== */
.product-card {
    cursor: pointer;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(253, 176, 149, 0.3);
}

.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.product-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: var(--light-bg);
    border-radius: 12px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem;
}

.modal-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 176, 149, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 400px;
}

.modal-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.modal-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.modal-cta {
    margin-top: auto;
}

.modal-cta .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 95vh;
    }
    
    .modal-image img {
        max-height: 300px;
    }
    
    .modal-info h2 {
        font-size: 1.5rem;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}
