/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background-color: #ffffff;
    color: #000;
}

/* Navigation */
header {
    background: #fff;
    padding: 20px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 90px; /* Adjust based on your design */
    width: auto;
}


/* Navigation bar adjustments */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Ensures nav links and contact button align properly */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center; /* Keeps everything aligned */
    gap: 20px;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 1rem;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
    color: #BEBEBE; /* Green color on hover */
}

/* Contact button styling */
.contact-btn {
    display: inline-block;
    background: transparent;
    color: black;
    padding: 10px 20px;
    border: 2px solid black;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.contact-btn:hover {
    background: white; /* Ash background */
    color: white;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: black;
}

/* Hero Section */

.hero-text h2 {
    font-size: 3rem;
    font-weight: bold;
}

.hero-text p {
    font-size: 1.2rem;
    margin: 10px 0;
}

.hero {
    display: flex;
    width: 100vw; /* Ensure full viewport width */
    height: 100vh; /* Full height of the viewport */
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
}

.hero-image {
    flex: 1;
    display: flex;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn {
    display: inline-block; /* Prevents full-width stretching */
    background: #57B4BA;
    color: white;
    padding: 12px 24px;
    margin-top: 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    width: auto; /* Prevents width from being overridden */
    max-width: 200px; /* Ensures it doesn't stretch too wide */
    text-align: center; /* Centers text properly */
    white-space: nowrap; /* Prevents text from breaking */
}

.btn:hover {
    background: #57B4BA;
    transform: translateY(-2px);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}



/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 200px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
    .nav-links.show {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

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

    .hero-image img {
        max-width: 100%;
    }

    .hero-text h2 {
        font-size: 2.2rem; /* Slightly smaller for better mobile fit */
        text-align: center;
        display: block;
        line-height: 1.2;
    }

    /* Force line break at specific word */
    .hero-text h2::after {
        content: "\A ";
        white-space: pre;
        font-weight: bold;
    }

    .hero-text p {
        text-align: center;
    }

    /* Center the "View Products" button */
    .btn {
        display: block;
        margin: 15px auto; /* Centers the button */
    }

}

/* Product-preview Section */
.product-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Tab Navigation - Desktop */
.tab-menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Tab Buttons */
.tab-btn {
    border: 2px solid #57B4BA;
    background: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #57B4BA;
    color: white;
}

.tab-btn:hover {
    background: #57B4BA;
    color: white;
}

/* Mobile: Hide Tabs & Show Dropdown */
@media (max-width: 768px) {
    .tab-menu {
        display: none; /* Hide tab buttons on small screens */
    }

    .tab-dropdown {
        display: block; /* Show dropdown */
        width: 100%;
        max-width: 300px;
        margin: 0 auto 20px;
        padding: 10px;
        font-size: 16px;
        border: 2px solid #57B4BA;
        border-radius: 5px;
        background: white;
        cursor: pointer;
    }

    .custom-select {
        width: 200px;   /* Adjust width */
        height: 30px;   /* Adjust height */
        font-size: 16px; /* Adjust text size */
    }
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.product-grid.active {
    opacity: 1;
    transform: translateY(0);
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.4s ease-in-out forwards;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

/* Product Image */
.product-card img {
    width: 100%; /* Ensures image takes full width */
    height: 250px; /* Uniform height */
    object-fit: cover; /* Maintains aspect ratio */
    border-radius: 8px;
}

/* Mobile: Adjust Image Height */
@media (max-width: 768px) {
    .product-card img {
        height: 200px; /* Reduce height for mobile */
    }
}

/* Product Details */
.product-title {
    font-weight: bold;
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #57B4BA;
    margin-top: 5px;
}

/* Action Button */
.action-btn {
    display: inline-block;
    background: #57B4BA;
    color: white;
    padding: 10px 15px;
    margin-top: 10px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s ease, color 0.2s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
    color: white;

}

/* Sale and New Badges */
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: green;
    color: white;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 5px;
    font-weight: bold;
}

/* Fade-In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    padding: 40px 10%;
    font-family: "Poppins", sans-serif;
    color: #333;
}

/* Title Styling */
.section-title {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    color: #3a3a3a;
}

/* Underline Effect */
.section-title .underline {
    display: block;
    width: 250px;
    height: 3px;
    background-color: #b15c7e;
    margin: 5px auto;
}

/* Content Layout */
.welcome-content {
    display: flex;
    justify-content: space-between;
    text-align: left;
    margin-top: 20px;
}

.welcome-content p {
    width: 30%;
    font-size: 16px;
    line-height: 1.6;
    color: #3a3a3a;
}

/* Responsive: Stack paragraphs on mobile */
@media (max-width: 768px) {
    .welcome-content {
        flex-direction: column;
        text-align: center;
    }
    .welcome-content p {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* styles.css */
.footer {
    background-color: white; /* Dark blue background */
    color: grey; /* Light cream text color */
    padding: 20px 40px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.footer-img {
    height: 200px; /* Adjust based on your design */
    width: auto;
}

.footer-nav a {
    color: grey;
    text-decoration: none;
    margin-right: 20px;
    font-size: 18px;
    font-weight: bold;
}

.footer-nav a:hover {
    text-decoration: none;
}

.copyright {
    font-size: 16px;
    opacity: 0.8;
}

.footer-right {
    text-align: right;
}

.social-icons a {
    margin: 0 5px;
    display: inline-block;
}

.social-icons img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); /* Makes icons white */
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #F5EAD6;
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
}

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

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }


    .footer-nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 5px 0;
    }
}

/* checkout.css */
#checkout-container {
    padding: 20px;
    max-width: 600px;
    margin: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.cart-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

#place-order {
    display: inline-block; /* Prevents full-width stretching */
    background: #57B4BA;
    color: white;
    padding: 12px 24px;
    margin-top: 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    width: auto; /* Prevents width from being overridden */
    max-width: 300px; /* Ensures it doesn't stretch too wide */
    text-align: center; /* Centers text properly */
    white-space: nowrap; /* Prevents text from breaking */
}
