/* ==========================================================================
   Güncel Asansör - Core Design System & Master Stylesheet
   Theme: Light Theme (Navy Blue Base with Energetic Red Accents)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Brand Primary: Deep Navy & Royal Blue */
  --color-navy-dark: #0B192C;
  --color-navy-main: #1E3E62;
  --color-navy-light: #2E5B88;
  --color-blue-accent: #2563EB;
  --color-blue-soft: #EFF6FF;

  /* Brand Secondary: Vibrant Red Accents */
  --color-red-main: #DC2626;
  --color-red-hover: #B91C1C;
  --color-red-light: #FEF2F2;
  --color-red-glow: rgba(220, 38, 38, 0.25);

  /* Light Theme Surfaces & Backgrounds */
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-navy-section: #0B192C;

  /* Text & Typography Colors */
  --text-dark: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* Borders & Shadows */
  --border-color: #E2E8F0;
  --border-color-hover: #CBD5E1;
  --shadow-sm: 0 2px 4px rgba(11, 25, 44, 0.04);
  --shadow-md: 0 6px 16px rgba(11, 25, 44, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 25, 44, 0.12);
  --shadow-xl: 0 20px 48px rgba(11, 25, 44, 0.16);
  --shadow-red: 0 8px 24px rgba(220, 38, 38, 0.3);

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Layout Spacing */
  --header-height: 80px;
  --container-max: 1240px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & General Typography
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   3. Navigation Header & Top Announcement Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--color-navy-dark);
  color: var(--text-light);
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #E2E8F0;
}

.top-bar-item svg {
  color: var(--color-red-main);
  width: 16px;
  height: 16px;
}

.emergency-pill {
  background-color: var(--color-red-main);
  color: var(--text-white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-brand img, .logo-brand svg {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-navy-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background-color: var(--color-red-main);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--color-red-main);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: None;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-red-main);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
}

.btn-navy {
  background-color: var(--color-navy-dark);
  color: var(--text-white);
}

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

.btn-outline {
  background: transparent;
  color: var(--color-navy-dark);
  border: 2px solid var(--color-navy-main);
}

.btn-outline:hover {
  background-color: var(--color-navy-main);
  color: var(--text-white);
}

.btn-admin {
  background-color: #F1F5F9;
  color: var(--color-navy-dark);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.btn-admin:hover {
  background-color: var(--color-navy-dark);
  color: var(--text-white);
}

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

/* --------------------------------------------------------------------------
   4. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0B192C 0%, #1E3E62 100%);
  color: var(--text-white);
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  mask-image: linear-gradient(to right, transparent 0%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #FCA5A5;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-red-main);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-red-main);
}

.hero-title {
  font-size: 3.25rem;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-title span {
  color: #38BDF8;
  position: relative;
}

.hero-title span.highlight-red {
  color: #EF4444;
}

.hero-description {
  font-size: 1.15rem;
  color: #CBD5E1;
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-card-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: #FFFFFF;
}

.stat-value-accent {
  color: var(--color-red-main);
}

.stat-label {
  font-size: 0.875rem;
  color: #94A3B8;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
}

.hero-visual-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-float-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(11, 25, 44, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-float-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-red-main);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5. Section Header & Layout Utilities
   -------------------------------------------------------------------------- */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background-color: var(--bg-surface-alt);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-red-main);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   6. About Us / Why Choose Us Section
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background-color: var(--color-navy-dark);
  color: white;
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--color-red-main);
  box-shadow: var(--shadow-lg);
}

.about-experience-badge .num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-red-main);
}

.about-experience-badge .txt {
  font-size: 0.85rem;
  color: #CBD5E1;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--color-red-light);
  color: var(--color-red-main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

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

/* --------------------------------------------------------------------------
   7. Services Section
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-navy-main);
  transition: background var(--transition-fast);
}

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

.service-card:hover::before {
  background: var(--color-red-main);
}

.service-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--color-blue-soft);
  color: var(--color-navy-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--color-red-main);
  color: var(--text-white);
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-feature-ul {
  margin-top: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.service-feature-li {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-feature-li svg {
  color: var(--color-red-main);
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   8. Cabin Designs Showcase Section (Admin Editable)
   -------------------------------------------------------------------------- */
.cabin-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover, .filter-pill.active {
  background-color: var(--color-navy-dark);
  color: var(--text-white);
  border-color: var(--color-navy-dark);
}

.filter-pill.active-red {
  background-color: var(--color-red-main);
  color: var(--text-white);
  border-color: var(--color-red-main);
}

.cabins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.cabin-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.cabin-image-holder {
  position: relative;
  height: 260px;
  background-color: var(--color-navy-dark);
  overflow: hidden;
}

.cabin-image-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.cabin-card:hover .cabin-image-holder img {
  transform: scale(1.05);
}

.cabin-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--color-red-main);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.cabin-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cabin-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.cabin-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.cabin-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  background-color: var(--bg-surface-alt);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.cabin-meta-item {
  display: flex;
  justify-content: space-between;
}

.cabin-meta-key {
  color: var(--text-muted);
}

.cabin-meta-val {
  font-weight: 600;
  color: var(--color-navy-dark);
}

.cabin-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  margin-top: 1rem;
}

.cabin-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* Homepage Pure Cabin Preview Grid */
.home-cabins-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
  margin-top: 2rem;
}

.home-cabin-pure-card {
  display: block;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background-color: var(--color-navy-dark);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-cabin-pure-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.22);
}

.home-cabin-pure-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 992px) {
  .home-cabins-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .home-cabins-preview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .home-cabin-pure-card {
    height: 260px;
  }
}

/* --------------------------------------------------------------------------
   9. References & Portfolio Section
   -------------------------------------------------------------------------- */
.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.ref-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition-normal);
}

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

.ref-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.ref-content {
  padding: 1.25rem;
}

.ref-title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.ref-scope {
  color: var(--color-red-main);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ref-location {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* --------------------------------------------------------------------------
   10. Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars-row {
  color: #F59E0B;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-navy-main);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. Contact & Quick Quote Section
   -------------------------------------------------------------------------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.contact-info-side {
  background-color: var(--color-navy-dark);
  color: var(--text-white);
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-title {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: 2.5rem 0;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.5);
  color: var(--color-red-main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 0.85rem;
  color: #94A3B8;
}

.contact-detail-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: white;
}

.contact-form-side {
  padding: 3.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-navy-dark);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  background-color: var(--bg-page);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-red-main);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
  background-color: white;
}

/* --------------------------------------------------------------------------
   12. Native HTML Dialog Modals & Light Dismiss Styling
   -------------------------------------------------------------------------- */
dialog {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  background: white;
  box-shadow: var(--shadow-xl);
  max-width: 650px;
  width: 90%;
  margin: auto;
  overflow: hidden;
}

dialog::backdrop {
  background-color: rgba(11, 25, 44, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.dialog-header {
  background-color: var(--color-navy-dark);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dialog-title {
  color: white;
  font-size: 1.35rem;
}

.dialog-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.8;
}

.dialog-close-btn:hover {
  opacity: 1;
  color: var(--color-red-main);
}

.dialog-content {
  padding: 2rem;
  max-height: 80vh;
  overflow-y: auto;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--color-navy-dark);
  color: var(--text-light);
  padding: 5rem 0 2rem;
  border-top: 4px solid var(--color-red-main);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  height: 48px;
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: #94A3B8;
  margin-bottom: 1.5rem;
}

.footer-title {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #CBD5E1;
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   14. Toast Notification & Responsive Rules
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.toast {
  background-color: var(--color-navy-dark);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--color-red-main);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  animation: slide-in 0.3s cubic-bezier(0, 0, 0.2, 1);
}

@keyframes slide-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 992px) {
  .hero-grid, .about-grid, .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero-stats-bar {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
