/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #000000;
    color: white;
    text-align: center;
    margin-bottom: 60px;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1px;
}

/* Logo (Left Side) */
.logo {
    flex-shrink: 0;
}

.logo img {
    width: 80px;
}

/* Gym Name (Centered) */
.gym-name {
    font-size: 28px;
    font-weight: bold;
    flex-grow: 1;
    text-align: center;
    color: #FFD700;
}

/* Navigation Bar */
nav {
    background: white;
    padding: 5px;
    display: flex;
    justify-content: flex-start; /* Align to left */
    padding-left: 30px;
    border-radius: 10px;
}

nav button {
    background: #000000;
    color: white;
    padding: 8px 18px;
    margin: 5px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
}
nav button:hover {
    background: #FFD700;
    color: black;
}
nav button:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 10px rgba(255, 215, 0, 0.5);
}


h2{
    font-weight:bolder;
    margin-top:25px;
    color: black;
    
}

.calories-section {
    margin: 20px;
}

/* Meal Plan Selection */
.meal-plan {
    margin: 30px;
    padding: 20px;
    background: black;
    border-radius: 10px;
}

select, button {
    padding: 10px;
    margin: 10px;
    font-size: 16px;
}

/* Background Blur Effect */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    backdrop-filter: blur(5px);
    z-index: 5;
    display: none;
}

/* Apply blur effect when popup is open */
.popup-active #overlay {
    display: block;
}

.popup-active .meal-plan,
.popup-active nav,
.popup-active header {
    filter: blur(8px);
    pointer-events: none;
}

/* Popup Styling */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 85%;
    max-width: 700px; /* Increased width for two images */
}

/* Two images side by side */
.popup-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Increased space between images */
}

/* Image inside Popup */
.popup img {
    width: 60%; /* Increased image size */
    max-width: 320px;
    border-radius: 10px;
    border: 2px solid black; /* Thinner border */
}



/* Close Button (Moved to Top Right) */
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: black;
    background: white;
    border-radius: 50%;
    padding: 5px 10px;
}

/* Meal Plan Section */
.meal-plan {
    background: #303030;
    color: white;
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
}

.meal-plan h2 {
    font-size: 28px;
    color: #FFD700;
    margin-bottom: 10px;
}

.meal-plan p {
    font-size: 18px;
    margin-bottom: 20px;
}

.meal-box {
    width: 80%;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #222; /* Gray background */
    border: 5px solid #FFD700; /* Thick yellow border */
    border-radius: 10px;
    text-align: center;
    color: white;
}

.meal-box h2 {
    color: #FFD700; /* Yellow title */
}

.meal-box button {
    margin-top: 20px; /* Adjust button position */
    background: #FFD700; /* Yellow button */
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

/* Meal Selection Box */
.meal-selection {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.meal-option {
    background: white;
    color: #303030;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    width: 250px;
}

.meal-option label {
    font-size: 18px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    color: #FFD700;
}

.meal-option select {
    width: 80%;
    padding: 8px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    outline: none;
    background: #303030;
    color: white;
}
.meal-option select:hover {
    background: #FFD700;
    color: #303030;

/* Button Styling */
.meal-button {
    background: #FFD700;
    color: black;
    padding: 12px 25px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
.meal-button:hover {
    background: white;
    color: #303030;
}


