/*
Theme Name: Emek Yapı İnşaat
Theme URI: https://emekyapinsaat.com/
Author: Antigravity
Author URI: https://emekyapinsaat.com/
Description: Emek Yapı İnşaat için Pekdemir İnşaat tarzında kurumsal WordPress teması.
Version: 2.0.0
Text Domain: emek-insaat
*/

/* =========================================
   Emek Yapı İnşaat – Pekdemir Tarzı Tasarım
   ========================================= */

/* --- Google Fonts (Pekdemir: Titillium Web + Amiri) --- */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700&family=Amiri:wght@400;700&display=swap');

/* --- CSS Değişkenleri --- */
:root {
  --color-primary: #EC1D24;   /* Pekdemir Kırmızı */
  --color-primary-dark: #DD1319;
  --color-secondary: #222222; /* Koyu Siyah */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8F8F8;
  --color-text: #404040;
  --color-text-light: #9B9B9B;
  --color-border: #E8E8E8;
  --color-white: #FFFFFF;

  --font-heading: 'Titillium Web', sans-serif;
  --font-body: 'Titillium Web', sans-serif;
  --font-serif: 'Amiri', serif;

  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 14px 25px rgba(0,0,0,0.16);
  --shadow-hover: 0 20px 40px rgba(0,0,0,0.18);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-accent { color: var(--color-primary); }
.text-dark { color: var(--color-secondary); }
.text-white { color: var(--color-white); }
.text-muted { color: var(--color-text-light); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.pt-4 { padding-top: 2rem; }
.d-flex { display: flex; }
.gap-3 { gap: 1rem; }
.align-items-center { align-items: center; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-secondary);
  margin: 0 0 20px;
}

h1 { font-size: 2rem; }
h2 { font-size: 2.44rem; }
h3 { font-size: 1.78rem; }
h4 { font-size: 1.33rem; }

@media (min-width: 960px) {
  h1 { font-size: 4rem; }
  h2 { font-size: 2.44rem; }
}

p { margin: 0 0 20px; }

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

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

ul { list-style: none; }

/* --- Container --- */
.container {
  box-sizing: content-box;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 640px) {
  .container { padding-left: 30px; padding-right: 30px; }
}

@media (min-width: 960px) {
  .container { padding-left: 40px; padding-right: 40px; }
}

/* =========================================
   COMPONENTS
   ========================================= */

/* --- Buttons (Pekdemir Style) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  vertical-align: middle;
  font-size: 16px;
  line-height: 38px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  padding: 0 24px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  gap: 0.5rem;
  outline: none;
}

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

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: #151515;
  color: var(--color-white);
}

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

.btn-outline:hover {
  color: var(--color-text);
  border-color: #b5b5b5;
}

.btn-large {
  line-height: 50px;
  font-size: 14px;
  padding: 0 50px;
}

.btn-text {
  padding: 0;
  line-height: 1.5;
  background: none;
  border: none;
  color: var(--color-secondary);
  position: relative;
  font-weight: 600;
}

.btn-text::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;
  border-bottom: 1px solid var(--color-secondary);
  transition: right 0.3s ease-out;
}

.btn-text:hover::before {
  right: 0;
}

.btn-text:hover {
  color: var(--color-secondary);
}

/* --- Cards (Pekdemir Style) --- */
.card {
  position: relative;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-fast);
  padding: 30px;
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

/* Button Card (Red top bar on hover) */
.card-button {
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.15);
  position: relative;
  cursor: pointer;
}

.card-button::before {
  content: "";
  background-color: var(--color-primary);
  width: 0;
  height: 5px;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.2s cubic-bezier(0.6,0.04,0.98,0.335);
}

.card-button:hover::before {
  width: 100%;
  opacity: 1;
}

/* Project Card */
.project-card {
  padding: 0;
  overflow: hidden;
}

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

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

.project-content {
  padding: 20px 30px;
}

/* --- Navbar (Pekdemir Style - Clean, White, Sticky) --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-white);
  transition: all var(--transition-normal);
  padding: 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

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

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-secondary);
}

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

.nav-links {
  display: flex;
  gap: 0;
}

.nav-links a {
  font-weight: 600;
  color: var(--color-secondary);
  padding: 0 20px;
  line-height: 80px;
  position: relative;
  font-size: 16px;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.nav-links a:hover, .nav-links .current-menu-item a {
  color: var(--color-primary);
}

.nav-links a:hover::after, .nav-links .current-menu-item a::after {
  transform: scaleX(1);
}

/* Mobile Menu Trigger */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text-light);
  cursor: pointer;
}

/* Transparent Navbar (on front page) */
.navbar.transparent {
  background: transparent;
  box-shadow: none;
}

.navbar.transparent .logo-text {
  color: var(--color-white);
}

.navbar.transparent .logo-text .accent {
  color: var(--color-primary);
}

.navbar.transparent .nav-links a {
  color: rgba(255,255,255,0.9);
}

.navbar.transparent .nav-links a:hover {
  color: var(--color-primary);
}

.navbar.transparent .mobile-menu-btn {
  color: var(--color-white);
}

.navbar.scrolled {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled .logo-text {
  color: var(--color-secondary);
}

.navbar.scrolled .nav-links a {
  color: var(--color-secondary);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--color-primary);
}

.navbar.scrolled .mobile-menu-btn {
  color: var(--color-text-light);
}

/* =========================================
   HERO SLIDER (Pekdemir Style)
   ========================================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  max-height: 720px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
}

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

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--color-white);
}

.hero-content .hero-eyebrow {
  font-size: 1.5rem; /* Boyut büyütüldü */
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #FFD700; /* Altın Sarısı / Dikkat çekici farklı bir renk */
  font-weight: 700;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(-20px);
  animation: heroFadeIn 0.8s ease 0.3s forwards;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6); /* Daha belirgin olması için gölge eklendi */
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s ease 0.5s forwards;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s ease 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s ease 0.9s forwards;
}

@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Slider Navigation Dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  background: var(--color-primary);
  transform: scale(1.2);
}

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

@media (min-width: 960px) {
  .section { padding: 80px 0; }
}

.section-muted { background: var(--color-bg-alt); }
.section-dark { background: var(--color-secondary); color: var(--color-white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--color-white); }
.section-dark p { color: rgba(255,255,255,0.7); }
.section-primary { background: var(--color-primary); color: var(--color-white); }
.section-primary h2, .section-primary h3 { color: var(--color-white); }

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

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--color-primary);
}

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

/* --- Page Header --- */
.page-header {
  padding: 150px 0 60px;
  background-color: var(--color-secondary);
  color: var(--color-white);
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(34,34,34,0.85);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: 0;
  font-size: 2.5rem;
}

@media (min-width: 960px) {
  .page-header h1 { font-size: 3.5rem; }
}

/* =========================================
   SERVICE BOXES
   ========================================= */
.service-box {
  background: var(--color-white);
  padding: 30px;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.15);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
}

.service-box::before {
  content: "";
  background-color: var(--color-primary);
  width: 0;
  height: 4px;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s cubic-bezier(0.6,0.04,0.98,0.335);
}

.service-box:hover::before {
  width: 100%;
  opacity: 1;
}

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

.service-box i {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: block;
}

.service-box h3 {
  font-size: 1.33rem;
}

/* =========================================
   STATS SECTION (Parallax Background)
   ========================================= */
.stats-section {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  color: var(--color-white);
  padding: 80px 0;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(34,34,34,0.85);
}

.stats-section .container {
  position: relative;
  z-index: 2;
}

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

.stat-item i {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: block;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
  font-size: 1rem;
}

/* =========================================
   VIDEO SECTION (Pekdemir Style)
   ========================================= */
.video-section {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 350px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
}

.play-btn {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s;
  animation: pulse 2s infinite;
}

.play-btn:hover {
  transform: scale(1.1);
  color: var(--color-white);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(236, 29, 36, 0.7); }
  70% { box-shadow: 0 0 0 25px rgba(236, 29, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(236, 29, 36, 0); }
}

/* =========================================
   MASONRY GALLERY
   ========================================= */
.masonry-grid {
  column-count: 3;
  column-gap: 20px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s;
}

.masonry-item:hover img {
  transform: scale(1.05);
}

.masonry-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: var(--color-white);
  transform: translateY(100%);
  transition: transform 0.3s;
}

.masonry-item:hover .masonry-overlay {
  transform: translateY(0);
}

.masonry-overlay h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

/* =========================================
   OVERLAY MENU (Full-Screen)
   ========================================= */
.overlay-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

.overlay-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.overlay-menu-content {
  display: flex;
  width: 80%;
  max-width: 1000px;
  justify-content: space-between;
  align-items: flex-start;
}

.overlay-menu-nav {
  flex: 1;
}

.overlay-menu-nav ul {
  list-style: none;
  padding: 0;
}

.overlay-menu-nav ul li {
  margin: 1.25rem 0;
}

.overlay-menu-nav ul li a {
  font-size: 1.8rem;
  color: var(--color-white);
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.overlay-menu-nav ul li a:hover {
  color: var(--color-primary);
}

.overlay-menu-contact {
  flex: 1;
  text-align: left;
  padding-left: 4rem;
  border-left: 1px solid rgba(255,255,255,0.1);
}

.overlay-menu-contact h4 {
  color: var(--color-primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
}

.overlay-menu-contact p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.overlay-menu-contact p i {
  color: var(--color-primary);
  font-size: 1.25rem;
}

.overlay-menu-contact a {
  color: rgba(255,255,255,0.6);
}

.overlay-menu-contact a:hover {
  color: var(--color-primary);
}

.overlay-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.overlay-social a {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.25rem;
  transition: all 0.3s;
}

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

.menu-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  color: var(--color-white);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.3s;
}

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

/* =========================================
   CONTACT CARDS
   ========================================= */
.contact-cards {
  padding: 80px 0;
  background: var(--color-bg);
}

.contact-card {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  background: var(--color-white);
}

.contact-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.contact-card i.card-icon {
  font-size: 3.5rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  display: block;
}

.contact-card h3 {
  font-size: 1.33rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.contact-card .btn {
  font-size: 0.85rem;
  padding: 0 20px;
}

/* =========================================
   PROJECT BADGES
   ========================================= */
.project-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.badge-completed {
  background: var(--color-primary);
  color: var(--color-white);
}

.badge-kaba-ince {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* =========================================
   FOOTER (Pekdemir Style)
   ========================================= */
.footer {
  background: var(--color-secondary);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.footer-slogan {
  color: var(--color-primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
}

.footer h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

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

.footer-center h4::after {
  left: 50%;
  transform: translateX(-50%);
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer ul li a {
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}

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

.footer .contact-info li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer .contact-info i {
  color: var(--color-primary);
  font-size: 1.1rem;
}

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

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
}

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

.footer-bottom-social a {
  color: rgba(255,255,255,0.4);
  font-size: 1.25rem;
  transition: color 0.3s;
}

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

/* =========================================
   SCROLL REVEAL
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   GRID SYSTEM
   ========================================= */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* =========================================
   CONTACT FORM
   ========================================= */
.wpcf7-form-control-wrap { display: block; margin-bottom: 1rem; }
.wpcf7-text, .wpcf7-textarea {
  width: 100%;
  padding: 10px 20px;
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  background: var(--color-white);
  color: var(--color-secondary);
  transition: border-color var(--transition-fast);
}
.wpcf7-text:focus, .wpcf7-textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}
.wpcf7-submit {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
  padding: 0 24px;
  line-height: 38px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: all var(--transition-fast);
}
.wpcf7-submit:hover {
  background-color: var(--color-primary-dark);
}

/* =========================================
   PLACEHOLDER IMAGE
   ========================================= */
.placeholder-image {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  color: var(--color-text-light);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1199px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
}

@media (max-width: 991px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2.5rem; }

  .overlay-menu-content {
    flex-direction: column;
    text-align: center;
  }

  .overlay-menu-contact {
    padding-left: 0;
    border-left: none;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
  }

  .overlay-social { justify-content: center; }

  .footer-main { grid-template-columns: 1fr; text-align: center; }
  .footer h4::after { left: 50%; transform: translateX(-50%); }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .hero-content h1 { font-size: 2.5rem; }
  .masonry-grid { column-count: 2; }
}

@media (max-width: 767px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-content h1 { font-size: 2rem; }
  .masonry-grid { column-count: 1; }
  .contact-cards .grid-3 { grid-template-columns: 1fr; }
  .hero-slider { max-height: 500px; }
}
