:root {
  --primary-gold: #D4AF37;
  --primary-dark: #1a1a1a;
  --secondary-dark: #2d2d2d;
  --accent-gold: #B8860B;
  --light-gold: #F5E6A8;
  --text-light: #f8f9fa;
  --text-muted: #6c757d;
  --bg-luxury: #0F0F0F;
  --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
}

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

body {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--bg-luxury);
  overflow-x: hidden;
}

.bg-img-top{
  background-image: url("../backImg/background01.png");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 45%;
  }

.bg-img{
background-image: url("../backImg/background03.png");
background-repeat: no-repeat;
background-position: right bottom;
background-size: 50%;
}
@media (min-width: 768px) {
  
  .bg-img-top{
      background-size: 40%;
      }
    
    .bg-img{
    background-size: 40%;
    }
}

.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect width="1920" height="1080" fill="%23111"/><circle cx="960" cy="540" r="400" fill="%23222" opacity="0.3"/><circle cx="1200" cy="300" r="200" fill="%23D4AF37" opacity="0.1"/></svg>');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeInUp 1.2s ease-out;
}

.hero-title {
  font-family: 'Playfair Display', non-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}
.hero-subtitle2{
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 1.5px;
  margin-top: -20px;
  font-family: 'Noto Sans TC' ;

}

.hero-subtitle {
  font-size: 1.7rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  letter-spacing: 1.5px;
  font-family: 'Noto Serif TC' ;
  font-weight: 300;
  margin-left: 10px;
  margin-right: 10px;
}

 /* 手機端的樣式 */
@media (max-width: 767px) {
  .hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 1.7rem;
}
}

 /* 平板端的樣式 */
@media (min-width: 768px) and (max-width: 1024px)  {
  .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.8rem;
}
}


.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  background: var(--primary-gold);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  opacity: 0.1;
}

.floating-element:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  width: 60px;
  height: 60px;
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

.main-content {
  padding: 8rem 0;
  background: var(--bg-luxury);
  position: relative;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 4rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

/* Contact Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 5rem;
}

.contact-info-card {
  background: rgba(45, 45, 45, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}


.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}


.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.contact-details h4 {
  color: var(--primary-gold);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;

}

.contact-details p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.9rem;
  word-break: break-all;
}


.map-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}

.map-container:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3);
}

.map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--primary-gold);
  border-radius: 20px;
  z-index: 1;
  pointer-events: none;
}

.map-container iframe {
  width: 100%;
  height: 500px;
  border: none;
  filter: grayscale(0.3) contrast(1.2);
  transition: filter 0.3s ease;
}

.map-container:hover iframe {
  filter: grayscale(0) contrast(1);
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(50px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
      transform: translateY(0px) rotate(0deg);
  }
  50% {
      transform: translateY(-20px) rotate(180deg);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 768px) {
  .contact-layout {
      grid-template-columns: 1fr;
      gap: 2rem;
  }
  
  .hero-title {
      font-size: 3rem;
      margin-bottom: 50px;
  }
  
  .section-title {
      font-size: 2.5rem;
  }
  
  .contact-info-card {
      padding: 2rem;
  }
  
  .map-container iframe {
      height: 300px;
  }
}


