/* 
   Kent Vadi İnşaat & Hafriyat - Custom Styling
   Author: Antigravity AI
   Tech: Vanilla CSS, Modern Typography, Fluid Layouts, Custom Grid, Micro-interactions
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- DESIGN SYSTEM TOKENS --- */
:root {
  /* Color Palette */
  --primary-gold: #d4af37;
  --primary-gold-rgb: 212, 175, 55;
  --secondary-gold: #f3c34f;
  --dark-gold: #aa7c11;
  --bg-dark: #0b0f17;
  --bg-dark-light: #151d30;
  --bg-dark-card: #1e293b;
  --bg-light: #ffffff;
  --bg-light-gray: #f8fafc;
  --border-light: #e2e8f0;
  --border-dark: #334155;
  
  /* Text Colors */
  --text-light-primary: #f8fafc;
  --text-light-secondary: #94a3b8;
  --text-dark-primary: #0f172a;
  --text-dark-secondary: #475569;
  
  /* Fonts */
  --font-headings: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows & Radius */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-gold: 0 10px 30px -10px rgba(212, 175, 55, 0.3);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Animations */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

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

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- REUSABLE UTILITIES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.section-title-wrapper {
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--primary-gold);
  font-family: var(--font-headings);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  color: var(--text-dark-primary);
  font-weight: 800;
  max-width: 700px;
}

.section-title.light {
  color: var(--text-light-primary);
}

/* Gold Gradient Text */
.gold-text {
  background: linear-gradient(135deg, var(--secondary-gold), var(--primary-gold), var(--dark-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
  cursor: pointer;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary-gold);
  color: var(--bg-dark);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--secondary-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  border: 1.5px solid var(--text-light-primary);
  color: var(--text-light-primary);
}

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

.btn-dark-outline {
  border: 1.5px solid var(--text-dark-primary);
  color: var(--text-dark-primary);
}

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

/* --- HEADER / NAVIGATION --- */
.top-bar {
  background-color: #05080e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-light-secondary);
  font-size: 0.85rem;
  padding: 8px 0;
}

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

.top-bar-info {
  display: flex;
  gap: 20px;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-socials {
  display: flex;
  gap: 12px;
}

.top-bar-socials a:hover {
  color: var(--primary-gold);
}

.main-header {
  position: absolute;
  top: 36px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
}

.main-header.sticky {
  position: fixed;
  top: 0;
  background-color: rgba(11, 15, 23, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.logo img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-headings);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 0;
  display: block;
}

.main-header.sticky .nav-link {
  color: var(--text-light-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-gold);
  transition: var(--transition-normal);
}

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

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

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-dark-light);
  border-top: 3px solid var(--primary-gold);
  min-width: 220px;
  box-shadow: var(--shadow-xl);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-normal);
  padding: 10px 0;
}

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

.dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 0.875rem;
  color: var(--text-light-secondary);
  font-weight: 500;
}

.dropdown-link:hover {
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--primary-gold);
  padding-left: 25px;
}

.header-btn {
  display: inline-flex;
}

.header-btn .btn {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* Hamburger menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-light-primary);
  border-radius: 3px;
  transition: var(--transition-normal);
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  background-color: var(--bg-dark);
  overflow: hidden;
}

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

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(11, 15, 23, 0.95) 30%, rgba(11, 15, 23, 0.6) 70%, rgba(11, 15, 23, 0.3) 100%),
              linear-gradient(to top, rgba(11, 15, 23, 1) 0%, rgba(11, 15, 23, 0) 25%);
  z-index: 2;
}

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

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-light-primary);
  max-width: 680px;
  padding-top: 80px;
}

.hero-tagline {
  color: var(--primary-gold);
  font-family: var(--font-headings);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-light-secondary);
  margin-bottom: 35px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- SERVICES SECTION --- */
.services-section {
  background-color: var(--bg-light-gray);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  gap: 30px;
}

.services-header-right {
  max-width: 480px;
  color: var(--text-dark-secondary);
}

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

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

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(212, 175, 55, 0.2);
}

.service-image-container {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.service-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-image-container img {
  transform: scale(1.08);
}

.service-icon-floating {
  position: absolute;
  bottom: -24px;
  left: 24px;
  width: 54px;
  height: 54px;
  background-color: var(--bg-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  border: 2.5px solid var(--primary-gold);
  color: var(--primary-gold);
}

.service-card:nth-child(even) .service-icon-floating {
  background-color: var(--primary-gold);
  color: var(--bg-dark);
  border-color: var(--bg-dark);
}

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

.service-card-title {
  font-size: 1.35rem;
  color: var(--text-dark-primary);
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-dark-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-card-link {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-dark-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.service-card-link:hover {
  color: var(--primary-gold);
}

.service-card-link svg {
  transition: var(--transition-fast);
}

.service-card-link:hover svg {
  transform: translateX(4px);
}

/* --- ABOUT SECTION --- */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-content {
  padding-right: 20px;
}

.about-desc {
  color: var(--text-dark-secondary);
  font-size: 1.05rem;
  margin-bottom: 30px;
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 35px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon-wrapper {
  color: var(--primary-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.feature-text-wrapper h4 {
  font-size: 1rem;
  color: var(--text-dark-primary);
  margin-bottom: 4px;
}

.feature-text-wrapper p {
  font-size: 0.85rem;
  color: var(--text-dark-secondary);
}

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

.about-image-wrapper img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.about-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background-color: var(--bg-dark);
  color: var(--text-light-primary);
  padding: 24px;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--primary-gold);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 280px;
}

.about-badge-icon {
  background-color: rgba(212, 175, 55, 0.15);
  color: var(--primary-gold);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-badge-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.about-badge-text p {
  font-size: 0.8rem;
  color: var(--text-light-secondary);
}

/* --- PROJECTS SECTION --- */
.projects-section {
  background-color: var(--bg-light);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

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

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(11, 15, 23, 0.9) 0%, rgba(11, 15, 23, 0.4) 60%, rgba(11, 15, 23, 0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 2;
}

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

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

.project-category {
  color: var(--primary-gold);
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.project-title {
  color: var(--text-light-primary);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.project-location {
  color: var(--text-light-secondary);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- WHY CHOOSE US SECTION --- */
.why-section {
  background-color: var(--bg-light-gray);
}

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

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

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.2);
}

.why-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  font-size: 1.5rem;
  transition: var(--transition-normal);
}

.why-card:hover .why-icon-wrapper {
  background-color: var(--primary-gold);
  color: var(--bg-dark);
  transform: rotateY(180deg);
}

.why-card-title {
  font-size: 1.15rem;
  color: var(--text-dark-primary);
  margin-bottom: 12px;
}

.why-card-desc {
  font-size: 0.875rem;
  color: var(--text-dark-secondary);
  line-height: 1.5;
}

/* --- CALL TO ACTION SECTION --- */
.cta-section {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--text-light-primary);
  overflow: hidden;
  padding: 100px 0;
}

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

.cta-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 23, 0.85);
  z-index: 2;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-content-wrapper {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.cta-text {
  max-width: 650px;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-light-secondary);
}

.cta-actions {
  flex-shrink: 0;
}

/* --- FOOTER SECTION --- */
.main-footer {
  background-color: #060910;
  color: var(--text-light-secondary);
  padding: 80px 0 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-col-title {
  color: var(--text-light-primary);
  font-size: 1.1rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-about-logo {
  height: 50px;
  width: auto;
  margin-bottom: 20px;
}

.footer-about-text {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials-btn {
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-primary);
  transition: var(--transition-fast);
}

.footer-socials-btn:hover {
  background-color: var(--primary-gold);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

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

.footer-links-list a {
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list a:hover {
  color: var(--primary-gold);
  padding-left: 4px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.footer-contact-list svg {
  color: var(--primary-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Footer Form */
.footer-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-form-group input,
.footer-form-group textarea {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-light-primary);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.footer-form-group input:focus,
.footer-form-group textarea:focus {
  border-color: var(--primary-gold);
  background-color: rgba(255, 255, 255, 0.05);
}

.footer-form-btn {
  width: 100%;
  padding: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background-color: var(--primary-gold);
  color: var(--bg-dark);
  text-align: center;
  transition: var(--transition-fast);
}

.footer-form-btn:hover {
  background-color: var(--secondary-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 24px 0;
  font-size: 0.8rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links a {
  margin-left: 20px;
}

.footer-bottom-links a:hover {
  color: var(--primary-gold);
}

/* --- SUBPAGES / INNER PAGES HERO --- */
.inner-hero {
  position: relative;
  padding: 160px 0 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light-primary);
  text-align: center;
}

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

.inner-hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11,15,23,0.9) 0%, rgba(11,15,23,0.95) 100%);
  z-index: 2;
}

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

.inner-hero-content {
  position: relative;
  z-index: 3;
}

.inner-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-light-secondary);
}

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

.breadcrumb-separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--text-light-secondary);
}

.breadcrumb-active {
  color: var(--primary-gold);
}

/* --- SERVICE DETAIL PAGES --- */
.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.service-detail-content h3 {
  font-size: 1.75rem;
  margin: 30px 0 15px 0;
  color: var(--text-dark-primary);
}

.service-detail-content p {
  color: var(--text-dark-secondary);
  margin-bottom: 20px;
  line-height: 1.75;
}

.service-detail-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-bottom: 30px;
  overflow: hidden;
  height: 380px;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Features List inside detail page */
.detail-features-list {
  margin: 25px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.detail-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-dark-primary);
  font-weight: 500;
}

.detail-feature-item svg {
  color: var(--primary-gold);
}

/* Sidebar Styling */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background-color: var(--bg-light-gray);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.sidebar-widget-title {
  font-size: 1.2rem;
  color: var(--text-dark-primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-gold);
}

.sidebar-services-list li {
  margin-bottom: 12px;
}

.sidebar-services-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark-primary);
}

.sidebar-services-list a:hover,
.sidebar-services-list a.active {
  background-color: var(--primary-gold);
  color: var(--bg-dark);
  border-color: var(--primary-gold);
}

.sidebar-contact-widget {
  background-color: var(--bg-dark);
  color: var(--text-light-primary);
  text-align: center;
  padding: 40px 30px;
  border: none;
}

.sidebar-contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 1.5rem;
}

.sidebar-contact-widget p {
  color: var(--text-light-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* --- GALLERY / PORTFOLIO PAGE --- */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border-light);
  color: var(--text-dark-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  background-color: var(--bg-light);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-gold);
  color: var(--bg-dark);
  border-color: var(--primary-gold);
}

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

.gallery-item {
  position: relative;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 23, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 2;
}

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

.gallery-zoom-btn {
  width: 48px;
  height: 48px;
  background-color: var(--primary-gold);
  color: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transform: scale(0.8);
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-zoom-btn {
  transform: scale(1);
}

/* Lightbox/Modal for Gallery */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 8, 14, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 80%;
}

.lightbox-content img {
  border-radius: var(--radius-sm);
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--primary-gold);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-nav:hover {
  background-color: var(--primary-gold);
  color: var(--bg-dark);
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

/* Pagination (subtle) */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.page-number {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 600;
  border: 1px solid var(--border-light);
  cursor: pointer;
}

.page-number.active,
.page-number:hover {
  background-color: var(--primary-gold);
  color: var(--bg-dark);
  border-color: var(--primary-gold);
}

/* --- CONTACT PAGE --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-panel {
  background-color: var(--bg-dark);
  color: var(--text-light-primary);
  padding: 50px 40px;
  border-radius: var(--radius-md);
  background-image: linear-gradient(135deg, #0b0f17 0%, #151d30 100%);
}

.contact-info-title {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.contact-info-desc {
  color: var(--text-light-secondary);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.contact-item-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--primary-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item-details h4 {
  font-size: 1rem;
  color: var(--text-light-primary);
  margin-bottom: 6px;
}

.contact-item-details p,
.contact-item-details a {
  font-size: 0.9rem;
  color: var(--text-light-secondary);
  line-height: 1.5;
}

.contact-item-details a:hover {
  color: var(--primary-gold);
}

.contact-form-panel {
  padding: 20px 0;
}

.contact-form-title {
  font-size: 1.75rem;
  margin-bottom: 12px;
  color: var(--text-dark-primary);
}

.contact-form-desc {
  color: var(--text-dark-secondary);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.main-contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-full-width {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-light-gray);
  font-size: 0.9rem;
  color: var(--text-dark-primary);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-gold);
  background-color: var(--bg-light);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Map Section */
.map-section {
  width: 100%;
  height: 450px;
  background-color: var(--bg-light-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 60px;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  cursor: pointer;
  transition: var(--transition-normal);
}

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

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background-color: var(--bg-dark);
  color: var(--text-light-primary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background-color: var(--bg-dark);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Vibration Animation */
@keyframes whatsapp-vibe {
  0% { transform: scale(1); }
  10% { transform: scale(0.9) rotate(-3deg); }
  20% { transform: scale(0.9) rotate(-3deg); }
  30% { transform: scale(1.1) rotate(3deg); }
  40% { transform: scale(1.1) rotate(-3deg); }
  50% { transform: scale(1.1) rotate(3deg); }
  60% { transform: scale(1.1) rotate(-3deg); }
  70% { transform: scale(1.1) rotate(3deg); }
  80% { transform: scale(1.1) rotate(-3deg); }
  90% { transform: scale(1.1) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}

.whatsapp-float-active {
  animation: whatsapp-vibe 2s infinite;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-content {
    padding-right: 0;
  }
  .about-badge {
    bottom: -15px;
    left: 15px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .top-bar {
    display: none;
  }
  
  .main-header {
    top: 0;
    background-color: var(--bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
    gap: 20px;
    transition: var(--transition-normal);
    overflow-y: auto;
    z-index: 1000;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  
  .nav-link::after {
    display: none;
  }
  
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: rgba(255,255,255,0.02);
    box-shadow: none;
    border-top: none;
    border-left: 2px solid var(--primary-gold);
    width: 100%;
    padding: 5px 0 5px 15px;
    margin-top: 5px;
    display: none;
  }
  
  .nav-item.open .nav-dropdown {
    display: block;
  }
  
  .header-btn {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .services-grid, 
  .projects-grid, 
  .why-grid, 
  .footer-top, 
  .gallery-grid,
  .service-detail-grid,
  .contact-grid,
  .main-contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-full-width {
    grid-column: span 1;
  }
  
  .cta-content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 24px;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-tooltip {
    display: none !important;
  }
  
  .about-badge {
    position: static;
    margin-top: 20px;
    max-width: 100%;
  }
  
  .service-detail-img {
    height: 250px;
  }
  
  .detail-features-list {
    grid-template-columns: 1fr;
  }
}

/* Animations Trigger classes (for Scroll animation) */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.appear {
  opacity: 1;
  transform: translateY(0);
}
