/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header-container {
    position: relative;
    height: 200px;
    background-color: #000;
    overflow: hidden;
    text-align: center;
    padding: 20px;
}

.logo-link {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.logo {
    width: 150px;
    transition: transform 0.3s ease; /* Smooth transition for scaling */
}

.logo:hover {
    transform: scale(1.1); /* Scale the logo by 10% on hover */
}


/* Pseudo-element for the semi-circle */
.header-container::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 200%;
    border-radius: 50%;
    background: radial-gradient(circle at center, silver 20%, #333 60%, #000 100%);
    z-index: 0;
}


/*Home page text*/
.main-text-container{
    text-align: center;
    margin: 40px 20vw;
}
.main-text{
    font-size: 1.2rem;
}

/* Main Button Container */
.button-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 40px auto;
    max-width: 1200px;
    padding: 20px;
    flex-wrap: wrap;
}

.button-link {
    text-decoration: none;
    color: #fff;
    width: 45%;
    align-items: center;
}

.button-content {
    background-color: #333;;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    height: 65vh;
    position: relative;
    padding: 10px;
    overflow: hidden;
}

.button-content:hover {
    transform: scale(1.05);
    background-color: #555;
}

.button-image {
    width: auto;
    max-height: 60%;
    height: auto;
    object-fit: cover;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Container Title */
.container-title {
    font-size: 2rem;
    color: #fff;
}

/* Container Text */
.container-text {
    font-size: 1.2rem;
    margin: 20px 10px;
    color: #ccc;
}



/*About button*/

/* About Button Styles */
.about-button-container {
    display: flex;
    justify-content: center; /* Centers the button horizontally */
    margin: 20px 0; /* Add some space at the top */
}

.about-button {
    display: inline-block;
    width: 80%; /* 80% of the screen width */
    height: 40px; /* 40px tall */
    background-color: #333; /* Button background color */
    color: white; /* Button text color */
    text-align: center;
    line-height: 40px; /* Vertically center the text */
    text-decoration: none; /* Remove underline */
    border-radius: 10px; /* Rounded corners */
    font-size: 1.2rem; /* Font size */
    transition: background-color 0.3s ease;
}

.about-button:hover {
    background-color: #555; /* Darker background color on hover */
}



/* Footer */
footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #111;
    color: #fff;
    padding: 20px;
    width: 100%;
}

.footer-section {
    flex: 0 1 auto;
    text-align: center;
}

.footer-section-email,
.footer-section-phone-number {
    flex: 1; /* Each section takes up 33% of the width */
    margin: 0 10px;
}

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

.footer-section-phone-number {
    text-align: left;
}

footer p {
    margin: 0;
    font-size: 1rem;
}

footer a {
    color: #fff;
    text-decoration: none;
}

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


/* Menu Page Styling */
.menu-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.menu-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 30px;
}

.menu-category {
    margin-bottom: 50px;
}

.category-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

/* Styling for cocktail items */
.cocktail-item {
    display: flex;
    align-items: center;
    background-color: #111;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}


.cocktail-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.cocktail-details {
    color: #fff;
    text-align: left;
}

.cocktail-title {
    font-size: 1.5rem;
    color: #fff;
}

.cocktail-description {
    margin-top: 5px;
    color: #ccc;
}

.cocktail-price {
    margin-top: 10px;
    font-weight: bold;
    color: #f9a825;
}

/* Styling for category buttons (larger screens) */
.category-buttons {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.category-button {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.category-button:hover {
    background-color: #555;
}

/* Styling for the category sections */
.category-section {
    margin-top: 40px;
}

/* Dropdown for smaller screens */
.category-dropdown {
    display: none;
    margin-bottom: 20px;
}

.category-select {
    width: 100%;
    padding: 10px;
    font-size: 1.1rem;
    border: 1px solid #333;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
}







/* Order Page Section */
.order-page-section {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #111;
    border-radius: 10px;
    text-align: center;
}

/* Order Page Title */
.order-page-title {
    text-align: center;
    color: silver;
    margin-bottom: 20px;
}

/* Form Group */
.order-form-group {
    margin-bottom: 20px;
}

.order-form-group label {
    display: block;
    font-size: 1rem;
    color: silver;
    margin-bottom: 5px;
}

.order-form-group input, 
.order-form-group select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
}


/* Cocktail Section */
.add-cocktail-btn {
    padding: 10px 20px;
    background-color: silver;
    color: #000;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    margin: 20px 0;
}

.add-cocktail-btn:hover {
    background-color: #fff;
}





/* Dynamically added cocktail container */
.cocktail-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    justify-content: center;
}

.cocktail-container select, 
.cocktail-container input {
    margin-right: 10px;
}

.delete-cocktail {
    background-color: black;
    color: silver;
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
    width: 30px;
    border-color: silver;

}

/* Calculate Price Button */
.calculate-price-btn {
    padding: 10px 20px;
    background-color: silver;
    color: #000;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    margin: 20px 0;
}

.calculate-price-btn:hover {
    background-color: #fff;
}

/* Submit Order Button */
.submit-order-btn {
    padding: 10px 20px;
    background-color: silver;
    color: #000;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.submit-order-btn:hover {
    background-color: #fff;
}

/* Price Display */
#totalPrice {
    font-weight: bold; /* Make the total price bold */
    color: silver; /* Yellow color to highlight the total price */
    font-size: 1.2rem; /* Larger font size */
}

/* Style the span that displays the average price */
#avgPrice {
    font-weight: bold; /* Make the average price bold */
    color: silver; /* Green color for the average price */
    font-size: 1.2rem; /* Larger font size */
}

.cocktail-select,
.cocktail-quantity{
    border-radius: 5px;
    background-color: silver;
    height: 40px;
}


/* Style for the comments textarea */
.order-form-group textarea {
    width: 100%;                /* Full width */
    padding: 10px;              /* Space inside the textarea */
    border-radius: 5px;         /* Rounded corners */
    border: 1px solid #ccc;     /* Light gray border */
    background-color: silver;  /* Light background color */
    color: black;                /* Dark text color */
    font-size: 16px;            /* Text size */
    font-family: 'Arial', sans-serif; /* Use a clean font */
    resize: vertical;           /* Allow resizing only vertically */
    box-sizing: border-box;     /* Ensure padding and border are included in the width */
}

/* Focus state to make it more interactive */
.order-form-group textarea:focus {
    border-color: #007BFF;      /* Change border color on focus */
    background-color: silver;     /* White background when focused */
    outline: none;              /* Remove default focus outline */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Add slight shadow */
    color: black;
}




.flatpickr-input{
    background-color: silver;
}

input{
    background-color: silver;
}

.flatpickr-day.disabled {
    background-color: #ffdddd; /* Light red for disabled dates */
    color: #999; /* Gray text */
    cursor: not-allowed; /* Change cursor to show date is unavailable */
}



/* Return Button Styling */
.return-button-container {
    position: absolute;
    top: 150px; /* Adjust based on header height */
    left: 60px;
    z-index: 10;
}

.return-button {
    display: inline-block;
    width: 50px; /* Adjust size */
    height: 50px;
    background-color: transparent;
    border-radius: 50%; /* Makes it a circle */
    text-align: center;
    line-height: 50px; /* Vertically center the image */
    transition: background-color 0.3s ease;
}

.return-button:hover {
    background-color: transparent;
}

.return-button svg {
    vertical-align: middle; /* Ensure the SVG is centered inside the button */
}


.pricing-page-container{
    text-align: center;
    margin-bottom: 40px;
}
.pricing-page-button {
    padding: 10px 20px;
    background-color: white;
    color: #000;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    transition: transform ease 0.5s;
    margin-top: 20px;
}
.pricing-page-button:hover {
    transform: scale(1.05);
}

.price-text{
    margin-left: 70px;
    margin-right: 70px;
}




/*Abouut page*/

/* About Us Page Styling */
.about-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.about-title {
    font-size: 2.5rem;
    color: silver;
    margin-bottom: 30px;
}

.about-content {
    font-size: 1.2rem;
    color: #ccc;
    text-align: left;
}

.about-content h2 {
    font-size: 1.8rem;
    color: silver;
    margin-top: 20px;
    margin-bottom: 10px;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-content ul {
    list-style-type: disc;
    margin-left: 20px;
}

.about-content li {
    margin-bottom: 10px;
}

.about-image-container {
    flex: 1;
    padding: 10px;
    text-align: center;
    justify-content: center;
}

.about-image {
    width: 200px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: block;
}

.about-image-wrapper {
    display: flex;
    justify-content: space-around; /* Adjust the spacing between images */
    align-items: center;
    flex-wrap: wrap; /* This allows wrapping on smaller screens */
}



/*TOS*/

/* Terms of Service Page Styling */
.tos-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.tos-title {
    font-size: 2.5rem;
    color: silver;
    margin-bottom: 30px;
}

.tos-content {
    font-size: 1.2rem;
    color: #ccc;
    text-align: left;
}

.tos-content h2 {
    font-size: 1.8rem;
    color: silver;
    margin-top: 20px;
}

.tos-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.tos-content ul {
    list-style-type: none;
    padding-left: 0;
}

.tos-content li {
    margin-bottom: 10px;
}

#loadingSpinner {
    text-align: center;
    font-size: 1.2rem;
    color: white;
}



/* Responsive Design */
@media (max-width: 1200px) {
    .button-link {
        width: 90%;
        margin-bottom: 20px;
    }
    .header-container::before {
        width: 200%;
    }

    footer p {
        font-size: .75rem;
    }
    
    .cocktail-quantity{
        max-width: 30%;
        padding-left: 5px;
    }

    .return-button-container {
        position: absolute;
        top: 200px; /* Adjust based on header height */
        left: 10px;
        z-index: 10;
    }
    .main-text-container{
        margin: 40px 5vw;
    }
}



@media (max-width: 768px) {
    .button-link {
        width: 90%;
    }
    .button-container {
        padding: 20px;
    }
    .category-buttons {
        display: none; /* Hide buttons on small screens */
    }

    .category-dropdown {
        display: block; /* Show dropdown on small screens */
    }
    .price-text{
        margin-left: 5px;
        margin-right: 5px;
    }
}


