/* Common Styles - Used across all pages */

:root {
  --point-color: #28a94b;
  --secondary-color: #cee8e0;
}

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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  overflow-x: hidden;
  background: #fefdf5;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(254, 253, 245, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--point-color);
  background: url("/images/logo.png") no-repeat center;
  background-size: contain;
  width: 150px;
  height: 40px;
}

.footer-logo {
  background: url("/images/dogo_white.svg") no-repeat center;
  background-size: contain;
  width: 150px;
  height: 40px;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--point-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-btn {
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(45, 74, 62, 0.2);
  border-radius: 8px;
  cursor: pointer;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.3s;
  position: relative;
  z-index: 1001;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition:
    color 0.3s,
    background 0.3s;
  white-space: nowrap;
  border-radius: 8px;
  user-select: none;
  text-decoration: none;
}

.nav-link::after {
  content: "▾";
  font-size: 0.65rem;
  transition: transform 0.3s;
  display: inline-block;
  opacity: 0.6;
}

.nav-item:hover .nav-link {
  color: var(--point-color);
  background: rgba(40, 169, 75, 0.07);
}

.nav-item:hover .nav-link::after {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 170px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
  z-index: 1002;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.55rem 1.2rem;
  color: #333;
  text-decoration: none;
  font-size: 0.88rem;
  transition:
    color 0.2s,
    background 0.2s,
    padding-left 0.2s;
  white-space: nowrap;
}

.dropdown-link:hover {
  color: var(--point-color);
  background: rgba(40, 169, 75, 0.06);
  padding-left: 1.6rem;
}

.menu-btn span {
  width: 18px;
  height: 2px;
  background: var(--point-color);
  transition: all 0.3s;
}

.menu-btn:hover {
  background: rgba(45, 74, 62, 0.05);
}

.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.contact-btn {
  padding: 0.75rem 1.5rem;
  background: var(--point-color);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transition: right 0.3s ease;
  padding-top: 5rem;
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  padding: 1rem 2rem 2rem;
}

.mobile-nav-group {
}

.mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-nav-cat-link {
  flex: 1;
  padding: 1rem 0;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 0.3s;
  display: block;
}

.mobile-nav-cat-link:hover {
  color: var(--point-color);
}

.mobile-nav-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.3s;
  color: #666;
}

.mobile-nav-toggle:hover {
  color: var(--point-color);
}

.toggle-arrow {
  font-size: 0.75rem;
  transition: transform 0.3s;
  display: inline-block;
  opacity: 0.6;
}

.mobile-nav-group.open .toggle-arrow {
  transform: rotate(180deg);
}

.mobile-nav-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-nav-group.open .mobile-nav-submenu {
  max-height: 400px;
}

.mobile-nav-sublink {
  display: block;
  padding: 0.6rem 0 0.6rem 0.8rem;
  color: #555;
  text-decoration: none;
  font-size: 0.92rem;
  transition:
    color 0.2s,
    padding-left 0.2s;
  border-left: 2px solid rgba(40, 169, 75, 0.15);
  margin-bottom: 0.1rem;
}

.mobile-nav-sublink:last-child {
  margin-bottom: 0.8rem;
}

.mobile-nav-sublink:hover {
  color: var(--point-color);
  padding-left: 1.2rem;
  border-left-color: var(--point-color);
}

/* Mobile Nav Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Common Button Styles */
.book-btn {
  padding: 1rem 2rem;
  background: var(--point-color);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  text-decoration: none;
}

.book-btn:hover {
  background: var(--secondary-color);
  transform: translateX(5px);
}

/* Section Labels */
.section-label {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(45, 74, 62, 0.1);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--point-color);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
}

.section-header.visible {
  animation: fadeUp 0.8s ease forwards;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.section-title .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--point-color);
}

/* Footer Company Info */
.footer-company-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.footer-company-info p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin: 0;
}

.footer-company-name {
  font-size: 0.95rem !important;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95) !important;
}

.footer-ftc-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;

  padding-bottom: 1px;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.footer-ftc-link:hover {
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Footer */
footer {
  background: var(--point-color);
  color: white;
  padding: 4rem 5% 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-info h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-style: italic;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  text-decoration: none;
  color: white;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.footer-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
}

.footer-form h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: white;
  font-size: 1rem;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
}

textarea.form-input {
  min-height: 100px;
  resize: vertical;
  font-family: inherit;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: white;
  color: var(--point-color);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0.7;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Animations */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomOut {
  to {
    transform: scale(1);
  }
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.5rem;
  }
}

/* Responsive - Mobile */
@media (max-width: 1024px) {
  header {
    padding: 1rem 4%;
  }

  .logo {
    font-size: 1.3rem;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }

  .contact-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    font-size: 0.9rem;
  }

  .mobile-nav {
    width: 80%;
    max-width: 300px;
  }

  .menu-btn {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }

  .book-btn {
    width: 100%;
    justify-content: center;
  }
}
