/* General Styling */

@import url('https://fonts.googleapis.com/css?family=MonteCarlo&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lora&display=swap');

body {
    background: #FBEAD6;
    font-family: Lora;
}

h1, h2, h3 {
    color: #C87D87;
    font-weight: 10;
}

.tagline {
    color: #6B7556;
    font-family: MonteCarlo;
}

h2 {
    font-size: 2.9vw;
}

h3 {
    font-size: 2.3vw;
}

p {
    color: #6B7556;
    font-size: 1.7vw;
}

@media screen and (max-width: 700px) {
    h2 {
        font-size: 5vw;
    }

    h3 {
        font-size: 3.5vw;
    }

    p {
        font-size: 2.7vw;
    }
}

/* Header and Navigation Section */

header {
    display: flex;
}

.logo {
    width: 15vw;
    margin-left: 1vw;
}

nav {
    width: 40vw;
    margin-left: auto;
    padding-top: 3vw;
}

nav a {
    color: #6B7556;
    margin-left: 4.5vw;
    font-size: 1.5vw;
    text-decoration: none;
}

.nav-button {
    background-color: #C87D87;
    color: white;
    padding: 0.7vw 2.8vw;
    border-radius: 6px;
}

@media screen and (max-width: 700px) {
    .logo {
        width: 30vw;
    }

    nav {
        width: 60vw;
        padding-top: 5vw;
    }

    nav a {
        margin-left: 3.5vw;
        font-size: 3.5vw;
    }
}

/* Footer Section */

footer {
    display: grid;
    grid-template-columns: 1fr 3fr 2fr;
    justify-items: center;
    align-items: center;
    margin: 50px 2vw 0 2vw;
    padding: 1vw;
    border-top: 0.25vw solid #C87D87;
}

footer .footer-logo {
    width: 15vw;
}

footer .footer-text {
    text-align: center;
    width: 100%;
    border-left: 0.25vw solid #C87D87;
}

.footer-text h2 {
    margin: 0;
}

.footer-text .tagline {
    font-size: 2.8vw;
    margin: 0;
    line-height: 1.3em;
}

.footer-text p {
    margin: 0;
}

.footer-text img {
    width: 10vw;
    margin: 0.25vw;
}

.socials img {
    width: 5vw;
    margin: 0.7vw;
}

@media screen and (max-width: 700px) {
    footer {
        grid-template-columns: 1fr 3fr;
        margin: 50px 2vw 0 2vw;
        padding: 1vw;
    }

    footer .footer-logo {
        grid-row: 1/3;
        width: 26vw;
    }

    footer .footer-text {
        border-left: 0.25vw solid #C87D87;
    }

    .footer-text .tagline {
        font-size: 4.5vw;
    }

    .footer-text img {
        width: 20vw;
    }

    .socials {
        grid-column: 2;
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        border-left: 0.25vw solid #C87D87;
    }

    .socials img {
        width: 6vw;
        margin: 0.9vw;
    }
}

/* Main Section - Home Page */

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 90%;
    justify-self: center;
}

.hero-text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-text h1 {
    font-size: 6vw;
    margin-top: 1vw;
    margin-bottom: 0;
}

.hero-text .tagline {
    font-size: 3.5vw;
    margin-top: 0;
    margin-bottom: 0.5vw;
}

.hero-text img {
    width: 15vw;
}

.hero-text .date {
    font-size: 2vw;
    margin: 1vw;
}

.hero-text .location {
    font-size: 1.4vw;
}

.hero-text a {
    display: inline-block;
    background-color: #6B7556;
    color: white;
    text-decoration: none;
    font-size: 1.5vw;
    padding: 0.9vw 2.7vw;
    margin-top: 2vw;
    border-radius: 6px;
}

.hero-image {
    position: relative;
}

#hero-wedding {
    display: block;
    width: 30vw;
}

#hero-flowers {
    position: absolute;
    top: -7%;
    left: 43%;
    z-index: 2;
    width: 23.5vw;
}

@media screen and (max-width: 700px) {
    .hero {
        display: flex;
        flex-direction: column-reverse;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 10vw;
    }

    .hero-text .tagline {
        font-size: 5.5vw;
    }

    .hero-text img {
        width: 25vw;
    }

    .hero-text .date {
        font-size: 3.2vw;
    }

    .hero-text .location {
        font-size: 2.4vw;
    }

    .hero-text a {
        font-size: 3vw;
        margin-top: 1vw;
    }

    .hero-image {
        display: flex;
        justify-content: center;
        margin-right: 15vw;
    }

    #hero-wedding {
        width: 50vw;
    }

    #hero-flowers {
        left: 59%;
        width: 39.17vw;
    }
}

/* Welcome */
.welcome {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    background: #F5DDD2;
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center;
    align-items: center;
    justify-items: center;
}

.welcome-text h2 {
    margin-bottom: 0.5vw;
}

.welcome-text img {
    width: 11vw;
}

.welcome-text p {
    margin-top: 10px;
}

.welcome img {
    width: 10vw;
}

@media screen and (max-width: 700px) {
    .welcome {
        display: flex;
        margin-top: 50px;
        margin-bottom: 50px;
        padding: 0 5vw;
        justify-content: center;
    }

    #left-vine, #right-vine {
        display: none;
    }

    .welcome-text h2 {
        margin-bottom: 0.5vw;
    }

    .welcome-text img {
        width: 22vw;
    }

    .welcome-text p {
        margin-top: 10px;
    }
}

/* Details */
.details {
    text-align: center;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.detail-card {
    padding: 0 4vw;
}

.detail-card img {
    width: 10vw;
}

#left-card {
    border-right: 0.25vw solid #C87D87;
}

#middle-card {
    border-left: 0.25vw solid #C87D87;
    border-right: 0.25vw solid #C87D87;
}

#right-card {
    border-left: 0.25vw solid #C87D87;
}

@media screen and (max-width: 700px) {
    .detail-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        width: 100%;
        justify-self: center;
    }

    .detail-card {
        padding: 4vw 0;
    }

    .detail-card img {
        width: 15vw;
    }

    #left-card {
        grid-row: 1;
        border-bottom: 0.25vw solid #C87D87;
        border-right: none;
    }

    #middle-card {
        grid-row: 2;
        border-top: 0.25vw solid #C87D87;
        border-bottom: 0.25vw solid #C87D87;
        border-left: none;
        border-right: none;
    }

    #right-card {
        grid-row: 3;
        border-top: 0.25vw solid #C87D87;
        border-left: none;
    }
}

/* Registry */
.registry-preview {
    display: grid;
    grid-template-columns: 2fr 3fr 3fr;
    background-color: #F5DDD2;
    width: 80vw;
    border-radius: 10px;
    margin: 50px auto;
    padding: 2vw;
    align-items: center;
    justify-items: center;
}

.registry-preview img {
    width: 17vw;
}

.registry-preview-text {
    padding: 0 3vw;
    border-right: 0.25vw solid #C87D87;
}

.registry-preview-text h2 {
    margin-top: 0;
    margin-bottom: 0.5vw;
}

.registry-preview-text img {
    width: 10vw;
    margin-left: 1.5vw;
}

.registry-preview-text p {
    margin-top: 0.5vw;
    margin-bottom: 0;
}

.registry-preview a {
    display: inline-block;
    background-color: #6B7556;
    color: white;
    text-decoration: none;
    font-size: 1.5vw;
    padding: 0.9vw 2.7vw;
    margin-top: 2vw;
    border-radius: 6px;
}

@media screen and (max-width: 700px) {
    .registry-preview {
        grid-template-columns: 2fr 3fr;
        width: 80vw;
        margin: 0 auto;
        padding: 2vw;
    }

    .registry-preview img {
        width: 30vw;
    }

    .registry-preview-text {
        padding: 0 3vw;
        border-left: 0.25vw solid #C87D87;
        border-right: none;
    }

    .registry-preview-text h2 {
        margin-bottom: 0.5vw;
    }

    .registry-preview-text img {
        width: 20vw;
    }

    .registry-preview a {
        grid-column: 1/3;
        font-size: 3vw;
        margin-top: 2vw;
        justify-self: center;
    }
}

/* Main Section - Registry Page */
/* Main Section - Registry Page */

.registry-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    width: 90%;
    margin: 3vw auto 0 auto;
    align-items: center;
    justify-items: center;
}

.registry-hero-text {
    text-align: center;
    width: 80%;
}

.registry-hero-text h1 {
    font-size: 5vw;
    letter-spacing: 1.2vw;
    margin-bottom: 0.5vw;
}

.registry-hero-text img {
    width: 14vw;
}

.registry-hero-text p {
    font-size: 1.6vw;
    line-height: 1.8em;
}

.registry-hero-image img {
    width: 28vw;
}

.registry-thank-you {
    display: grid;
    grid-template-columns: 1fr 2fr;
    background: #F5DDD2;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 3vw 10vw;
    align-items: center;
    justify-items: center;
}

.registry-thank-you > img {
    width: 14vw;
}

.registry-thank-you-text {
    width: 80%;
}

.registry-thank-you-text h2 {
    margin-bottom: 0.5vw;
}

.registry-thank-you-text p {
    margin-top: 0.5vw;
}

.registry-thank-you-text img {
    width: 10vw;
}

.our-registry {
    text-align: center;
    width: 90%;
    margin: 0 auto;
}

.our-registry h2 {
    margin-bottom: 0.5vw;
}

.our-registry > img {
    width: 11vw;
    margin: 0 auto;
}

.store-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3vw;
    margin-top: 3vw;
}

.store-card {
    text-align: center;
}

.store-placeholder {
    background: #F5DDD2;
    padding: 3vw;
    margin-bottom: 1.5vw;
}

.store-placeholder img {
    width: 10vw;
    margin: 0 auto;
    opacity: 0.75;
}

.store-card a {
    display: inline-block;
    color: #6B7556;
    border: 0.18vw solid #6B7556;
    padding: 0.8vw 2.5vw;
    text-decoration: none;
    font-size: 1.3vw;
    letter-spacing: 0.15vw;
}

.store-card a:hover {
    background: #6B7556;
    color: white;
}

.other-ways {
    display: grid;
    grid-template-columns: 1fr 3fr;
    background-color: #F5DDD2;
    width: 80vw;
    border-radius: 10px;
    margin: 50px auto;
    padding: 2vw 4vw;
    align-items: center;
    justify-items: center;
}

.other-ways > img {
    width: 10vw;
}

.other-ways-text {
    width: 100%;
}

.other-ways-text h2 {
    margin-bottom: 0.5vw;
}

.other-ways-text p {
    margin-top: 0.5vw;
}

.heart {
    color: #C87D87;
    font-size: 2.5vw;
    text-align: center;
    margin: 0;
}

@media screen and (max-width: 700px) {
    .registry-hero {
        grid-template-columns: 1fr;
        width: 95%;
    }

    .registry-hero-text {
        width: 90%;
    }

    .registry-hero-text h1 {
        font-size: 9vw;
        letter-spacing: 1.5vw;
    }

    .registry-hero-text img {
        width: 25vw;
    }

    .registry-hero-text p {
        font-size: 2.8vw;
    }

    .registry-hero-image img {
        width: 50vw;
        margin-top: 4vw;
    }

    .registry-thank-you {
        grid-template-columns: 1fr;
        padding: 6vw;
        text-align: center;
    }

    .registry-thank-you > img {
        width: 26vw;
    }

    .registry-thank-you-text {
        width: 90%;
    }

    .registry-thank-you-text img {
        width: 22vw;
        margin: 0 auto;
    }

    .store-grid {
        grid-template-columns: 1fr;
        gap: 6vw;
    }

    .our-registry > img {
        width: 22vw;
    }

    .store-placeholder img {
        width: 24vw;
    }

    .store-card a {
        font-size: 3vw;
        padding: 1.5vw 5vw;
    }

    .other-ways {
        grid-template-columns: 1fr;
        width: 86vw;
        padding: 6vw;
        text-align: center;
    }

    .other-ways > img {
        width: 22vw;
    }

    .heart {
        font-size: 5vw;
    }
}


/* Main Section - RSVP Page */
:root {
  --primary-color: #2c3e35;      /* Deep Sage Green */
  --secondary-color: #bfa27a;    /* Muted Gold */
  --text-dark: #333333;          /* Soft Charcoal */
  --text-light: #666666;         /* Muted Gray */
  --bg-light: #fbf9f6;           /* Warm Off-White */
  --bg-white: #ffffff;
  --font-serif: 'Lora', Georgia, serif;
  --font-script: 'MonteCarlo', cursive;
}

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

body {
  font-family: var(--font-serif);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  height: 50px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

nav a:hover, 
nav a.active {
  color: var(--secondary-color);
}

/* Special Button Style for RSVP */
.nav-button {
  background-color: var(--primary-color);
  color: var(--bg-white) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease !important;
}

.nav-button:hover {
  background-color: var(--secondary-color);
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
              url('../images/hero-bg.jpg') center/cover no-repeat; /* Replace with your image path */
  height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--bg-white);
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.hero-date {
  font-size: 1.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.hero-location {
  font-size: 1.2rem;
  font-style: italic;
  opacity: 0.9;
}

/* ==========================================================================
   4. SECTIONS (General Layout)
   ========================================================================== */
section {
  padding: 5rem 10%;
  text-align: center;
}

section h2 {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 3rem;
  position: relative;
}

/* Subtle line under headers */
section h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background-color: var(--secondary-color);
  margin: 0.75rem auto 0;
}

/* ==========================================================================
   5. OUR STORY
   ========================================================================== */
.story-container {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.story-image {
  width: 45%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  object-fit: cover;
}

.story-container p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ==========================================================================
   6. THE DETAILS (Cards & Grid)
   ========================================================================== */
.details-section {
  background-color: var(--bg-white);
}

.details-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.detail-card {
  background-color: var(--bg-light);
  padding: 3rem 2rem;
  border-radius: 6px;
  flex: 1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(191, 162, 122, 0.2); /* Soft gold border */
}

.detail-card h3 {
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 500;
}

.detail-card .time {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.detail-card .venue {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.detail-card .address {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.map-link {
  display: inline-block;
  text-decoration: none;
  color: var(--primary-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.map-link:hover {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
}

/* ==========================================================================
   7. SCHEDULE (Timeline)
   ========================================================================== */
.timeline {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  text-align: left;
  padding-left: 2rem;
}

/* Vertical center line */
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  height: 100%;
  width: 1px;
  background-color: var(--secondary-color);
}

.timeline li {
  margin-bottom: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Timeline dots */
.timeline li::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--bg-light);
  border: 1px solid var(--secondary-color);
}

.timeline .time {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.timeline .event {
  font-size: 1.2rem;
  color: var(--text-dark);
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
footer {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 5rem 5% 3rem;
  text-align: center;
}

.footer-logo {
  height: 60px;
  margin-bottom: 2rem;
}

.footer-text h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.footer-text .tagline {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.footer-text img {
  max-width: 150px;
  margin-bottom: 2rem;
  opacity: 0.5;
}

address {
  font-style: normal;
  margin-bottom: 2.5rem;
}

address p:first-child {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

address p:last-child {
  font-size: 1.1rem;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.socials img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0) invert(1); /* Forces icons to turn white */
}

.socials a:hover img {
  transform: translateY(-3px);
}

/* ==========================================================================
   9. RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  nav {
    gap: 1.25rem;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  section {
    padding: 4rem 5%;
  }

  .story-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .story-image {
    width: 80%;
  }

  .details-grid {
    flex-direction: column;
    gap: 2rem;
  }
}
