/* ==========================================================================
   MANAVGAT SIDE SRC VE PSIKOTEKNIK - MAIN STYLESHEET
   Domain: http://manavgatsidepsikoteknik.com/
   ========================================================================== */

:root {
    --primary: #dd3333;
    --primary-hover: #b82525;
    --primary-light: rgba(221, 51, 51, 0.08);
    --dark: #20292c;
    --dark-muted: #3a464a;
    --text: #4a5559;
    --text-muted: #748085;
    --bg-light: #fcfcfc;
    --bg-alt: #f6f8f9;
    --white: #ffffff;
    --border: #e6eaec;
    --border-light: #f0f2f3;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 36px rgba(0,0,0,0.12);
    --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Barlow', 'Poppins', sans-serif;
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-light);
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background-color: var(--bg-light);
    line-height: 1.65;
    font-size: 0.95rem;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.themecolor {
    color: var(--primary) !important;
}

.separator-img {
    margin: 20px 0;
    display: inline-block;
    max-width: 193px;
    height: auto;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 9px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-contacts {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.top-bar-contacts a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 500;
}

.top-bar-contacts a i {
    color: var(--primary);
    font-size: 0.95rem;
}

.top-bar-contacts a:hover {
    color: var(--primary);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-badge {
    background-color: #eef8f2;
    color: #1f8a4c;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-badge i {
    font-size: 0.75rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header.site-header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 14px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    max-width: 1260px;
    margin: 0 auto;
}

.site-logo a {
    display: block;
}

.site-logo img {
    height: 58px;
    width: auto;
    object-fit: contain;
}

nav.main-nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
}

nav.main-nav ul li a {
    display: block;
    padding: 10px 16px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    border-radius: var(--radius-sm);
    position: relative;
}

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

nav.main-nav ul li.highlight a {
    background-color: var(--primary);
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 30px;
    margin-left: 8px;
    box-shadow: 0 4px 14px rgba(221, 51, 51, 0.3);
}

nav.main-nav ul li.highlight a:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(221, 51, 51, 0.4);
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 6px;
}

/* Mobile Drawer */
.mobile-menu {
    display: none;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 15px 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu ul li a {
    display: block;
    padding: 12px 14px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    border-radius: var(--radius-sm);
}

.mobile-menu ul li a:hover,
.mobile-menu ul li.active a {
    background: var(--primary-light);
    color: var(--primary);
}

.mobile-menu.active {
    display: block;
}

/* ==========================================================================
   PAGE HERO / SUBHEADER
   ========================================================================== */
.page-subheader {
    background: linear-gradient(135deg, #20292c 0%, #161e20 100%);
    color: #ffffff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-subheader::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at 80% 20%, rgba(221, 51, 51, 0.22) 0%, transparent 60%);
    pointer-events: none;
}

.page-subheader h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: #a4b2b6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs a {
    color: #ffffff;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

/* ==========================================================================
   HOMEPAGE HERO SLIDER
   ========================================================================== */
.hero-slider-section {
    position: relative;
    background-color: #1a2224;
    min-height: 640px;
    display: flex;
    align-items: center;
    background-image: url('../images/manavgat-side-slider.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.92) 42%, rgba(255,255,255,0.2) 100%);
}

@media (max-width: 768px) {
    .hero-slider-overlay {
        background: rgba(255, 255, 255, 0.92);
    }
}

.hero-slider-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding: 60px 0;
}

.hero-slider-content h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--dark);
    margin-bottom: 16px;
}

.hero-slider-content h1 span.highlight {
    color: var(--primary);
}

.hero-slider-content p.subtitle {
    font-family: 'Barlow Condensed', var(--font-main);
    font-size: 1.45rem;
    line-height: 1.4;
    font-weight: 500;
    color: #3b474b;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    color: var(--dark);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 32px;
    border-radius: 30px;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(221, 51, 51, 0.35);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: 30px;
    border: 2px solid #25D366;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background-color: #1ebd5b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   HOME ABOUT & ANNOUNCEMENTS SECTION
   ========================================================================== */
.home-intro-section {
    padding: 85px 0 60px;
    background-color: #ffffff;
}

.home-intro-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 60px;
    align-items: start;
}

.intro-about h3.section-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.intro-about h2.section-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 12px;
}

.intro-about h4.about-lead {
    font-size: 1.35rem;
    line-height: 1.45;
    font-weight: 600;
    color: var(--dark);
    margin: 20px 0 16px;
}

.intro-about p.about-text {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 24px;
}

/* Announcements Box on Home */
.intro-announcements {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
}

.intro-announcements h3.box-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.announcement-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    margin-bottom: 18px;
    transition: var(--transition);
}

.announcement-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.announcement-date {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    background-color: var(--primary-light);
    padding: 2px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.announcement-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark);
    margin-bottom: 8px;
}

.announcement-title a:hover {
    color: var(--primary);
}

.announcement-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.announcement-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.announcement-more:hover {
    gap: 10px;
}

.view-all-announcements {
    display: block;
    text-align: center;
    font-weight: 700;
    color: var(--dark);
    padding: 12px 0 0;
    font-size: 0.95rem;
}

.view-all-announcements:hover {
    color: var(--primary);
}

/* ==========================================================================
   FEATURE ICON BOXES
   ========================================================================== */
.feature-boxes-section {
    padding: 50px 0 70px;
    background-color: #ffffff;
}

.feature-boxes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-box:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feature-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 18px;
    transition: var(--transition);
}

.feature-box:hover .feature-icon-circle {
    background-color: var(--primary);
    color: #ffffff;
    transform: rotate(5deg) scale(1.08);
}

.feature-box h4.title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.feature-box p.desc {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ==========================================================================
   QUICK CONTACT & MAP SECTION
   ========================================================================== */
.home-contact-section {
    padding: 60px 0 90px;
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.home-contact-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.map-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    min-height: 480px;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: none;
    display: block;
}

.contact-info-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 44px 38px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.contact-info-card h4.phone-lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-muted);
    margin-bottom: 12px;
}

.phone-number-big {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 24px;
    display: inline-block;
}

.phone-number-big:hover {
    color: var(--primary-hover);
}

.contact-address-text {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.6;
}

.contact-address-text strong {
    color: var(--dark);
}

/* ==========================================================================
   DERS NOTLARI (PDF GRID)
   ========================================================================== */
.pdf-grid-section {
    padding: 70px 0 90px;
}

.pdf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 40px;
}

.pdf-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.pdf-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.pdf-card .card-thumb {
    background-color: #f7f9fa;
    padding: 24px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.pdf-card .card-thumb img {
    margin: 0 auto;
    max-height: 110px;
    object-fit: contain;
    transition: var(--transition);
}

.pdf-card:hover .card-thumb img {
    transform: scale(1.05);
}

.pdf-card .card-body {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pdf-badge {
    display: inline-block;
    align-self: flex-start;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.pdf-card h4.pdf-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.45;
    margin-bottom: 18px;
    flex-grow: 1;
}

.pdf-download-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark);
    transition: var(--transition);
}

.pdf-download-btn i {
    color: var(--primary);
    font-size: 1rem;
    transition: var(--transition);
}

.pdf-card:hover .pdf-download-btn {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.pdf-card:hover .pdf-download-btn i {
    color: #ffffff;
    transform: translateX(4px);
}

/* ==========================================================================
   EGITIMLERIMIZ (ALTERNATING ROWS)
   ========================================================================== */
.education-section {
    padding: 60px 0 90px;
}

.education-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 70px;
    padding-bottom: 70px;
    border-bottom: 1px solid var(--border-light);
}

.education-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.education-row.reverse {
    direction: rtl;
}

.education-row.reverse > * {
    direction: ltr;
}

.education-content h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    line-height: 1.25;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 14px;
}

.education-content h5 {
    font-size: 1.08rem;
    line-height: 1.7;
    font-weight: 500;
    color: var(--text);
    margin-top: 18px;
}

.education-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.education-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition);
}

.education-row:hover .education-image img {
    transform: scale(1.03);
}

/* ==========================================================================
   HAKKIMIZDA PAGE
   ========================================================================== */
.about-page-section {
    padding: 70px 0 90px;
}

.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 70px;
}

.about-page-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    width: 100%;
}

.about-page-text h2.about-name {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.15;
}

.about-page-text h4.about-sub {
    font-size: 1.3rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--dark);
    margin: 20px 0 16px;
}

.about-page-text p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 16px;
}

/* Gallery 3 cols */
.about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.about-gallery-grid img {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 2px solid var(--border);
    transition: var(--transition);
}

.about-gallery-grid img:hover {
    transform: scale(1.03);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   ACCORDION (FAQ / S.S.S)
   ========================================================================== */
.faq-section {
    padding: 70px 0 90px;
}

.faq-header-image {
    margin-bottom: 40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-header-image img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
}

.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.accordion-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.accordion-item.active {
    border-color: var(--primary);
}

.accordion-header {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark);
    background-color: #ffffff;
    user-select: none;
    transition: var(--transition);
}

.accordion-header:hover {
    color: var(--primary);
    background-color: var(--bg-alt);
}

.accordion-item.active .accordion-header {
    color: var(--primary);
    background-color: var(--bg-alt);
}

.accordion-icon {
    font-size: 1.1rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    background-color: #ffffff;
}

.accordion-body {
    padding: 20px 24px;
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text);
    border-top: 1px solid var(--border-light);
    white-space: pre-line;
}

/* ==========================================================================
   CONTACT PAGE & FORM
   ========================================================================== */
.contact-page-section {
    padding: 40px 0 90px;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-details-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 38px 32px;
    box-shadow: var(--shadow-sm);
}

.contact-details-box h3 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.35;
}

.contact-item-row {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
    align-items: flex-start;
}

.contact-item-row .icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item-row .info-text h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-item-row .info-text p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.5;
}

.form-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 38px 34px;
    box-shadow: var(--shadow-sm);
}

.form-box h3 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: var(--bg-alt);
    color: var(--dark);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px var(--primary-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 34px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(221, 51, 51, 0.3);
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(221, 51, 51, 0.45);
}

.form-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #eafaf1;
    color: #27ae60;
    border: 1px solid #c7f0db;
}

.form-status.error {
    display: block;
    background-color: #fdeeee;
    color: #e74c3c;
    border: 1px solid #fad2d2;
}

/* ==========================================================================
   BLOG / DUYURULAR LIST & DETAIL
   ========================================================================== */
.blog-list-section {
    padding: 70px 0 90px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.blog-card-media {
    height: 240px;
    overflow: hidden;
    background-color: #f0f2f4;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 26px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--dark);
    margin-bottom: 12px;
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
}

.blog-read-link:hover {
    gap: 10px;
}

/* Post Detail */
.post-detail-section {
    padding: 60px 0 90px;
}

.post-article {
    max-width: 860px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 44px 44px;
    box-shadow: var(--shadow-sm);
}

.post-header {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.post-header h1 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.25;
    color: var(--dark);
    margin-bottom: 16px;
}

.post-header-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.post-feature-image {
    margin-bottom: 34px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.post-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #3b474b;
}

.post-body h2, .post-body h3, .post-body h4 {
    font-family: var(--font-heading);
    color: var(--dark);
    margin: 32px 0 16px;
    line-height: 1.3;
}

.post-body h2 { font-size: 1.8rem; font-weight: 800; }
.post-body h3 { font-size: 1.5rem; font-weight: 700; }
.post-body h4 { font-size: 1.25rem; font-weight: 700; }

.post-body p {
    margin-bottom: 20px;
}

.post-body ul, .post-body ol {
    margin: 20px 0 24px 28px;
}

.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }

.post-body li {
    margin-bottom: 8px;
}

.post-body strong, .post-body b {
    color: var(--dark);
}

.post-footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer.site-footer {
    background-color: #1a2224;
    color: #a2b0b4;
    font-size: 0.9rem;
    border-top: 4px solid var(--primary);
}

.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-col h4.footer-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background-color: var(--primary);
}

.footer-col p {
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-col ul.footer-links li {
    margin-bottom: 10px;
}

.footer-col ul.footer-links li a {
    color: #a2b0b4;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-col ul.footer-links li a:hover {
    color: #ffffff;
    padding-left: 6px;
}

.footer-col ul.footer-links li a i {
    color: var(--primary);
    font-size: 0.8rem;
}

.footer-bottom {
    padding: 24px 0;
    background-color: #141b1d;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.86rem;
}

.footer-copyright a {
    color: #ffffff;
    font-weight: 600;
}

.footer-copyright a:hover {
    color: var(--primary);
}

.footer-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #a2b0b4;
    font-size: 0.86rem;
}

.footer-nav a:hover {
    color: #ffffff;
}

/* ==========================================================================
   FLOATING BUTTONS
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    background-color: #25D366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
    animation: pulse 2.4s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: #ffffff;
    box-shadow: 0 6px 26px rgba(37, 211, 102, 0.6);
}

.floating-call {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 999;
    background-color: var(--primary);
    color: #ffffff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 18px rgba(221, 51, 51, 0.4);
    transition: var(--transition);
}

.floating-call:hover {
    transform: scale(1.1);
    color: #ffffff;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .home-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .feature-boxes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pdf-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-contact-grid {
        grid-template-columns: 1fr;
    }
    .about-page-grid {
        grid-template-columns: 1fr;
    }
    .education-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .education-row.reverse {
        direction: ltr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav.main-nav {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .floating-call {
        display: flex;
    }
    .top-bar-right {
        display: none;
    }
    .hero-slider-section {
        min-height: 480px;
    }
    .hero-slider-content h1 {
        font-size: 2.2rem;
    }
    .hero-slider-content p.subtitle {
        font-size: 1.15rem;
    }
    .page-subheader h1 {
        font-size: 2rem;
    }
    .feature-boxes-grid {
        grid-template-columns: 1fr;
    }
    .pdf-grid {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
    .about-gallery-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    .post-article {
        padding: 24px 20px;
    }
    .post-header h1 {
        font-size: 1.8rem;
    }
}
