/* ============================================
   ENTERPRIME - Kurumsal Web Sitesi
   Renk Paleti: Koyu Lacivert + Altın
   ============================================ */

/* --- CSS Variables --- */
:root {
  --navy-dark: #0a1628;
  --navy: #111d35;
  --navy-light: #1a2744;
  --navy-medium: #152038;
  --gold: #c9a84c;
  --gold-light: #d4b95e;
  --gold-dark: #b8963a;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-300: #cccccc;
  --gray-500: #888888;
  --gray-700: #444444;
  --text-light: #c8cdd5;
  --shadow: rgba(0, 0, 0, 0.3);
  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

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

body {
  font-family: 'Open Sans', 'Segoe UI', Tahoma, sans-serif;
  color: var(--white);
  background-color: var(--navy-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

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

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(10, 22, 40, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo h1 {
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: var(--white);
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  border-radius: 4px;
  transition: all var(--transition);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.15;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, var(--navy-dark), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content .subtitle {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-content h1 span {
  color: var(--gold);
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 40px;
  color: var(--text-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Decorative elements */
.hero-decoration {
  position: absolute;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 50%;
}

.hero-decoration-1 {
  top: -100px;
  right: -100px;
}

.hero-decoration-2 {
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--navy-dark);
}

.section-medium {
  background: var(--navy);
}

.section-light {
  background: var(--navy-light);
}

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

.section-header .section-tag {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header h2 span {
  color: var(--gold);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--gray-500);
}

.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto;
}

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

.service-card {
  background: var(--navy);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  color: var(--gold);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--gold);
}

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

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

.service-card .btn {
  margin-top: 20px;
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

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

.stat-item {
  padding: 30px 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   ABOUT PREVIEW SECTION
   ============================================ */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.about-image::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  z-index: -1;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text h2 span {
  color: var(--gold);
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-light);
}

.about-text .btn {
  margin-top: 16px;
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/page-hero-bg.jpg') center/cover no-repeat;
  opacity: 0.08;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.page-hero h1 span {
  color: var(--gold);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray-500);
}

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

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

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content-text h3 {
  margin-bottom: 16px;
  color: var(--gold);
}

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

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

.about-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
}

.about-feature h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.service-detail:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail-img {
  border-radius: 8px;
  overflow: hidden;
}

.service-detail-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform var(--transition);
}

.service-detail-img:hover img {
  transform: scale(1.05);
}

.service-detail-text h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.service-detail-text h3 span {
  color: var(--gold);
}

.service-detail-text p {
  margin-bottom: 16px;
}

.service-list {
  margin: 20px 0;
}

.service-list li {
  padding: 8px 0;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: bold;
  font-size: 1.1rem;
}

/* ============================================
   PORTFOLIO / GALLERY
   ============================================ */
.portfolio-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-item,
.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.portfolio-item img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.portfolio-overlay,
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.9), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.portfolio-overlay h4,
.gallery-overlay h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.portfolio-overlay p,
.gallery-overlay p {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 0;
}

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

.gallery-filter button {
  padding: 8px 24px;
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--text-light);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.9rem;
}

.gallery-filter button:hover,
.gallery-filter button.active {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

/* ============================================
   REFERENCES
   ============================================ */
.references-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.reference-card {
  background: var(--navy);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: all var(--transition);
}

.reference-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.reference-logo {
  width: 120px;
  height: 80px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px;
}

.reference-logo img {
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(100%) brightness(2);
  transition: filter var(--transition);
}

.reference-card:hover .reference-logo img {
  filter: grayscale(0%) brightness(1);
}

.reference-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.reference-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

/* Testimonials */
.testimonials {
  margin-top: 80px;
}

.testimonial-card {
  background: var(--navy);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 8px;
  padding: 40px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author-info h4 {
  font-size: 1rem;
  color: var(--white);
}

.testimonial-author-info p {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
}

.contact-item h4 {
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

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

.contact-item a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  background: var(--navy);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 8px;
  padding: 40px;
}

.contact-form h3 {
  margin-bottom: 24px;
  color: var(--gold);
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--navy-dark);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 4px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  height: 140px;
  resize: vertical;
}

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

.contact-form .btn {
  width: 100%;
  padding: 14px;
}

/* Map */
.map-section {
  margin-top: 80px;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  filter: grayscale(80%) invert(92%) contrast(90%);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  text-align: center;
  padding: 80px 0;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section h2 span {
  color: var(--gold);
}

.cta-section p {
  max-width: 500px;
  margin: 0 auto 30px;
  color: var(--text-light);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-brand h3 span {
  color: var(--gold);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-links a {
  color: var(--gray-500);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.footer-contact li svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  min-width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  color: var(--gold);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.social-links a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 22, 40, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: var(--white);
  cursor: pointer;
  transition: color var(--transition);
  background: none;
  border: none;
  line-height: 1;
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .references-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .header .container {
    height: 70px;
  }

  /* Mobile Navigation */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 20px;
    transition: right var(--transition);
    border-left: 1px solid rgba(201, 168, 76, 0.15);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 12px 20px;
    width: 100%;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  /* Sections */
  .section {
    padding: 60px 0;
  }

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

  .about-preview,
  .about-content,
  .contact-wrapper,
  .service-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-detail.reverse {
    direction: ltr;
  }

  .portfolio-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .references-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .page-hero {
    padding: 130px 0 60px;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-image::after {
    display: none;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .portfolio-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .stat-number {
    font-size: 2.2rem;
  }
}
