/* ========================================
   MODERN KURUMSAL PSİKOLOG SİTESİ
   DETAY SAYFALARI ORTAK CSS
   ======================================== */

/* Tıklama vurgusunu kaldır */
* {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

/* Temel Ayarlar */
:root {
    --primary-green: #2d5016;
    --secondary-green: #3d6b20;
    --accent-gold: #c9a227;
    --light-gold: #e8d568;
    --text-dark: #1a1a1a;
    --text-gray: #4a4a4a;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.18);
    --gradient-green: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    --gradient-gold: linear-gradient(135deg, var(--accent-gold), var(--light-gold));
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========================================
   NAVBAR STİLLERİ
   ======================================== */

/* Üst Navbar */
.top-navbar {
    background: var(--primary-green);
    color: white;
    padding: 0.3em 0;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    margin: 0;
    line-height: 1.2;
}

.top-navbar em {
    font-style: italic;
    font-size: 0.9em;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Ana Navbar */
.main-navbar {
    background: var(--bg-white);
    padding: 0.8em 0;
    position: fixed;
    width: 100%;
    top: auto;
    left: 0;
    z-index: 999;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    margin: 0;
}

.main-navbar.scrolled {
    top: 0;
    box-shadow: var(--shadow-lg);
}

/* Navbar Container */
.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2em;
}

/* Logo & Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.logo1 {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-green);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.logo1:hover {
    transform: rotate(360deg);
    box-shadow: var(--shadow-md);
}

.navbar-brand .logo a {
    color: var(--primary-green);
    font-size: 1.4em;
    font-family: 'Georgia', 'Times New Roman', serif;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-smooth);
    letter-spacing: 0.3px;
}

.navbar-brand .logo a:hover {
    color: var(--accent-gold);
}

/* Nav Links */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2em;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.8em;
}

.nav-links li {
    margin: 0;
}

.nav-links li a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.7em 1.5em;
    border-radius: 30px;
    background: transparent;
    font-weight: 600;
    font-size: 0.95em;
    transition: var(--transition-smooth);
    display: inline-block;
    white-space: nowrap;
    border: 2px solid transparent;
}

.nav-links li a:hover {
    background: var(--gradient-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

/* Hamburger Menü */
.hamburger-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 16px;
    background: var(--bg-white);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 3px solid var(--primary-green);
    z-index: 1002;
    user-select: none;
    position: relative;
    box-shadow: 0 4px 16px rgba(45, 80, 22, 0.15);
}

.hamburger-menu::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 12px;
    background: var(--gradient-green);
    transition: var(--transition-smooth);
    z-index: -1;
}

.hamburger-menu:hover::before {
    width: 100%;
    height: 100%;
}

.hamburger-menu:hover {
    border-color: var(--secondary-green);
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 8px 24px rgba(45, 80, 22, 0.3);
}

.hamburger-menu i {
    font-size: 1.6em;
    color: var(--primary-green);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.hamburger-menu:hover i {
    color: white;
    transform: scale(1.1);
}

.hamburger-menu.active {
    background: var(--gradient-green);
    border-color: var(--secondary-green);
    transform: rotate(90deg);
    box-shadow: 0 8px 24px rgba(45, 80, 22, 0.4);
}

.hamburger-menu.active::before {
    width: 100%;
    height: 100%;
}

.hamburger-menu.active i {
    color: white;
    transform: rotate(0deg);
}

/* Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    transition: var(--transition-smooth);
}

.menu-overlay.show {
    display: block;
    opacity: 1;
}

/* Side Menu - Modern Tasarım */
.side-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    background: var(--bg-white);
    overflow-x: hidden;
    overflow-y: auto;
    transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding: 80px 0 30px 0;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    border-left: 1px solid rgba(45, 80, 22, 0.1);
}

.side-menu.open {
    width: 350px;
}

.side-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 1em;
    color: var(--text-gray);
    background: var(--bg-white);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid var(--primary-green);
    box-shadow: 0 4px 16px rgba(45, 80, 22, 0.15);
    z-index: 10;
}

.side-menu .close-btn:hover {
    background: var(--gradient-green);
    color: white;
    border-color: var(--secondary-green);
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.3);
}

.side-menu a {
    padding: 1.3em 2.5em;
    text-decoration: none;
    font-size: 1.15em;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-smooth);
    border-left: 5px solid transparent;
    font-weight: 600;
    margin-bottom: 3px;
    position: relative;
    overflow: hidden;
}

.side-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(45, 80, 22, 0.1), transparent);
    transition: var(--transition-smooth);
}

.side-menu a:hover {
    background: var(--bg-light);
    border-left-color: var(--primary-green);
    color: var(--primary-green);
    padding-left: 2.8em;
    transform: translateX(-5px);
}

.side-menu a:hover::before {
    width: 100%;
}

.side-menu a i {
    width: 28px;
    color: var(--primary-green);
    font-size: 1.3em;
}

.side-menu a:hover i {
    transform: scale(1.15);
    color: var(--secondary-green);
}

/* ========================================
   DETAY SAYFASI İÇERİK
   ======================================== */

.content-container {
    max-width: 1100px;
    margin: 100px auto 40px;
    padding: 3em;
    background: var(--bg-white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.content-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-green);
}

.content-container h1 {
    font-size: 2.8em;
    color: var(--primary-green);
    margin: 0 0 1em 0;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5em;
    text-align: center;
}

.content-container h1:first-of-type {
    padding-top: 0.5em;
}

.content-container h1 + p,
.content-container h2 + p {
    font-size: 1.15em;
    color: var(--text-gray);
    line-height: 1.9;
    text-align: justify;
}

.content-container h2 {
    font-size: 2em;
    color: var(--secondary-green);
    margin: 2.5em 0 1em 0;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

.content-container h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.content-container p {
    font-size: 1.1em;
    color: var(--text-gray);
    line-height: 1.9;
    text-align: justify;
    margin-bottom: 1.5em;
}

/* ========================================
   DESTEK BUTONU
   ======================================== */

#support {
    position: fixed;
    bottom: 2.5em;
    right: 2.5em;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#support button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-green);
    color: white;
    border: none;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: 0 8px 24px rgba(45, 80, 22, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#support button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(45, 80, 22, 0.5);
}

#support button i {
    font-size: 1.5em;
    transition: var(--transition-smooth);
}

#support button span {
    display: none;
}

#support button.rotate {
    transform: rotate(180deg);
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

#support button.rotate i {
    transform: rotate(0deg);
}

#support-links {
    position: absolute;
    bottom: 90px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-bounce);
}

#support-links.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#support-links a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

#support-links a i {
    font-size: 1.8em;
}

#support-links a:nth-child(1) {
    background: #25D366;
}

#support-links a:nth-child(2) {
    background: var(--primary-green);
}

#support-links a:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-xl);
}

#support-links a:hover:nth-child(1) {
    background: #20bd5a;
}

#support-links a:hover:nth-child(2) {
    background: var(--secondary-green);
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2em;
    font-size: 0.95em;
    margin-top: 4em;
}

/* ========================================
   ANIMASYONLAR
   ======================================== */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========================================
   RESPONSIVE TİZARIM
   ======================================== */

@media only screen and (max-width: 1024px) {
    .content-container {
        margin: 100px 20px 40px;
        padding: 2.5em;
    }

    .content-container h1 {
        font-size: 2.5em;
    }

    .content-container h2 {
        font-size: 1.8em;
    }
}

@media only screen and (max-width: 768px) {
    .top-navbar {
        padding: 0.4em 0;
    }

    .top-navbar em {
        font-size: 0.8em;
    }

    .navbar-container {
        padding: 0 1.5em;
    }

    .main-navbar {
        top: auto;
        padding: 0.8em 0;
    }

    .logo1 {
        width: 45px;
        height: 45px;
    }

    .navbar-brand .logo a {
        font-size: 1.1em;
    }

    .nav-links {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .content-container {
        margin: 80px 15px 30px;
        padding: 2em;
    }

    .content-container h1 {
        font-size: 2em;
    }

    .content-container h2 {
        font-size: 1.5em;
    }

    .content-container h2::before {
        top: 3px;
        bottom: 3px;
    }

    .content-container p {
        font-size: 1em;
        text-align: left;
    }

    #support {
        bottom: 1.5em;
        right: 1.5em;
    }

    #support button {
        width: 55px;
        height: 55px;
    }

    #support button i {
        font-size: 1.3em;
    }

    #support-links a {
        width: 50px;
        height: 50px;
    }

    #support-links a i {
        font-size: 1.5em;
    }
}

@media only screen and (max-width: 480px) {
    .top-navbar em {
        font-size: 0.7em;
    }

    .navbar-brand .logo a {
        font-size: 1em;
    }

    .logo1 {
        width: 40px;
        height: 40px;
    }

    .hamburger-menu {
        width: 45px;
        height: 45px;
    }

    .content-container {
        margin: 75px 10px 25px;
        padding: 1.5em;
    }

    .content-container h1 {
        font-size: 1.6em;
    }

    .content-container h2 {
        font-size: 1.3em;
    }

    .content-container p {
        font-size: 0.95em;
    }

    #support button {
        width: 50px;
        height: 50px;
    }
}

