/* CSS Variables - Color Palette */
:root {
  /* Custom color palette for high-end roofing company - Deep Slate Charcoal, Industrial Silver, Safety Orange */
  --background: oklch(0.98 0.002 60);
  --foreground: oklch(0.23 0.01 240);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.23 0.01 240);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.23 0.01 240);
  --primary: oklch(0.23 0.01 240);
  --primary-foreground: oklch(0.98 0.002 60);
  --secondary: oklch(0.67 0.01 240);
  --secondary-foreground: oklch(0.98 0.002 60);
  --muted: oklch(0.93 0.005 240);
  --muted-foreground: oklch(0.5 0.01 240);
  --accent: oklch(0.67 0.195 45);
  --accent-foreground: oklch(0.98 0.002 60);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.985 0 0);
  --border: oklch(0.88 0.005 240);
  --input: oklch(0.88 0.005 240);
  --ring: oklch(0.67 0.195 45);
  --radius: 0.5rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --chart-1: oklch(0.67 0.195 45);
  --chart-2: oklch(0.23 0.01 240);
  --chart-3: oklch(0.67 0.01 240);
  --chart-4: oklch(0.5 0.01 240);
  --chart-5: oklch(0.93 0.005 240);
  --sidebar: oklch(0.985 0 0);
  --sidebar-foreground: oklch(0.145 0 0);
  --sidebar-primary: oklch(0.205 0 0);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.97 0 0);
  --sidebar-accent-foreground: oklch(0.205 0 0);
  --sidebar-border: oklch(0.922 0 0);
  --sidebar-ring: oklch(0.708 0 0);
}

.dark {
  --background: oklch(0.18 0.01 240);
  --foreground: oklch(0.98 0.002 60);
  --card: oklch(0.23 0.01 240);
  --card-foreground: oklch(0.98 0.002 60);
  --popover: oklch(0.23 0.01 240);
  --popover-foreground: oklch(0.98 0.002 60);
  --primary: oklch(0.98 0.002 60);
  --primary-foreground: oklch(0.23 0.01 240);
  --secondary: oklch(0.35 0.01 240);
  --secondary-foreground: oklch(0.98 0.002 60);
  --muted: oklch(0.35 0.01 240);
  --muted-foreground: oklch(0.67 0.01 240);
  --accent: oklch(0.67 0.195 45);
  --accent-foreground: oklch(0.98 0.002 60);
  --destructive: oklch(0.396 0.141 25.723);
  --destructive-foreground: oklch(0.985 0 0);
  --border: oklch(0.35 0.01 240);
  --input: oklch(0.35 0.01 240);
  --ring: oklch(0.67 0.195 45);
  --chart-1: oklch(0.646 0.222 41.116);
  --chart-2: oklch(0.6 0.118 184.704);
  --chart-3: oklch(0.398 0.07 227.392);
  --chart-4: oklch(0.828 0.189 84.429);
  --chart-5: oklch(0.769 0.188 70.08);
  --sidebar: oklch(0.205 0 0);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.269 0 0);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(0.269 0 0);
  --sidebar-ring: oklch(0.439 0 0);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

.text-balance {
  text-wrap: balance;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s;
  color: white;
  background: transparent;
  width: 100%;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  color: var(--foreground);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

/* Logo icon - sabit boyut (index'te boyutunu bozma) */
.navbar-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  object-fit: contain;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Varsayılan logo icon (RC) */
.navbar-logo-icon.navbar-logo-default {
  background-color: var(--primary);
}

.navbar-logo-icon.navbar-logo-default span {
  font-weight: 700;
  font-size: 1.25rem;
  font-family: monospace;
  color: var(--primary-foreground);
}

/* Logo text */
.navbar-logo-text {
  font-weight: 700;
  font-size: 1.50rem;
  letter-spacing: -0.025em;
  font-family: monospace;
  color: inherit;
  white-space: nowrap;
}

.navbar-logo-reg {
  color: var(--accent);
}

.navbar:not(.scrolled) .navbar-logo {
  color: white;
}

.navbar:not(.scrolled) .navbar-logo span {
  color: white;
}

.navbar:not(.scrolled) .navbar-logo > div {
  background-color: transparent !important;
}

.navbar:not(.scrolled) .navbar-logo > div span {
  color: white !important;
}

.navbar:not(.scrolled) .navbar-logo-text {
  color: white;
}

/* Logo tagline */
.navbar-logo-tagline {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 3.2;
  white-space: nowrap;
  color: inherit;
  margin-top: -20px;
  display: block;
}

.navbar:not(.scrolled) .navbar-logo-tagline {
  color: white;
  opacity: 0.95;
}

.navbar.scrolled .navbar-logo-tagline {
  color: var(--foreground);
  opacity: 0.9;
}

/* Logo görünürlüğü - Normal durumda light logo, scrolled durumda dark logo */
.navbar-logo-icon.navbar-logo-dark {
  display: none !important;
}

.navbar-logo-icon.navbar-logo-light {
  display: flex !important;
}

.navbar.scrolled .navbar-logo-icon.navbar-logo-dark {
  display: flex !important;
}

.navbar.scrolled .navbar-logo-icon.navbar-logo-light {
  display: none !important;
}

.navbar-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .navbar-menu {
    display: flex;
  }
}

.navbar-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

.navbar-link:hover {
  color: var(--accent);
}

.navbar:not(.scrolled) .navbar-link:hover {
  color: var(--accent);
}

.navbar-mobile-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  padding: 0.5rem;
}

.navbar:not(.scrolled) .navbar-mobile-toggle {
  color: white;
}

@media (min-width: 768px) {
  .navbar-mobile-toggle {
    display: none;
  }
}

.navbar-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--background);
  border-top: 1px solid var(--border);
  padding: 1.5rem 1rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 100;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-mobile-menu.open {
  display: flex;
}

.navbar-mobile-menu .navbar-link {
  color: var(--foreground);
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.btn-lg {
  height: 2.5rem;
  padding: 0 1.5rem;
  font-size: 1.125rem;
}

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

.btn-primary:hover {
  background-color: color-mix(in oklch, var(--primary) 90%, black);
}

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

.btn-accent:hover {
  background-color: color-mix(in oklch, var(--accent) 90%, black);
  transform: scale(1.05);
  color: white !important;
  font-weight: 700;
}

/* Ensure all btn-accent buttons have white text on hover */
a.btn-accent:hover,
button.btn-accent:hover {
  color: white !important;
}

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

.btn-outline:hover {
  background-color: var(--foreground);
  color: var(--background);
}

/* Hero section button styles */
.hero-section .btn-outline {
  border: 2px solid white;
  color: white;
  background-color: transparent;
}

.hero-section .btn-outline:hover {
  background-color: white;
  color: var(--foreground);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    min-height: 700px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, color-mix(in oklch, var(--primary) 90%, transparent), color-mix(in oklch, var(--primary) 50%, transparent));
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding-bottom: 12rem;
}

@media (min-width: 768px) {
  .hero-content {
    padding-bottom: 14rem;
  }
}

.hero-text {
  text-align: center;
  color: var(--primary-foreground);
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 5rem;
  }
}

.hero-subtitle {
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    padding: 0;
  }
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 1.875rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    padding: 0;
  }
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  padding: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  color: white;
  z-index: 20;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
}

.hero-nav:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.hero-nav.prev {
  left: 1rem;
}

@media (min-width: 1024px) {
  .hero-nav.prev {
    left: 2rem;
  }
}

.hero-nav.next {
  right: 1rem;
}

@media (min-width: 1024px) {
  .hero-nav.next {
    right: 2rem;
  }
}

.hero-dots {
  position: absolute;
  bottom: 18rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 30;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-dots {
    bottom: 14rem;
  }
}

.hero-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dot.active {
  background-color: var(--accent);
  width: 0.75rem;
}

/* Section */
.section {
  padding: 6rem 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 8rem 0;
  }
}


.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3.75rem;
  }
}

.section-subtitle {
  font-size: 0.875rem;
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

/* Card */
.card {
  background-color: var(--card);
  color: var(--card-foreground);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Trust Badges */
.trust-badges {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 1.5rem 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
  .trust-badges {
    padding: 2rem 0;
  }
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .trust-badges-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.trust-badge-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--radius) + 4px);
  padding: 1rem;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .trust-badge-card {
    padding: 1.5rem;
    gap: 1rem;
  }
}

.trust-badge-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.trust-badge-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--accent);
  stroke-width: 2;
}

@media (min-width: 768px) {
  .trust-badge-icon {
    width: 3rem;
    height: 3rem;
  }
}

.trust-badge-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: white;
  margin: 0;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .trust-badge-title {
    font-size: 1.125rem;
  }
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  text-align: center;
  color: var(--primary-foreground);
  transition: transform 0.3s;
}

.glass-effect:hover {
  transform: scale(1.05);
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Services Section */
.services-section {
  background-color: color-mix(in oklch, var(--muted) 30%, transparent);
}

/* Services grid responsive */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Regions grid responsive */
.regions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .regions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .regions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Form */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
select.form-input {
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--input);
  background-color: transparent;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  transition: all 0.3s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
select.form-input:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--ring) 50%, transparent);
}

.form-textarea {
  min-height: 8rem;
  resize: vertical;
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='currentColor' stroke-width='2' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-accent {
  color: var(--accent);
}

.bg-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.bg-muted {
  background-color: var(--muted);
}

.bg-gradient-primary {
  background: linear-gradient(to bottom, var(--primary), var(--background));
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 1rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.pt-32 {
  padding-top: 8rem;
}

.pb-24 {
  padding-bottom: 6rem;
}

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

/* Link */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

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

/* Prose styles for blog content */
.prose {
  max-width: none;
}

.prose h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.prose h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.prose p {
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.prose ul {
  color: var(--muted-foreground);
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.prose li {
  margin: 0.5rem 0;
}

.prose strong {
  color: var(--foreground);
  font-weight: 600;
}

.prose a {
  color: var(--accent);
  text-decoration: none;
}

.prose a:hover {
  text-decoration: underline;
}

/* Portfolio masonry */
.portfolio-masonry {
  column-count: 1;
  column-gap: 1.5rem;
}

@media (min-width: 768px) {
  .portfolio-masonry {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .portfolio-masonry {
    column-count: 3;
  }
}

.portfolio-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

.portfolio-item a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.portfolio-item:hover a {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.portfolio-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.5rem;
  pointer-events: none;
  border-radius: calc(var(--radius) + 4px);
}

.portfolio-overlay .badge {
  background-color: transparent;
  color: var(--accent);
  padding: 0;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 0;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

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

/* Services card hover effects */
.service-card {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid var(--border);
}

.service-card .service-icon {
  color: var(--primary);
  transition: color 0.3s;
  width: 3rem;
  height: 3rem;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-card:hover .service-icon {
  color: var(--accent) !important;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--foreground);
}

.service-features li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--accent);
  border-radius: 9999px;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* Blog/Insights card hover effects */
.card:hover img {
  transform: scale(1.1);
  transition: transform 0.5s ease;
}

.card img {
  transition: transform 0.5s ease;
}

/* Project card hover effects */
.project-card:hover .project-image,
a:hover .project-image {
  transform: scale(1.1);
}

/* Gallery image hover effects */
.gallery-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  height: 16rem;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-image-wrapper:hover .gallery-image {
  transform: scale(1.1);
}

/* CTA Button Hover Effects */
.cta-button-primary:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.cta-button-outline:hover {
  background-color: var(--primary-foreground) !important;
  color: var(--primary) !important;
}

/* Project Detail Button Styles */
.project-cta-button {
  background-color: var(--accent) !important;
  color: var(--accent-foreground) !important;
  border-color: var(--accent) !important;
}

.view-all-projects-btn:hover {
  background-color: var(--accent) !important;
  color: var(--accent-foreground) !important;
  border-color: var(--accent) !important;
}

/* Google Maps Responsive */
@media (max-width: 768px) {
  iframe[src*="google.com/maps"] {
    height: 300px !important;
  }
}

/* Regions hover effect */
.region-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  transition: background-color 0.3s;
}

.region-card:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Regions CTA Button with animated underline */
.regions-cta-button,
a.regions-cta-button,
.btn.regions-cta-button,
.btn.btn-accent.regions-cta-button {
  position: relative;
  overflow: hidden;
  background-color: var(--accent) !important;
  color: white !important;
}

.regions-cta-button::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.regions-cta-button:hover,
a.regions-cta-button:hover,
.btn.regions-cta-button:hover,
.btn.btn-accent.regions-cta-button:hover {
  background-color: var(--accent) !important;
  color: white !important;
  transform: none !important;
}

.regions-cta-button:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Sticky */
.sticky {
  position: sticky;
  top: 6rem;
}

/* Responsive images */
.responsive-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Icon styles */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
}

.icon-xl {
  width: 3rem;
  height: 3rem;
}

/* Footer Grid Layout */
.footer-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
    column-gap: 0.75rem;
  }
  .footer-grid > div:first-child {
    padding-right: 2.5rem;
  }
}

/* Footer social media icons hover effect */
footer .social-icon {
  transition: color 0.3s ease;
}

footer .social-icon:hover {
  color: var(--accent) !important;
}

/* Badge */
.badge {
  display: inline-block;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: calc(var(--radius) - 2px);
}

/* Animations */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fade-up 0.6s ease-out;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

/* 404 Error Page Styles */
@media (max-width: 768px) {
  .section h1[style*="font-size: 8rem"] {
    font-size: 5rem !important;
  }
  
  .section h2[style*="font-size: 2.5rem"] {
    font-size: 1.875rem !important;
  }
  
  .section p[style*="font-size: 1.25rem"] {
    font-size: 1rem !important;
  }
}

@media (max-width: 640px) {
  .section h1[style*="font-size: 8rem"] {
    font-size: 4rem !important;
  }
  
  .section h2[style*="font-size: 2.5rem"] {
    font-size: 1.5rem !important;
  }
}

/* Alert/Notification Messages */
.alert {
  position: relative;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 5px solid;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.alert:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.alert-success {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #14532d;
  border-left-color: #10b981;
  border-top: 1px solid rgba(16, 185, 129, 0.1);
  border-right: 1px solid rgba(16, 185, 129, 0.1);
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.alert-success svg {
  color: #10b981;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.125rem;
  filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.2));
}

.alert-error {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #7f1d1d;
  border-left-color: #ef4444;
  border-top: 1px solid rgba(239, 68, 68, 0.1);
  border-right: 1px solid rgba(239, 68, 68, 0.1);
  border-bottom: 1px solid rgba(239, 68, 68, 0.1);
}

.alert-error svg {
  color: #ef4444;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.125rem;
  filter: drop-shadow(0 2px 4px rgba(239, 68, 68, 0.2));
}

.alert-content {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.alert-close {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  opacity: 0.6;
  transition: all 0.2s ease;
  border-radius: calc(var(--radius) - 2px);
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.alert-close:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

.alert-close:active {
  transform: rotate(90deg) scale(0.95);
}

.alert-close svg {
  width: 1.125rem;
  height: 1.125rem;
  stroke-width: 2.5;
}

/* Responsive */
@media (max-width: 640px) {
  .alert {
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }
  
  .alert-content {
    font-size: 0.9375rem;
  }
  
  .alert-success svg,
  .alert-error svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* 404 Page Link Hover Effects */
a[href*="services"],
a[href*="projects"],
a[href*="blog"],
a[href*="contact"] {
  position: relative;
}

a[href*="services"]:hover,
a[href*="projects"]:hover,
a[href*="blog"]:hover,
a[href*="contact"]:hover {
  color: var(--accent) !important;
  text-decoration: underline;
}

/* Footer Logo Section */
.footer-logo-section {
  margin-bottom: 1rem;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  max-height: 2.5rem;
  width: auto;
}

.footer-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon span {
  font-weight: 700;
  font-size: 1.25rem;
  font-family: monospace;
  color: var(--accent-foreground);
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-logo-title {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  font-family: monospace;
  color: var(--primary-foreground);
}

.footer-logo-reg {
  color: var(--accent);
}

.footer-logo-subtitle {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.3;
  margin-top: 2px;
  color: #ffffff;
  opacity: 1;
  display: block;
  visibility: visible;
  position: relative;
  z-index: 10;
}

.footer-text {
  color: var(--primary-foreground);
  opacity: 0.7;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.footer-text p {
  margin-bottom: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social .social-icon {
  color: inherit;
  transition: color 0.3s;
}

.footer-social .social-icon:hover {
  color: var(--accent);
}

/* Footer Main Styles */
footer.bg-primary {
  color: var(--primary-foreground);
  padding: 4rem 0;
  background-color: var(--primary);
}

/* Footer Grid - 4 columns */
footer .grid.grid-cols-1.grid-cols-2.grid-cols-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  footer .grid.grid-cols-1.grid-cols-2.grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  footer .grid.grid-cols-1.grid-cols-2.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

/* Footer Column Headings */
footer h3 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--primary-foreground);
}

/* Footer Links Lists */
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--primary-foreground);
  opacity: 0.7;
}

footer ul a {
  color: inherit;
  transition: color 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

footer ul a:hover {
  color: var(--accent);
  opacity: 1;
}

/* Özel Linkler - 2 Column Grid - Kompakt */
footer .grid[style*="grid-template-columns: 1fr 1fr"] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 0.75rem;
  align-items: start;
}

footer .grid[style*="grid-template-columns: 1fr 1fr"] ul {
  gap: 0.25rem !important;
  margin: 0;
  padding: 0;
}

footer .grid[style*="grid-template-columns: 1fr 1fr"] ul li {
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

footer .grid[style*="grid-template-columns: 1fr 1fr"] ul a {
  font-size: 0.875rem;
  padding: 0;
  margin: 0;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 640px) {
  footer .grid[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* Özel Linkler Hover Effect - Turuncu */
footer .grid[style*="grid-template-columns: 1fr 1fr"] ul a {
  color: inherit;
  transition: color 0.3s ease, opacity 0.3s ease;
}

footer .grid[style*="grid-template-columns: 1fr 1fr"] ul a:hover {
  color: var(--accent) !important;
  opacity: 1;
}

/* Footer Bottom Section */
footer > .container > div:last-child {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer > .container > div:last-child p {
  color: var(--primary-foreground);
  opacity: 0.7;
  font-size: 0.875rem;
  margin: 0;
}

footer > .container > div:last-child > div {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--primary-foreground);
  opacity: 0.7;
}

footer > .container > div:last-child > div a {
  color: inherit;
  transition: color 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
}

footer > .container > div:last-child > div a:hover {
  color: var(--accent);
  opacity: 1;
}

/* Footer Logo Section Improvements */
footer > .container > div:first-child > div:first-child > div:first-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

footer > .container > div:first-child > div:first-child > div:first-child img {
  max-height: 2.5rem;
  width: auto;
}

footer > .container > div:first-child > div:first-child > div:first-child > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 0;
}

footer > .container > div:first-child > div:first-child > div:first-child > div:last-child > span:first-child {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  font-family: monospace;
  color: var(--primary-foreground);
}

footer > .container > div:first-child > div:first-child > div:first-child > div:last-child > span:first-child > span {
  color: var(--accent);
}

footer > .container > div:first-child > div:first-child > div:first-child > div:last-child > span:last-child {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.3;
  margin-top: 2px;
  color: #ffffff;
  opacity: 1;
  display: block;
  visibility: visible;
  position: relative;
  z-index: 10;
}

/* Footer Text Section */
footer > .container > div:first-child > div:first-child > div:nth-child(2) {
  color: var(--primary-foreground);
  opacity: 0.7;
  line-height: 1.75;
  margin-bottom: 1rem;
}

footer > .container > div:first-child > div:first-child > div:nth-child(2) p {
  margin-bottom: 0.5rem;
}

/* Footer Social Icons */
footer > .container > div:first-child > div:first-child > div:last-child {
  display: flex;
  gap: 1rem;
}

footer > .container > div:first-child > div:first-child > div:last-child .social-icon {
  color: inherit;
  transition: color 0.3s ease;
}

footer > .container > div:first-child > div:first-child > div:last-child .social-icon:hover {
  color: var(--accent);
  transform: scale(1.1);
}

/* Responsive Footer */
@media (max-width: 768px) {
  footer.bg-primary {
    padding: 3rem 0;
  }
  
  footer .grid.grid-cols-1.grid-cols-2.grid-cols-4 {
    gap: 2rem;
  }
  
  footer h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  footer ul {
    gap: 0.375rem;
  }
  
  footer > .container > div:last-child {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  
  footer > .container > div:last-child > div {
    flex-direction: column;
    gap: 0.75rem;
  }
}

