/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
}

/* Navigation Bar Styling */
nav {
    background: linear-gradient(90deg, #ff6347, #e67e22);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.5s ease-out;
}

/* Sticky Navbar Color Change */
nav.scrolled {
    background: #FF9900; /* When scrolled, use a warm orange */
}

/* Logo Styling */
.logo {
    font-size: 25px;
    font-weight: 600;
    right: 100px;
    text-align: center;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.3s ease, color 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    color: #FFD700; /* Gold color on hover for a premium feel */
}

/* Navigation Links Styling */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    position: relative;
    opacity: 0;
    animation: fadeInLinks 1s forwards;
}

.nav-item {
    color: black;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    animation: dropIn 0.5s ease-out forwards;
    opacity: 0;
    padding: 12px 30px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

/* Individual Link Delays */
.nav-item:nth-child(1) {
    animation-delay: 0.3s;
}

.nav-item:nth-child(2) {
    animation-delay: 0.6s;
}

.nav-item:nth-child(3) {
    animation-delay: 0.9s;
}

/* Hover Effects for Links */
.nav-item:hover {
    color: #ffffff;
    transform: translateY(-5px); /* Slight lift effect on hover */
}

/* Transparent Box Effect with Smooth Transition */
.nav-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-item:hover::before {
    background-color: rgba(255, 255, 255, 0.4); /* Brighten box on hover */
}

/* Hover Box Shadow */
.nav-item:hover {
    box-shadow: 0 0 15px rgba(255, 153, 0, 0.8); /* Orange glow effect */
}

/* Active link effect */
.nav-item.active {
    background-color: #FF9900;
    color: #fff;
    transform: scale(1.1);
}

/* Fade-in effect for links */
@keyframes fadeInLinks {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Drop-in effect for links */
@keyframes dropIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Scroll Effect for Navbar */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 15px;
    }

    .logo {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        text-align: center;
    }

    .nav-item {
        font-size: 16px;
    }

    /* Mobile Layout for Navigation Bar */
    nav {
        padding: 10px 15px; /* Reduced padding for mobile */
    }

    .logo {
        font-size: 20px; /* Smaller font size for mobile */
        text-align: left;
        margin-bottom: 0;
    }

    .nav-links {
        gap: 10px; /* Further reduced gap */
        justify-content: flex-end; /* Align links to the right */
        flex-grow: 1; /* Allow nav-links to take up more space */
        width: auto; /* Remove fixed width */
    }

    .nav-item {
        font-size: 12px; /* Further reduced font size */
        padding: 5px 10px; /* Adjusted padding */
    }

    /* Hide Hamburger Menu Icon on Mobile */
    .mobile-menu {
        display: none; /* No need for hamburger menu */
    }
}
/* Add some basic styling for the dropdown */
.nav-links {
    display: none; /* Hidden by default */
}
.nav-links.show {
    display: block; /* Show when toggled */
}
.toggle-btn {
  
display:40px;
    right: 40px; /* Align it to the left */
    background-color: #555;
    color: #fff;
    border: none;
    font-size: 18px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

/* Header Section with Background Animation */
.header {
    text-align: center;
    padding: 50px 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 420px;
    height: 400px;
    margin: 40px auto;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    animation: changeBackground 20s ease-in-out infinite;
}

/* Background Animation */
@keyframes changeBackground {
    0%, 100% {
        background-image: url('gisti.jpg');
    }
    25% {
        background-image: url('sasbsf.jpg');
    }
    50% {
        background-image: url('masala7.jpg');
    }
    75% {
        background-image: url('food10.jpg');
    }
}

/* Main Text Styling */
.main-text {
    position: relative;
    z-index: 10;
    padding: 20px;
    color: #fff;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    max-width: 90%;
    margin: 0 auto;
}

.main-text h1 {
    font-size: 28px;
    margin: 10px 0;
    animation: fadeInUp 1s forwards;
}

.main-text h2 {
    font-size: 18px;
    margin: 5px 0;
    animation: fadeInUp 1s 0.2s forwards;
}

/* Text Fade-In Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dealer Section - Centering and Layout */
.dealer-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh; /* Full viewport height for center alignment */
    background: white;
    padding-top: 20px; /* Adjust this based on your header height */
    position: relative;
    z-index: 1;
}

/* Highlighted Button Box Styling */
.button-box {
    position: relative;
    display: inline-block;
    padding: 20px;
    background-color:black;
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeInUp 1.5s ease-in-out;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Button Box Hover Effect */
.button-box:hover {
    transform: scale(1.05); /* Slight scaling effect */
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

/* Button Styling */
.navs-button button {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    background-color: #007bff;
    color:black;
    border-radius: 25px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Button Hover Effect */
.navs-button button:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

/* Icon Styling */
.navs-button button i {
    font-size: 20px;
}

/* Fade-in and Up Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optional: Add some text below the button for description */
.dealer-section::after {
    content: "Become a Dealer and Join Us Today!";
    color: orange;
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    bottom: 20px;
    text-align: center;
    width: 100%;
}


/* map */



.container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
    text-align: center;
    perspective: 1000px; /* Perspective for 3D effect */
}

/* Styling for the images */
.container img {
    width: 100%;
    max-width: 300px; /* Adjust max-width as needed */
    margin: 10px;
    transition: transform 0.5s ease; /* Smooth transition for hover effect */
    will-change: transform; /* Optimizes performance */
}

/* Styling for the text */
.container .text {
    max-width: 400px;
    margin: 10px;
    font-size: 16px;
    line-height: 1.5;
}

/* Adjust layout for larger screens */
@media (min-width: 768px) {
    .container {
        flex-direction: row;
        text-align: left;
    }
}

/* 3D Animation on Hover */
.container img:hover {
    transform: rotateY(10deg) rotateX(10deg) scale(1.05); /* 3D rotation and scale on hover */
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-in.visible {
    opacity: 1; /* Fully visible when class added */
}

/* Hero Section with Overlay */
.hero {
    text-align: center;
    background-image: url('final.jpg'); /* replace with your background image */
    background-size: cover;
    background-position: center;
    padding: 150px 20px;
    color: #fff;
    position: relative;
}

/* Hero Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    z-index: 2;
    position: relative;
    animation: slideDown 1s ease-out, fadeIn 1.5s ease-out;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    color: #ddd;
    z-index: 2;
    position: relative;
    animation: slideUp 1.5s ease-out, fadeIn 1.5s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* General Styling for Products Section */
#products {
    background: linear-gradient(to right, #f8c471, #f39c12); /* Matches your theme */
    padding: 40px 20px;
    color: #fff;
}

#products h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #fff;
}

/* Grid Layout for Product Cards */
.product {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive Columns */
    gap: 20px;
    padding: 20px;
}

/* Styling Individual Product Cards */
.product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Image Styling */
.product-img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

/* Text Styling */
.product-card h3 {
    font-size: 1.5rem;
    margin: 10px 0;
    color: #333;
}

.product-card p {
    font-size: 1rem;
    color: #666;
    margin: 10px 15px 20px;
}

/* Button Styling */
.product-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #e67e22;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.product-btn:hover {
    background-color: #d35400;
}

/* Responsive Text Adjustments for Mobile Screens */
@media (max-width: 768px) {
    .product-card h3 {
        font-size: 1.2rem;
    }

    .product-card p {
        font-size: 0.9rem;
    }
}


/* Gallery Section Styling */
/* Gallery Section Styling */
#ourgallery {
    padding: 40px 20px;
    text-align: center;
}

/* Heading for Gallery */
#ourgallery h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
    text-transform: uppercase;
}

/* Gallery Container */
.gallery {
    display: flex;
    overflow-x: scroll; /* Allows horizontal scrolling */
    gap: 15px; /* Space between images */
    padding-bottom: 20px;
    scroll-snap-type: x mandatory; /* Smooth scrolling effect */
    -webkit-overflow-scrolling: touch; /* Ensures smooth scroll on iOS */
}

/* Gallery Images */
.gallery img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    scroll-snap-align: start; /* Ensures images align neatly when scrolling */
}

.gallery img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Mobile Layout Styling */
@media (max-width: 768px) {
    .gallery {
        flex-wrap: nowrap; /* Prevents wrapping of images */
        gap: 10px;
    }

    .gallery img {
        width: 80%; /* Adjust image width on mobile for better view */
        height: 200px;
    }
}


/* Footer Section Styling */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Remove bullet points from lists in the footer */
footer ul {
    list-style: none; /* Removes bullet points */
    padding: 0; /* Removes any left padding */
    margin: 0; /* Removes any default margin */
}

/* Footer Links Container */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Individual Footer Links */
.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Hover effect on Footer Links */
.footer-links a:hover {
    color: #FF9900; /* Gold color on hover */
}

/* Footer Social Media Icons */
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* Social Media Icons */
.footer-socials a {
    color: #fff;
    font-size: 24px;
    transition: transform 0.3s ease;
}

/* Hover effect on Social Media Icons */
.footer-socials a:hover {
    transform: scale(1.1);
    color: #FF9900; /* Gold color on hover */
}

/* Footer Bottom Text */
.footer-bottom {
    font-size: 14px;
    color: #bbb;
    margin-top: 20px;
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
    /* Stack the footer links vertically on smaller screens */
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-socials {
        gap: 15px;
    }
}


