/* ===== CSS RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #f8f6f0;
    --secondary-color: #f5f2e8;
    --accent-color: #e8e2d4;
    --text-primary: #2c2c2c;
    --text-secondary: #5a5a5a;
    --text-light: #8a8a8a;
    --white: #ffffff;
    --cream: #faf8f5;
    --shadow: rgba(44, 44, 44, 0.1);
    --shadow-light: rgba(44, 44, 44, 0.05);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --header-height: 80px;
    --container-padding: 2rem;
    --section-padding: 5rem 0;
    
    /* Border radius */
    --border-radius: 12px;
    --border-radius-small: 8px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

/* ===== BASE STYLES ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius-small);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--white);
    border-color: var(--text-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--text-primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--accent-color);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px var(--shadow-light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: var(--header-height);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-primary);
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-weight: 400;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--text-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 70vh;
}

.hero-text {
    animation: fadeInLeft 1s ease-out;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out;
}

.image-container {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.profile-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px var(--shadow);
    transition: var(--transition-slow);
}

.profile-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px var(--shadow);
}

.image-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    border-radius: var(--border-radius);
    z-index: -1;
    transition: var(--transition-slow);
}

.image-container:hover .image-overlay {
    transform: translate(10px, 10px);
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--section-padding);
    background-color: var(--primary-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.about-intro {
    margin-bottom: 3rem;
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.experience, .education {
    margin-bottom: 3rem;
}

.experience-item, .education-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--accent-color);
}

.experience-year, .education-year {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.experience-details h4, .education-details h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.experience-details p, .education-details p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.additional-info {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* ===== MASTERCLASSES SECTION ===== */
.masterclasses {
    margin-bottom: 3rem;
}

.masterclass-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.masterclass-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-small);
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
}

.masterclass-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow);
    border-left-color: var(--text-primary);
}

.masterclass-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.masterclass-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ===== VIDEOS SECTION ===== */
.videos {
    padding: var(--section-padding);
    background-color: var(--white);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.video-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: var(--transition-slow);
}

.video-card:hover {
    box-shadow: 0 20px 40px var(--shadow);
}

.video-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: var(--border-radius-small);
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.play-button i {
    font-size: 2rem;
    color: var(--text-primary);
    margin-left: 4px; /* Play button visual alignment */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1;
}

/* Hover effects */
.video-link:hover .thumbnail-image {
    transform: scale(1.05);
}

.video-link:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.video-link:hover .video-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.video-link:hover .video-card {
    transform: translateY(-10px);
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.video-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: var(--transition-slow);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.contact-link {
    color: var(--text-secondary);
    transition: var(--transition);
}

.contact-item:hover .contact-link {
    color: var(--text-primary);
}

.contact-item:focus {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}

.contact-message {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.contact-message p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--text-primary);
    color: var(--white);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --section-padding: 3rem 0;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    /* Hero Section */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .image-container {
        max-width: 300px;
    }
    
    /* About Section */
    .about-intro,
    .experience,
    .education,
    .masterclasses {
        text-align: center;
    }
    
    .experience-item, .education-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .experience-year, .education-year {
        text-align: center;
    }
    
    /* Videos Section */
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Contact Section */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Footer */
    .footer-content {
        text-align: center;
        flex-direction: column;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    /* Tablet styles */
    .about-intro,
    .experience,
    .education,
    .masterclasses {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .video-card {
        margin: 0 auto;
        max-width: 350px;
    }
}

/* ===== SMOOTH SCROLL BEHAVIOR ===== */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
    
    .hero-text {
        animation: fadeInLeft 1s ease-out;
    }
    
    .hero-image {
        animation: fadeInRight 1s ease-out;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus states for accessibility */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}

/* Navigation links focus state - sadece outline kaldır */
.nav-link:focus {
    outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000000;
        --text-secondary: #333333;
        --shadow: rgba(0, 0, 0, 0.3);
    }
}
