/* Base styles */
.layout-selection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../icons/Dracan_top_txt1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    overflow: auto; /* Enable scrolling */
}

/* WebKit-based browsers (Chrome, Safari) */
.layout-selection::-webkit-scrollbar {
    width: 8px;
}

.layout-selection::-webkit-scrollbar-track {
    background: #333;
    border-radius: 4px;
}

.layout-selection::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 4px;
    border: 2px solid #333;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.layout-selection::-webkit-scrollbar-thumb:hover {
    background-color: #D78565;
    border-color: #D78565;
}

/* Firefox */
.layout-selection {
    scrollbar-width: thin;
    scrollbar-color: #555 #333; /* thumb color and track color */
}

/* Additional styles for consistency across browsers */
.layout-selection:hover {
    scrollbar-color: #D78565 #333; /* Changes scrollbar color on hover */
}

.layout-selection .layout-logo {
    width: 300px;
    height: auto;
    margin-bottom: 40px;
    margin-top: 10px;
    position: absolute;
    top: 10px;
}

.layout-selection .layout-title {
    font-weight: bold;
    font-family: 'Conquera', sans-serif;
    font-size: 36px;
    color: #D78565;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-align: center; /* Center align the title */
    text-transform: uppercase; /* All caps */
    letter-spacing: 1.5px;
}

.layout-selection .layout-options {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    width: 80%;
}

.layout-selection .layout-option {
    background-color: #1b1b1b;
    border-radius: 8px;
    padding: 30px;
    width: 30%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: center; /* Center all content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.layout-selection .layout-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid #D78565;
}

.layout-selection .layout-option-title {
    font-family: 'Conquera', sans-serif;
    font-size: 20px;
    color: #D78565;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
}

.layout-selection .layout-option-description {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #bbb;
    line-height: 1.5;
    text-align: left; /* Left align the description */
    margin-bottom: 10px;
    padding-left: auto; /* Add padding for the tick marks */
    list-style-type: none; /* Remove default bullets */
}

.layout-selection .layout-option-description li {
    position: relative;
    padding-left: 20px; /* Space for the tick mark */
    margin-bottom: 10px;
}

.layout-selection .layout-option-description li::before {
    content: '✔'; /* Unicode character for a check mark */
    position: absolute;
    left: 0;
    color: #D78565; /* Match the theme color */
    font-size: 16px; /* Size of the tick mark */
}


/* Coming Soon Overlay for versions */
.coming-soon {
    position: relative;
    cursor: not-allowed;
    overflow: hidden; /* Ensure child elements do not overflow */
    border: 2px solid #444; /* Border to match the design theme */
    border-radius: 8px; /* Rounded corners for a sleek look */
}

.coming-soon::before {
    content: "Coming Soon";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.75); /* Dark overlay for better contrast */
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-family: 'Conquera', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 10;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.coming-soon:hover::before {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 1;
}

.coming-soon::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 5;
}

/* Responsive adjustments for tablets (1024px and below) */
@media (max-width: 1024px) {
    .layout-selection .layout-options {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 30px;
    }

    .layout-selection .layout-option {
        width: 80%;
        max-width: 400px;
    }

    .layout-selection .layout-title {
        font-size: 30px;
        margin-top: 35%;
        margin-bottom: 30px;
    }
}

/* Responsive adjustments for tablets and large phones (768px and below) */
@media (max-width: 768px) {
    .layout-selection .layout-options {
        width: 90%;
        gap: 20px;
    }

    .layout-selection .layout-option {
        width: 90%;
        padding: 20px;
    }

    .layout-selection .layout-title {
        font-size: 24px;
        margin-bottom: 20px;
        margin-top: 30%;
    }

    .layout-selection .layout-logo {
        width: 250px;
    }

    .layout-selection .layout-option-title {
        font-size: 20px;
    }

    .layout-selection .layout-option-description {
        font-size: 14px;
        padding-left: 15px; /* Adjust padding for smaller screens */
    }
}

/* Responsive adjustments for mobile phones (480px and below) */
@media (max-width: 480px) {
    .layout-selection .layout-options {
        width: 100%;
        gap: 10px;
    }

    .layout-selection .layout-option {
        width: 85%;
        padding: 15px;
    }

    .layout-selection .layout-title {
        font-size: 20px;
        margin-bottom: 15px;
        margin-top: 15%;
    }

    .layout-selection .layout-logo {
        width: 200px;
    }

    .layout-selection .layout-option-title {
        font-size: 18px;
    }

    .layout-selection .layout-option-description {
        font-size: 12px;
        padding-left: 10px; /* Further adjust padding */
    }
}
