/* ================================
   GLOBAL: Header, Footer, Nav
   ================================ */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================
   HEADER (FINAL VERSION)
   ================================ */

header {
  background: #f3e2e2;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 999;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 8%;
}

/* Left Side: Logo + Mobile Toggle */
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  height: 50px;
  width: auto;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #333;
  border-radius: 3px;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list a,
.dropdown-btn {
  text-decoration: none;
  color: #222;
  font-size: 1rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-list a:hover,
.dropdown-btn:hover {
  color: #ad0101;
}

/* Dropdown */
.nav-item.dropdown {
  position: relative;
}

.dropdown-caret {
  width: 10px;
  height: 6px;
}

.dropdown-content {
  display: none;
  flex-direction: column;
  background: #fff;
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 200px;
  padding: 10px 0;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  z-index: 10;
}

.dropdown-content a {
  padding: 10px 16px;
  color: #222;
  font-weight: 500;
  text-decoration: none;
}

.dropdown-content a:hover {
  background: #f7f7f7;
}

.dropdown-content.show {
  display: flex;
}

/* Right Side: Contact Button */
.header-actions {
  display: flex;
  align-items: center;
}

.contact-btn {
  background: #b70f0f;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}
.contact-btn:hover {
  background: #8e0b0b;
}

/* ================================
   MOBILE HEADER
   ================================ */

@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #f3e2e2;
    display: none;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }

  .main-nav.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-left: 30px;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    padding: 0;
    margin-left: 10px;
  }

  .header-actions {
    display: none;
  }
}

/* ================================
   FOOTER
   ================================ */

footer {
  background: #f3e2e2;
}

.footer-wrapper {
  padding: 40px 8%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: auto;
}

.footer-column h3 {
  color: #8B0000;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.footer-column p,
.footer-column a {
  color: #5a3b3b;
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: #8B0000;
}

.footer-bottom {
  text-align: center;
  padding: 14px 0;
  background: #3b1f1f;
  color: #fff;
  font-size: 0.9rem;
}

/* Mobile Footer */
@media (max-width: 950px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
}
