/* GENERAL STYLES */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    font-family: "Roboto", sans-serif;
    color: #fff;
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
}
ion-icon {
    font-size: 25px;
}
a {
    color: #fff;
    text-decoration: none;
}
/* NAVBAR */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    height: 80px;
    width: 100%;
    padding: 0 30px;
    font-size: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
}
.navbar > div {
    padding: 0 5px;
}
.logo {
    margin: 0 auto;
    font-size: 30px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.logo img {
    max-width: 200px;
    height: auto;
    margin-top: 30px;
    margin-left: 60px;
}
/* CONTENT */
.content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}
.split {
    position: absolute;
    width: 50%;
    height: 100%;
    overflow: hidden;
}
.split.left {
    left: 0;
    background: #EE6124;
}
.split.right {
    right: 0;
    background: #3B929C;
}
.racket-left, .racket-right {
    width: 55%;
    position: absolute;
    top: 15%;
    left: 40%;
    transition: transform 0.3s ease;
}
.text {
    width: 600px;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
}
.text .subtitle {
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 2px;
}
.text .title {
    font-size: 80px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 5px;
    margin-top: 10px;
}
.text .desc {
    font-size: 14px;
    color: #fff;
    font-weight: 300;
    line-height: 1.6;
    margin: 10px 0 30px;
    width: 400px;
}
.text .button {
    font-size: 16px;
    background: #fff;
    border: 2px solid #fff;
    padding: 15px 50px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    outline: none;
    border-radius: 100px;
}
.buttons-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 20px;
}
.button-left {
    color: #EE6124;
}
.button-right {
    color: #3B929C;
}
.text .button:hover {
    color: #fff;
    background: transparent;
}

/* DESKTOP HOVER ANIMATION */
@media only screen and (min-width: 1201px) {
    .split:hover .racket-left,
    .split:hover .racket-right {
        transform: scale(1.1);
    }
}

/* MOBILE STYLES */
@media only screen and (max-width: 768px) {
    html, body { height: 100%; overflow: hidden; }
    body { display: flex; flex-direction: column; }
    .navbar { position: relative; background: #FFF; height: 70px; padding: 0 15px; flex-shrink: 0; }
    .logo img { content: url("./img/logo-m.png"); width: 120px; margin: 0 auto; padding-bottom: 0; margin-top: 0; }
    ion-icon { color: #000; }
    .content { flex-direction: column; flex: 1; height: auto; }
    .split { position: relative; width: 100%; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; }
    .racket-left, .racket-right { width: 50%; top: 10%; left: 45%; opacity: 1; z-index: 1; pointer-events: none; }
    .text { position: relative; width: 90%; top: auto; left: auto; transform: none; padding: 10px; text-align: center; z-index: 2; }
    .text .title { font-size: 36px; letter-spacing: 2px; }
    .text .subtitle { font-size: 13px; }
    .text .desc { font-size: 12px; margin: 5px 0 15px 0; width: 100%; max-width: 400px; }
    .buttons-container { flex-direction: column; align-items: center; gap: 12px; width: 100%; }
    .text .button { width: 220px; padding: 12px 0; font-size: 14px; margin: 0; }
}

/* MODAL STYLES - ORIGINALŪS IŠ PRADINIO FAILO */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(4px);
}
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    border: none;
    width: 90%;
    max-width: 1200px;
    border-radius: 20px;
    color: #333;
    animation: fadeIn 0.3s;
    box-shadow: none;
    position: relative;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.close-button {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #333;
    font-size: 50px;
    font-weight: 100;
    line-height: 1;
    font-family: "Roboto", sans-serif;
    cursor: pointer;
    opacity: 0.5;
    transition: color 0.2s ease, opacity 0.2s ease;
    z-index: 100;
}
.close-button:hover { color: #EE6124; opacity: 1; }
.modal-title {
    text-align: center;
    color: #3B929C;
    font-size: 32px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}
.modal-contact {
    text-align: center;
    margin-bottom: 40px;
    font-size: 16px;
    color: #666;
}
.modal-contact a { color: #EE6124; font-weight: bold; text-decoration: none; }
.section-title {
    color: #EE6124;
    font-size: 22px;
    margin-bottom: 25px;
    margin-top: 40px;
    border-bottom: 1px solid #eee;
    display: block;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.coaches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}
.coach-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid transparent;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.coach-img {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #eee;
    aspect-ratio: 4 / 5;
}
.coach-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.coach-card h4 {
    color: #3B929C;
    font-size: 19px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}
.coach-card ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 15px;
    font-size: 14px;
    color: #444;
}
.coach-card ul li {
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}
.coach-card ul li::before {
    content: "•";
    color: #EE6124;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.2;
}
.coach-card .services {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    line-height: 1.5;
}
.coach-card .services strong {
    color: #333;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

/* RESPONSIVE ADJUSTMENTS FOR MODAL */
@media only screen and (max-width: 1024px) {
    .coaches-grid { grid-template-columns: repeat(2, 1fr); }
}
@media only screen and (max-width: 768px) {
    .coaches-grid { grid-template-columns: 1fr; gap: 30px; }
    .modal-content { padding: 25px; width: 95%; margin: 20px auto; }
    .close-button { font-size: 40px; padding: 5px; }
}