:root {
  --primary-teal: #2c7a7b;
  --deep-teal: #1a5556;
  --light-teal: #4a9d9e;
  --warm-wood: #8b5a3c;
  --fog-gray: #e8e8e8;
  --light-gray: #f5f5f5;
  --text-dark: #2d3748;
  --text-light: #718096;
  --white: #ffffff;
  --accent-gold: #d4a574;
}

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

body {
  font-family: Georgia, serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: var(--deep-teal);
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
}

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

.nav-brand a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

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

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 1.1rem;
}

.nav-menu a:hover {
  color: var(--accent-gold);
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--deep-teal);
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 0 0 8px 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.dropdown-menu li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: var(--primary-teal);
  color: var(--accent-gold);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.mobile-menu-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
  width: 24px;
  height: 3px;
  background-color: var(--white);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

/* Hamburger animation when menu is open */
.mobile-menu-toggle:checked ~ .mobile-menu-btn .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle:checked ~ .mobile-menu-btn .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle:checked ~ .mobile-menu-btn .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-toggle:checked ~ .mobile-menu-overlay {
  display: block;
}

/* Hero Section with Slideshow */
.hero {
  position: relative;
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 122, 123, 0.8), rgba(26, 85, 86, 0.9));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-gold);
}

.hero-description {
  font-size: 1.2rem;
  font-style: italic;
}

/* Content Sections */
.intro, .highlights, .cta {
  padding: 4rem 0;
}

.intro {
  background: var(--light-gray);
}

.intro h2, .highlights h2, .cta h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--deep-teal);
}

.intro p {
  font-size: 1.2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.feature h3 {
  color: var(--primary-teal);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Attractions Grid */
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.attraction-card {
  background: var(--white);
  padding: 1.5rem;
  border-left: 4px solid var(--primary-teal);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.attraction-card h3 {
  color: var(--warm-wood);
  margin-bottom: 0.5rem;
}

/* CTA Section */
.cta {
  background: var(--fog-gray);
  text-align: center;
}

.btn-primary {
  display: inline-block;
  background: var(--primary-teal);
  color: var(--white);
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 1rem;
  transition: background 0.3s;
  font-size: 1.1rem;
}

.btn-primary:hover {
  background: var(--deep-teal);
}

/* Page Content */
.page-content {
  padding: 3rem 0;
  min-height: 60vh;
}

.page-content h1 {
  color: var(--deep-teal);
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.page-content h2 {
  color: var(--primary-teal);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.page-content h3 {
  color: var(--warm-wood);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.page-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.page-content ul, .page-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

.page-content strong {
  color: var(--text-dark);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-teal), var(--light-teal));
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-intro {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* List Pages */
.page-list {
  padding: 3rem 0;
}

.list-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--fog-gray);
}

.list-item h2 {
  margin-bottom: 0.5rem;
}

.list-item h2 a {
  color: var(--primary-teal);
  text-decoration: none;
}

.list-item h2 a:hover {
  color: var(--deep-teal);
  text-decoration: underline;
}

/* Gallery */
.gallery-header {
  background: linear-gradient(135deg, var(--warm-wood), var(--accent-gold));
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.gallery-intro {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

.photo-gallery {
  padding: 3rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-placeholder {
  grid-column: 1 / -1;
  background: var(--fog-gray);
  padding: 3rem;
  text-align: center;
  border-radius: 8px;
}

.gallery-placeholder h3 {
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

.gallery-placeholder ul {
  list-style: none;
  margin-top: 1rem;
}

.gallery-placeholder li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

/* Businesses Section */
.businesses-grid-section, .attractions-grid-section {
  padding: 3rem 0;
}

.businesses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.business-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.business-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.business-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.business-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-image-placeholder {
  width: 100%;
  height: 200px;
  background: var(--fog-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-style: italic;
}

.business-info {
  padding: 1.5rem;
}

.business-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.business-info h3 a {
  color: var(--primary-teal);
  text-decoration: none;
}

.business-info h3 a:hover {
  color: var(--deep-teal);
  text-decoration: underline;
}

.business-category {
  color: var(--warm-wood);
  font-style: italic;
  margin-bottom: 1rem;
}

.business-address,
.business-phone,
.business-hours {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.business-address strong,
.business-phone strong,
.business-hours strong {
  color: var(--text-dark);
}

.businesses-placeholder {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--light-gray);
  border-radius: 8px;
}

.businesses-placeholder h3 {
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

/* Business Detail Page */
.business-detail {
  padding: 3rem 0;
}

.business-detail h1 {
  color: var(--deep-teal);
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.business-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.business-detail-image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.business-detail-image img {
  width: 100%;
  height: auto;
}

.business-detail-info {
  padding: 1rem;
}

.business-detail-section {
  margin-bottom: 2rem;
}

.business-detail-section h3 {
  color: var(--primary-teal);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.business-detail-section p {
  line-height: 1.6;
}

.business-detail-section a {
  color: var(--primary-teal);
  text-decoration: none;
}

.business-detail-section a:hover {
  text-decoration: underline;
}

.business-description {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--fog-gray);
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--accent-gold);
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom a {
  color: var(--accent-gold);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Attractions Grid */
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.attraction-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid transparent;
}

.attraction-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border-color: var(--accent-gold);
}

/* Linked attraction cards */
a.attraction-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.attraction-card:hover {
  text-decoration: none;
  color: inherit;
}

.attraction-card h3 {
  color: var(--deep-teal);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.attraction-card h3 a {
  color: var(--deep-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

.attraction-card h3 a:hover {
  color: var(--primary-teal);
}

.attraction-card p {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.highlight {
  background: var(--fog-gray);
  color: var(--deep-teal);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.learn-more-btn {
  display: inline-block;
  background: var(--primary-teal);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
  background: var(--deep-teal);
}

/* Center Learn More buttons in attraction cards */
.attraction-card {
  text-align: center;
}

/* Attractions Tour Info */
.attractions-tour-info {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem;
  background: var(--fog-gray);
  border-radius: 12px;
}

.attractions-tour-info h3 {
  color: var(--deep-teal);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.attractions-tour-info p {
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Image Gallery Styles */
.mansion-hero-image {
  margin: 2rem 0;
  text-align: center;
}

.hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.02);
}

.mansion-gallery {
  margin: 2rem 0;
}

.gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.gallery-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Mobile responsiveness for galleries */
@media (max-width: 768px) {
  .gallery-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-image {
    height: 250px;
  }

  /* Mobile hero slideshow */
  .hero {
    min-height: 400px;
    padding: 4rem 0;
  }

  .hero-slide.mobile {
    display: block;
  }

  .hero-slide.desktop {
    display: none;
  }
}

/* Desktop hero slideshow */
@media (min-width: 769px) {
  .hero-slide.mobile {
    display: none;
  }

  .hero-slide.desktop {
    display: block;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--deep-teal);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 1.5rem;
    transition: right 0.3s ease;
    z-index: 999;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  }
  
  .mobile-menu-toggle:checked ~ .nav-menu {
    right: 0;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu a {
    display: block;
    padding: 12px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .nav-menu a:hover {
    color: var(--accent-gold);
    padding-left: 10px;
    transition: all 0.3s ease;
  }

  /* Mobile Dropdown Styles */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--primary-teal);
    box-shadow: none;
    border-radius: 0;
    margin-left: 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown:hover .dropdown-menu {
    max-height: 200px;
  }

  .dropdown-menu a {
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .attractions-grid {
    grid-template-columns: 1fr;
  }
  
  .businesses-grid {
    grid-template-columns: 1fr;
  }
  
  .business-detail-content {
    grid-template-columns: 1fr;
  }
}