﻿:root {
    --primary-color: #0ea5e9;
    /* Medical Blue */
    --secondary-color: #0284c7;
    --text-color: #334155;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--font-heading);
}

.logo.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    padding-top: 100px;
    padding-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-visuals {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.visual-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    /* Circular for a softer look, or 12px for rounded rect */
    border: 4px solid var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.hero-img:hover {
    transform: scale(1.05);
}

.hero-bg-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bg-icon {
    position: absolute;
    opacity: 0.05;
    /* Very subtle silhouette */
    mix-blend-mode: multiply;
}

.hero-bg-profile {
    top: 0;
    right: 25%;
    /* Moved significantly left to reveal face */
    height: 100%;
    width: 60%;
    /* Increased width slightly */
    object-fit: cover;
    opacity: 0.6;
    mix-blend-mode: normal;
    /* Gradient mask on both sides: fade in from left, fade out to right */
    mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
    z-index: 0;
}

.scalpel-bg {
    top: 25%;
    left: 25%;
    width: 400px;
    transform: rotate(45deg);
}

.stethoscope-bg {
    bottom: -10%;
    right: -5%;
    width: 500px;
    transform: rotate(-15deg);
}

.hero-container {
    position: relative;
    z-index: 1;
    /* Ensure content is above background icons */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
}

.hero-small {
    background: var(--bg-light);
    padding-top: 120px;
    padding-bottom: 40px;
    text-align: center;
}

.hero h1,
.hero-small h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #475569;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section h2 {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #0f172a;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Projects/Interests Grid */
.project-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.project-card {
    flex: 1 1 300px;
    max-width: 400px;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary-color);
    text-align: center;
    /* Center text inside cards too */
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.project-card h3,
.contact-details h3 {
    margin-bottom: 15px;
    color: #0f172a;
    font-family: var(--font-heading);
}

/* Contact Info & Form */
.contact-info {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(14, 165, 233, 0.3);
}

.contact-action {
    text-align: center;
    margin-top: 20px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 20px;
}

.contact-details h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-details p {
    margin-bottom: 20px;
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #475569;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Footer */
footer {
    background-color: #1e293b;
    color: #94a3b8;
    text-align: center;
    padding: 30px 0;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-container {
        flex-direction: column-reverse;
        /* Visuals on top or bottom? Let's keep text on top usually, but column-reverse puts visuals on top if text is first in HTML? No, column puts text on top. */
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-visuals {
        margin-top: 30px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        /* Mobile menu would go here */
    }
}

/* Port Kateter Sayfası Stilleri */
.content-block {
    margin-bottom: 40px;
}

.content-block h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.divider {
    border: 0;
    height: 1px;
    background: #e2e8f0;
    margin: 40px 0;
}

.flex-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.flex-container.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.image-content {
    flex: 1;
    text-align: center;
}

.info-img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.info-list {
    list-style: none;
}

.info-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.info-list li::before {
    content: '\f058';
    /* FontAwesome check circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 2px;
}

.alert-box {
    background-color: #fff7ed;
    border-left: 4px solid #f97316;
    padding: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.alert-box i {
    font-size: 1.5rem;
    color: #f97316;
}

.alert-box p {
    margin: 0;
    color: #9a3412;
    font-weight: 600;
}

@media (max-width: 768px) {

    .flex-container,
    .flex-container.reverse {
        flex-direction: column;
    }

    .image-content {
        margin-top: 20px;
    }
}