/* Amasya ESOB Modern & Premium Design System (Açık ve Aydınlık Tema) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #0f2e5a;     /* Resmi kurumsal lacivert */
    --primary-light: #1b4785;
    --primary-dark: #07172e;
    --secondary-color: #c5a059;   /* Premium Altın / Bronz */
    --secondary-light: #dfbe79;
    --secondary-dark: #a8813a;
    --accent-color: #d32f2f;      /* Vurgu kırmızısı */
    --text-color: #334155;        /* Slate 700 */
    --text-light: #64748b;        /* Slate 500 */
    --bg-color: #f8fafc;          /* Çok açık gri arka plan */
    --surface-color: #ffffff;     /* Beyaz paneller */
    --border-color: #e2e8f0;      /* İnce bölücüler */
    
    --shadow-sm: 0 1px 3px rgba(15, 46, 90, 0.03);
    --shadow-md: 0 4px 20px -2px rgba(15, 46, 90, 0.06), 0 2px 8px -1px rgba(15, 46, 90, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(15, 46, 90, 0.08), 0 10px 10px -5px rgba(15, 46, 90, 0.03);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--secondary-dark);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1.2em;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.py-5 { padding-top: 60px; padding-bottom: 60px; }
.py-4 { padding-top: 40px; padding-bottom: 40px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }
.my-4 { margin-top: 30px; margin-bottom: 30px; }
.text-center { text-align: center; }

/* Grid Layouts */
.grid {
    display: grid;
    gap: 30px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Üst Şerit - Aydınlık (Top Bar) */
.top-bar {
    background-color: #ffffff;
    color: var(--primary-color);
    font-size: 13px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.top-bar-info span {
    margin-right: 25px;
    font-weight: 600;
    color: var(--text-color);
}

.top-bar-info i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.top-bar-social a {
    color: var(--primary-color);
    margin-left: 18px;
    font-size: 15px;
}

.top-bar-social a:hover {
    color: var(--secondary-color);
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 135px;
}

/* Logo CSS filter: Beyaz resmi laciverte (#0f2e5a) dönüştürür */
.logo img.main-logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(13%) sepia(53%) saturate(3046%) hue-rotate(206deg) brightness(95%) contrast(97%);
    transition: var(--transition);
}

.logo img.main-logo-img:hover {
    transform: scale(1.03);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    position: relative;
    padding: 0 8px;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14.5px;
    padding: 55px 0;
    display: block;
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--secondary-dark);
}

.AI-link:hover {
    color: var(--accent-color) !important;
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 135px;
    left: 0;
    background-color: var(--surface-color);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    border-top: 3px solid var(--secondary-color);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    padding: 10px 0;
    z-index: 99;
}

/* Megamenu (Geniş Açılır Menü) */
.megamenu {
    position: absolute;
    top: 135px;
    left: 50%;
    transform: translate(-50%, 15px);
    width: 90vw;
    max-width: 1100px;
    background-color: var(--surface-color);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    border-top: 3px solid var(--secondary-color);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 25px;
    z-index: 99;
}

.megamenu-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.megamenu-column {
    border-right: 1px solid var(--border-color);
    padding-right: 20px;
}

.megamenu-column:last-child {
    border-right: none;
    padding-right: 0;
}

.megamenu-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(197, 160, 89, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.megamenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.megamenu-list li {
    margin-bottom: 8px;
}

.megamenu-list a {
    font-size: 13.5px;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    display: block;
}

.megamenu-list a:hover {
    color: var(--secondary-dark);
    transform: translateX(4px);
}

/* Tıklama Aktiflik Durumları */
.nav-item.active .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item.active .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.dropdown-link:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
    font-weight: 600;
    padding-left: 25px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--primary-color);
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary-color);
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color) !important;
    border-color: var(--primary-color);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff !important;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13.5px;
}

/* Slider Section - Aydınlık & Modern Cam Efekti */
.hero-slider {
    position: relative;
    height: 520px;
    overflow: hidden;
    background-color: #f1f5f9;
    border-bottom: 4px solid var(--secondary-color);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.85); /* Görseli aydınlık tutar */
}

/* Buzlu cam efektli (glassmorphic) aydınlık yazı paneli */
.slide-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    color: var(--primary-color);
    padding: 40px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border-left: 5px solid var(--secondary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(30px);
    transition: transform 0.8s ease;
}

.slide-content h2 {
    font-size: 38px;
    color: var(--primary-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.25;
}

.slide-content p {
    font-size: 17px;
    margin-bottom: 25px;
    color: var(--text-color);
    font-weight: 500;
}

.slide.active .slide-content {
    transform: translateY(0);
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(15, 46, 90, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* Home Section Layouts */
.quick-cards {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.quick-card {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    padding: 35px 28px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--primary-color);
    transition: var(--transition);
}

.quick-card:hover {
    transform: translateY(-8px);
    border-top-color: var(--secondary-color);
}

.quick-card-icon {
    font-size: 44px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.quick-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
}

.quick-card p {
    font-size: 14.5px;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Tabs & News Grid */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 45px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 18px;
}

.section-title {
    position: relative;
    margin-bottom: 0;
    font-size: 26px;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 90px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* Post Cards */
.post-card {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.post-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.post-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 5px 14px;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
}

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

.post-card-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.post-card-meta span {
    margin-right: 18px;
}

.post-card-meta i {
    margin-right: 6px;
}

.post-card-title {
    font-size: 18.5px;
    margin-bottom: 12px;
    font-weight: 700;
}

.post-card-title a {
    color: var(--primary-dark);
}

.post-card-title a:hover {
    color: var(--secondary-color);
}

.post-card-excerpt {
    font-size: 14.5px;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: justify;
}

/* President Message Card */
.president-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    border: 1px solid var(--border-color);
}

.president-img {
    width: 33%;
    background-size: cover;
    background-position: center;
    min-height: 340px;
}

.president-content {
    width: 67%;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.president-content h4 {
    color: var(--secondary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.president-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.president-content blockquote {
    font-style: italic;
    color: var(--text-light);
    font-size: 16px;
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
    margin-bottom: 30px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .president-card { flex-direction: column; }
    .president-img { width: 100%; height: 280px; min-height: auto; }
    .president-content { width: 100%; padding: 25px; }
}

/* Footer Section - Aydınlık & Soft Gri */
footer {
    background-color: #f8fafc;
    color: var(--text-color);
    padding-top: 90px;
    border-top: 5px solid var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--border-color);
}

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

.footer-widget h4 {
    color: var(--primary-color);
    font-size: 19px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-widget p {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--text-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 14.5px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 14.5px;
    color: var(--text-color);
}

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 14px;
    margin-top: 5px;
    font-size: 16px;
}

.footer-bottom {
    padding: 38px 0;
    text-align: center;
    font-size: 13.5px;
    color: var(--text-light);
    background: #f1f5f9;
    border-top: 1px solid var(--border-color);
}

/* Sub-Pages Style */
.page-banner {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #ffffff;
    padding: 70px 0;
    text-align: center;
    position: relative;
    border-bottom: 4px solid var(--secondary-color);
}

.page-banner h1 {
    color: #ffffff;
    font-size: 34px;
    margin-bottom: 12px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    list-style: none;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs li::after {
    content: '/';
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumbs li:last-child::after {
    content: '';
}

.breadcrumbs a {
    color: #ffffff;
}

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

/* Sidebar Layout */
.page-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .page-layout { grid-template-columns: 1fr; }
}

.page-content {
    background: var(--surface-color);
    padding: 45px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.page-content p {
    margin-bottom: 1.6em;
    font-size: 16.5px;
    color: #334155;
    text-align: justify;
}

.sidebar-menu {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-md);
    list-style: none;
    border: 1px solid var(--border-color);
}

.sidebar-title {
    font-size: 18px;
    margin-bottom: 22px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
    color: var(--primary-color);
    font-weight: 700;
}

.sidebar-item {
    margin-bottom: 10px;
}

.sidebar-link {
    display: block;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    font-weight: 550;
    color: var(--text-color);
    font-size: 14.5px;
}

.sidebar-link:hover, .sidebar-item.active .sidebar-link {
    background-color: var(--bg-color);
    color: var(--primary-color);
    font-weight: 700;
    border-left: 4px solid var(--secondary-color);
}

/* Chambers & Boards Styling */
.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}

.table th, .table td {
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.table th {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.table tr:nth-child(even) {
    background-color: var(--bg-color);
}

/* Board Member Grid */
.board-card {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 4px solid var(--primary-color);
    padding: 30px 24px;
    transition: var(--transition);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.board-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary-color);
}

.board-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    border: 3px solid var(--bg-color);
    box-shadow: var(--shadow-sm);
}

.board-card h3 {
    font-size: 18.5px;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.board-card p {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
}

/* Photo Gallery & Lightbox */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 220px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 46, 90, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    color: #ffffff;
    font-size: 26px;
}

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

/* Forms & Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 40px;
}

@media (max-width: 800px) {
    .contact-wrapper { grid-template-columns: 1fr; }
}

.contact-info-block {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #ffffff;
    padding: 45px 35px;
    border-radius: var(--radius-md);
    border-bottom: 4px solid var(--secondary-color);
}

.contact-info-block h3 {
    color: #ffffff;
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-info-item i {
    font-size: 22px;
    color: var(--secondary-color);
    margin-right: 18px;
    margin-top: 4px;
}

.contact-form-block {
    background-color: var(--surface-color);
    padding: 45px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14.5px;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    color: var(--text-color);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(15, 46, 90, 0.08);
}

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

/* Lightbox Styling */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 85%;
    max-height: 85%;
    border-radius: 8px;
    border: 3px solid rgba(255,255,255,0.2);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* Yapay Zeka Danışman (Açık ve Yumuşak Renkli Chat UI) */
.chat-wrapper {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 600px;
    overflow: hidden;
}

.chat-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 3px solid var(--secondary-color);
}

.chat-header i {
    font-size: 28px;
    color: var(--secondary-color);
}

.chat-messages {
    flex-grow: 1;
    padding: 30px;
    overflow-y: auto;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chat-bubble {
    max-width: 75%;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.chat-bubble.bot {
    background-color: white;
    color: var(--text-color);
    align-self: flex-start;
    border-left: 4px solid var(--secondary-color);
    border-bottom-left-radius: 0;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--secondary-color);
}

/* Yumuşak Açık Mavi Kullanıcı Baloncuğu (Koyu Lacivert Yerine) */
.chat-bubble.user {
    background-color: #e0f2fe; /* Çok açık mavi / turkuaz */
    color: #0369a1;            /* Yumuşak koyu mavi metin */
    align-self: flex-end;
    border-bottom-right-radius: 0;
    border: 1px solid #bae6fd;
}

.chat-bubble p {
    margin-bottom: 0;
}

.chat-bubble p + p {
    margin-top: 10px;
}

.chat-bubble ul, .chat-bubble ol {
    margin-left: 20px;
    margin-top: 10px;
}

.chat-input-area {
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
    background: white;
    display: flex;
    gap: 15px;
}

.chat-input-area input {
    flex-grow: 1;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
}

.chat-input-area input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 46, 90, 0.08);
}

/* Mobile Nav Slide Panel */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 135px;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - 135px);
        background-color: var(--surface-color);
        flex-direction: column;
        align-items: flex-start;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        overflow-y: auto;
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        padding: 0;
    }

    .nav-link {
        padding: 15px 24px;
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown, .megamenu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        background-color: var(--bg-color);
        transform: none;
        display: none;
        padding: 0;
        width: 100%;
        overflow: hidden;
    }

    .nav-item.active .dropdown {
        display: block;
        padding: 10px 0;
    }

    .nav-item.active .megamenu {
        display: block;
        padding: 15px 24px;
    }

    .megamenu-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .megamenu-column {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 15px;
    }

    .megamenu-column:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .megamenu-title {
        margin-bottom: 8px;
        padding-bottom: 6px;
    }

    .mobile-toggle {
        display: block;
    }
}

/* Custom Premium Confirmation Modal & Toasts */
.custom-confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 23, 46, 0.4);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.confirm-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 25px 50px -12px rgba(15, 46, 90, 0.25);
    border: 1px solid rgba(197, 160, 89, 0.2);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    z-index: 10001;
}

.custom-confirm-modal.show .confirm-modal-content {
    transform: scale(1);
    opacity: 1;
}

.confirm-modal-header {
    padding: 30px 30px 15px 30px;
    text-align: center;
}

.confirm-modal-icon {
    width: 60px;
    height: 60px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 15px auto;
    transition: all 0.3s;
}

.confirm-modal-header.danger-type .confirm-modal-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.confirm-modal-header.success-type .confirm-modal-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.confirm-modal-header h4 {
    font-size: 19px;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-dark);
    margin: 0;
    font-weight: 700;
}

.confirm-modal-body {
    padding: 0 30px 25px 30px;
    text-align: center;
    color: var(--text-light);
    font-size: 14.5px;
    line-height: 1.6;
}

.confirm-modal-footer {
    padding: 20px 30px 25px 30px;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
}

.confirm-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.confirm-btn-secondary {
    background: #e2e8f0;
    color: var(--text-color);
}

.confirm-btn-secondary:hover {
    background: #cbd5e1;
}

.confirm-btn-primary {
    background: var(--primary-color);
    color: white;
}

.confirm-btn-primary:hover {
    background: var(--primary-light);
}

.confirm-btn-danger {
    background: #ef4444;
    color: white;
}

.confirm-btn-danger:hover {
    background: #dc2626;
}

/* Toast System Style */
.toast-container {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 10100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
    width: calc(100% - 50px);
}

.custom-toast {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 15px -3px rgba(15, 46, 90, 0.1), 0 4px 6px -2px rgba(15, 46, 90, 0.05);
    border-left: 5px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(120%);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
}

.custom-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.custom-toast i {
    font-size: 20px;
    flex-shrink: 0;
}

.custom-toast span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.custom-toast.toast-success {
    border-left-color: #10b981;
}
.custom-toast.toast-success i {
    color: #10b981;
}

.custom-toast.toast-danger {
    border-left-color: #ef4444;
}
.custom-toast.toast-danger i {
    color: #ef4444;
}

.custom-toast.toast-info {
    border-left-color: #3b82f6;
}
.custom-toast.toast-info i {
    color: #3b82f6;
}

/* Alert Box Styles */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.5;
    border: 1px solid transparent;
}
.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}
.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}
.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}
.alert-info {
    background-color: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}
