* {
    font-family: 'Montserrat', sans-serif;
    transition: ease-in-out 0.3s all;
    box-sizing: border-box;
    text-decoration: none !important;
    scroll-behavior: smooth;
}

a {
    cursor: pointer;
    color: #01ab51;
}

a:hover {
    color: #222;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Raleway', sans-serif;
}

body {
    margin: 0px;
}

/* Header Section
  Creates header with logo as the background image
  adds the background color and sets the height
  ---------------------------------------------*/

.header {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    height: 100px;
    background-color: #f5e7b6;
    color: #000;
    position: relative;
    z-index: 9999;
    border-bottom: 1.5px solid #ccc;
}

.header-logo {
    width: 10%;
    text-align: center;
    margin: 20px 0 0;
}

.header-logo img {
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 100px;
    min-height: 100px;
    margin: 0 auto;
}

/* Navigation 
  Styles the navigation to be right of the logo
  Removes the list style and makes them inline,
  giving them a hover animation aswell
  --------------------------------------*/
.navigation {
    flex: 0 0 45%;
    width: 45%;
    position: relative;
    margin: auto 0 !important;
    text-transform: uppercase;
}

.navigation ul.nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

/* LEFT navigation - push items toward logo */
.navigation:first-child ul.nav {
    justify-content: flex-end;
}

/* RIGHT navigation - push items away from logo */
.navigation:nth-child(3) ul.nav {
    justify-content: flex-start;
    padding: 0;
}

.nav li {
    padding: 0 5px;
    margin: 0 10px;
    list-style: none;
    position: relative;
    white-space: nowrap;
}

.nav a {
    color: #000;
    text-decoration: none;
}

.nav a:hover {
    color: #000;
}

.nav li.current a {
    color: #000;
}

.mobile-navigation {
    display: none;
}

/* Body text
  Styles the main body text,
  gives colour to headings, adds padding,
  centre aligns the text,
  Adds font sizes
  --------------------------------------*/

.body {
  overflow: hidden;
  height: auto;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
}

.intro {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5%;
  background: url("Images/intro.png") no-repeat bottom center;
  background-size: cover;
  padding: 0 8% 8%;
  box-sizing: border-box;
  margin: 0 auto;
}

/* --- Columns --- */
.intro-inner {
  padding: 2% 0;
  text-align: center;
  width: 45%;
  text-transform: uppercase;
  box-sizing: border-box;
}

/* Column 1: Arch / Pill Frame Text Box */
.intro-inner:nth-child(1) {
  margin: 0;
  background: rgba(255, 255, 255, 0.85);
  padding: 40px 20px;
  border-radius: 500px; /* Scaled down for stable rendering across browsers */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Column 2: Photo Container */
.intro-inner:nth-child(2) {
  display: flex;
  justify-content: center;
  margin-top: 20px; /* Maintains slight offset over background floral graphic */
}

/* --- Typography & Elements --- */
.intro-inner h1 {
  position: relative;
  display: inline-block;
  color: #b9acca;
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  line-height: 1.1;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-align: center;
  margin: 0 0 20px 0;
}

/* Ampersand position */
.intro h1 span {
  position: absolute;
  top: -0.2em;
  right: -0.4em;
  font-family: "Alex Brush", cursive;
  font-size: 2em;
  color: #f8e28d;
  pointer-events: none;
}

/* Underline decoration */
.intro-inner h1::after {
  content: "";
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  position: absolute;
  border-bottom: 1px solid #b9acca;
  height: 1px;
  width: 100px;
}

.intro p {
  color: #555555;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  letter-spacing: 1px;
  margin: 10px 0;
}

.intro h4 {
  color: #b9acca;
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin: 15px 0;
}

/* Image Styling */
.intro-inner img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 200px 200px 0 0;
  border: 3px solid #b9acca;
  outline: 2px solid #b9acca;
  outline-offset: 8px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
.std-outer {
  background-color: #f5e7b6;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 5%;
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
  flex-wrap: wrap;
  gap: 20px;
}

.std-1, .std-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.std-1 p {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.2em, 2vw, 1.5em);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 6px 0;
}

.leaf-stem {
  width: 90px;
  height: auto;
  opacity: 0.85;
}

.std-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 20px);
}

.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 clamp(8px, 1.5vw, 15px);
}

.time-box:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(0, 0, 0, 0.2);
}

.time-box span {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.6em, 3vw, 2.2em);
  font-weight: 400;
  line-height: 1em;
}

.time-box label {
  font-size: clamp(0.55em, 1vw, 0.65em);
  letter-spacing: 1.5px;
  margin-top: 6px;
  opacity: 0.9;
}

.std-3 p {
  font-family: "Alex Brush", cursive;
  font-size: clamp(1.8em, 2.5vw, 2.2em);
  margin: 0 0 2px 0;
  transform: rotate(-4deg); 
  display: inline-block;
}

.slanted-heart {
  width: 20px;
  height: 20px;
  transform: rotate(15deg); 
  opacity: 0.9;
  margin-top: 4px;
}

/* --- Timeline Section --- */
.timeline-section {
  background-color: #b9acca;
  padding: 50px 5%;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}

.timeline-section h2 {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.8em, 3vw, 2.2em);
  color: #4a4a4a;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 40px;
  font-weight: 400;
}

.timeline-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 0 10px;
}

.icon-wrapper {
  font-size: 2.2em;
  color: #6b6b6b;
  margin-bottom: 15px;
  height: 45px;
  display: flex;
  align-items: center;
}

.timeline-item .time {
  font-family: "Bodoni Moda", serif;
  font-size: 1.1em;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.timeline-item .label {
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #555555;
  line-height: 1.3em;
}

.divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100px;
}

.divider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: rgba(100, 100, 100, 0.25);
}

.divider span {
  position: relative;
  padding: 4px 0;
  color: #888888;
  font-size: 0.75em;
  z-index: 1;
}

/* --- Details Section --- */
.details-section {
  background-color: #fdfbf7;
  padding: 60px 5%;
  font-family: "Montserrat", sans-serif;
  color: #4a4a4a;
}

.details-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.details-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 25px;
}

.details-icon {
  font-size: 2em;
  color: #b9acca;
  margin-bottom: 15px;
  height: 40px;
  display: flex;
  align-items: center;
}

.details-col h3 {
  font-family: "Bodoni Moda", serif;
  font-size: 1.3em;
  letter-spacing: 2px;
  margin: 0 0 15px 0;
  color: #333333;
  text-transform: uppercase;
}

.venue-name, .dress-title {
  font-weight: 600;
  margin: 0 0 5px 0;
  font-size: 0.95em;
  color: #222222;
}

.venue-address, .dress-desc, .contact-desc {
  font-size: 0.85em;
  line-height: 1.6em;
  color: #666666;
  margin: 0 0 15px 0;
}

.map-link, .email-link {
  font-size: 0.75em;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: #b9acca;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.map-link:hover, .email-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.details-divider {
  width: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 10px 0;
}


/* Responsive adjustments for mobile screens */
@media (max-width: 768px) {
  .details-container {
    flex-direction: column;
    gap: 40px;
  }
  .details-divider {
    display: none;
  }
}

/* Media Queries - tablet, large phone and small phones
  ----------------------------------------------------*/

  /* Tablets & Small Laptops (under 992px) */
@media (max-width: 992px) {
  .intro {
    gap: 3%;
    padding: 6% 4% 8%;
  }
  
  .intro-inner {
    width: 48%;
  }
  .std-outer {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
}

/* Mobile Devices (under 768px) */
@media (max-width: 768px) {


}
@media screen and (max-width: 550px) {
      .intro {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0% 5% 12%;
    background-size: cover;
  }

  .intro-inner {
    width: 100%;
    max-width: 420px;
  }

  .intro-inner:nth-child(1) {
    padding: 35px 20px;
    border-radius: 200px;
  }

  .intro-inner:nth-child(2) {
    margin-top: 0;
  }

  .intro-inner img {
    max-width: 280px;
  }
    .timeline-container {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .timeline-item {
    width: 100%;
    padding: 0;
  }

  .divider {
    height: 30px;
  }

  .divider::before {
    width: 100%;
    height: 1px;
    top: 50%;
    bottom: auto;
  }

  .divider span {
    background-color: #b9acca;
    padding: 0 8px;
  }

  /* Details Stacking */
  .details-container {
    flex-direction: column;
    gap: 40px;
  }

  .details-col {
    padding: 0;
  }

  .details-divider {
    display: none;
  }
}
@media screen and (max-width: 999px) {
    .header {
        background-size: auto 85%;
    }
}

@media screen and (max-width: 740px) {
    .nav li {
        margin: 0 1px;
    }
}

@media screen and (max-width: 630px) {

    nav.navigation {
        display: none;
    }

    .mobile-navigation {
        display: none;
        position: relative;
    }

    .hamburger-menu {
        display: none;
        text-align: right;
        padding: 10px;
        position: absolute;
        right: 20px;
        top: 10px;
    }

    .hamburger-menu img {
        width: 40px;
        height: 40px;
        cursor: pointer;
        position: absolute;
        top: 0;
        right: 0;
        transition: opacity 0.3s ease;
    }

    #mobile-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 260px;
        height: 100vh;
        background: #333;
        padding-top: 70px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    #mobile-nav.open {
        transform: translateX(0);
    }

    #mobile-nav a {
        display: block;
        color: #fff;
        padding: 15px 20px;
        font-size: 1em;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    #mobile-nav a:hover {
        background: #444;
    }

    .close-btn {
        position: absolute;
        top: 15px;
        right: 10px;
        font-size: 50px;
        color: #fff;
        cursor: pointer;
        line-height: 1;
        font-weight: bold;
    }
}