/*DUYGUSAL ZEKA PLATFORMU*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Nunito:wght@400;600;700&display=swap');

:root {
    /* Neural Palette - Calming & Focus */
    --bg-main: #f4f6f8;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);

    /* Primary Colors - Ocean Breeze (Replacing Purple) */
    --primary: #0EA5E9;
    /* Sky Blue - Modern & Vibrant */
    --primary-light: #7DD3FC;
    /* Softer Sky Blue */
    --secondary: #48C774;
    /* Nature Green */
    --accent: #FF9F43;
    /* Warm Orange (for highlights) */

    /* Text Colors - High Readability, Low Strain */
    --text-dark: #2C3E50;
    /* Dark Slate Blue */
    --text-medium: #636e72;
    --text-light: #b2bec3;

    /* UI Elements */
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow-soft: 0 10px 40px -10px rgba(0, 136, 204, 0.15);
    /* Tinted with blue */
    --shadow-hover: 0 20px 60px -15px rgba(0, 136, 204, 0.25);
    --radius-lg: 30px;
    --radius-md: 20px;
}

body {
    background: var(--bg-main);
    font-family: 'Nunito', sans-serif;
    /* Rounded, friendly font */
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/*
   MENU OVERLAY & HAMBURGER
*/

.hamburger-btn {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 1000;
    background: var(--white);
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hamburger-btn span {
    width: 24px;
    height: 3px;
    background: var(--primary);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 136, 204, 0.3);
}

.hamburger-btn.active {
    background: var(--primary);
}

.hamburger-btn.active span {
    background: var(--white);
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 62, 80, 0.4);
    backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Side Menu - Completely Hidden */
.side-menu {
    position: fixed;
    top: 0;
    left: -100%;
    /* Push completely off screen */
    width: 300px;
    /* Fixed width */
    max-width: 80vw;
    height: 100vh;
    background: var(--white);
    z-index: 999;
    padding: 0;
    /* Remove padding, we'll add it to children */
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.1);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* Only transition left property */
    border-radius: 0 30px 30px 0;
    display: flex;
    flex-direction: column;
    /* Stack menu title, links, and footer */
}

.side-menu.active {
    left: 0;
}

.menu-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.8rem;
    margin: 0;
    padding: 100px 30px 1.5rem 30px;
    /* Top padding for hamburger space */
    letter-spacing: -0.5px;
    flex-shrink: 0;
    /* Don't shrink */
}

.menu-footer {
    flex-shrink: 0;
    /* Don't shrink */
    text-align: center;
    padding: 1rem 30px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: white;
}

.menu-footer p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.nav-links {
    list-style: none;
    padding: 0 30px 1rem 30px;
    /* Horizontal padding, small bottom padding */
    margin: 0;
    overflow-y: auto;
    /* Enable scroll for the links */
    flex: 1;
    /* Take remaining space */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
}

/* Custom scrollbar for nav-links */
.nav-links::-webkit-scrollbar {
    width: 6px;
}

.nav-links::-webkit-scrollbar-track {
    background: transparent;
}

.nav-links::-webkit-scrollbar-thumb {
    background: rgba(0, 136, 204, 0.2);
    border-radius: 10px;
}

.nav-links::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 136, 204, 0.4);
}

.nav-links li {
    margin-bottom: 0.8rem;
    /* Reduce spacing slightly */
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Reduce gap slightly */
    padding: 14px 18px;
    /* Slightly smaller padding */
    background: #F7F7FA;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.95rem;
    /* Slightly smaller font */
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0, 136, 204, 0.3);
}

/*    DASHBOARD / MAIN
*/

.dashboard-header {
    text-align: center;
    padding: 8rem 2rem 4rem;
    /* More top padding for menu space */
    position: relative;
    background: radial-gradient(circle at top center, rgba(0, 136, 204, 0.08) 0%, rgba(244, 246, 248, 0) 70%);
}

.dashboard-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
    line-height: 1.2;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.dashboard-subtitle {
    font-size: 1.4rem;
    color: var(--text-medium);
    font-weight: 600;
    max-width: 600px;
    margin: 0 auto;
}

/* Decorative Hero Elements */
.dashboard-header::before {
    content: '✨';
    position: absolute;
    font-size: 3rem;
    top: 15%;
    left: 15%;
    opacity: 0.5;
    animation: float 4s ease-in-out infinite;
}

.dashboard-header::after {
    content: '🌟';
    position: absolute;
    font-size: 2.5rem;
    top: 20%;
    right: 15%;
    opacity: 0.5;
    animation: float 5s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    /* Slightly wider cards */
    gap: 40px;
    /* More breathing room */
    max-width: 1280px;
    margin: 0 auto 6rem;
    padding: 0 30px;
}

/* Premium Glass Cards */
.session-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    /* Soft gradient background */
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFC 100%);
}

.session-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.session-card-img {
    height: 220px;
    /* Soft colorful background based on session type could be cool, keeping it neutral-fresh for now */
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f4f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.session-card-img::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 60%);
    opacity: 0.5;
}

.session-card-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.session-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.session-desc {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.start-btn {
    align-self: flex-start;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 136, 204, 0.2);
    cursor: pointer;
}

.session-card:hover .start-btn {
    background: #0077b3;
    padding: 12px 40px;
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
    transform: translateY(-2px);
}

/* Badges */
.status-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

/* Appointment Section */
#appointment-portal {
    background: #ffffff;
    max-width: 900px;
    /* Centered width */
    margin: 4rem auto 6rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px -20px rgba(0, 136, 204, 0.1);
    padding: 5rem 3rem !important;
    text-align: center;
    border: 1px solid #f0f2f5;
    position: relative;
    overflow: hidden;
}

/* Subtle decoration for appointment */
#appointment-portal::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 136, 204, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
}

/* Specific Fix for Appointment Button */
#appointment-portal .start-btn {
    background: var(--accent);
    /* Orange for visibility/action */
    color: white;
    font-size: 1.1rem;
    padding: 16px 45px;
    margin-top: 1rem;
    box-shadow: 0 10px 25px rgba(255, 159, 67, 0.3);
    position: relative;
    z-index: 2;
}

#appointment-portal .start-btn:hover {
    background: #FF8F2C;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 159, 67, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-title {
        font-size: 2.2rem;
    }

    .session-card-img {
        height: 180px;
    }

    .hamburger-btn,
    .top-login-btn {
        top: 15px;
    }

    .hamburger-btn {
        left: 15px;
        width: 50px;
        height: 50px;
    }

    .top-login-btn {
        right: 15px;
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .dashboard-header {
        padding: 6rem 1.5rem 3rem;
    }

    #appointment-portal {
        margin: 3rem 1rem;
        padding: 3rem 2rem !important;
    }
}

/*    FOOTER STYLES
*/

.site-footer {
    background: white;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-medium);
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 600;
}

.footer-section a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Top Right Login Button */
.top-login-btn {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 990;
    /* Below modal overlay but above content */
    background: var(--white);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
}

.top-login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 136, 204, 0.2);
    background: var(--primary);
    color: white;
}

/*    AUTH PAGES (LOGIN & REGISTER)
*/

.auth-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    /* Fallback gradient */
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
}

.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    /* Light overlay to keep text readable */
    backdrop-filter: blur(5px);
    z-index: 0;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.auth-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 4rem 3rem;
    border-radius: 40px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    width: 100%;
    max-width: 500px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.auth-header {
    margin-bottom: 3rem;
}

.auth-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: white;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    color: var(--primary);
}

.auth-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.auth-subtitle {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Premium Inputs */
.auth-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
    position: relative;
}

.auth-form label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-medium);
    margin-left: 1rem;
    margin-bottom: 0.4rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-input {
    width: 100%;
    padding: 18px 25px;
    font-size: 1.1rem;
    border: 2px solid #e1e8ed;
    border-radius: 20px;
    background: #fdfdfd;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    outline: none;
    box-sizing: border-box;
    /* Fix padding issue */
}

.auth-input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.1);
    transform: translateY(-2px);
}

.auth-btn {
    width: 100%;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    background: var(--primary);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 10px 20px rgba(0, 136, 204, 0.3);
}

.auth-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.4);
}

.auth-footer {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-medium);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-footer a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/*    DASHBOARD / MAIN BACKGROUND
*/

.dashboard-page {
    /* Soft Blue Sky / Clouds - Openness and Calm */
    background: url('https://images.unsplash.com/photo-1513002749550-c59d786b8e6c?auto=format&fit=crop&w=1920&q=80') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    min-height: 100vh;
}

/* Overlay to ensure text readability against the image */
.dashboard-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(244, 246, 248, 0.85);
    /* Matches original bg-main but semi-transparent */
    backdrop-filter: blur(3px);
    /* Slight blur for focus */
    z-index: -1;
}

/* Ensure content sits above overlay */
.dashboard-header,
.dashboard-grid,
#appointment-portal,
.site-footer {
    position: relative;
    z-index: 1;
}