/* CSS Variables */
:root {
  --primary-color: #e2c6c3;
  --secondary-color: #a2b49b;
  --text-color: #555;
  --light-bg: #f9f9f9;
  --white: #ffffff;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', sans-serif;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--secondary-color);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("resources/hero.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: 80px;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-divider {
  width: 100px;
  height: 2px;
  background: var(--primary-color);
  margin: 0 auto 1.5rem;
}

.hero-date {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 3rem;
}

/* Countdown Timer */
.countdown {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-value {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}

.countdown-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  opacity: 0.9;
}

/* Scroll Down Animation */
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-down a {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  position: relative;
}

.scroll-down a span {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background: var(--white);
  border-radius: 50%;
  animation: scroll-animation 2s infinite;
}

@keyframes scroll-animation {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* Section Styles */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 1.5rem;
}

.section-divider {
  width: 80px;
  height: 2px;
  background: var(--primary-color);
  margin: 0 auto;
}

/* Couple Section */
.couple-section {
  background: var(--light-bg);
}

.couple-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.couple-card {
  text-align: center;
}

.couple-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 2rem;
  border: 5px solid var(--secondary-color);
}

.couple-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.couple-card h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 0.5rem;
}

.couple-role {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.couple-bio {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 400px;
  margin: 0 auto;
}

/* Story Section */
.story-section {
  background: var(--light-bg);
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.story-content > p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 4rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
  text-align: right;
  padding-right: calc(50% + 3rem);
}

.timeline-item:nth-child(even) {
  text-align: left;
  padding-left: calc(50% + 3rem);
}

.timeline-date {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.timeline-item h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 1rem;
  line-height: 1.7;
}

/* When & Where Section */
.when-where-section {
  background: var(--light-bg);
  position: relative;
}

.when-where-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('resources/bg_1.jpeg') center/cover no-repeat;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.when-where-section .container {
  position: relative;
  z-index: 1;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.event-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--light-bg);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-card-single {
  max-width: 600px;
  margin: 0 auto;
}

.location-link {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.location-link:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(162, 180, 155, 0.3);
}

.event-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.event-card h4 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 1rem;
}

.event-time {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.event-location {
  line-height: 1.8;
}

/* Schedule Box */
.schedule-box {
  max-width: 700px;
  margin: 0 auto 4rem;
  background: var(--light-bg);
  padding: 3rem;
  border-radius: 10px;
}

.schedule-box h4 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: #2c2c2c;
  text-align: center;
  margin-bottom: 1rem;
}

.schedule-box .schedule-intro {
  text-align: center !important;
  font-size: 1rem;
  color: var(--text-color);
  margin: 0 auto 2.5rem auto !important;
  padding: 0 1rem;
  line-height: 1.7;
  max-width: 600px;
  display: block;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.schedule-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: var(--white);
  border-radius: 5px;
  border-left: 3px solid var(--primary-color);
}

.schedule-time {
  font-weight: 600;
  color: var(--primary-color);
  min-width: 100px;
  font-size: 1rem;
}

.schedule-event {
  font-size: 1rem;
  color: #2c2c2c;
}

/* Travel Section */
.travel-section {
  background: var(--white);
}

.travel-content {
  max-width: 900px;
  margin: 0 auto;
}

.travel-intro {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 3rem;
}

/* Hotels Container */
.hotels-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Hotel Card */
.hotel-card {
  background: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.hotel-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Hotel Header (Clickable) */
.hotel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: var(--light-bg);
  cursor: pointer;
  transition: background 0.3s ease;
  border-bottom: 3px solid var(--primary-color);
}

.hotel-header:hover {
  background: #f9f5f4;
}

.hotel-summary {
  flex: 1;
}

.hotel-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.hotel-distance {
  font-size: 0.95rem;
  color: var(--text-color);
  margin: 0.3rem 0;
}

.hotel-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0.3rem 0;
}

.hotel-toggle {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  margin-left: 1rem;
}

/* Hotel Details (Expandable) */
.hotel-details {
  padding: 0 2rem 2rem 2rem;
  background: var(--white);
}

.hotel-section {
  margin-bottom: 2rem;
}

.hotel-section h5 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.hotel-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hotel-section ul li {
  padding: 0.5rem 0;
  line-height: 1.8;
  color: var(--text-color);
}

.hotel-section ul li strong {
  color: var(--secondary-color);
}

/* Room Types */
.room-type {
  margin-bottom: 1.5rem;
}

.room-type strong {
  display: block;
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.room-type p {
  line-height: 1.8;
  color: var(--text-color);
  margin: 0;
}

/* Rates Table */
.rates-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.rates-table thead {
  background: var(--light-bg);
}

.rates-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--secondary-color);
  border-bottom: 2px solid var(--primary-color);
}

.rates-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #f0f0f0;
  color: var(--text-color);
}

.rates-table tbody tr:hover {
  background: var(--light-bg);
}

.tax-note {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  margin-top: 0.5rem;
}

/* Hotel Contact */
.hotel-contact {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: 8px;
  text-align: center;
}

.hotel-contact h5 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.hotel-contact p {
  margin-bottom: 1.5rem;
  color: var(--text-color);
  line-height: 1.8;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 280px;
}

.contact-link:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-text {
  font-size: 1rem;
}

/* Responsive */
@media (min-width: 768px) {
  .contact-links {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hotel-header {
    padding: 1.2rem 1.5rem;
  }

  .hotel-details {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .hotel-name {
    font-size: 1.4rem;
  }

  .rates-table {
    font-size: 0.9rem;
  }

  .rates-table th,
  .rates-table td {
    padding: 0.6rem 0.5rem;
  }

  .contact-link {
    min-width: 100%;
  }
}

/* RSVP Section */
.rsvp-section {
  background: var(--white);
  position: relative;
}

.rsvp-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('resources/bg_2.jpeg') center/cover no-repeat;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.rsvp-section .container {
  position: relative;
  z-index: 1;
}

.rsvp-form-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.rsvp-form-container iframe {
  border-radius: 5px;
}

/* Honeymoon Section */
.honeymoon-section {
  background: var(--light-bg);
}

.honeymoon-content {
  max-width: 900px;
  margin: 0 auto;
}

.honeymoon-intro {
  font-size: 1.1rem;
  line-height: 1.9;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
}

.honeymoon-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.honeymoon-photo {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.honeymoon-photo:hover {
  transform: translateY(-5px);
}

.honeymoon-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.iban-box {
  background: var(--light-bg);
  padding: 3rem;
  border-radius: 10px;
  text-align: center;
}

.iban-box h4 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 1.5rem;
}

.iban-label {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.iban-info {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.iban-info p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.iban-code {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  color: #2c2c2c;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.copy-iban-btn {
  padding: 0.75rem 2rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 25px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.copy-iban-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(162, 180, 155, 0.3);
}

.copy-iban-btn:active {
  transform: translateY(0);
}

.iban-note {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-color);
  line-height: 1.7;
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: #555;
  text-align: center;
  padding: 3rem 2rem;
}

.footer-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #555;
}

.footer-names {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.footer-date {
  font-size: 0.9rem;
  opacity: 0.8;
  letter-spacing: 0.1em;
  color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }

  .logo-img {
    height: 40px;
  }

  .nav-menu {
    gap: 1rem;
    font-size: 0.7rem;
  }

  .language-toggle-nav {
    margin-left: 0.5rem;
  }

  .lang-btn-nav {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }

  .countdown {
    gap: 1.5rem;
  }

  .countdown-value {
    font-size: 2rem;
  }

  .countdown-label {
    font-size: 0.7rem;
  }

  .couple-grid {
    gap: 3rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    text-align: left;
    padding-left: 60px;
    padding-right: 0;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .schedule-box {
    padding: 2rem 1.5rem;
  }

  .schedule-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .schedule-time {
    margin-bottom: 0.5rem;
  }

  section {
    padding: 60px 0;
  }

  .honeymoon-gallery {
    grid-template-columns: 1fr;
  }

  .iban-box {
    padding: 2rem 1.5rem;
  }

  .iban-info {
    padding: 1.5rem;
  }

  .iban-code {
    font-size: 0.9rem;
    word-break: break-all;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    display: none;
  }

  .logo {
    margin: 0 auto;
  }

  .language-toggle-nav {
    position: absolute;
    right: 1rem;
  }
}
