/* ==========================================================================
   DNC YAPI MANTOLAMA - DESIGN SYSTEM & BRAND STYLES
   ========================================================================== */

:root {
  /* Colors */
  --primary: #0b4d4f;
  --primary-dark: #073436;
  --primary-light: #e4efef;
  --accent: #00e5ff;
  --accent-hover: #00b8cc;
  --text-dark: #1e2a2b;
  --text-muted: #5e6f70;
  --bg-light: #f5f8f8;
  --bg-white: #ffffff;
  --alert-success: #00e5ff;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows & Radius */
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 30px rgba(11, 77, 79, 0.08);
  --shadow-lg: 0 20px 40px rgba(11, 77, 79, 0.15);
  --radius: 20px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

/* Container */
.section-container, .header-container, .footer-container, .footer-bottom-container, .hero-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Buttons */
.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}

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

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 10px 0;
  transition: var(--transition);
}

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

.header-logo-svg {
  transition: transform 0.4s ease;
}

.logo-link:hover .header-logo-svg {
  transform: rotate(-5deg) scale(1.05);
}

.desktop-nav ul {
  display: flex;
  gap: 30px;
}

.desktop-nav a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  padding: 10px 0;
  position: relative;
  transition: color 0.3s;
}

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

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.desktop-nav a:hover::after, .desktop-nav a.active::after {
  width: 100%;
}

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

.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-light);
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid #e0e8e8;
}

.flag-img {
  width: 18px;
  height: auto;
  border-radius: 2px;
}

.lang-arrow {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

/* Mobile Overlay Menu */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 77, 79, 0.95);
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.mobile-nav-content {
  background-color: var(--bg-white);
  width: 80%;
  max-width: 320px;
  height: 100%;
  padding: 30px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mobile-nav-overlay.open .mobile-nav-content {
  transform: translateX(0);
}

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

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #f0f5f5;
}

.mobile-admin-link {
  color: var(--accent) !important;
  background-color: var(--primary);
  padding: 10px 15px !important;
  border-radius: 8px;
  border-bottom: none !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding: 30px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

.hero-card {
  min-height: 520px;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.5s ease;
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.hero-card:hover {
  transform: translateY(-5px);
}

.hero-card-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.hero-card-badge {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card-title {
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 15px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
}

.hero-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 25px;
}

.hero-card-btn {
  background-color: #ffffff;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 30px;
  display: inline-block;
  transition: var(--transition);
}

.hero-card-btn:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: scale(1.05);
}

/* Hero Bottom Bar */
.hero-bottom-bar {
  background-color: var(--primary);
  border-radius: 24px;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.consultant-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.consultant-avatar {
  border-radius: 50%;
  border: 2px solid var(--accent);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #1b2a32;
}

.consultant-details h3 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.consultant-details p {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-bar-buttons {
  display: flex;
  gap: 15px;
}

.bar-btn {
  padding: 10px 22px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.contact-btn {
  background-color: #ffffff;
  color: var(--primary);
}

.contact-btn:hover {
  background-color: var(--bg-light);
  transform: scale(1.03);
}

.quote-btn {
  background-color: var(--accent);
  color: var(--primary);
}

.quote-btn:hover {
  background-color: var(--accent-hover);
  transform: scale(1.03);
}

/* ==========================================================================
   SERVICES (HİZMETLERİMİZ)
   ========================================================================== */

.services-section {
  padding: 80px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
}

.slider-arrows {
  display: flex;
  gap: 10px;
}

.slider-arrow {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.slider-arrow:hover {
  background-color: var(--accent);
  color: var(--primary);
}

.services-slider-wrapper {
  overflow: hidden;
  margin-bottom: 40px;
  padding: 10px 0;
}

.services-slider {
  display: flex;
  gap: 25px;
  transition: transform 0.5s ease-in-out;
}

.service-card {
  flex: 0 0 calc(33.333% - 17px);
  background-color: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #edf2f2;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.service-card-body {
  padding: 30px;
}

.service-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card-link {
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.service-card-link:hover {
  color: var(--accent-hover);
  gap: 10px;
}

.section-footer-btn {
  text-align: center;
}

/* ==========================================================================
   WHY CHOOSE US (NEDEN BİZ?)
   ========================================================================== */

.why-us-section {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.why-us-header {
  text-align: center;
  margin-bottom: 60px;
}

.why-us-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.why-us-subtitle {
  color: var(--accent-hover);
  font-weight: 600;
  letter-spacing: 1px;
}

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

.why-card {
  background-color: var(--bg-light);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-card:hover {
  background-color: var(--primary-light);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  background-color: #ffffff;
  color: var(--primary);
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background-color: var(--primary);
  color: var(--accent);
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   PROJECTS (ÇALIŞMALARIMIZ)
   ========================================================================== */

.projects-section {
  padding: 80px 0;
}

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

.project-card {
  position: relative;
  height: 350px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card-img {
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 77, 79, 0.95) 0%, rgba(11, 77, 79, 0.4) 70%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.project-info {
  color: #ffffff;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.project-card:hover .project-info {
  transform: translateY(0);
}

.project-info h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.project-info p {
  font-size: 0.9rem;
  color: #d1ebeb;
  margin-bottom: 12px;
  line-height: 1.5;
}

.project-loc {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   PAGE BANNER (KURUMSAL, İLETİŞİM, HİZMETLER VB.)
   ========================================================================== */

.page-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 70px 0;
  text-align: center;
  color: #ffffff;
}

.banner-container h1 {
  color: #ffffff;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.banner-container p {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 500;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 80px 0;
}

.about-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #444;
}

.info-box-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.info-box-icon {
  background: var(--primary-light);
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 15px;
}

.info-box-card h3 {
  margin-bottom: 10px;
}

.info-box-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   FLOATING CALL & WHATSAPP ACTIONS
   ========================================================================== */

.floating-cta-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.floating-cta-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cta-btn:hover {
  transform: scale(1.1);
}

.phone-btn {
  background-color: #00e5ff;
  color: #0b4d4f;
}

.whatsapp-btn {
  background-color: #25d366;
}

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

.site-footer {
  background-color: #111a1b;
  color: #d1dfdf;
  padding: 80px 0 0;
  font-size: 0.95rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--accent);
}

.footer-about .footer-logo {
  margin-bottom: 20px;
}

.footer-desc {
  line-height: 1.7;
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
}

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

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

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

.footer-links i {
  font-size: 0.75rem;
  color: var(--accent);
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-contact i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 4px;
}

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

.footer-bottom {
  background-color: #0b1112;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.developer-credit a {
  color: var(--accent);
  font-weight: 600;
}

/* ==========================================================================
   ADMIN PANEL STYLES
   ========================================================================== */

/* Admin Login */
.admin-login-body {
  background: radial-gradient(circle at 10% 20%, #152c2e 0%, var(--primary-dark) 90%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

.login-card {
  background-color: #ffffff;
  width: 90%;
  max-width: 400px;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.login-card h2 {
  text-align: center;
  margin-bottom: 8px;
  font-weight: 800;
}

.login-card p {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 25px;
}

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

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

.admin-form-group input, .admin-form-group textarea, .admin-form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}

.admin-form-group input:focus, .admin-form-group textarea:focus, .admin-form-group select:focus {
  border-color: var(--accent);
}

/* Admin Dashboard layout */
.admin-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.sidebar-logo {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.sidebar-menu a:hover, .sidebar-menu a.active {
  background-color: var(--primary);
  color: var(--accent);
}

.sidebar-menu i {
  font-size: 1.1rem;
  width: 20px;
}

.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ff4d4d;
  font-weight: 600;
}

.admin-main {
  background-color: var(--bg-light);
  padding: 40px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
  border-bottom: 1px solid #e0e8e8;
  padding-bottom: 20px;
}

.admin-header h1 {
  font-size: 2rem;
  font-weight: 800;
}

.admin-user-badge {
  background-color: #ffffff;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Stats Cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.stat-card-info h3 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.stat-card-info p {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-card-icon {
  background-color: var(--primary-light);
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* Admin Dashboard Sections */
.admin-section {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

/* Tables */
.admin-table-wrapper {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th, .admin-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #f0f5f5;
}

.admin-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  background-color: var(--bg-light);
}

.admin-table tr:hover {
  background-color: #fafcfc;
}

.badge {
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-pending {
  background-color: #fff9e6;
  color: #cc9900;
}

.badge-read {
  background-color: #e6f9f9;
  color: #00b3b3;
}

.actions-cell {
  display: flex;
  gap: 8px;
}

.btn-action-edit {
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
}

.btn-action-delete {
  background-color: #ffe6e6;
  color: #ff4d4d;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
}

.btn-action-read {
  background-color: #e6f9f9;
  color: #00b3b3;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Alert styles */
.alert-box {
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  font-weight: 600;
}

.alert-box-danger {
  background-color: #ffe6e6;
  color: #ff4d4d;
  border-left: 5px solid #ff4d4d;
}

/* ==========================================================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-card {
    min-height: 420px;
    padding: 30px;
  }
  
  .hero-card-title {
    font-size: 1.8rem;
  }

  .service-card {
    flex: 0 0 calc(50% - 13px);
  }
  
  .why-us-grid, .projects-grid, .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-bottom-bar {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .hero-bar-buttons {
    width: 100%;
    justify-content: center;
  }

  .service-card {
    flex: 0 0 100%;
  }

  .why-us-grid, .projects-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .admin-wrapper {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    display: none; /* In responsive admin layout sidebar would be toggled */
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
}
