/* ============================================
   KADAK FLIESEN - Modern Construction Style
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: #2d2d2d;
  line-height: 1.6;
  background-color: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

/* --- Section Styles --- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header .accent-line {
  width: 60px;
  height: 4px;
  background: #c8a26e;
  margin: 0 auto 20px;
}

.section-header p {
  color: #777;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section--dark {
  background-color: #1a1a1a;
  color: #fff;
}

.section--grey {
  background-color: #f5f5f0;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--primary {
  background: #c8a26e;
  color: #fff;
  border-color: #c8a26e;
}

.btn--primary:hover {
  background: transparent;
  color: #c8a26e;
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn--outline:hover {
  background: #fff;
  color: #1a1a1a;
}

.btn--dark {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.btn--dark:hover {
  background: transparent;
  color: #1a1a1a;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo img {
  height: 40px;
  width: auto;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__link {
  padding: 8px 20px;
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s;
  font-family: 'Poppins', sans-serif;
}

.navbar__link:hover,
.navbar__link--active {
  color: #c8a26e;
}

.navbar__cta {
  margin-left: 16px;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.navbar__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/fliesenarbeit2.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.5) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
}

.hero__tagline {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid rgba(200, 162, 110, 0.6);
  color: #c8a26e;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 24px;
  font-family: 'Poppins', sans-serif;
}

.hero h1 {
  margin-bottom: 20px;
  font-weight: 700;
}

.hero h1 span {
  color: #c8a26e;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s infinite;
}

.hero__scroll svg {
  width: 30px;
  height: 30px;
  stroke: rgba(255,255,255,0.5);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats {
  background: #c8a26e;
  padding: 40px 0;
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat__number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.stat__label {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #fff;
  padding: 40px 30px;
  border: 1px solid #eee;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #c8a26e;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 70px;
  height: 70px;
  margin-bottom: 24px;
  object-fit: contain;
}

.service-card h3 {
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 1.1rem;
}

.service-card p {
  color: #777;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   ABOUT / QUOTE
   ============================================ */
.about {
  position: relative;
  overflow: hidden;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__image {
  position: relative;
}

.about__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about__image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 3px solid #c8a26e;
  z-index: -1;
}

.about__text h2 {
  margin-bottom: 20px;
}

.about__text .accent-line {
  width: 60px;
  height: 4px;
  background: #c8a26e;
  margin-bottom: 24px;
}

.about__text p {
  color: #666;
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about__text .btn {
  margin-top: 16px;
}

/* ============================================
   GALLERY / WORK
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.0);
  transition: background 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover::after {
  background: rgba(26,26,26,0.4);
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item--tall {
  grid-row: span 2;
}

/* Hidden gallery items */
.gallery-hidden {
  display: none;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
}

.lightbox--active {
  display: flex;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  animation: lbFadeIn 0.3s ease;
}

@keyframes lbFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
  z-index: 10;
}

.lightbox__close:hover {
  color: #c8a26e;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 28px;
  padding: 16px 20px;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
}

.lightbox__prev:hover,
.lightbox__next:hover {
  background: #c8a26e;
}

.lightbox__prev {
  left: 20px;
}

.lightbox__next {
  right: 20px;
}

.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* ============================================
   QUOTE BANNER
   ============================================ */
.quote-banner {
  position: relative;
  padding: 120px 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.quote-banner__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/ocean.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.quote-banner__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.8);
}

.quote-banner__content {
  position: relative;
  z-index: 1;
}

.quote-banner__text {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

.quote-banner__author {
  color: #c8a26e;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ============================================
   TEAM
   ============================================ */
.team-card {
  text-align: center;
  max-width: 350px;
  margin: 0 auto;
}

.team-card__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
  border: 4px solid #c8a26e;
}

.team-card__name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-card__role {
  color: #c8a26e;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.team-card__desc {
  color: #999;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   CONTACT
   ============================================ */
.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact__info h2 {
  margin-bottom: 12px;
}

.contact__info .accent-line {
  width: 60px;
  height: 4px;
  background: #c8a26e;
  margin-bottom: 24px;
}

.contact__info > p {
  color: #777;
  margin-bottom: 36px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact__detail-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: #c8a26e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}

.contact__detail h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 4px;
  font-weight: 600;
}

.contact__detail p,
.contact__detail a {
  font-size: 1rem;
  color: #2d2d2d;
}

.contact__detail a:hover {
  color: #c8a26e;
}

.contact__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__action-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: #f5f5f0;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.contact__action-btn:hover {
  border-color: #c8a26e;
  transform: translateX(8px);
}

.contact__action-btn img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.contact__action-btn span {
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact__action-btn small {
  display: block;
  color: #999;
  font-weight: 400;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 2px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #111;
  color: #999;
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2a2a2a;
}

.footer__brand img {
  height: 36px;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #777;
}

.footer h4 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: #777;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer__links a:hover {
  color: #c8a26e;
}

.footer__contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #777;
}

.footer__bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #555;
}

.footer__bottom a {
  color: #c8a26e;
}

.footer__bottom a:hover {
  text-decoration: underline;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #1a1a1a;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    gap: 0;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.3);
  }

  .navbar__menu.active {
    right: 0;
  }

  .navbar__link {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid #2a2a2a;
  }

  .navbar__cta {
    margin-left: 0;
    margin-top: 20px;
  }

  .navbar__toggle {
    display: flex;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__image::after {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact .container {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .stats .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .section {
    padding: 60px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }

  .stats .container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stat__number {
    font-size: 2rem;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero__bg {
    background-attachment: scroll;
  }

  .quote-banner__bg {
    background-attachment: scroll;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
