/* General background */
body {
  background: #f7f5f1;
  font-family: 'Quicksand', Arial, sans-serif;
  color: #8d6e53;
  margin: 0;
  padding: 0;
}

/* Header with script font */
header h1, .site-title {
  font-family: 'Dancing Script', cursive;
  font-size: 3rem;
  color: #8d6e53;
  text-align: center;
  margin: 0;
  padding: 1.5rem 0 0.5rem 0;
  letter-spacing: 2px;
}

h2 {
  font-family: 'Dancing Script', cursive;
  /* font-size: 1.8rem; */
  color: #a67c52;
  /* margin-top: 0; */
}

/* Navigation bar */
nav {
  background: #d6c1a7;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0;
}

nav a {
  display: block;
  font-family: 'Dancing Script', cursive;
  padding: 1rem 1.5rem;
  color: #8d6e53;
  text-decoration: none;
  font-size: 1.5rem;
  border-radius: 16px 16px 0 0;
  transition: background 0.2s;
}

nav .active, nav a.active {
  background: #fff;
  font-weight: bold;
  color: #8d6e53;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Main card */
.main-card, .welcome-card {
  background: #fff8f3;
  border-radius: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  max-width: 800px;
  margin: 3rem auto 2rem auto;
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  text-align: left;
}

/* Content links (not navigation) */
.main-card a, .welcome-card a, #wedding-schedule a, p a {
    color: #a67c52;
    text-decoration: none;
    font-weight: 600;
    /* border-bottom: 2px solid #d6c1a7; */
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

.main-card a:hover, .welcome-card a:hover, #wedding-schedule a:hover, p a:hover {
    color: #8d6e53;
    border-bottom: 2px solid #a67c52;
    background-color: rgba(214, 193, 167, 0.15);
}

.main-card a:active, .welcome-card a:active {
    color: #6b5340;
}

/* Welcome heading */
.welcome-title {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  color: #a67c52;
  margin-bottom: 0.5rem;
}

/* Countdown */
.countdown {
  font-size: 2.2rem;
  font-weight: bold;
  color: #a67c52;
  margin: 1.5rem 0 1rem 0;
  letter-spacing: 1px;
}

/* Save the date */
.save-date {
  font-style: italic;
  color: #8d6e53;
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

/* Footer */
footer {
  background: #e8d6c3;
  color: #8d6e53;
  text-align: center;
  padding: 1.2rem 0 1rem 0;
  font-size: 1rem;
  margin-top: 2rem;
  letter-spacing: 0.5px;
}

#wedding-schedule ul {
  list-style-type: none;
  padding: 0;
}
#wedding-schedule li {
  margin-bottom: 0.5em;
}

.banner {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative; /* This is crucial for absolute positioning of nav */
}

.banner-image {
    width: 100%;
    height: 250px; /* Your thin banner height */
    object-fit: cover;
    display: block;
}

.nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10; /* Ensures nav appears above image */
    display: flex;
    justify-content: center; /* Center the navigation */
    align-items: center;
    height: 100%; /* Full height of banner */
    background-color: rgba(0, 0, 0, 0.3); /* Optional semi-transparent overlay */
}

.nav-overlay a {
    color: white; /* White text to stand out on image */
    text-decoration: none;
    margin: 0 15px;
    padding: 8px 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.nav-overlay a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}


.language-selector {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-family: 'Quicksand', Arial, sans-serif;
    z-index: 100;
}

.current-lang {
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.6rem 1rem;
    background: rgba(141, 110, 83, 0.85);
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.current-lang:hover {
    background: #d6c1a7;
}

.lang-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 0.5rem;
    min-width: 120px;
}

.language-selector:hover .lang-options {
    display: block;
}

.lang-options a {
    display: block;
    padding: 0.7rem 1.2rem;
    color: #8d6e53;
    text-decoration: none;
    transition: background 0.2s;
    font-size: 0.9rem;
}

.lang-options a:first-child {
    border-radius: 12px 12px 0 0;
}

.lang-options a:last-child {
    border-radius: 0 0 12px 12px;
}

.lang-options a:hover {
    background: #f7f5f1;
}

.image-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  
}

.image-card .bg-image {
  width: 100%;
  height: auto;
  display: block;
}

.image-card .overlay-content {
  position: absolute;
  top: 5%;
  left: 50%;
  /* transform: translate(-50%, -50%); */
  transform: translateX(-10%);
  color: white;
  background: rgba(0, 0, 0, 0.75);
  padding: 1.5rem;
  border-radius: 1rem;
  width: 40%;
  max-width: 95%;
}

    .hotel-table {
        border-collapse: collapse;
        width: 100%;
    }
    .hotel-table th,
    .hotel-table td {
        border-bottom: 1px solid #ddd;
        padding: 8px;
        text-align: left;
    }
    .hotel-table th {
        background-color: #f2f2f2;
    }




/* Responsive */
@media (max-width: 600px) {
  .main-card, .welcome-card {
      padding: 1.2rem 0.7rem;
      margin: 1.5rem 1rem;
  }
  nav ul {
      gap: 0.5rem;
  }

  nav a {
        font-size: 0.9rem;  /* Larger size for mobile */
        padding: 0.5rem 0.75rem;
    }

  .banner {
        height: 150px; /* Reduce height on mobile */
    }
    
  .banner-image {
        max-height: 150px;
        object-fit: cover;
    }

  .current-lang {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
  }

  .image-card .overlay-content {
    width: 73%;          /* Nearly full width on mobiles */
    top: 2%;             /* Same top offset, or try 0 for completely flush */
    left: 50%;
    transform: translateX(-40%);
    padding: 1rem;       /* Less padding for smaller screens */
    font-size: 1rem;     /* Optionally decrease font size */
    border-radius: 1rem;
  }

  .image-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  
}

        .hotel-table {
            min-width: 100%;
        }
        
        .hotel-table thead {
            display: none;
        }
        
        .hotel-table tr {
            display: block;
            margin-bottom: 15px;
            border: 1px solid #ddd;
        }
        
        .hotel-table td {
            display: block;
            text-align: center;
            padding: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .hotel-table td:before {
            content: attr(data-label);
            float: left;
            font-weight: bold;
        }
        
        .hotel-table td:last-child {
            border-bottom: 0;
        }


}
