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

html,
body {
    height: 100%;
    font-family: 'Roboto', 'Lucida Sans', sans-serif;
    background-color: #fdf8f1; /* Soft light orange background */
    color: #2c3e50; /* Neutral dark blue-gray for text */
}

/* Structure */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header */
header {
    width: 100%;
    background-color: #e9f5ff; /* Very light blue */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #e9f5ff; /* Softer light blue */
    width: 100%;
    max-width: 1200px;
}

.logo {
    height: 50px;
}

nav h2 {
    margin: 0;
    font-size: 24px;
    text-align: center;
    flex: 1;
    color: black;
}

/* Main Layout */
.main-layout {
    display: flex;
    flex-direction: row;
    margin: 20px;
    width: 90%;
    max-width: 1200px;
    gap: 20px;
}

.landing-text {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    color: #2c3e50; /* Neutral dark blue-gray */
    font-size: 1rem;
    line-height: 1.5;
    max-width: 800px;
    margin: auto;
    padding: 10px;
    background-color: #fff9f3; /* Very light orange background */
    border-radius: 10px;
}

.landing-text p {
    margin: 0;
    font-weight: 400;
}

.landing-text span {
    font-size: 1.5rem;
}

/* Image Section */
.image-section {
    flex: 1;
}

.imgBody {
    width: 100%;
    object-fit: contain;
    margin: 0;
    padding: 0;
}

/* Content Section */
.content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-box {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background-color: #fdf8f1; /* Matches page background */
}

.info-box h3 {
    margin-bottom: 10px;
    color: #f39c12; /* Light orange for headings */
}

.info-box p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #34495e; /* Muted blue-gray for text */
}

/* Action Button */
.action-container {
    margin: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.action-container p {
    margin: 0;
    color: #34495e;
    font-size: 14px;
    white-space: nowrap;
}

.action-button {
    background: linear-gradient(to bottom, #7db9e8 3%, #3a83d5 99%);
    color: #fff;
    padding: 15px 50px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.action-button:hover {
    background: linear-gradient(to bottom, #77b7e7, #407bc0); /* Slightly darker blue on hover */
}

.action-button a {
    color: white;
    text-decoration: none;
}

/* Footer */
footer {
    width: 100%;
    background-color: #e9f5ff; /* Soft light blue */
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    color: #2c3e50;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
    margin-top: auto;
}

footer a {
    color: #3498db; /* Bright but soft blue for links */
    text-decoration: none;
    margin: 0 5px;
}

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

.footer-container p {
    margin: 0;
    line-height: 1.5;
}

/* Blogs Button (previously install-button) */
.install-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #fdf8f1, #f7e3c8); /* Soft light orange gradient */
    border: 1px solid #f39c12;
    border-radius: 8px;
    color: #2c3e50;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.install-button:hover {
    background: linear-gradient(to bottom, #f7e3c8, #f4d9af); /* Slightly darker orange on hover */
}

.install-button .icon {
    font-size: 18px;
}

/* Modal Container */
.modal {
    display: none;
    align-items: center; /* Vertical Centering */
    justify-content: center; /* Horizontal Centering */
    position: fixed; /* Stay fixed even when scrolling */
    top: 0;
    left: 0;
    width: 100vw; /* Full width */
    height: 100vh; /* Full height */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 1000; /* Place modal above other elements */
}

/* Modal Content */
.modal-content {
    position: relative; /* Ensure no inherited position issues */
    padding: 20px;
    width: 90%; /* Responsive width */
    max-width: 500px; /* Limit maximum width */
    background-color: white; /* Modal background */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center text inside the modal */
}

.done-button {
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    left: 0%;
    transition: background-color 0.3s ease;
}

.done-button:hover {
    background-color: #0056b3;
}

.option-row {
    display: flex;
    justify-content: space-around; /* Space out options */
    margin-bottom: 20px; /* Space between options and button */
}

.option-box {
    display: flex;
    flex-direction: column; /* Stack symbol and text */
    align-items: center; /* Center align items */
    cursor: pointer; /* Pointer cursor on hover */
    padding: 15px;
    border: 1px solid #ccc; /* Add border for visual separation */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s;
}

.option-box:hover {
    background-color: #f0f0f0; /* Change background on hover */
}

.symbol {
    font-size: 24px; /* Size of the symbols */
    margin-bottom: 5px; /* Space between symbol and text */
}

h3 {
    margin-bottom: 20px;
}

.selection-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-row {
    display: flex;
    justify-content: space-between;
}

.done-button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    bottom: 20px;
    right: 20px;
    transition: background-color 0.3s ease;
}

.done-button:hover {
    background-color: #0056b3;
}

.option-box {
    padding: 15px 20px; /* Combined padding */
    text-align: center;
    border: 2px solid #ccc; /* Unified border style */
    border-radius: 8px; /* Unified border radius */
    cursor: pointer;
    flex: 1;
    margin: 0 10px;
    background-color: #f2f2f2; /* Default background color */
    transition: background-color 0.3s ease, border-color 0.3s ease; /* Combined transitions */
}

.option-box:hover {
    background-color: #f0f8ff;
}

.option-box.selected {
    border-color: #3a83d5;
    background-color: #e9f5ff;
    font-weight: bold;
}

/* Individual Box Styles */
#selection-modal .option-box#guy {
    background-color: #87CEEB; /* Light blue */
    color: white;
    border: 2px solid #4682B4; /* Steel blue */
}

#selection-modal .option-box#girl {
    background-color: #FFB6C1; /* Light pink */
    color: white;
    border: 2px solid #FF69B4; /* Hot pink */
}

#selection-modal .option-box#other {
    background-color: #D3D3D3; /* Light silver-gray */
    color: white;
    border: 2px solid #A9A9A9; /* Dark gray */
}

/* Hover Styles */
#selection-modal .option-box:hover {
    opacity: 0.9;
    transform: scale(1.05); /* Slight zoom effect */
}

/* Selected State */
#selection-modal .option-box.selected {
    border-color: #000; /* Black border for selected */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for emphasis */
}

/* Done Button */
#selection-modal .done-button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    display: block;
    margin: 20px auto 0 auto; /* Center at the bottom */
    width: fit-content;
}

#selection-modal .done-button:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-layout {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        width: 50%;
        height: 10%;
    }

    .content-section {
        width: 100%;
    }

    h2 {
        display: none;
    }

    .imgBody {
        position: relative;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .action-button {
        margin-top: 7px;
        padding: 15px 40px;
    }
}