/* style.css - Hoopsikoloji Strict Brand Colors */

:root {
    /* Exact Colors as Requested */
    --color-primary: #E96B65;
    /* Pembe (Ana Renk) */
    --color-accent-yellow: #FFC758;
    /* Sarı */
    --color-accent-green: #AACA9E;
    /* Yeşil */
    --color-text: #483A37;
    /* Kahverengi (SADECE Metinler) */

    /* Support Colors derived for balance */
    --color-bg: #FFF9F7;
    /* Çok açık sıcak pembe alt tonlu krem zemin */
    --color-bg-alt: #FBEFEA;
    /* Biraz daha koyu pembe alt tonlu kart arkası vb. */
    --color-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Quicksand', sans-serif;
    --font-body: 'Nunito', sans-serif;

    --radius-soft: 24px;
    --radius-pill: 40px;

    --shadow-gentle: 0 10px 30px rgba(233, 107, 101, 0.08);
    /* Pink tinted shadow */
    --shadow-hover: 0 15px 35px rgba(233, 107, 101, 0.15);

    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    /* Sadece yazılar Kahverengi */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-text);
    /* Kahverengi */
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

p {
    font-size: 1.1rem;
    color: var(--color-text);
    opacity: 0.9;
    margin-bottom: 1rem;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Subtle alternative background for sections */
.bg-alt {
    background-color: var(--color-bg-alt);
    border-radius: 40px;
    margin: 0 1rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 199, 88, 0.95);
    /* Sarı arka plan (#FFC758) şeffaflık ile eklendi */
    backdrop-filter: blur(10px);
    border-radius: 0 0 40px 40px;
    /* Sadece alt uçları oval */
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Her zaman belirgin olması için hafif bir gölge */
}

.navbar.scrolled {
    box-shadow: 0 8px 30px rgba(255, 199, 88, 0.3);
    padding: 0.8rem 2rem;
    background: rgba(255, 199, 88, 0.98);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text);
}

/* LOGO CROPPING TRICK (Extracts right side of markapalet.png whole) */
.logo-crop {
    width: 45px;
    height: 45px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 5px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-links ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background-color: var(--color-primary);
    /* Pink highlight */
    transition: var(--transition);
    border-radius: var(--radius-pill);
    transform: translateX(-50%);
}

.nav-links a.active::after {
    width: 100%;
}

/* Hakkımda (Profile + Bio) */
.hakkimda-container {
    padding-top: 4rem;
}

.bio-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Flowery Profile Frame behind image */
.profile-flower-container {
    position: relative;
    width: 450px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flower-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: -20px;
    left: -20px;
    /* Offset to center Logo behind photo */
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    z-index: 1;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
    animation: rotateSlow 45s linear infinite;
    /* Yavaşça döner */
}

.logo-as-bg {
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Logonun beyaz arkaplanını yok eder */
    opacity: 0.9;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.profile-photo {
    position: relative;
    z-index: 2;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    /* Make photo perfectly circular */
    object-fit: cover;
    border: 7px solid var(--color-accent-yellow);
    /* Sarı dokunuş */
    box-shadow: 0 10px 40px rgba(233, 107, 101, 0.25);
}

.bio-content {
    flex: 1;
}

.bio-content h2 {
    color: var(--color-primary);
}

/* Make heading pink */

.section-subtitle {
    margin-bottom: 6rem; /* Animasyonlara yer açmak için artırıldı */
    color: var(--color-primary);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.soft-card {
    background: var(--color-white);
    padding: 2rem 2.5rem;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-gentle);
    transition: var(--transition);
    border: 2px solid transparent;
}

.soft-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Hover SVG Animations for Education Cards */
.edu-card {
    position: relative;
    border-radius: var(--radius-soft);
}

.anim-wrapper {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 90px;
    overflow: hidden;
    pointer-events: none;
}

.anim-item {
    position: absolute;
    bottom: -60px; /* Hide completely below the wrapper's edge */
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.edu-card.hover-anim:hover .anim-item:not(.heart-anim) {
    transform: translateY(-60px); /* Pops up */
}

/* Staggered delay for organic feel */
.a-item-1 { transition-delay: 0.05s; }
.a-item-2 { transition-delay: 0.15s; }
.a-item-3 { transition-delay: 0.25s; }

/* Special override for family group */
.family-group {
    bottom: -60px;
    transform: translateX(-50%);
}
.edu-card.hover-anim:hover .family-group {
    transform: translate(-50%, -60px) !important;
}

/* Floating Hearts */
.heart-anim {
    bottom: 10px;
    opacity: 0;
}
.edu-card.hover-anim:hover .heart-anim {
    animation: floatHeart 2s ease-out infinite;
}
.heart-anim.a-item-2 { animation-delay: 0.4s; }
.heart-anim.a-item-3 { animation-delay: 0.9s; }

@keyframes floatHeart {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translateY(-35px) scale(1.2); opacity: 0; }
}

/* Apply accents softly explicitly using yellow/green/pink */
.yellow-card {
    border-bottom: 6px solid var(--color-accent-yellow);
}

.pink-card {
    border-bottom: 6px solid var(--color-primary);
}

.green-card {
    border-bottom: 6px solid var(--color-accent-green);
}

.card-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

/* Quote Block */
.quote-block {
    text-align: center;
    margin-top: 3.5rem;
    padding: 2rem;
    background-color: var(--color-white);
    border-radius: 40px;
    border: 2px dashed var(--color-primary-light);
    box-shadow: 0 4px 15px rgba(233, 107, 101, 0.05);
}

.quote-block p {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

/* Hizmetler Section */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.service-yellow {
    background-color: #FEF8E9;
    /* very soft yellow tint */
    border: 1px solid rgba(255, 199, 88, 0.3);
}

.service-green {
    background-color: #F1F6EF;
    /* very soft green tint */
    border: 1px solid rgba(170, 202, 158, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mini-logo-crop {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-block;
}

.mini-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Randevu Section */
.booking-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background-color: var(--color-white);
    border: 3px solid var(--color-primary-light);
}

.booking-header h2 {
    color: var(--color-primary);
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

input,
select,
textarea {
    padding: 1rem 1.2rem;
    border: 2px solid var(--color-bg-alt);
    background-color: var(--color-bg);
    border-radius: 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px var(--color-primary-light);
}

/* Buttons (Pink!) */
.btn-primary {
    background-color: var(--color-primary);
    /* Pink Button */
    color: var(--color-white);
    border: none;
    padding: 1rem 2.8rem;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(233, 107, 101, 0.3);
}

.btn-primary:hover {
    background-color: #DF5953;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 107, 101, 0.4);
}

.form-submit {
    text-align: center;
    margin-top: 1rem;
}

/* İletişim / Footer */
.bg-footer {
    background-color: var(--color-accent-yellow);
    /* Yellow Footer! */
    border-radius: 60px 60px 0 0;
    color: var(--color-text);
    /* Yazılar koyu kahverengi olacak */
    padding: 5rem 0 3rem 0;
}

/* Ensure the text is dark in the yellow footer */
.bg-footer h2,
.bg-footer p,
.bg-footer a,
.bg-footer .contact-item {
    color: var(--color-text);
}

.large-logo-crop {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto;
}

.large-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.contact-info {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.contact-item a {
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    opacity: 0.8;
}

/* Instagram specific footer styles */
.instagram-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.instagram-logo {
    width: 32px;
    height: 32px;
    color: var(--color-text);
}

.insta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.insta-text span {
    font-size: 1.15rem;
}

.insta-handle {
    font-size: 0.95rem;
    color: var(--color-primary) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bio-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .profile-flower-container {
        width: 330px;
        height: 330px;
    }

    .profile-photo {
        width: 260px;
        height: 260px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .bg-alt {
        margin: 0;
        border-radius: 0;
    }

    .bg-footer {
        border-radius: 40px 40px 0 0;
    }

    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
}