/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Arial', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

:root {
  --primary: #ff6200;
  --primary-dark: #e55a00;
}

/* New header styles (replaces old orange full-width header) */
header.sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
header .max-w-7xl {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
header .flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
header .group { display: inline-flex; align-items:center; gap:0.5rem; }
header .group span { font-family: 'Montserrat', sans-serif; font-size: 1.300rem; font-weight: 700; }
header .lucide { width: 32px; height: 32px; color: var(--primary); transition: transform 0.5s ease; }

/* New header content block: title + description + language selector */
.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}
.header-content .text-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}
.header-content .text-content h1 {
  margin: 0;
  font-size: 1.125rem;
  color: #f8f9fa;
  font-weight: 700;
  letter-spacing: 0.2px;
}
#header-desc {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}
#language-switcher {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
}
/* Secondary header styles (separate bar under main header) */
.secondary-header {
  background-color: #ff6200;
  color: white;
  text-align: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.secondary-header .max-w-7xl { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.secondary-header .header-content { 
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  padding-right: 100px;
}
.secondary-header h1 {
  color: white !important;
  font-size: 2rem;
}
.secondary-header p {
  color: white !important;
}

/* CTA button in header (styled specifically) */
header a[href*="#contact"] {
  background: var(--primary);
  color: #fff;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 12px 30px rgba(255,98,0,0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
header a[href*="#contact"]:hover,
header a[href*="#contact"]:focus {
  background: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(255,98,0,0.20);
}

/* keep older layout rules for main content and components */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.main-content {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}
.about, .images, .contact {
    margin-bottom: 2rem;
}
h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}
.image-gallery {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.image-gallery img {
    width: 45%;
    min-width: 220px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}
.contact label { font-weight: bold; }
.contact input, .contact textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s;
}
.contact textarea { resize: vertical; min-height: 100px; }
.contact input:focus, .contact textarea:focus, .contact button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-color: var(--primary);
}
.contact button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}
.contact button:hover, .contact button:focus { background-color: var(--primary-dark); }
footer { 
  background-color: #333; 
  color: white; 
  padding: 2rem 1rem; 
  position: relative; 
  bottom: 0; 
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
footer .footer-top {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}
footer .contact {
  flex: 1;
  min-width: 250px;
  max-width: 500px;
}
footer .map-container {
  flex: 0 1 600px;
  min-width: 250px;
  padding: 0;
}
footer .main-nav { display: flex; justify-content: center; gap: 1.5rem; }
footer .nav-btn { background-color: #333; color: white; padding: 0.6rem 1.5rem; border-radius: 5px; text-decoration: none; font-weight: bold; transition: background 0.2s; font-size: 1rem; border: none; outline: none; display: inline-block; }
footer .nav-btn:hover, footer .nav-btn:focus { background-color: #333; }
footer #footer-text { text-align: center; }
#language-switcher { margin-top: 0rem; padding: 0.25rem 0.5rem; font-size: 0.875rem; border-radius: 4px; }
.thank-you { text-align: center; padding: 2rem; }
.thank-you h2 { color: #2c3e50; }
footer a { display: block; text-align: center; margin-top: 1rem; color: #3498db; text-decoration: none; transition: text-decoration 0.2s; }
footer a:hover, footer a:focus { text-decoration: underline; }
.desc-action { margin-top: 1rem; text-align: center; }
.contact-btn { display: inline-block; background: var(--primary); color: #ffffff; padding: 0.6rem 1rem; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 0.95rem; line-height: 1; transition: background 150ms ease, transform 120ms ease; border: none; cursor: pointer; }
.contact-btn:hover, .contact-btn:focus { background: var(--primary-dark); transform: translateY(-1px); outline: none; box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.contact-btn:active { transform: translateY(0); }
.contact-btn:focus-visible { box-shadow: 0 0 0 3px rgba(255,98,0,0.22); }

/* Responsive Design */
@media (max-width: 800px) {
    .main-content { max-width: 98vw; padding: 0 0.5rem; }
    .image-gallery img { width: 100%; min-width: 0; }
    footer .footer-top {
      flex-direction: column;
      align-items: center;
    }
    footer .contact,
    footer .map-container {
      width: 100%;
      max-width: 100%;
    }
}
@media (max-width: 600px) {
    header .flex { flex-direction: column; align-items: center; gap: 0.5rem; height: auto; padding: 0.75rem 0; }
    header .max-w-7xl { padding-left: 0.5rem; padding-right: 0.5rem; }
    .header-content { flex-direction: column; align-items: center; text-align: center; }
    #language-switcher { margin-top: 0.5rem; }
    footer { padding: 1rem 0.5rem; }
    footer .footer-top { gap: 1rem; }
}

/* Map container: centered and responsive */
.map-container { display: flex; justify-content: center; align-items: center; padding: 1.25rem 0; }
.map-container iframe { width: 550px; max-width: 100%; height: 450px; border: 0; }
@media (max-width: 640px) { .map-container iframe { width: 100%; height: 300px; } }

/* Hide Elfsight branding link */
a[href*="elfsight.com/calculator-form-widget"][style*="Free Calculator Widget"] {
    display: none !important;
}