@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f4f9;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-style: normal;
    height: 100%;
    /* Ensure full viewport height */
}

/* Navbar Styles */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.4s ease;
    z-index: 1050;
    /* Ensure it stays above other content */
}

.navbar-brand {
    font-weight: bold;
    color: #ff4081;
    animation: fadeInDown 1.2s ease;
    text-transform: uppercase;
}

.navbar-nav-custom .nav-link {
    font-size: 19px;
    font-weight: 700;
    margin-right: 15px;
    color: #333;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav-custom .nav-link:hover {
    color: #ff4081;
    animation: pulse 0.6s;
}

/* Underline on hover for nav links */
.navbar-nav-custom .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: #ff4081;
    transition: 0.3s ease-in-out;
}

.navbar-nav-custom .nav-link:hover::after {
    width: 100%;
}

.nav-icon {
    margin-left: 15px;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-icon:hover {
    color: #ff4081;
    animation: tada 0.8s;
    transform: scale(1.1);
}

/* .search-container {
    Adjust as needed for alignment within the navbar
} */

.search-input {
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 5px 15px;
    margin-right: 10px;
    transition: box-shadow 0.3s ease;
    display: none;
    /* Initially hidden */
}

.search-input.show {
    display: inline-block;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(255, 64, 129, 0.5);
    animation: grow 0.5s;
}

/* Visually hidden utility class */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero Section Styles */
.hero-section {
    background: url('https://img.jagranjosh.com/images/2024/January/2212024/ram-mandir-for-public-details.webp') no-repeat center center/cover;
    color: #fff;
    /* Changed text color to white for better contrast on the overlay */
    height: 100vh;
    /* Match the HTML height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    /* For the overlay */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Darker overlay for better text readability */
    z-index: 1;
    /* Place overlay above the background image */
}

.hero-content {
    position: relative;
    /* To be above the overlay */
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-top: 15px;
    margin-bottom: 30px;
}

.btn-explore {
    padding: 15px 30px;
    font-size: 1rem;
    color: #fff;
    background: #ff8800;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-explore:hover {
    background: #e07a00;
}

/* Product Section Styles */
#Shop {
    padding-top: 30px;
    /* Adjust top padding to account for fixed navbar */
    padding-bottom: 50px;
}

#Shop h2 {
    text-align: center;
    font-weight: bold;
    margin-bottom: 50px;
}

.product-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 230px;
    object-fit: cover;
}

.card-body {
    position: relative;
    /* For absolute positioning of the wishlist button */
}

.card-body .btn-light {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    font-size: 1.2rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.card-body .btn-light:hover {
    color: #ff4081;
}

.card-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.text-muted {
    font-size: 0.9rem;
    color: #6c757d !important;
    /* Override Bootstrap's default */
    margin-bottom: 1rem;
}

.btn-primary {
    width: 100%;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Geolocation Section */
.geolocation {
    padding: 20px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.geolocation iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Footer Styles */
footer {
    background: #1a1a1a;
    color: #ddd;
    padding: 60px 0 20px;
    position: relative;
    font-size: 15px;
}

footer h5 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffc107;
}

.social-icons a {
    font-size: 20px;
    margin-right: 15px;
    color: #aaa;
    transition: transform 0.4s ease, color 0.3s ease;
}

.social-icons a:hover {
    color: #ffc107;
    transform: scale(1.3);
    animation: heartBeat 1s;
}

.footer-logo {
    font-size: 30px;
    font-weight: bold;
    color: #ffc107;
    animation: bounceIn 1.5s;
}

.newsletter input {
    border-radius: 20px 0 0 20px;
    padding: 10px 15px;
    border: none;
    outline: none;
    width: 70%;
}

.newsletter button {
    border-radius: 0 20px 20px 0;
    background: #ffc107;
    color: #000;
    border: none;
    padding: 10px 20px;
    transition: background 0.3s ease;
}

.newsletter button:hover {
    background: #e0a800;
    animation: tada 1s;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #777;
}

/* Animations */
@keyframes grow {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes tada {
    0% {
        transform: scale(1);
    }

    10%,
    20% {
        transform: scale(0.9) rotate(-3deg);
    }

    30%,
    50%,
    70%,
    90% {
        transform: scale(1.1) rotate(3deg);
    }

    40%,
    60%,
    80% {
        transform: scale(1.1) rotate(-3deg);
    }

    100% {
        transform: scale(1) rotate(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes bounceIn {

    0%,
    20%,
    40%,
    60%,
    80%,
    100% {
        transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }

    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }

    40% {
        transform: scale3d(0.9, 0.9, 0.9);
    }

    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }

    80% {
        transform: scale3d(0.97, 0.97, 0.97);
    }

    100% {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Tweak */
@media (max-width: 991px) {
    .nav-icon {
        margin-left: 10px;
    }

    .search-input {
        width: 100px;
    }

    .navbar-nav-custom .nav-link {
        margin-right: 0;
        padding-left: 15px;
    }
}

.d-flex {
    display: flex !important;
    justify-content: center;
    align-items: center;
}