@charset "UTF-8";

:root {
  --primary: #F2D7D5;
  --secondary: #A93226;
  --dark: #2C1515;
  --light: #FDF2F0;
  --white: #FFFFFF;
  --gray: #6B4E4E;
  --gray-light: #D5B4B4;
  --font-main: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
  --font-sport: Arial, Helvetica, sans-serif;
  --max-width: 1200px;
  --header-height: 120px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-main);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation - N3 Double Row Nav */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(44,21,21,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: var(--dark);
  color: var(--primary);
  padding: 8px 0;
  font-size: 13px;
}

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

.header-top-left {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-top-left span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-top-right {
  display: flex;
  gap: 15px;
}

.header-top a {
  color: var(--primary);
  font-size: 13px;
}

.header-top a:hover {
  color: var(--white);
}

.header-main {
  padding: 15px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: var(--font-sport);
  font-size: 24px;
  font-weight: bold;
  font-style: italic;
  color: var(--secondary);
  letter-spacing: 1px;
}

.logo-sub {
  font-size: 11px;
  color: var(--gray);
  font-family: var(--font-sport);
  font-style: italic;
  letter-spacing: 2px;
}

.header-contact {
  text-align: right;
}

.header-contact-phone {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary);
  font-family: var(--font-sport);
  font-style: italic;
}

.header-contact-time {
  font-size: 12px;
  color: var(--gray);
}

/* Nav Row 2 */
.nav {
  background: var(--secondary);
  position: relative;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  display: block;
  padding: 14px 22px;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--dark);
  color: var(--primary);
}

.nav-menu li:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 5px 20px rgba(44,21,21,0.15);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  list-style: none;
  z-index: 100;
  border-top: 3px solid var(--secondary);
}

.submenu li {
  border-bottom: 1px solid var(--primary);
}

.submenu a {
  color: var(--dark);
  padding: 12px 20px;
  font-size: 14px;
  font-style: normal;
}

.submenu a:hover {
  background: var(--primary);
  color: var(--secondary);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--primary);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-text {
  color: var(--primary);
  margin-bottom: 15px;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-light);
  margin-bottom: 15px;
}

.footer-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
  font-style: italic;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-light);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '>';
  color: var(--secondary);
  font-size: 10px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--gray-light);
  align-items: flex-start;
}

.footer-contact-item strong {
  color: var(--white);
  min-width: 40px;
}

.footer-bottom {
  border-top: 1px solid rgba(242,215,213,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--gray-light);
}

.footer-bottom a {
  color: var(--primary);
}

/* Breadcrumb */
.breadcrumb {
  background: var(--light);
  padding: 15px 0;
  border-bottom: 1px solid var(--primary);
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--gray);
}

.breadcrumb a:hover {
  color: var(--secondary);
}

.breadcrumb-sep {
  color: var(--gray-light);
}

.breadcrumb-current {
  color: var(--secondary);
  font-weight: 500;
}

/* Page Header */
.page-header {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/banner-service.jpg') center/cover;
  opacity: 0.2;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 36px;
  font-weight: bold;
  font-style: italic;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.page-header p {
  font-size: 16px;
  color: var(--primary);
}

/* Scroll Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: none;
  z-index: 999;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(169,50,38,0.3);
}

.scroll-top:hover {
  background: var(--dark);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --header-height: auto;
  }

  .header-top {
    display: none;
  }

  .header-main .container {
    flex-wrap: wrap;
  }

  .logo-text {
    font-size: 18px;
  }

  .header-contact {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav .container {
    position: relative;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(44,21,21,0.15);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    color: var(--dark);
    border-bottom: 1px solid var(--primary);
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    background: var(--primary);
    color: var(--secondary);
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    display: none;
    background: var(--light);
  }

  .submenu.active {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-header h1 {
    font-size: 24px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .nav-menu a {
    padding: 14px 15px;
    font-size: 14px;
  }
}
