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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1b1b1b;
  background: #f9f9f8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: disc; padding-left: 1.3em; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 4px;
  font-family: 'Karla', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #fff;
  color: #000;
}
.btn-primary:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #555;
}
.btn-outline:hover {
  background: #555;
}

/* ===== Section Headings ===== */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  color: #1b1b1b;
  line-height: 1.2;
}
.section-title--light { color: #f7f7f7; }

.section-divider {
  width: 50px;
  height: 2px;
  border: none;
  border-top: 2px solid #e2e2e1;
  margin: 16px auto 48px;
}
.section-divider--light { border-top-color: #555; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(22, 22, 22, 0.97);
  padding: 10px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #f9f9f8;
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  gap: 32px;
}
.main-nav a {
  font-family: 'Karla', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #f9f9f8;
  letter-spacing: 0.071em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.main-nav a:hover { color: #c1c1bf; }

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #f9f9f8;
  transition: all 0.3s ease;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?w=1920&q=80') center/cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
}
.hero-label {
  font-family: 'Karla', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #f9f9f8;
  margin-bottom: 16px;
}
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: 22px;
  color: #f7f7f7;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== About ===== */
.about {
  padding: 80px 0;
  background: #f6f6f6;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  background: #fff;
  padding: 40px 24px;
  border-radius: 4px;
  text-align: center;
  border: 1px solid #e2e2e1;
  transition: transform 0.3s, box-shadow 0.3s;
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.about-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: #1b1b1b;
}
.about-card-icon svg { width: 100%; height: 100%; }

.about-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1b1b1b;
}
.about-card p {
  font-size: 15px;
  color: #575757;
  line-height: 1.65;
}

/* ===== Services ===== */
.services {
  padding: 80px 0;
  background: #161616;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px 20px;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  transition: border-color 0.3s, transform 0.3s;
}
.service-card:hover {
  border-color: #555;
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: #e2e2e1;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #f7f7f7;
  margin-bottom: 16px;
}
.service-card ul {
  list-style: none;
  padding: 0;
}
.service-card li {
  font-size: 14px;
  color: #afafaf;
  padding: 6px 0;
  border-bottom: 1px solid #2a2a2a;
  line-height: 1.5;
}
.service-card li:last-child { border-bottom: none; }

/* ===== Gallery ===== */
.gallery {
  padding: 80px 0;
  background: #f6f6f6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 4px;
  position: relative;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 2;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  color: #fff;
  font-family: 'Karla', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Contact ===== */
.contact {
  padding: 80px 0;
  background: #1b1b1b;
}

.contact-single {
  text-align: center;
  max-width: 640px;
}

.contact-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #f7f7f7;
  margin-bottom: 24px;
}

.contact-desc {
  color: #afafaf;
  margin-bottom: 24px;
}

.contact-detail {
  margin-bottom: 16px;
}
.contact-detail strong {
  color: #f7f7f7;
  display: block;
  margin-bottom: 4px;
}
.contact-detail p,
.contact-detail a {
  color: #afafaf;
  font-size: 15px;
  transition: color 0.3s;
}
.contact-detail a:hover { color: #fff; }

/* ===== Footer ===== */
.site-footer {
  padding: 40px 0;
  background: #000;
  border-top: 1px solid #2a2a2a;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner p {
  font-size: 12px;
  color: #a9a9a9;
}

.footer-nav a {
  font-size: 12px;
  color: #a9a9a9;
  margin-left: 24px;
  transition: color 0.3s;
}
.footer-nav a:hover { color: #fff; }

.footer-powered {
  font-size: 11px;
  color: #666;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
  z-index: 9998;
  padding: 20px 0;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-inner p {
  flex: 1;
  font-size: 14px;
  color: #575757;
  min-width: 300px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-actions .btn {
  padding: 10px 24px;
  font-size: 13px;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .hero-title { font-size: 42px; }
  .hero-subtitle { font-size: 20px; }
  .section-title { font-size: 36px; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #161616;
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 12px rgba(0,0,0,0.3);
  }
  .main-nav.active { right: 0; }
  .mobile-toggle { display: flex; }

  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 18px; }
  .section-title { font-size: 28px; }

  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .contact-single { max-width: 100%; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-nav a { margin-left: 0; margin-right: 16px; }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
}
