﻿/* Reset and Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f9f9f9;
    color: #333;
}

/* Top Bar */
.top-bar {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.strong {
    color: #eaaa85;
    font-weight: 600;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

    .navbar .logo .mylogo {
        max-width: 160px;
        transition: transform 0.3s ease;
    }

        .navbar .logo .mylogo:hover {
            transform: scale(1.05);
        }

.menu-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-top {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

    .menu-top li {
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
    }

    .menu-top a {
        text-decoration: none;
        color: #333;
        transition: color 0.3s ease;
    }

        .menu-top a:hover {
            color: #eaaa85;
        }

.icons img {
    max-width: 28px;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

    .icons img:hover {
        transform: scale(1.15);
    }

/* Banner with Spinner */
.slide {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.slideimage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 6px solid #eaaa85;
    border-top: 6px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes fade1 {
    0% {
        opacity: 1;
    }

    45% {
        opacity: 1;
    }

    55% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fade2 {
    0% {
        opacity: 0;
    }

    45% {
        opacity: 0;
    }

    55% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

/* Services Section */
.services {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff;
}

    .services h1 {
        font-size: 22px;
        font-weight: 400;
        color: #eaaa85;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .services h2 {
        font-size: 36px;
        font-weight: 700;
        color: #232323;
        text-transform: uppercase;
        margin-bottom: 20px;
    }

    .services p {
        font-size: 16px;
        color: #666;
        max-width: 700px;
        margin: 0 auto 40px;
        line-height: 1.8;
    }

.service-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    position: relative;
    width: 220px;
    height: 200px;
    transition: transform 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-10px);
    }

    .service-card .name, .service-card .namee {
        font-size: 36px;
        font-style: italic;
        color: #eaaa85;
        font-family: 'Brush Script MT', cursive;
        position: absolute;
        top: 20px;
        right: 50px;
    }

.flowercase, .flowercase1, .flowercase2, .flowercase3 {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

/* Best Seller Section */
.best-seller-section {
    text-align: center;
    padding: 40px 20px;
}

.subtitle {
    font-size: 22px;
    font-weight: 400;
    color: #eaaa85;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.title {
    font-size: 36px;
    font-weight: 700;
    color: #232323;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* Product Container */
.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px;
}

.product-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

.product-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.product-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.rating {
    font-size: 18px;
    font-weight: 500;
    color: #eaaa85;
    margin-bottom: 20px;
}

.buy-now-btn {
    display: inline-block;
    padding: 14px 30px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 5px;
    border: 2px solid #ffd700;
    transition: all 0.3s ease;
}

    .buy-now-btn:hover {
        background-color: #ffd700;
        color: #000;
        border-color: #000;
    }

    .buy-now-btn:active {
        transform: scale(0.95);
    }

/* About Section */
.about-section {
    display: flex;
    flex-wrap: wrap;
    padding: 60px 40px;
    background-color: white;
  
}

.image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.text-container {
    flex: 1;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .text-container h2 {
        font-size: 32px;
        font-weight: 700;
        color: #232323;
        text-align: center;
        margin-bottom: 20px;
    }

    .text-container p {
        font-size: 16px;
        color: #666;
        text-align: center;
        line-height: 1.8;
        margin-bottom: 30px;
    }

.features {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 30px;
}

.feature {
    text-align: center;
}

    .feature span img {
        width: 50px;
        margin-bottom: 10px;
    }

    .feature p {
        font-size: 14px;
        font-weight: 600;
        color: #333;
    }

.read-more {
    padding: 14px 30px;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 200px;
    margin: 0 auto;
}

    .read-more:hover {
        background-color: #333;
    }

/* Contact Section */
.contact-section {
    background-color: #1a1a1a;
    padding: 60px 40px;
    color: #fff;
}

.divbox {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.contacts, .about, .useful-links {
    flex: 1;
    min-width: 280px;
}

    .contacts h3, .useful-links h3 {
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 20px;
        text-transform: uppercase;
    }

    .contacts p {
        font-size: 16px;
        color: #ccc;
        line-height: 1.8;
    }

.imagefooterlogo {
    max-width: 150px;
    margin-bottom: 20px;
}

.about p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.8;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

    .social-icons a {
        color: #eaaa85;
        font-size: 24px;
        transition: color 0.3s ease, transform 0.3s ease;
    }

        .social-icons a:hover {
            color: #d48963;
            transform: scale(1.1);
        }

.useful-links a {
    display: block;
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

    .useful-links a:hover {
        color: #eaaa85;
    }

/* Footer */
.footer {
    background-color: #121212;
    padding: 40px 20px;
    text-align: center;
    color: #fff;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

    .footer-nav a {
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        transition: color 0.3s ease;
    }

        .footer-nav a:hover {
            color: #eaaa85;
        }

.footer-credit p {
    font-size: 12px;
    color: #ccc;
}

.footer-credit a {
    color: #eaaa85;
    text-decoration: none;
}

    .footer-credit a:hover {
        text-decoration: underline;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 20px;
        width: 30px;
        cursor: pointer;
    }

        .menu-toggle span {
            height: 3px;
            background-color: #333;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .menu-toggle.open span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .menu-toggle.open span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.open span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

    .menu-wrapper {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }

        .menu-wrapper.active {
            display: flex;
        }

    .menu-top {
        flex-direction: column;
        gap: 15px;
    }

    .icons {
        display: none;
    }

    .slide {
        height: 400px;
    }

    .services, .about-section, .contact-section {
        padding: 40px 20px;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .product-container {
        padding: 20px;
    }

    .divbox {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
