/* Reset & Basic Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a,
a:link,
a:visited,
a:hover,
a:active {
    color: inherit;
}

button,
button:hover,
button:active,
button:focus {
    color: inherit;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #505050;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

button {
    border-radius: 10px;
}

/* Main Container */
.main-container {
    width: 1400px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    margin-bottom: 50px;
    border-radius: 10px;
}

/* Images */
img {
    max-width: 100%;
    display: block;
}

/* Screen 1: Banner */
.screen-1 {
    position: relative;
}

.screen-1 img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.login-area {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-username,
.login-logout-text {
    font-weight: 700;
    color: #fff;
}

.login-logout-text {
    display: none;
}

.login-area.logged-in:hover .login-username {
    display: none;
}

.login-area.logged-in:hover .login-logout-text {
    display: inline;
}

.login-btn {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    padding: 0;
}

.login-btn:hover {
    transform: scale(1.05);
}

.login-btn img {
    width: 24px;
    height: 24px;
    border-radius: 0;
    transition: transform 0.2s;
}

.login-area.logged-in:hover .login-btn img {
    transform: scale(1.15);
}

/* Screen 2: Navigation */
.screen-2 {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    /* Spacing from edges */
    gap: 20px;
}

.nav-btn {
    background: none;
    border: 1px solid #ddd;
    /* Placeholder border, maybe user wants specific style? Using generic nice style */
    padding: 15px;
    cursor: pointer;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
    flex: 1;
    /* Distribute width evenly */
    display: flex;
    /* For centering content */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

/*BEGIN: Button on main page Alexandr Kagan*/

.index_btn_alex_kagan{
    background: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 15px;
    cursor: pointer;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}


.index_btn_alex_kagan .btn_title {
    display: block;
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.index_btn_alex_kagan .btn_desc {
    display: block;
    font-weight: 700;
    font-size: 1em;
    color: #fff;
}

/*END: Button on main page Alexandr Kagan*/



/*BEGIN: Button on main page Gary Wolf*/
.index_btn_gary_wolf{
    background: #c0c0c0;
    color: #fff;
    border: 1px solid #000;
    padding: 15px;
    cursor: pointer;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

.index_btn_gary_wolf .btn_title {
    display: block;
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 5px;
    color: #000000;
}
.index_btn_gary_wolf .btn_desc {
    display: block;
    font-weight: 700;
    font-size: 1em;
    color: #000000;
}
/*END: Button on main page Gary Wolf*/



/*BEGIN: Button on main page two ander btn*/
.index_btn_two_ander{
    background-color: #f0e132;
    font-weight: 700;
    border: 1px solid #000;
    padding: 15px;
    cursor: pointer;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

/*END: Button on main page two ander btn*/

.record-btn-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.record-btn-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.record-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.record-btn-icon img {
    width: 18px;
    height: 18px;
}



.top-row .nav-btn {
    border: 2px solid #000;
    /* Differentiate top buttons slightly if needed, purely aesthetic guess */
    background-color: #f9f9f9;
}

.nav-btn:hover {
    background-color: #eee;
}

.btn-name {
    display: block;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.btn-desc {
    display: block;
    font-size: 0.9em;
    color: #555;
}

.btn-desc.bold {
    font-weight: 700;
    color: #000;
}

.logo-container {
    flex: 0 0 auto;
    /* Don't grow/shrink logo container arbitrarily */
    padding: 0 20px;
}

.nav-logo {
    height: 100px;
    /* Adjust based on actual logo aspect ratio */
    width: auto;
}

.bottom-row .nav-btn {
    background-color: #f9f9f9;
    color: #d32f2f;
    font-weight: bold;
    border: 2px solid #000;
    font-size: 1.2em;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.bottom-row .nav-btn:hover {
    background-color: #eee;
}


/* Screen 3: Seasons */
.screen-3 {
    display: flex;
    flex-direction: column;
}

.seasons-header {
    background-color: #d32f2f;
    /* Red background */
    color: white;
    padding: 30px;
    text-align: center;
}

.seasons-header h2 {
    font-size: 2.5em;
    /* Large header */
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
}

.seasons-grid-container {
    padding: 20px 40px;
    display: flex;
    gap: 20px;
    background-color: #f9f9f9;
}

.seasons-add-container {
    padding: 0 40px 30px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: flex-start;
}

.season-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.season-btn {
    background-color: #d32f2f;
    border: 1px solid #ccc;
    padding: 15px;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    white-space: pre-wrap;
    word-break: break-word;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.season-btn:hover {
    transform: scale(1.05);
    background-color: #b71c1c;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.season-add-btn {
    background-color: #2e7d32;
    border-color: #1b5e20;
}

.season-add-btn:hover {
    background-color: #256628;
}


/* Screen 4: Slider */
.screen-4 {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover the 500px height */
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(249, 249, 249, 0.719);
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgb(249 249 249);
}

.slider-btn img {
    width: 20px;
    height: 20px;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* Screen 5: Paris Button */
.screen-5 {
    padding: 15px;
    background-color: #f4f4f4;
    /* Match body bg or distinct? */
    display: flex;
    /* Center if needed, or full width? "One long big button" */
    border-radius: 0px 0px 10px 10px;
}

.paris-btn {
    width: 100%;
    background: linear-gradient(90deg, #000 0%, #000 33.333%, #d32f2f 33.333%, #d32f2f 66.666%, #000 66.666%, #000 100%);
    color: white;
    font-size: 2em;
    padding: 0 15px;
    height: 40px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    transition: background-color 0.3s;
}

.paris-btn:hover {
    background-color: #333;
}

/* Responsiveness */
@media (max-width: 1440px) {
    .main-container {
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-row {
        flex-direction: column;
        padding: 0 20px;
    }

    .top-row {
        flex-direction: column;
    }

    .nav-btn {
        width: 100%;
        min-height: 60px;
    }

    .index_btn_alex_kagan,
    .index_btn_gary_wolf,
    .index_btn_two_ander {
        width: 100%;
    }

    .logo-container {
        padding: 10px 0;
        order: -1;
    }

    .seasons-grid-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }

    .season-column {
        display: contents;
    }

    .season-btn {
        width: 100%;
    }

    .screen-4 {
        height: 300px;
    }

    .main-container {
        border-radius: 0;
    }

    .screen-1 img {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .screen-5 {
        border-radius: 0;
    }
}

/* Login Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-window {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.modal-title {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
    font-weight: bold;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-error {
    color: #b71c1c;
    font-weight: 700;
}

.modal-input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.modal-input:focus {
    border-color: #d32f2f;
}

.modal-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.modal-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}

.cancel-btn {
    background-color: #e0e0e0;
    color: #333;
}

.cancel-btn:hover {
    background-color: #d5d5d5;
}

.submit-btn {
    background-color: #d32f2f;
    color: white;
}

.submit-btn:hover {
    background-color: #b71c1c;
}
