/* 
  Yaşamın Renkleri Corporate Style & Design System
  Author: Antigravity AI
  Features: Glassmorphism, Instagram-inspired pink-purple gradient tones, 
            smooth animations, responsive grid layouts, and Admin CMS panel elements.
*/

:root {
  /* Colors */
  --color-primary: #522b82;      /* Deep Royal Violet */
  --color-secondary: #dc143c;    /* Crimson Pink-Red */
  --color-accent: #f89e24;       /* Warm Yellow Orange */
  
  --gradient-main: linear-gradient(135deg, #522b82 0%, #dc143c 50%, #f89e24 100%);
  --gradient-hover: linear-gradient(135deg, #dc143c 0%, #f89e24 100%);
  --gradient-glass: rgba(255, 255, 255, 0.75);
  
  --bg-dark: #1f122e;
  --bg-light: #f9f6fc;
  
  --text-main: #332640;
  --text-muted: #6b5a7d;
  --text-light: #ffffff;
  
  /* Layout utilities */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 6px -1px rgba(82, 43, 130, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(82, 43, 130, 0.1), 0 4px 6px -2px rgba(82, 43, 130, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(82, 43, 130, 0.15), 0 10px 10px -5px rgba(82, 43, 130, 0.04);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Group Brand Bar styling */
.group-brand-bar {
  background-color: var(--bg-dark);
  color: white;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 2px;
  padding: 8px 0;
  border-bottom: 2px solid var(--color-accent);
}

/* Base resets & font defaults */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

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

/* Helper spacing utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.bg-light {
  background-color: #f3ebf9;
}

.text-center {
  text-align: center;
}

.max-600 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.p-30 { padding: 30px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-100 { width: 100%; }

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

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

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

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

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

/* Align helper */
.align-center {
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  box-shadow: 0 5px 15px rgba(220, 20, 100, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* Hero section secondary button override for visibility */
.hero-actions .btn-secondary {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: var(--color-primary) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.hero-actions .btn-secondary:hover {
  background: transparent !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15) !important;
}

.btn-gradient {
  background: var(--gradient-main);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
}

.btn-gradient:hover {
  background: var(--gradient-hover);
  box-shadow: 0 8px 20px rgba(248, 158, 36, 0.4);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-success {
  background-color: #2e7d32;
  color: #fff;
}
.btn-success:hover {
  background-color: #1b5e20;
}
.btn-danger {
  background-color: #c62828;
  color: #fff;
}
.btn-danger:hover {
  background-color: #b71c1c;
}
.btn-accent {
  background-color: var(--color-accent);
  color: #fff;
}
.btn-accent:hover {
  background-color: #e65100;
}

/* TOP BAR */
.top-bar {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info span, .top-info a {
  margin-right: 20px;
}

.top-info i {
  color: var(--color-accent);
  margin-right: 5px;
}

.top-social a {
  font-size: 15px;
  margin-left: 15px;
  display: inline-block;
  vertical-align: middle;
}

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

.top-social-text {
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  margin-right: 0px; /* Reduced since separator has margins */
  color: #ffffff;
  letter-spacing: 0.5px;
  font-size: 14px;
  display: inline-block;
  vertical-align: middle;
}

.top-social-separator {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 10px;
  font-size: 14px;
  display: inline-block;
  vertical-align: middle;
  font-family: sans-serif;
}

/* HEADER & STICKY NAVIGATION */
.header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 60px;
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

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

.nav-cta {
  margin-left: 10px;
  padding: 8px 16px;
  white-space: nowrap;
}

/* Dropdown Menu CSS */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 15px 0;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
}

.dropdown-menu li a:hover {
  background-color: #f7eefc;
  color: var(--color-secondary);
  padding-left: 30px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 24px;
  cursor: pointer;
}

/* PAGE VIEWS VIEW SWITCH */
.page-view {
  display: block;
  animation: fadeIn 0.5s ease;
}

.page-view.active {
  display: block;
}

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

/* HERO SECTION HERO CAROUSEL */
.hero-section {
  position: relative;
  height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

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

.hero-content {
  max-width: 650px;
  color: var(--text-light);
}

.hero-badge {
  background: var(--gradient-hover);
  color: var(--text-light);
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 50px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  margin-bottom: 25px;
}

.hero-phone-cta {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 15px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  display: inline-flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-phone-cta span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 4px;
}

.hero-phone-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-accent) !important;
  font-family: 'Outfit', sans-serif;
}

.hero-actions .btn {
  margin-right: 15px;
}

/* DYNAMIC TEXT SWITCHER cd-words-wrapper */
.font-accent {
  background: linear-gradient(90deg, #f89e24, #ff5722);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  min-height: 60px;
}

.cd-words-wrapper b {
  display: none;
}

.cd-words-wrapper b.is-visible {
  display: inline-block;
  animation: textZoomIn 0.5s ease forwards;
}

@keyframes textZoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* STATS TICKER */
.stats-section {
  background-color: var(--color-primary);
  background-image: var(--gradient-main);
  padding: 50px 0;
  color: var(--text-light);
  box-shadow: inset 0 10px 30px rgba(0,0,0,0.15);
}

.stat-card {
  text-align: center;
  padding: 20px;
}

.stat-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  background-color: rgba(255,255,255,0.15);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 42px;
  filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.1));
}

.stat-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 5px;
  font-family: 'Outfit', sans-serif;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* SECTION HEADINGS */
.section-title-area {
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 15px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 15px;
}

/* FEATURE SECTION GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  flex-shrink: 0;
}

.feature-icon img {
  width: 100%;
}

.feature-info h4 {
  font-size: 17px;
  margin-bottom: 6px;
}

.feature-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.img-frame-container {
  display: flex;
  justify-content: center;
}

.img-frame {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 5px solid white;
}

.img-responsive {
  width: 100%;
  object-fit: cover;
}

/* CARDS GLASSMORPHISM */
.card {
  background: var(--gradient-glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(82, 43, 130, 0.15);
}

.service-card {
  display: flex;
  flex-direction: column;
}

.card-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.service-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

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

.card-body h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.card-body p {
  font-size: 14px;
  color: var(--text-muted);
  flex-grow: 1;
}

/* HORIZONTAL CARDS */
.horizontal-card {
  display: flex;
}

.class-card-img {
  width: 40%;
  object-fit: cover;
}

.horizontal-card .card-body {
  width: 60%;
}

/* TESTIMONIAL SLIDER */
.parent-testimonials {
  padding-right: 40px;
}

.quote-img {
  height: 50px;
  margin-bottom: 15px;
}

.testimonial-slider-wrap {
  min-height: 150px;
  position: relative;
  margin-top: 25px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.testimonial-text {
  font-size: 18px;
  font-style: italic;
  color: var(--color-primary);
  margin-bottom: 15px;
  line-height: 1.5;
}

.testimonial-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-secondary);
}

.slider-controls {
  display: flex;
  margin-top: 30px;
}

.slider-btn {
  background: white;
  border: 1px solid rgba(82, 43, 130, 0.15);
  color: var(--color-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  transition: var(--transition);
  outline: none;
}

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

/* PAGE HEADER SECTION */
.page-header {
  background: linear-gradient(135deg, rgba(82, 43, 130, 0.9) 0%, rgba(220, 20, 100, 0.9) 100%);
  padding: 60px 0;
  color: white;
}

.page-header h1 {
  color: white;
  font-size: 36px;
  margin-bottom: 10px;
}

.breadcrumbs {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

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

/* LIST STYLES */
.styled-list li {
  margin-bottom: 12px;
  font-size: 15px;
  display: flex;
  align-items: center;
}

.styled-list i {
  color: var(--color-accent);
  margin-right: 10px;
  font-size: 18px;
}

/* SERVICES & STAFF FILTER BAR */
.services-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-btn {
  background: white;
  border: 1px solid rgba(82, 43, 130, 0.15);
  color: var(--color-primary);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gradient-main);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

/* STAFF CARD GRID */
.staff-card {
  text-align: center;
  padding: 30px 20px;
}

.staff-avatar-wrap {
  width: 130px;
  height: 130px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid white;
  box-shadow: var(--shadow-md);
}

.staff-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.staff-role {
  color: var(--color-secondary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* GALLERY PAGE */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(82, 43, 130, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: white;
  font-size: 24px;
}

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

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

/* CONTACT PAGE FORM */
.modern-form {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(82, 43, 130, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

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

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e1dbe7;
  border-radius: var(--radius-sm);
  outline: none;
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(82, 43, 130, 0.15);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.form-checkbox input {
  margin-top: 4px;
  margin-right: 10px;
}

.form-checkbox label {
  font-size: 12px;
  color: var(--text-muted);
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(82, 43, 130, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(82, 43, 130, 0.06);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(82, 43, 130, 0.1);
  border-color: rgba(82, 43, 130, 0.15);
}

.glass-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 25px;
  border-bottom: 2px solid rgba(82, 43, 130, 0.08);
  padding-bottom: 12px;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-info-list li:last-child {
  margin-bottom: 0;
}

.c-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(82, 43, 130, 0.1) 0%, rgba(220, 20, 100, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 18px;
  margin-right: 18px;
  flex-shrink: 0;
  border: 1.5px solid rgba(82, 43, 130, 0.15);
  box-shadow: 0 4px 10px rgba(82, 43, 130, 0.05);
}

.contact-info-list h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contact-info-list p, .contact-info-list a {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-info-list a:hover {
  color: var(--color-secondary);
}

.map-section {
  line-height: 0;
  border-top: 5px solid white;
}

/* FOOTER */
.footer {
  background: linear-gradient(rgba(31, 18, 46, 0.92), rgba(31, 18, 46, 0.95)), url('images/footer-bg.png') no-repeat center center / cover;
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 0;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h3 {
  color: white;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: var(--radius-full);
}

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

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

.footer-contact li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--color-accent);
  margin-right: 12px;
  margin-top: 4px;
}

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

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.admin-trigger-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 5px;
  font-size: 13px;
  transition: var(--transition);
}

.admin-trigger-btn:hover {
  color: var(--color-accent);
}

/* MODAL / LIGHTBOX POPUP */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 18, 46, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: var(--transition);
}

.modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-content {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 700px;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--color-primary);
  cursor: pointer;
  outline: none;
}

.modal-close:hover {
  color: var(--color-secondary);
}

.modal-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
}

.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  background: #f3ebf9;
  color: var(--color-primary);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
}

/* Lightbox specific */
.lightbox-content {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  max-width: 95vw !important;
  max-height: 95vh !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  animation: none !important;
  position: relative !important;
}

#lightbox-img {
  max-width: 90vw !important;
  max-height: 90vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6) !important;
  display: block !important;
}

.lightbox-close-btn {
  position: fixed !important;
  top: 25px !important;
  right: 25px !important;
  background: linear-gradient(180deg, #ff3b30, #e60012) !important; /* Premium glossy red gradient */
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important; /* Solid white X */
  width: 52px !important;
  height: 52px !important;
  border-radius: 16px !important; /* Rounded square (squircle) design to match the user's image */
  font-size: 26px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 10005 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.35) !important;
}

.lightbox-close-btn:hover {
  background: linear-gradient(180deg, #ff4f45, #d6000f) !important;
  transform: scale(1.08) translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), inset 0 2px 4px rgba(255, 255, 255, 0.45) !important;
}

/* Lightbox Navigation Buttons */
.lightbox-nav-btn {
  position: fixed !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: rgba(0, 0, 0, 0.6) !important;
  border: 2px solid rgba(255, 255, 255, 0.7) !important;
  color: #ffffff !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  font-size: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 10005 !important;
  transition: all 0.2s ease !important;
  backdrop-filter: blur(5px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.lightbox-prev-btn {
  left: 25px !important;
}

.lightbox-next-btn {
  right: 25px !important;
}

.lightbox-nav-btn:hover {
  background: rgba(0, 0, 0, 0.8) !important;
  border-color: #ffffff !important;
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6) !important;
}

/* Make sure mobile responsive layout handles arrows nicely */
@media (max-width: 768px) {
  .lightbox-nav-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 16px !important;
  }
  .lightbox-prev-btn {
    left: 15px !important;
  }
  .lightbox-next-btn {
    right: 15px !important;
  }
  .lightbox-close-btn {
    width: 46px !important;
    height: 46px !important;
    top: 15px !important;
    right: 15px !important;
    font-size: 22px !important;
  }
}

/* FLOATING WIDGETS */
.floating-widgets {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.floating-widget {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  cursor: pointer;
}

.floating-widget:hover {
  transform: scale(1.1) rotate(5deg);
}

.call-widget {
  background: linear-gradient(135deg, #2196f3 0%, #00bcd4 100%);
}

.whatsapp-widget {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ALERT STATE FOR CONTACT FORM */
.alert {
  padding: 30px;
  background-color: #e8f5e9;
  border: 1px solid #c8e6c9;
  border-radius: var(--radius-md);
  text-align: center;
}
.alert h3 {
  color: #2e7d32;
  margin-bottom: 10px;
}
.alert.hidden {
  display: none;
}

/* CMS / ADMIN DRAWER CSS */
.admin-panel {
  position: fixed;
  top: 0;
  left: -380px;
  width: 380px;
  height: 100%;
  background: white;
  box-shadow: 10px 0 30px rgba(0,0,0,0.15);
  z-index: 3000;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.admin-panel.open {
  left: 0;
}

.admin-panel-header {
  padding: 24px;
  background-color: var(--color-primary);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.admin-header-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.admin-minimize-btn {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.admin-minimize-btn:hover {
  opacity: 0.8;
}

.admin-panel.minimized {
  left: -340px !important;
}

.admin-panel.minimized::after {
  content: "⚙ GÖSTER";
  position: absolute;
  top: 40%;
  right: -75px;
  transform: rotate(90deg);
  color: white;
  font-weight: bold;
  font-size: 11px;
  letter-spacing: 1.5px;
  cursor: pointer;
  padding: 8px 15px;
  background: var(--color-primary);
  border-radius: 0 0 5px 5px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  display: block;
  white-space: nowrap;
}

.admin-panel.minimized:hover::after {
  background: var(--color-accent);
}

.admin-panel-body {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
}

.admin-warning {
  background-color: #fff8e1;
  border: 1px solid #ffe082;
  color: #b78103;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.admin-warning i {
  margin-top: 2px;
}

.admin-control-group {
  margin-bottom: 20px;
}

.switch-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
}

.switch-label input {
  display: none;
}

.switch-slider {
  width: 44px;
  height: 24px;
  background-color: #ccc;
  border-radius: var(--radius-full);
  position: relative;
  transition: var(--transition);
}

.switch-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: white;
  top: 3px;
  left: 3px;
  transition: var(--transition);
}

.switch-label input:checked + .switch-slider {
  background-color: #2e7d32;
}

.switch-label input:checked + .switch-slider::before {
  left: 23px;
}

.admin-section-divider {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1.5px solid #eee;
  padding-bottom: 6px;
  margin: 25px 0 15px;
}

.admin-form-group {
  margin-bottom: 15px;
}

.admin-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-muted);
}

.admin-form-group input[type="text"], .admin-form-group textarea {
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  border: 1.5px solid #ddd;
  border-radius: var(--radius-sm);
  outline: none;
}

.admin-form-group input[type="file"] {
  display: block;
  font-size: 11px;
  margin-top: 5px;
}

.admin-actions {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* WYSIWYG Editable hover overlays */
[contenteditable="true"] {
  outline: 2px dashed var(--color-accent) !important;
  outline-offset: 4px;
  cursor: text;
}

.cms-img-editable {
  outline: 3px dashed var(--color-accent) !important;
  cursor: pointer !important;
  opacity: 0.85;
}

.cms-img-editable:hover {
  opacity: 0.65;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 991px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-menu-btn {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 91px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 91px);
    background-color: white;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
  }
  
  .nav.mobile-active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    padding: 30px 20px;
    align-items: stretch;
    height: 100%;
    overflow-y: auto;
  }
  
  .nav-list li {
    margin-bottom: 10px;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 0;
    transform: none;
    display: none;
    margin-left: 20px;
    margin-top: 5px;
    border-left: 2px solid #f3ebf9;
  }
  
  .dropdown.mobile-open .dropdown-menu {
    display: block;
  }
  
  .nav-cta {
    margin-left: 0;
    margin-top: 20px;
  }
}

@media (min-width: 992px) and (max-width: 1150px) {
  .logo {
    height: 50px;
  }
  .nav-link {
    font-size: 13px;
    padding: 8px 10px;
  }
  .nav-cta {
    font-size: 13px;
    padding: 6px 14px;
    margin-left: 8px;
  }
}

@media (max-width: 768px) {
  .d-none-mobile {
    display: none !important;
  }
  
  .hero-section {
    height: auto;
    padding: 100px 0 80px;
  }
  
  .hero-title {
    font-size: 34px;
  }
  
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-2-1 {
    grid-template-columns: 1fr;
  }
  
  .horizontal-card {
    flex-direction: column;
  }
  
  .class-card-img {
    width: 100%;
    height: 200px;
  }
  
  .horizontal-card .card-body {
    width: 100%;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

/* ==========================================
   BLOG LAYOUT STYLES
   ========================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

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

.blog-card-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-content h3 a {
  color: var(--color-primary);
  transition: var(--transition);
}

.blog-card-content h3 a:hover {
  color: var(--color-secondary);
}

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

/* BLOG DETAIL STYLE */
.blog-detail-wrapper {
  line-height: 1.8;
  font-size: 16px;
  color: var(--text-main);
}

.blog-detail-wrapper p {
  margin-bottom: 20px;
}

.blog-detail-wrapper h3 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(82, 43, 130, 0.08);
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ADMIN PANEL BLOG SECTION */
.admin-blog-manager {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid rgba(82, 43, 130, 0.1);
}

/* RESPONSIVE BLOG */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

