/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    color: white;
}

main {
    flex: 1 0 auto;
    padding-top: 76px;
}

/* Page Headers */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 0;
    position: relative;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(120deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleFade 1s ease-in;
}

.page-header p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 0.3s;
}

/* Content Cards */
.content-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-in forwards;
    backdrop-filter: blur(10px);
}

.content-card:hover {
    transform: translateY(-5px);
    border-color: rgba(52, 152, 219, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.content-card h2, .content-card h3 {
    color: #3498db;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.content-card p {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Roboto', sans-serif;
}

/* Publications Specific */
.publication-type {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.publication-year {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-left: 1rem;
}

.publication-authors {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.publication-abstract {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    line-height: 1.6;
}

.publication-links {
    margin-top: auto;
    padding-top: 1rem;
}

.content-card h2 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #3498db;
    font-family: 'Playfair Display', serif;
}

.content-card.h-100 {
    display: flex;
    flex-direction: column;
}

.content-card .btn-outline-primary {
    color: #3498db;
    border-color: #3498db;
    transition: all 0.3s ease;
}

.content-card .btn-outline-primary:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* Projects Specific */
.project-technologies {
    margin-top: 1rem;
}

.project-tech-item {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 0.2rem;
}

/* About Page Specific */
.about-section {
    max-width: 800px;
    margin: 0 auto;
}

.about-section h2 {
    color: #3498db;
    margin: 2rem 0 1rem;
    font-family: 'Playfair Display', serif;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    background-size: cover;
    background-position: center;
    color: white;
    padding-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(26, 26, 26, 0.8) 0%, rgba(44, 62, 80, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    border: 4px solid #3498db;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    animation: profilePulse 2s infinite;
}

.profile-photo:hover {
    transform: scale(1.05);
    border-color: #2ecc71;
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.4);
}

.hero-name {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(120deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleFade 1s ease-in;
}

.hero-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 0.5s;
}

.tech-stack {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 1s;
}

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-item:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: translateY(-3px);
    border-color: #3498db;
}

/* Social Icons */
.social-links {
    margin-top: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 1.5s;
}

.social-icon {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #3498db;
    transform: translateY(-3px);
}

/* Animations */
@keyframes profilePulse {
    0% {
        box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(52, 152, 219, 0.5);
    }
    100% {
        box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
    }
}

@keyframes titleFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sosyal medya linkleri */
.social-links a {
    transition: opacity 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 1.5rem;
    color: white !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: #3498db !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    transform: translateY(-2px);
}

/* Content Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    margin-bottom: 3rem;
    text-align: center;
}

/* Cards */
.card {
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(52, 152, 219, 0.5), transparent);
}

footer .container {
    position: relative;
    z-index: 2;
}

footer p {
    font-family: 'Roboto', sans-serif;
    margin-bottom: 0;
    opacity: 0.8;
}

footer .social-links {
    margin-top: 0;
}

footer .social-icon {
    font-size: 1.2rem;
    margin: 0 0.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

footer .social-icon:hover {
    opacity: 1;
    color: #3498db;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding: 6rem 0;
    }
    
    .social-icon {
        font-size: 1.2rem;
        margin: 0 0.5rem;
    }
}

/* Contact Page Specific */
.contact-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
    color: white;
}

.contact-form .form-floating > label {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form .form-floating > .form-control:focus ~ label,
.contact-form .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: rgba(255, 255, 255, 0.8);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.contact-form .form-floating > .form-control:focus,
.contact-form .form-floating > .form-control:not(:placeholder-shown) {
    background: rgba(255, 255, 255, 0.1);
}

.contact-form .form-floating > .form-control:-webkit-autofill {
    -webkit-text-fill-color: white;
    box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.1) inset;
}

.contact-form .btn-primary {
    background: #3498db;
    border: none;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.contact-info {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    width: 30px;
    color: #3498db;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #3498db;
}

.contact-social {
    margin-top: 1.5rem;
}

.contact-social .social-icon {
    font-size: 1.3rem;
    margin: 0 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.contact-social .social-icon:hover {
    color: #3498db;
    transform: translateY(-3px);
}

/* Form Animations */
.contact-form .form-floating {
    opacity: 0;
    transform: translateY(20px);
    animation: formFadeIn 0.5s ease forwards;
}

.contact-form .form-floating:nth-child(1) { animation-delay: 0.2s; }
.contact-form .form-floating:nth-child(2) { animation-delay: 0.3s; }
.contact-form .form-floating:nth-child(3) { animation-delay: 0.4s; }
.contact-form .form-floating:nth-child(4) { animation-delay: 0.5s; }

.contact-form .btn-primary {
    opacity: 0;
    animation: formFadeIn 0.5s ease forwards;
    animation-delay: 0.6s;
}

@keyframes formFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 