/* ====================================
   CONTACT PORTFOLIO STYLESHEET
   STOKED Haarlem - Portfolio Style voor Contact Page
   ==================================== */

/* CSS Variables - Consistent met Portfolio/Diensten */
:root {
  /* Brand Colors */
  --color-primary: #FFD700;
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-gray-light: #F8F8F8;
  --color-gray-medium: #666666;
  --color-gray-dark: #333333;

  /* Layout */
  --border-radius: 12px;
  --border-radius-small: 8px;
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;

  /* Typography */
  --font-family: 'Montserrat', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  /* Spacing */
  --section-padding: 8rem 0;
  --section-padding-mobile: 4rem 0;
  --container-padding: 0 2rem;
}

/* Global Overrides */
body.contact-page {
  font-family: var(--font-family);
  background: var(--color-black);
  color: var(--color-white);
}

/* ====================================
   PORTFOLIO-STYLE HERO SECTION - 2 COLUMN LAYOUT
   ==================================== */

.contact-page .hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(26, 26, 26, 0.6) 100%), url('../images/contact_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

/* Hero Container - EXACT same as diensten.php */
.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
  min-height: 85vh;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* Left Column: Hero Content */
.hero-content {
  text-align: left;
  animation: heroSlideInLeft 1.2s ease-out;
}

/* EXACT kopie van diensten-portfolio-style.css */
.hero-subtitle {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.3em;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  display: block;
  text-transform: uppercase;
  position: relative;
}

/* Subtitle accent line */
.hero-subtitle::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin-top: 0.5rem;
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: var(--font-weight-black);
  line-height: 0.9;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.1rem;
  font-weight: var(--font-weight-light);
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 500px;
}

/* Hero Call to Action */
.contact-page .hero-cta {
  margin-top: 2rem;
}

.contact-page .hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-primary);
  color: var(--color-black);
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.contact-page .hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  transition: var(--transition-fast);
  z-index: -1;
}

.contact-page .hero-btn:hover::before {
  left: 0;
}

.contact-page .hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.contact-page .hero-btn i {
  transition: var(--transition-fast);
}

.contact-page .hero-btn:hover i {
  transform: translateY(3px);
}

/* Right Column: Interactive Map Preview */
.contact-page .hero-preview {
  position: relative;
  animation: heroSlideInRight 1.2s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.map-preview-container {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.map-preview {
  position: relative;
  width: 100%;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 215, 0, 0.2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.map-preview:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 25px 70px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(255, 215, 0, 0.3);
}

.map-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(40%) invert(90%) contrast(95%);
  transition: filter 0.5s ease;
}

.map-preview:hover iframe {
  filter: grayscale(20%) invert(92%) contrast(98%);
}

.map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.location-badge {
  background: var(--color-primary);
  color: var(--color-black);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: var(--font-weight-bold);
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  transition: var(--transition-fast);
}

.location-badge i {
  font-size: 1.1rem;
}

/* Get Directions Button */
.map-directions-btn {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-black);
  border: 2px solid var(--color-primary);
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition-fast);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out 0.5s forwards;
}

.map-directions-btn:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.map-directions-btn i {
  font-size: 1rem;
  transition: var(--transition-fast);
}

.map-directions-btn:hover i {
  transform: translateX(3px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.5s ease-out, transform 0.3s ease;
  z-index: 3;
}

.scroll-indicator:hover {
  transform: translateX(-50%) scale(1.1);
  color: var(--color-white);
}

.scroll-indicator .fa-chevron-down {
  font-size: 1.5rem;
  animation: bounceIndicator 2s infinite;
}

.scroll-indicator .scroll-text {
  font-size: 1rem;
  margin-top: 5px;
  text-transform: uppercase;
  font-weight: 700;
}

@keyframes bounceIndicator {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes heroSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroSlideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ====================================
   HEADER STYLING
   ==================================== */

.navbar {
  background: var(--color-black);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .logo,
.navbar nav a,
.navbar .socials a {
  color: var(--color-white) !important;
}

.navbar nav a:hover {
  color: var(--color-primary) !important;
}

.navbar .hamburger span {
  background-color: var(--color-white);
}

/* ====================================
   CONTACT SECTION - PORTFOLIO STYLE
   ==================================== */

.contact-section {
  padding: var(--section-padding);
  background: var(--color-white);
  position: relative;
}

.contact-container {
  max-width: 1400px !important;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  box-sizing: border-box;
}

/* Contact Info Card */
.contact-info {
  background: var(--color-white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  animation: slideInLeft 0.8s ease-out;
  position: sticky;
  top: 100px;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: var(--font-weight-black);
  color: var(--color-black);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.contact-info p {
  font-size: 1rem;
  color: var(--color-gray-dark);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.contact-info p strong {
  color: var(--color-black);
  font-weight: var(--font-weight-bold);
  display: inline-block;
  min-width: 100px;
}

/* Form Container Card */
.contact-form-container {
  background: var(--color-white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  animation: slideInRight 0.8s ease-out;
}

.contact-form-container h2 {
  font-size: 2rem;
  font-weight: var(--font-weight-black);
  color: var(--color-black);
  margin-bottom: 2rem;
  line-height: 1.2;
}

/* Modern Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 0;
}

.form-input {
  width: 100%;
  padding: 1rem 1rem 1rem 0;
  font-size: 1rem;
  font-family: var(--font-family);
  color: var(--color-black);
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--color-gray-light);
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus {
  border-bottom-color: var(--color-primary);
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
  top: -20px;
  font-size: 0.85rem;
  color: var(--color-primary);
}

.form-label {
  position: absolute;
  top: 1rem;
  left: 0;
  font-size: 1rem;
  color: var(--color-gray-medium);
  pointer-events: none;
  transition: var(--transition-fast);
  font-weight: var(--font-weight-medium);
}

/* Textarea specific styling */
textarea.form-input {
  resize: vertical;
  min-height: 120px;
  padding-top: 1rem;
}

/* Form Validation Messages */
.form-validation {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  min-height: 20px;
  transition: var(--transition-fast);
}

.form-validation.success {
  color: #27ae60;
}

.form-validation.error {
  color: #e74c3c;
}

/* Modern Submit Button */
.btn-enhanced {
  background: var(--color-primary);
  color: var(--color-black);
  border: none;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  width: 100%;
}

.btn-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-black);
  transition: var(--transition-fast);
  z-index: -1;
}

.btn-enhanced:hover::before {
  left: 0;
}

.btn-enhanced:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
}

.btn-enhanced:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ====================================
   MAP SECTION - VERBORGEN (map zit al in hero)
   ==================================== */

.map-section {
  display: none;
}

/* ====================================
   ANIMATIONS
   ==================================== */

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* ====================================
   FOOTER - CONSISTENT MET ANDERE PAGINAS
   ==================================== */

.site-footer {
  background: var(--color-black);
  color: var(--color-gray-medium);
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.6;
  border-top: 1px solid #333;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  margin: 0.5rem 0;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

@media (max-width: 1024px) {
  /* Hero Section - Tablet */
  .hero-container {
    gap: 5rem;
    min-height: 75vh;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .map-preview {
    height: 400px;
  }

  /* Contact Section */
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info {
    position: relative;
    top: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: var(--section-padding-mobile);
    --container-padding: 0 1rem;
  }

  /* Hero Section - Mobile: Stacked Layout */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 2rem;
    align-items: center;
  }

  .hero-content {
    text-align: center;
    order: 1;
  }

  .hero-subtitle::after {
    margin: 0.8rem auto 0;
  }

  .hero-preview {
    order: 2;
    margin-top: 0;
    justify-self: center;
    max-width: 400px;
    width: 100%;
  }

  .map-preview {
    height: 350px;
  }

  .location-badge {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }

  .map-directions-btn {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .hero-description {
    max-width: none;
    margin: 0 auto 2rem;
  }

  .scroll-indicator {
    bottom: 2rem;
  }

  .contact-info,
  .contact-form-container {
    padding: 2rem 1.5rem;
  }

  .contact-info h2,
  .contact-form-container h2 {
    font-size: 1.5rem;
  }

  .map-container {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .btn-enhanced {
    padding: 1rem 2rem;
    font-size: 0.9rem;
  }

  .form-input {
    font-size: 0.95rem;
  }
}

/* ====================================
   PERFORMANCE OPTIMIZATIONS
   ==================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-indicator {
    animation: none;
  }
}

/* GPU acceleration for smooth animations */
.contact-info,
.contact-form-container,
.btn-enhanced {
  will-change: transform;
}
