@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300,400,500,600,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.781), rgba(0, 0, 0, 0.493));
    overflow-x: hidden;
}

/*Header Section starts*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    background-color: #610101;
    box-shadow: 0 2px 4px rgba(0,0,0,0.7); 
    z-index: 1050;
}

header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
}

.navbar .logo {
    color: #ffffff;
    font-weight: 600;
    font-size: 2.1rem;
    text-decoration: none;
}

.navbar .logo span {
    color: #ff7807;
}

.navbar .nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    color: #ffffff;
}

.navbar .nav-links a {
    text-decoration: none;
    transition: color 0.2s ease;
    color: #ffffff;
    font-weight: 600;
}

.navbar .nav-links a:hover,
.navbar .nav-links a:focus {
    color: #ff7807;
    background-color: transparent;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #610101;
    width: 150%;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    list-style-type: none;
    border-radius: 5px;
    overflow: hidden;
    top: 100%;
    left: 0;
    text-decoration: black;
}

.dropdown-content a {
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    color: #ffffff;
    transition: 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: #ff7807;
    color: #ffffff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    color: #CFCFCF;
}

.navbar .search-bar {
    display: flex;
    align-items: center;
    position: relative;
    margin-right: 80px; 
    margin-left: auto;
}

.navbar .search-bar input[type="text"] {
    padding: 8px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    outline: none;
    width: 200px; 
    transition: all 0.3s ease;
    flex-grow: 1;
    margin-right: 8px;
}

.navbar .search-bar input[type="text"]:focus {
    width: 250px;
    border: 2px solid #ff7807; 
}

.navbar .search-bar input[type="text"]::placeholder {
    color: #030202ab;
    font-weight: 500;
}

.header .search-bar label {
    font-size: 2.2rem;
    padding-right: 1.5rem;
    color: var(--black);
    cursor: pointer;
}

.header .search-bar label:hover {
    color: black;
}

header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between; 
}

.cart-icon {
    position: absolute;
    top: 100%;
    right: 20px;
    padding: 10px;
    background-color: white; 
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.849);
    color: #000;
    font-size: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s, background-color 0.3s;
    margin-top: 30px;
}

.cart-icon i {
    color: #000;
}

.cart-icon:hover {
    background-color: #ff7807;
}

.cart-icon:hover i {
    color: white; 
}

/* Responsive Design */
@media (max-width: 980px) and (min-width: 768px) {
    .navbar .nav-links {
        display: flex;
        flex-direction: column;
        background-color: #610101;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 0 10px 20px;
    }

    .navbar .nav-links.show {
        display: flex;
    }

    .navbar .dropdown-content {
        position: relative;
        width: 100%;
        padding-top: 10px;
    }

    .navbar .search-bar {
        margin-right: 0;
    }

    .navbar .search-bar input[type="text"] {
        width: 150px;
    }

    .navbar .search-bar input[type="text"]:focus {
        width: 200px;
    }

    #menu-btn {
        display: block;
        cursor: pointer;
    }

    #close-btn {
        display: none;
        cursor: pointer;
    }

    .cart-icon {
        right: 10px;
    }
}

@media (max-width: 980px) and (min-width: 282px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        background-color: #610101;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 0 10px 20px;
    }

    .navbar .nav-links.show {
        display: flex;
    }

    .navbar .dropdown-content {
        position: relative;
        width: 100%;
        padding-top: 10px;
    }

    .navbar .search-bar {
        margin-right: 0;
    }

    .navbar .search-bar input[type="text"] {
        width: 150px;
    }

    .navbar .search-bar input[type="text"]:focus {
        width: 200px;
    }

    #menu-btn {
        display: block;
        cursor: pointer;
    }

    #close-btn {
        display: none;
        cursor: pointer;
    }

    .cart-icon {
        right: 10px;
    }
}

@media (min-width: 980px) {
    #menu-btn,
    #close-btn {
        display: none;
    }
}


/* Payment Form starts */
.order-form-container {
    background-color: #f8f9fa; 
    padding: 30px; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 90%;
    margin: 125px auto; 
    box-sizing: border-box;
}

.order-form-container h1 {
    text-align: center;
    margin-bottom: 30px; 
    font-size: 2.4rem; 
    font-weight: bold;
    text-decoration: underline; 
}

.order-form {
    display: flex;
    flex-direction: column;
}

.order-form label {
    margin-top: 15px; 
    margin-bottom: 8px; 
    font-weight: bold;
}

.order-form input, select {
    padding: 14px;
    border: 1px solid #ced4da; 
    border-radius: 6px; 
    font-size: 1rem;
    margin-bottom: 20px;
    width: calc(100% - 28px) ; 
    box-sizing: border-box;
}

p{
    font-weight: bold;
    margin-bottom: 5px;
    margin-top: 8px;
}

.payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 15px;
}

.payment-methods img {
    max-width: 80px; 
    height: auto; 
    margin: 0 10px; 
    border-radius: 5px; 
    object-fit: contain; 
}

.card-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px; 
    margin-top: 25px;
    margin-bottom: 20px; 
}

.card-details label {
    padding-bottom: 20px; 
}

.card-details input {
    width: calc(33.33% - 5px);
}

.card-details .separator {
    font-size: 1.8rem; 
    font-weight:400;
    color: #333; 
    margin: 0 12px 20px; 
}

.submit-btn {
    background-color: #910501; 
    color: #fff;
    padding: 12px 20px; 
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    width: 130px; 
    margin: 35px auto 30px;
    text-align: center;
}

.submit-btn:hover {
    background-color: #690000; 
}
/* Payment Form Section Ends */

/* Footer section starts */
.container {
    max-width: 1170px;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

ul {
    list-style: none;
    padding: 0; 
}

.footer {
    background-color: #26242b;
    padding: 70px 0;
    line-height: 1.5; 
    box-sizing: border-box;
    margin-top: -30px;
}

.footer-col {
    width: 25%;
    padding: 0 15px;
    box-sizing: border-box; 
}

.footer-col h2 {
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h2::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #e91e63;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    text-transform: capitalize;
    color: #bbbbbb;
    text-decoration: none;
    font-weight: 300;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #e91e63;
    padding-left: 8px;
}

.footer-col .social-links a {
    display: inline-block;
    height: 30px;
    width: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
    color: #26242b;
    background-color: #ffffff;
}

.footer .container .copyright {
    display: flex;
    flex-basis: 100%;
    font-size: 11.5px;
    position: relative;
    text-align: center;
    justify-content: center;
    margin-top: 60px;
    color: #ffffff;
}

/* Responsive adjustments */

@media (max-width: 768px) {
    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }

    .footer-col h2::before {
        bottom: -8px; 
    }
}

@media (max-width: 576px) {
    .footer-col {
        width: 100%;
        margin: 0 auto; 
        text-align: center; 
        padding: 0 10px; 
    }

    .footer-col h2 {
        margin-top: 50px;
    }

    .footer-col h2::before {
        bottom: -6px; 
        left: 50%; 
        transform: translateX(-50%);
    }
}

/* Footer section ends */
