/*
 Theme Name: Teddy Consulting
 Description: Clean bilingual single-page theme.
 Version: 1.0
*/

:root {
  --black: #000000;
  --anthracite: #7a7a7a;
  --white: #ffffff;
  --rose-gold: #b76e79;
}

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

body {
  margin: 0;
  font-family: 'Source Sans Pro', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--anthracite);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  color: var(--black);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(183,110,121,0.5);
}

.language-toggle {
  position: absolute;
  left: 1rem;
  top: 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.language-toggle a {
  color: var(--anthracite);
  text-decoration: none;
}

.language-toggle .lang-active {
  color: var(--rose-gold);
}

.site-branding a {
  text-decoration: none;
  color: var(--black);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header .cta {
  position: absolute;
  right: 1rem;
  top: 0.6rem;
  display: inline-block;
  background: var(--rose-gold);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

.site-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

section {
  padding: 4rem 0;
}

#hero, .hero-lv {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(183,110,121,0.35);
  background: linear-gradient(to bottom, rgba(183,110,121,0.05), rgba(255,255,255,0.0));
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.hero-logo img {
  max-height: 80px;
  width: auto;
  margin-bottom: 1.5rem;
}

#about, .about-lv {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

#services ul, .services-lv ul {
  list-style: none;
  padding: 0;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

#services li, .services-lv li {
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}

#services li::before, .services-lv li::before {
  content: '•';
  color: var(--rose-gold);
  position: absolute;
  left: 0;
}

section h2 {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--rose-gold);
}

.contact-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.contact-left, .contact-right {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
}

.contact-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(183,110,121,0.0), rgba(183,110,121,0.7), rgba(183,110,121,0.0));
}

.contact-meta {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
  font-size: 0.95rem;
}

#en #contact {
  border-bottom: none;
}

.site-footer {
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--anthracite);
  border-top: 2px solid rgba(183,110,121,0.6);
}

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

a:hover {
  color: var(--rose-gold);
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .site-content {
    padding: 3rem 1.25rem 2.5rem;
  }
  section {
    padding: 3rem 0;
  }
  #about, .about-lv {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  #services ul, .services-lv ul {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  .contact-header {
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
  }
  .contact-divider {
    height: 1px;
    width: 60%;
    margin: 0 auto;
    background: linear-gradient(to right, rgba(183,110,121,0.0), rgba(183,110,121,0.7), rgba(183,110,121,0.0));
  }
}


/* Fix header overlap: move footer border away from header */
.site-footer {
  margin-top: 3rem;
}

/* Ensure logos scale on mobile and never overflow */
.hero-logo img,
.site-branding img {
  max-width: 100%;
  height: auto;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}


/* Increase header height and keep border clear of content */
.site-header {
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

/* Align text blocks consistently under the content width */
#hero .hero-inner,
.hero-lv .hero-inner,
#about,
.about-lv,
#services,
.services-lv,
#contact-en,
.contact-lv,
#contact,
.contact-meta {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}


/* Increase header height further so CTA clears bottom border */
.site-header {
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}

/* Reduce space after company details (both languages) */
.contact-meta {
  margin-bottom: 1.2rem;
}


/* Further increase header height so CTA fully clears border */
.site-header {
  padding-top: 1.8rem;
  padding-bottom: 1.8rem;
}

/* Tighten space after company details a bit more */
.contact-meta {
  margin-bottom: 0.5rem;
}
