/* =============================================
   ÇAĞKAR MİMARLIK - Main Stylesheet
   ============================================= */

/* ----- CSS Variables ----- */
:root {
  --primary: #B71C1C;
  --primary-light: #D32F2F;
  --primary-dark: #8B0000;
  --dark: #0D1B2A;
  --dark-secondary: #1B2838;
  --light: #F5F5F5;
  --white: #FFFFFF;
  --text: #111111;
  --text-light: rgba(255, 255, 255, 0.8);
  --text-muted: #595959;
  --font: 'Montserrat', sans-serif;
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: var(--font);
}

input,
textarea,
select {
  font-family: var(--font);
  outline: none;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* ----- Utility Classes ----- */
.section-padding {
  padding: 100px 0;
}

.section-padding-sm {
  padding: 60px 0;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

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

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

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

.text-primary-custom {
  color: var(--primary);
}

.text-white-custom {
  color: var(--white);
}

.text-light-custom {
  color: var(--text-light);
}

.letter-spacing-1 {
  letter-spacing: 1px;
}

.letter-spacing-2 {
  letter-spacing: 2px;
}

.letter-spacing-3 {
  letter-spacing: 3px;
}

.letter-spacing-4 {
  letter-spacing: 4px;
}

/* ----- Buttons ----- */
.btn-cagkar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary);
  color: var(--white);
  padding: 14px 35px;
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
  font-family: var(--font);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

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

.btn-cagkar i {
  font-size: 12px;
  transition: var(--transition);
}

.btn-cagkar:hover i {
  transform: translateX(4px);
}

.btn-cagkar-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  color: var(--text);
  padding: 14px 35px;
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
  font-family: var(--font);
  transition: var(--transition);
  border: 2px solid var(--text);
  cursor: pointer;
}

.btn-cagkar-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-cagkar-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  color: var(--white);
  padding: 14px 35px;
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
  font-family: var(--font);
  transition: var(--transition);
  border: 2px solid var(--white);
  cursor: pointer;
}

.btn-cagkar-outline-white:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ----- Header / Navbar ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 0;
  transition: var(--transition);
  background-color: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.site-header.scrolled {
  background-color: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
  padding: 5px 0;
}

/* New header layout - Logo centered, nav split left/right */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  height: 110px;
}

.site-header.scrolled .header-container {
  height: 85px;
}

.header-nav-left,
.header-nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-nav-left a,
.header-nav-right a {
  color: var(--dark);
  text-decoration: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  white-space: nowrap;
}

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

.header-nav-left a.active,
.header-nav-right a.active {
  border-bottom: 2px solid var(--primary);
  padding-bottom: 4px;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo a {
  display: flex;
  align-items: center;
}

.header-logo img {
  max-height: 120px;
  transition: max-height 0.3s ease;
}

.site-header.scrolled .header-logo img {
  max-height: 85px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.btn-talep {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
  white-space: nowrap;
}

.btn-talep:hover {
  background: transparent;
  color: var(--primary);
}

.btn-talep i {
  font-size: 0.8rem;
}

/* ----- Mobile Hamburger ----- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1100;
  position: relative;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--dark);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----- Mobile Menu ----- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--dark);
  z-index: 1050;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  padding: 100px 40px 40px;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu .mobile-nav-links a {
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.mobile-menu .mobile-nav-links a:hover,
.mobile-menu .mobile-nav-links a.active {
  color: #EF5350;
  padding-left: 10px;
}

.mobile-menu .mobile-cta {
  margin-top: 40px;
}

.mobile-menu .mobile-cta .btn-talep {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary);
  color: var(--white);
  padding: 14px 35px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
}

.mobile-menu .mobile-cta .btn-talep:hover {
  background-color: var(--primary-dark);
}

/* ----- Hero Section ----- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: #0D1B2A;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 60px;
  padding: 0 15px;
}

.hero-content h1,
.hero-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 3px;
  line-height: 1.2;
  text-transform: none;
  flex-shrink: 0;
}

.hero-content h1 span,
.hero-content h2 span {
  color: var(--primary);
}

.hero-desc {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10px;
}

.hero-desc h1,
.hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 500px;
}

/* ----- Scrollbar ----- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ----- Selection ----- */
::selection {
  background-color: var(--primary);
  color: var(--white);
}

/* ----- Body no-scroll (mobile menu open) ----- */
body.no-scroll {
  overflow: hidden;
}

/* =============================================
   ABOUT SPLIT SECTION
   ============================================= */
.about-section {
  overflow: hidden;
}

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

.about-image {
  width: 100%;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 0;
}

.about-quote {
  padding: 30px 0;
}

.quote-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.quote-text {
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-muted);
}

.about-info {
  padding-left: 40px;
}

.about-side-image {
  width: 100%;
  min-height: 250px;
  background-size: cover;
  background-position: center;
}

/* =============================================
   PROJECTS MARQUEE STRIP
   ============================================= */
.projects-marquee {
  padding: 80px 0;
}

/* =============================================
   PROJECTS SLIDER
   ============================================= */
.projects-slider-section {
  padding: 0;
  overflow: hidden;
}

.project-slide {
  width: 350px;
  height: 450px;
  position: relative;
  overflow: hidden;
}

.project-slide a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

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

.project-slide:hover .project-image {
  transform: scale(1.05);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.project-info p {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

/* Swiper Navigation Arrows */
.projects-swiper .swiper-button-prev,
.projects-swiper .swiper-button-next {
  color: var(--primary);
}

.projects-swiper .swiper-button-prev:hover,
.projects-swiper .swiper-button-next:hover {
  color: var(--primary-light);
}

/* Swiper Pagination Dots */
.projects-pagination {
  position: relative;
  margin-top: 20px;
  padding: 15px 0;
}

.projects-pagination .swiper-pagination-bullet {
  width: 24px;
  height: 24px;
  background: var(--text-muted);
  opacity: 0.5;
  transition: var(--transition);
}

.projects-pagination .swiper-pagination-bullet-active {
  background: var(--primary);
  opacity: 1;
}

.swiper-nav-container {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 10px;
}

.swiper-nav-container .swiper-button-prev,
.swiper-nav-container .swiper-button-next {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  margin-top: 0;
}

/* =============================================
   KENTSEL DONUSUM SECTION
   ============================================= */
.kentsel-section {
  overflow: hidden;
}

.kentsel-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  cursor: pointer;
}

.kentsel-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.kentsel-card:hover .kentsel-card-image {
  transform: scale(1.05);
}

.kentsel-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.7) 100%);
  transition: background 0.3s ease;
}

.kentsel-card:hover .kentsel-card-overlay {
  background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.8) 100%);
}

.kentsel-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.kentsel-card-content h3 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.kentsel-card-content p {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 300;
  margin: 0;
}

.kentsel-card-link {
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.kentsel-card-link:hover {
  color: var(--white);
}

.kentsel-card-link i {
  transition: transform 0.3s ease;
}

.kentsel-card-link:hover i {
  transform: translateX(4px);
}

/* =============================================
   CONTACT / CTA SECTION
   ============================================= */
.contact-cta-section {
  background: var(--dark);
  padding: 100px 0;
}

.contact-form-card {
  background: white;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group-custom {
  margin-bottom: 25px;
}

.form-group-custom label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.input-wrapper {
  position: relative;
}

.input-wrapper input,
.input-wrapper textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid #e0e0e0;
  padding: 10px 35px 10px 0;
  font-size: 15px;
  font-family: var(--font);
  background: transparent;
  transition: var(--transition);
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
  border-bottom-color: var(--primary);
}

.input-wrapper i {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #ccc;
  font-size: 14px;
}

.input-wrapper textarea ~ i {
  top: 20px;
  transform: none;
}

.form-check-custom {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 25px;
}

.form-check-custom input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-check-custom label {
  font-size: 13px;
  color: var(--text-muted);
}

.form-check-custom a {
  color: var(--primary);
  text-decoration: underline;
}

/* =============================================
   BLOG SECTION
   ============================================= */
.blog-card {
  background: white;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.blog-card a {
  display: block;
  color: inherit;
}

.blog-card-image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
}

.blog-card-body {
  padding: 25px;
}

.blog-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-card-meta span {
  color: var(--primary);
}

.blog-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-body p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 15px;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.blog-card-footer span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--primary);
}

.blog-card-footer i {
  color: var(--primary);
  width: 35px;
  height: 35px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: var(--transition);
}

.blog-card:hover .blog-card-footer i {
  background: var(--primary);
  color: white;
}

/* Blog Pagination */
.blog-pagination {
  position: relative;
  margin-top: 20px;
  padding: 15px 0;
}

.blog-pagination .swiper-pagination-bullet {
  width: 24px;
  height: 24px;
  background: var(--text-muted);
  opacity: 0.5;
  transition: var(--transition);
}

.blog-pagination .swiper-pagination-bullet-active {
  background: var(--primary);
  opacity: 1;
}

/* =============================================
   FOOTER
   ============================================= */
.footer-newsletter {
  background: var(--light);
  padding: 30px 0;
  border-top: 1px solid #e0e0e0;
}

.newsletter-title {
  color: var(--dark);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid #ddd;
  font-size: 14px;
  background: white;
  border-radius: 0;
}

.newsletter-form button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

.newsletter-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 0;
}

.footer-main {
  background: var(--white);
  padding: 60px 0 40px;
  border-top: 1px solid #e0e0e0;
}

.footer-logo img {
  max-height: 100px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social li a {
  width: 36px;
  height: 36px;
  border: 1px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: var(--transition);
}

.footer-social li a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.footer-heading {
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-links li {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
}

.footer-links li a {
  color: var(--text-muted);
  font-weight: 400;
}

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

.footer-links li i {
  margin-right: 8px;
  color: var(--primary);
  width: 16px;
}

.footer-bottom {
  background: var(--light);
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.footer-legal li a {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-legal li a:hover {
  color: var(--primary);
}

/* =============================================
   ANIMATIONS & POLISH
   ============================================= */

/* ----- WhatsApp Floating Button ----- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background: #128C7E;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ----- Page Enter / Fade In Animation ----- */
body {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ----- Hero Content Fade In Up ----- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h2,
.hero-desc {
  animation: fadeInUp 1s ease forwards;
}

.hero-desc {
  animation-delay: 0.3s;
}

/* ----- Premium Hover Effects for Project Slides ----- */
.project-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 50%, rgba(183, 28, 28, 0.3));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.project-slide:hover::after {
  opacity: 1;
}

/* ----- Form Input Focus Animation ----- */
.input-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.input-wrapper:focus-within::after {
  width: 100%;
}

/* ----- Scroll to Top Button ----- */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(183, 28, 28, 0.3);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* =============================================
   PAGE BANNER (Inner Pages)
   ============================================= */
.page-banner {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  background: linear-gradient(135deg, #0D1B2A 0%, #1B2838 50%, #2C3E50 100%);
}

.page-banner .container {
  width: 100%;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-banner-content h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.breadcrumb-nav {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  letter-spacing: 1px;
}

.breadcrumb-nav a {
  color: rgba(255,255,255,0.8);
}

.breadcrumb-nav a:hover {
  color: var(--primary);
}

.breadcrumb-nav span {
  margin: 0 8px;
}

/* Inner page header fix */
.site-header.scrolled-always {
  background-color: var(--dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* =============================================
   INNER PAGE CONTENT STYLES
   ============================================= */
.inner-content {
  padding: 80px 0;
}

.inner-content h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.inner-content p {
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.feature-card i {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h4 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.feature-card p {
  font-size: 14px;
}

/* Project Grid */
a.project-grid-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.project-grid-card {
  position: relative;
  overflow: hidden;
  height: 350px;
  margin-bottom: 30px;
  border-radius: 8px;
}

.project-grid-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.project-grid-card:hover .project-grid-card-image {
  transform: scale(1.05);
}

.project-grid-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.7));
}

.project-grid-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  z-index: 2;
}

.project-grid-card-content h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.project-grid-card-content p {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  margin: 0;
}

.gallery-section-title {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 1px;
  margin-bottom: 25px;
  margin-top: 40px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

/* Gallery Grid */
.gallery-item {
  position: relative;
  overflow: hidden;
  height: 280px;
  margin-bottom: 20px;
  cursor: pointer;
}

.gallery-item-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(183,28,28,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(183,28,28,0.3);
}

.gallery-item-overlay i {
  color: #fff;
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Contact Page Map */
.contact-map {
  width: 100%;
  height: 400px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

/* Contact Info Cards */
.contact-info-card {
  text-align: center;
  padding: 40px 20px;
}

.contact-info-card i {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 20px;
}

.contact-info-card h5 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.contact-info-card p {
  font-size: 14px;
}

.contact-info-card a {
  color: var(--primary);
}

/* =============================================
   IMAGE ELEMENTS (About, Projects, Kentsel)
   ============================================= */

/* About section images */
.about-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 0;
}

.about-side-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-top: 30px;
}

/* Project slider images */
.project-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.project-slide a {
  position: relative;
}

/* Kentsel card images */
.kentsel-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* =============================================
   IMAGE DISPLAY RULES FOR INNER PAGES
   ============================================= */
.project-grid-card-image img,
.gallery-item-image img,
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.blog-card-image {
  position: relative;
  overflow: hidden;
}

.project-grid-card-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.gallery-item-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 3;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-family: var(--font);
  letter-spacing: 2px;
}
