@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Quicksand:wght@400;600&family=Allura&display=swap');

@font-face {
  font-family: "WeddingHeader";
  src: url("vintage-postman-sans.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "WeddingTitle";
  src: url("vintage-postman-script.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --sand: #f4ecd8;
  --sage: #b2ab72;
  --olive: #6b5b2e;
  --ink: #2b2b2a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "WeddingHeader";
  background: var(--sand);
  color: var(--ink);
}

/* NAVIGATION */
.nav-header {
  background: var(--sage);
  padding: 1.5rem 1rem;
  position: relative;
}

.nav-inline {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 3.5rem);
  flex-wrap: wrap;
  max-width: 1600px;
  padding: 0 1rem;
  position: relative;
}

.nav-links {
  display: none;
}

.nav-inline > a {
  font-family: "WeddingHeader", serif;
  font-size: clamp(0.9rem, 1.8vw, 1.3rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sand);
  font-weight: 600;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.nav-inline > a:hover {
  opacity: 0.7;
}

.nav-logo {
  font-family: "WeddingHeader", serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  letter-spacing: .10em;
  margin: 0 0.5rem;
  color: #4c6079;
  white-space: nowrap;
}

/* HAMBURGER MENU */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: fixed;
  left: 0.75rem;
  top: 0.75rem;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background-color: var(--sand);
  margin: 2.5px 0;
  transition: 0.3s;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* HERO */
.hero {
  background-color: var(--sage);
  padding: 0; /* Keep side padding, remove bottom */
}

.hero-inner {
  width: 100%;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero-content {
  text-align: center;
}

.hero-script {
  font-family: "WeddingTitle";
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--olive);
  margin: 0;
}

.hero-date {
  font-weight: 600;
  margin-top: 12px;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}

/* WAVES */
.wave-image {
  margin-top: -2px;
  line-height: 0;
  overflow: hidden;
}

.wave-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .wave-image img {
    width: 100%;
    margin-left: 0;
  }
}

/* HOME CONTENT */
.home-home {
  background: var(--sand);
}

.home-content {
  padding: clamp(2rem, 8vw, 5rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 10vw, 7.5rem);
}

/* SEA SECTION */
.sea-section {
  background-color: var(--sand);
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
}

.sea-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.sea-photo img {
  width: 75%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  margin-top: clamp(-3rem, -8vw, -6rem);
}

.sea-text {
  padding-right: 2rem;
}

.sea-text h2 {
  font-family: "WeddingTitle";
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: lighter;
  margin-top: clamp(-6rem, -15vw, -12rem);
  margin-bottom: 1.5rem;
  color: var(--olive);
  line-height: 1.2;
}

.sea-text p {
  font-family: "WeddingHeader";
  line-height: 1.7;
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin-top: 3rem;
  color: #5a4f2c;
}

/* CAROUSEL STYLES */
.carousel-container {
  max-width: 900px;
  margin: 0 auto 4rem;
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-wrapper {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: 600px;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: rgba(255, 255, 255, 0.3);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(244, 236, 216, 0.9);
  border: 2px solid var(--sage);
  font-size: 2.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: var(--olive);
  border-radius: 8px;
  font-weight: 300;
  line-height: 1;
}

.carousel-btn:hover {
  background: var(--sand);
  border-color: var(--olive);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn.prev {
  left: 1rem;
}

.carousel-btn.next {
  right: 1rem;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.3);
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(107, 91, 46, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.indicator:hover {
  background: rgba(107, 91, 46, 0.5);
  transform: scale(1.2);
}

.indicator.active {
  background: var(--olive);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .carousel-slide {
    height: 400px;
  }

  .carousel-btn {
    font-size: 2rem;
    padding: 0.4rem 0.8rem;
  }

  .carousel-btn.prev {
    left: 0.5rem;
  }

  .carousel-btn.next {
    right: 0.5rem;
  }

  .carousel-indicators {
    padding: 1rem;
    gap: 0.5rem;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    height: 300px;
  }
}

/* FOOTER */
.site-footer {
  position: static;
  text-align: right;
  margin-top: clamp(-4rem, -8vw, -7rem);
  margin-right: clamp(1rem, 3vw, 2.5rem);
  background: transparent;
  padding-bottom: 2rem;
}

.site-footer .countdown-label {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: #f3a6a6;
  font-family: "WeddingHeader";
  letter-spacing: 0.08em;
  margin-bottom: 3rem;
}

.footer-links {
  text-align: center;
  padding: 2rem 0;
}

.footer-links a {
  color: var(--olive);
  text-decoration: none;
  font-family: "WeddingHeader";
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 1rem;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.7;
}

/* INTERNAL PAGE STYLES */
.page-hero {
  background: var(--sage);
  padding: 4rem 2rem;
  text-align: center;
}

.page-title {
  font-family: "WeddingTitle";
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--sand);
  margin: 0;
  font-weight: 400;
}

.content-section {
  padding: clamp(3rem, 8vw, 6rem) 2rem;
  background: var(--sand);
}

.content-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.story-photo {
  text-align: center;
  margin-bottom: 3rem;
}

.story-photo img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
}

.story-content h2 {
  font-family: "WeddingTitle";
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--olive);
  margin: 2rem 0 1rem;
}

.story-content p {
  font-family: "WeddingHeader";
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 2rem;
}

.script {
  font-family: "WeddingTitle";
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--olive);
  margin: 2rem 0 1rem;
}

/* ACCORDION STYLES */
.accordion {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.5);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem 2rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "WeddingHeader", serif;
  font-size: 1.3rem;
  color: var(--olive);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: rgba(255,255,255,0.3);
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  display: inline-block;
  width: 20px;
  text-align: center;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 2rem;
}

.accordion-item.active .accordion-content {
  max-height: none;
  overflow: visible;
  padding: 0 2rem 1.5rem;
}

.accordion-content p {
  font-family: "WeddingHeader";
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0.75rem 0;
}

.accordion-content p strong {
  color: var(--olive);
}

/* INFO GRID (for details, travel pages) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.info-card {
  background: rgba(255,255,255,0.5);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.info-card h3 {
  font-family: "WeddingHeader", serif;
  font-size: 1.5rem;
  color: var(--olive);
  margin-top: 0;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.info-card p {
  font-family: "WeddingHeader";
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0.5rem 0;
}

.info-card a {
  color: var(--olive);
  text-decoration: underline;
}

/* FAQ STYLES */
.faq-item {
  background: rgba(255,255,255,0.5);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item h3 {
  font-family: "WeddingHeader", serif;
  font-size: 1.3rem;
  color: var(--olive);
  margin-top: 0;
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
}

.faq-item p {
  font-family: "WeddingHeader";
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

/* REGISTRY STYLES */
.registry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.registry-card {
  background: var(--sand);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

.registry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.registry-card h3 {
  font-family: "WeddingHeader";
  font-size: 1.5rem;
  color: var(--olive);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.registry-card a {
  display: inline-block;
  background: var(--sage);
  color: var(--sand);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-family: "WeddingHeader";
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.registry-card a:hover {
  opacity: 0.8;
}

/* MOBILE NAVIGATION */
@media (max-width: 768px) {
  .nav-header {
    padding: 1.5rem 3.5rem 1.5rem 1rem;
  }

  .nav-inline {
    justify-content: center;
  }

  .nav-inline > a {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: flex;
    position: fixed;
    left: -100%;
    top: 0;
    height: 100vh;
    background: var(--sage);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    width: 250px;
    gap: 2rem;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: 1.3rem;
    font-family: "WeddingHeader";
    letter-spacing: .16em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--sand);
    font-weight: 600;
  }

  .nav-logo {
    margin: 0;
    font-size: 1.5rem;
  }
}

/* TABLET AND MOBILE ADJUSTMENTS */
@media (max-width: 1024px) {
  .sea-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .sea-photo img {
    width: 100%;
    margin-top: 0;
  }

  .sea-text {
    padding-right: 0;
    text-align: center;
  }

  .sea-text h2 {
    margin-top: 0;
  }

  .site-footer {
    text-align: center;
    margin-top: 2rem;
    margin-right: 0;
  }
}

@media (max-width: 600px) {
  .nav-header {
    padding: 1rem 0.5rem;
  }

  .sea-section {
    padding: 2rem 1rem;
  }

  .sea-text p {
    margin-top: 1.5rem;
  }
}