/* ============================================================
   PSK. DAN. BUSE UYSAL - Psikolojik Danışman
   MinimAll-inspired Design System — Bright & Cheerful Edition
   ============================================================ */

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

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 13px;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 22px;
    color: #333;
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover { color: #717171; }

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

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    color: #333;
}

p { margin-bottom: 15px; }

.text-muted { color: #777; }

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid #e0e0e0;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    font-size: 0;
    color: transparent;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Container / Grid --- */
.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-3  { width: 25%;     padding: 0 15px; }
.col-md-4  { width: 33.333%; padding: 0 15px; }
.col-md-6  { width: 50%;     padding: 0 15px; }
.col-md-8  { width: 66.666%; padding: 0 15px; }
.col-md-12 { width: 100%;    padding: 0 15px; }


/* ==========================================================
   HEADER / HERO  —  Bright & Cheerful
   ========================================================== */
header#home {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background-image: url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Light, warm overlay – keeps text readable on the bright photo */
header#home::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.55) 0%,
        rgba(245,240,235,0.45) 50%,
        rgba(255,255,255,0.50) 100%
    );
    z-index: 1;
}

.header-text {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.header-logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0px 5px 15px rgba(0, 0, 0, 0.4));
}

.header-text h1 {
    font-family: 'Mulish', sans-serif;
    font-size: 60px;
    font-weight: 300;
    color: #333;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.2;
}

.header-text .header-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: rgba(50, 50, 50, 0.65);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.header-btn {
    margin-top: 10px;
    border-color: #333;
    color: #333;
}

.header-btn:hover {
    background: #333;
    color: #fff;
}


/* ==========================================================
   NAVIGATION
   ========================================================== */
nav#navigation {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

nav#navigation.open { right: 0; }

nav#navigation ul li { margin-bottom: 15px; }

nav#navigation ul li a {
    font-family: 'Mulish', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

nav#navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: #333;
    transition: width 0.3s ease;
}

nav#navigation ul li a:hover::after,
nav#navigation ul li a.active::after {
    width: 100%;
}

/* Menu Toggle */
.menu-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

.menu-toggle.nav-open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.nav-open span:nth-child(2) { opacity: 0; }

.menu-toggle.nav-open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Nav Overlay */
.nav-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.nav-overlay.show {
    opacity: 1;
    visibility: visible;
}


/* ==========================================================
   SECTIONS
   ========================================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-alt { background: #f7f7f7; }

.section-dark {
    background: #333;
    color: #fff;
}

.section-dark h2, .section-dark h3, .section-dark p { color: #fff; }
.section-dark .text-muted { color: rgba(255,255,255,0.6); }

/* Section Headers */
.section-header { margin-bottom: 60px; }
.section-header.header-left  { text-align: left;   }
.section-header.header-center { text-align: center; }

.section-title {
    font-family: 'Mulish', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '.';
    color: #999;
}

.section-subtitle {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
}

/* Rotated Big Text */
.text-big {
    font-family: 'Mulish', sans-serif;
    font-size: 80px;
    font-weight: 800;
    color: #eee;
    text-transform: uppercase;
    letter-spacing: 5px;
    position: absolute;
    line-height: 1;
    z-index: 0;
}

.text-270deg {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    display: inline-block;
    top: 0;
    left: 15px;
}

.text-90deg {
    writing-mode: vertical-lr;
    display: inline-block;
}

.column-pv {
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
}


/* ==========================================================
   ABOUT
   ========================================================== */
#about h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.read-more {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
}

.read-more:hover { color: #717171; }

.about-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}


/* ==========================================================
   FEATURES
   ========================================================== */
.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    font-size: 36px;
    color: #333;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: translateY(-5px);
}

.feature-item h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 13px;
    color: #777;
    line-height: 22px;
}


/* ==========================================================
   COUNTER
   ========================================================== */
#counter {
    background-image: url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 80px 0;
}

#counter::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(50,50,50,0.75);
}

#counter .container {
    position: relative;
    z-index: 2;
}

.counter-item {
    text-align: center;
    padding: 20px;
}

.counter-number {
    font-family: 'Mulish', sans-serif;
    font-size: 48px;
    font-weight: 300;
    color: #fff;
    display: block;
    margin-bottom: 10px;
}

.counter-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
}


/* ==========================================================
   PORTFOLIO / GALLERY
   ========================================================== */
.portfolio-filters {
    text-align: center;
    margin-bottom: 40px;
}

.portfolio-filters button {
    font-family: 'Mulish', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: none;
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    color: #777;
    transition: color 0.3s ease;
    position: relative;
}

.portfolio-filters button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: #333;
    transition: width 0.3s ease;
}

.portfolio-filters button.active,
.portfolio-filters button:hover { color: #333; }

.portfolio-filters button.active::after,
.portfolio-filters button:hover::after { width: 30px; }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img { transform: scale(1.1); }

.portfolio-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay h4 { transform: translateY(0); }

.portfolio-overlay span {
    font-size: 12px;
    color: #777;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.05s;
}

.portfolio-item:hover .portfolio-overlay span { transform: translateY(0); }


/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-item {
    min-width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 0 15px;
}

.testimonial-content { flex: 1; }

.testimonial-content blockquote {
    font-size: 14px;
    font-style: italic;
    line-height: 26px;
    color: #555;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid #ddd;
}

.testimonial-author {
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-role {
    font-size: 12px;
    color: #777;
    margin-top: 3px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dot.active {
    background: #333;
    border-color: #333;
}


/* ==========================================================
   APPOINTMENT  (replaces Pricing)
   ========================================================== */
.appointment-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 50px 40px;
    position: relative;
}

.appointment-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, #333, #717171, #333);
}

.appointment-form .row {
    margin-bottom: 0;
}

.appointment-actions {
    text-align: center;
    margin-top: 30px;
}

.appointment-actions .btn {
    padding: 14px 45px;
    font-size: 13px;
}

.appointment-actions .btn i {
    margin-right: 8px;
}

.appointment-note {
    font-size: 12px;
    margin-top: 15px;
    color: #999;
}

.appointment-note i {
    margin-right: 5px;
}

/* Quick Contact Row */
.appointment-quick {
    margin-top: 40px;
    text-align: center;
}

.quick-title {
    font-family: 'Mulish', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 20px;
}

.quick-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.quick-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border: 2px solid #e5e5e5;
    font-family: 'Mulish', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #555;
    transition: all 0.3s ease;
}

.quick-option i {
    font-size: 18px;
}

.quick-option.whatsapp:hover {
    border-color: #25D366;
    color: #25D366;
}

.quick-option.phone:hover {
    border-color: #333;
    color: #333;
}

.quick-option.instagram:hover {
    border-color: #E1306C;
    color: #E1306C;
}


/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
    display: inline-block;
    font-family: 'Mulish', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 35px;
    border: 2px solid #333;
    background: transparent;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #333;
    color: #fff;
}

.btn-filled {
    background: #333;
    color: #fff;
}

.btn-filled:hover {
    background: transparent;
    color: #333;
}


/* ==========================================================
   CONTACT
   ========================================================== */
.contact-form { max-width: 100%; }

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #333;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
    resize: none;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-group select {
    cursor: pointer;
    padding-right: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-bottom-color: #333;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group .select-label {
    top: -15px;
    font-size: 10px;
    color: #333;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -15px;
    font-size: 10px;
    color: #333;
}

.form-group .input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #333;
    transition: width 0.3s ease;
}

.form-group input:focus ~ .input-line,
.form-group textarea:focus ~ .input-line,
.form-group select:focus ~ .input-line {
    width: 100%;
}

.contact-info { padding-left: 40px; }

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}

.contact-info-item i {
    font-size: 18px;
    color: #333;
    margin-top: 3px;
    width: 20px;
    flex-shrink: 0;
}

.contact-info-item p {
    font-size: 13px;
    color: #777;
    margin: 0;
    line-height: 22px;
}

.contact-info-item strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 5px;
}

/* Map */
#map-section {
    width: 100%;
    height: 350px;
    background: #eee;
    position: relative;
}

#map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

#map-section:hover iframe { filter: grayscale(0%); }


/* ==========================================================
   FOOTER
   ========================================================== */
footer {
    background: #222;
    padding: 50px 0;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #fff;
    border-color: #fff;
    color: #222;
}

.footer-text {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
}

.footer-text a { color: rgba(255,255,255,0.6); }
.footer-text a:hover { color: #fff; }


/* ==========================================================
   UTILITIES
   ========================================================== */

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: #555; }

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.show { opacity: 1; visibility: visible; }

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    transition: transform 0.3s ease;
}

.lightbox-close:hover { transform: rotate(90deg); }

/* Animate on Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Skill Bars */
.skill-bar { margin-bottom: 25px; }

.skill-bar-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.skill-bar-track {
    width: 100%;
    height: 3px;
    background: #e5e5e5;
    position: relative;
}

.skill-bar-fill {
    height: 100%;
    background: #333;
    width: 0;
    transition: width 1.5s ease;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 992px) {
    .col-md-3, .col-md-4, .col-md-6, .col-md-8 { width: 50%; }

    .header-text h1 {
        font-size: 40px;
        letter-spacing: 5px;
    }

    .text-big { display: none; }

    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

    .contact-info {
        padding-left: 0;
        margin-top: 40px;
    }

    .appointment-card { padding: 40px 25px; }
}

@media (max-width: 768px) {
    .col-md-3, .col-md-4, .col-md-6, .col-md-8, .col-md-12 {
        width: 100%;
    }

    .section { padding: 60px 0; }

    .header-text h1 {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .header-text .header-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

    .testimonial-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .testimonial-content blockquote {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid #ddd;
        padding-top: 20px;
    }

    .appointment-card { padding: 30px 20px; }

    .quick-options { flex-direction: column; align-items: center; }

    .row { gap: 0; }
}

@media (max-width: 480px) {
    .portfolio-grid { grid-template-columns: 1fr; }

    .header-text h1 {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .counter-number { font-size: 36px; }
}
