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

:root {
    --primary-color: #6EC1E4;
    --secondary-color: #54595F;
    --text-color: #7A7A7A;
    --accent-color: #61CE70;
    --accent-yellow: #B7FF3F;
    --blue-color: #056EB4;
    --white: #FFFFFF;
    --black: #000000;
    --light-gray: #FAFAFA;
    --gray: #F4F4F4;
    --font-primary: 'Poppins', sans-serif;
    --max-width: 1280px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

/* Header */
.header {
    padding: 1rem 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: transparent;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    display: block;
    height: 38px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.menu li a {
    display: block;
    padding: 8px 15px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.menu li a:hover {
    color: var(--accent-yellow);
}

.menu-login-btn {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--white);
}

.menu-toggle-icon {
    display: block;
    width: 20px;
    height: 3px;
    background-color: currentColor;
    position: relative;
    border-radius: 3px;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: currentColor;
    border-radius: 3px;
    transition: all 0.3s;
}

.menu-toggle-icon::before {
    top: -8px;
    box-shadow: 0 8px 0 currentColor;
}

.menu-toggle-icon::after {
    bottom: -8px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
    background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
    transform: translateY(8px) rotate(45deg);
    box-shadow: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
    transform: translateY(-8px) rotate(-45deg);
}

.header-button {
    display: flex;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: var(--black);
}

.btn-primary:hover {
    background-color: #a0e633;
}

/* Hero Section */
.hero-section {
    min-height: 800px;
    background-image: url(../images/hero-section.jpg);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0px 0px 0px;
}

/* Masaüstü için hero-section.jpg kullanılır (yukarıdaki default) */

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 52%, rgba(255,255,255,1) 92%);
    pointer-events: none;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding-top: 100px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 45%;
}

.hero-text h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-text p {
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 30px;
}

.hero-text strong {
    color: var(--black);
}

.app-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.app-badges img {
    height: 55px;
    width: auto;
}

.hero-image {
    flex: 1;
    max-width: 55%;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    text-align: center;
}

.how-it-works h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--blue-color);
    margin-bottom: 20px;
}

.section-description {
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 16px;
    font-weight: 300;
    color: var(--black);
    line-height: 1.6;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.step-card {
    background-color: var(--light-gray);
    border-radius: 15px;
    padding: 25px;
    text-align: left;
    transition: background-color 0.3s;
}

.step-card:hover {
    background-color: var(--gray);
}

.step-icon {
    margin-bottom: 15px;
}

.step-icon img {
    width: 35px;
    height: 35px;
    display: block;
}

.step-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    font-weight: 300;
    color: var(--black);
    line-height: 1.5;
}

/* Instructors Section */
.instructors-section {
    padding: 150px 0;
    background-image: url('../images/egitmen-bg.png');
    background-position: center right;
    background-repeat: no-repeat;
    background-size: contain;
}

.section-content {
    display: flex;
    align-items: center;
    max-width: 55%;
}

.section-content.reverse {
    flex-direction: row-reverse;
    margin-left: auto;
    max-width: 55%;
}

.section-text h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
    text-align: left;
}

.section-text p {
    font-size: 16px;
    font-weight: 300;
    color: var(--black);
    margin-bottom: 15px;
    text-align: left;
}

.section-text .btn {
    margin-top: 20px;
}

/* Equipment Section */
.equipment-section {
    padding: 150px 0;
    background-image: url('../images/ekipman-kirala.png');
    background-position: center left;
    background-repeat: no-repeat;
    background-size: contain;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    text-align: center;
}

.features-section h2 {
    font-size: 25px;
    font-weight: 600;
    color: var(--blue-color);
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .features-section h2 {
        font-size: 20px;
    }
}

.features-section .section-description {
    color: var(--black);
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.features-left,
.features-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.features-phone {
    text-align: center;
    flex-shrink: 0;
}

.features-phone img {
    max-width: 295px;
    height: auto;
}

.feature-card {
    background-color: var(--light-gray);
    border-radius: 15px;
    padding: 25px;
    text-align: left;
    transition: background-color 0.3s;
}

.feature-card:hover {
    background-color: var(--gray);
}

.feature-icon {
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    font-weight: 300;
    color: var(--black);
    line-height: 1.5;
}

/* Download Section */
.download-section {
    padding: 150px 0;
    background-color: var(--blue-color);
    background-image: url('../images/home3_10.png');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    position: relative;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--blue-color);
    opacity: 0.88;
}

.download-section .container {
    position: relative;
    z-index: 1;
}

.download-section h2 {
    font-size: 35px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.download-section .section-description {
    max-width: 750px;
    margin: 0 auto 30px;
    color: var(--white);
    font-size: 16px;
    font-weight: 400;
}

.download-section .app-badges {
    justify-content: center;
    gap: 35px;
}

.download-section .app-badges img {
    height: 65px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text,
    .hero-image {
        max-width: 100%;
    }
    
    .section-content,
    .section-content.reverse {
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    .features-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .features-left {
        order: 1;
    }
    
    .features-phone {
        order: 2;
    }
    
    .features-right {
        order: 3;
    }
}

@media (max-width: 767px) {
    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li a {
        color: var(--black);
        padding: 15px;
        border-bottom: 1px solid #eee;
    }
    
    .menu-login-btn {
        display: block;
        margin-top: 10px;
        border-bottom: none !important;
    }
    
    .menu-login-btn .mobile-login-btn {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        border-bottom: none;
        color: var(--black);
        display: block;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .header-button {
        display: none;
    }
    
    .hero-section {
        min-height: 600px;
        padding: 80px 0 0px;
        background-image: url('../images/hero-section-mobile.jpg');
    }
    
    .hero-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-text {
        padding-top: 15px;
        max-width: 100%;
        text-align: center;
        order: -1;
    }
    
    .hero-text h1 {
        font-size: 20px;
        color: #ffffff;
    }
    
    .hero-text p {
        color: #ffffff;
        font-size: 16px;
    }
    
    .hero-text strong {
        color: #ffffff;
    }
    
    .hero-image {
        max-width: 100%;
        order: 1;
    }
    
    .hero-image img {
        max-width: 80%;
    }
    
    .app-badges {
        justify-content: center;
    }
    
    .app-badges img {
        height: 42px;
    }
    
    .how-it-works,
    .features-section {
        padding: 50px 0;
    }
    
    .instructors-section {
        padding: 50px 0;
        background-image: none;
    }
    
    .equipment-section {
        padding: 50px 0;
        background-image: none;
    }
    
    .section-text h2 {
        font-size: 16px;
        text-align: center;
    }
    
    .section-text p {
        font-size: 14px;
        text-align: center;
    }
    
    .section-text .btn {
        display: block;
        text-align: center;
        margin: 20px auto 0;
    }
    
    .download-section {
        padding: 50px 0 70px;
    }
    
    .download-section h2 {
        font-size: 25px;
    }
    
    .download-section .section-description {
        font-size: 14px;
    }
    
    .download-section .app-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .features-wrapper {
        grid-template-columns: 1fr;
    }
    
    .features-left,
    .features-right {
        gap: 15px;
    }
    
    .feature-card {
        text-align: center;
    }
    
    .feature-icon {
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .features-phone {
        text-align: center;
    }
    
    .features-phone img {
        max-width: 60%;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-card,
.feature-card {
    animation: fadeIn 0.6s ease-out;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }

.features-left .feature-card:nth-child(1) { animation-delay: 0.1s; }
.features-left .feature-card:nth-child(2) { animation-delay: 0.2s; }
.features-right .feature-card:nth-child(1) { animation-delay: 0.3s; }
.features-right .feature-card:nth-child(2) { animation-delay: 0.4s; }

/* Footer */
.footer {
    background-color: var(--light-gray);
    padding: 60px 0 30px;
    border-top: 1px solid #E5E5E5;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo img {
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--blue-color);
}

.footer-app-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-app-badges img {
    width: 120px;
    height: auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #E5E5E5;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-color);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.footer-social a:hover {
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-logo img {
        margin: 0 auto 15px;
    }
    
    .footer-logo p {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h4 {
        margin-bottom: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-app-badges {
        align-items: center;
        gap: 12px;
    }
    
    .footer-app-badges img {
        width: 140px;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* Login Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--white);
    border-radius: 16px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    z-index: 10;
}

.modal-close:hover {
    color: var(--black);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header img {
    margin-bottom: 20px;
}

.login-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
}

.login-header p {
    font-size: 16px;
    color: var(--text-color);
    margin: 0;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-primary);
    color: var(--black);
    background-color: var(--white);
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--blue-color);
}

.form-group input::placeholder {
    color: #B0B0B0;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    cursor: pointer;
    accent-color: var(--blue-color);
}

.forgot-password-link {
    color: var(--blue-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.forgot-password-link:hover {
    color: #045a9a;
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 500;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
}

.back-to-login {
    color: var(--blue-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.back-to-login:hover {
    color: #045a9a;
    text-decoration: underline;
}

.forgot-password-modal {
    max-width: 420px;
}

@media (max-width: 767px) {
    .modal-content {
        padding: 30px 20px;
        max-width: 100%;
        border-radius: 12px;
    }
    
    .login-header h2 {
        font-size: 24px;
    }
    
    .login-header p {
        font-size: 14px;
    }
    
    .form-options {
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
}
