

/* Define reusable variables */
:root {
    /* Colors */
    --text-light-bg: #724A13;
    --text-dark-bg: #FFF7EC;
    --earth-green-dark: #7F804C;
    --earth-green-medium: #9B9C67;
    --earth-green-light: #D1D294;

    /* Typography */
    --font-header: 'freightdispcmp-pro', serif;
    --font-breadtext: 'neuzeit-grotesk', sans-serif;
    --font-accent: 'hazel-script', sans-serif; 

    /* Letter Spacing & Stroke */
    --header-letter-spacing: 1%;
    --accent-text-stroke: 0.5px; 
}

/* General Styles */
body {
    font-family: var(--font-breadtext);
    color: var(--text-light-bg);
    background: repeating-linear-gradient(
        to right, 
        #FFF7EC 0%, #FFF7EC 70%, 
        #FCF1E3 70%, #FCF1E3 100%
    );
    background-size: 10px 100%;
}

p,
h1,
h2,
h3,
h4,
h5,
span{
    line-height: 1.3;
    letter-spacing: 1.3px;
}

/* Hero Section */
.hero {

    background: url('images/new/hero.png') center/cover no-repeat;
    height: 100vh; /* Adjust height as needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}
/* LOGO */
.logo {
    position: absolute;
    top: 0;
    font-size: 6vh; /* Uncomment if desired */
    margin: 1vh; 
}

.s {
    font-family: var(--font-accent);
    color: var(--text-dark-bg);
    position: absolute;
}

.a {
    font-family: var(--font-accent);
    color: var(--text-dark-bg);
    position: absolute;
    top: 0.5em;
    transform: rotate(-6deg);
}

.hero-text{
    width: 100%;
}

.hero-title{
    font-family: var(--font-header);
    letter-spacing: 0.1vw;
    font-weight: 600;
    font-size: 11vw;
    color: #606130;
    line-height: 1;
    text-align: center;
}

.info-section.dark .centered-div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}



.hero-subtitle{
    font-family: var(--font-accent);
    letter-spacing: 10%;
    color: var(--text-dark-bg);
    font-size: 7vw;
    margin-top: -8vw;
    z-index: 1;
    text-align: center;

}

.hero-date{
    font-family: var(--font-breadtext);
    font-size: 3vw;
    font-weight: bold;
    letter-spacing: 0.5vw;
    text-align: center;
    color: #606130;;
}

.counter{
    font-family: var(--font-breadtext);
    background-color: var(--text-dark-bg);
    letter-spacing: 10px;
    display: flex;
    justify-content: space-around;
    font-size: 1rem;
    padding: 2vh 14vw;
    box-shadow: 0 4px 10px 2px #724A1310 ;
    z-index: 1;

}

.time-unit{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-breadtext);
    gap: 5px;
}

#countdown .time-unit > span:last-child {
    font-weight: bold; /* number */
}

.info-section{
    padding: 60px 10px;    
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .info-section h1{
    font-family: var(--font-header);
    margin:0;
  }

  .date-highlight {
    font-family: 'Times New Roman', serif;
  }

  .info-section p{
    text-align: left;
  }

  .position-row-div {
    width: 75%;
    display: flex;
    flex-direction: row;
    align-items: center; 
    justify-content: center;
  }

  .position-row-div div{
    flex: 1;
    width: 100%; 
    display: flex; /* center content inside each column */
    flex-direction: column;
    align-items: center; /* center horizontally inside column */
    justify-content: center; /* center vertically inside column */
    gap: 0.5rem; /* tighten spacing between image and text */
    text-align: center; 
    padding: 10px; /* add padding instead of margin for better flex behavior */
  }

  .position-row-div p{
    width: 100%;
    text-align: left;
  }

    .position-row-div .centered-div {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
 
    .position-row-div img {
    display: block;
    width: 100%;
    max-width: 185px; /* constrain image size on larger screens */
    height: auto;
    object-fit: contain; /* preserve aspect ratio */
    margin: 0 auto; /* center horizontally */
    }

    /* Responsive image position for alternating rows */
.position-row-div .image-mobile { display: none; }
.position-row-div .image-desktop { display: block; }


  .centered-div {
    width: 100%; 
    max-width: 50%;
    margin: 20px auto 20px auto; 
    text-align: center; 
}


ul{
    list-style: none;
    text-align: left;
    margin: auto;
    padding: auto;
}

.address-p{
    margin: 0;
    text-align: center;
    justify-content: center;
}

.light{
    background-color: transparent;
    color: var(--text-light-bg);
}

.dark{
    background-color: var(--text-light-bg);
    color: var(--text-dark-bg);
}

.image-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    width: 100%;
}

.image-row img{
    max-width: 15%;
    height: auto;
}

.accent-text {
    font-family: var(--font-accent);
    stroke: var(--accent-text-stroke);
    -webkit-text-stroke: 0.5px var(--text-dark-bg);
    color: var(--earth-green-dark);
}


.btn-dark-bg{
    background-color: var(--text-dark-bg);
    font-family: var(--font-breadtext);
    color: var(--text-light-bg);
    width: 100%;
    padding: 10px 0px 10px 0px;
    text-align: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-weight: bold;
    letter-spacing: 1.3px;
}

.hero-button-wrapper {
    width: 100%;
    max-width: 350px;
}

    .btn-book{
        max-width: 350px;
    }

/* Ensure mobile-only overrides are inside media queries */

.btn-dark-bg:hover{
    background-color: #FCF1E390;
    color: var(--text-dark-bg);
}


.rsvp-container {
    max-width: 500px;
    background: var(--text-dark-bg);
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 50px auto;
    color: var(--text-light-bg);
}

.rsvp-container h2{
    margin: 0px 0px 20px 0px
}

.rsvp-container input,
.rsvp-container textarea{
    border-radius: 0;
    border: none;
    resize: none;
}

.rsvp-container label,
.rsvp-container input::placeholder,
.rsvp-container textarea::placeholder{
    letter-spacing: 1.2px;
}

.rsvp-container .form-check label {
    font-size: 12px;
}

.form-control, .form-check-input {
    border-radius: 8px;
    border-color: #D1D1A9; /* Earthy green tone */
}

.form-check-label {
    font-weight: bold;
    margin-left: 5px;
}

.btn-rsvp {
    background-color: var(--earth-green-dark);
    font-family: var(--font-breadtext);
    letter-spacing: 1.3px;
    color: var(--text-dark-bg);
    margin-top:  4vh;
    width: 100%;
    padding: 10px 0px 10px 0px;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-rsvp:hover {
    background-color: #9B9C67;
}

/* Custom link styling */
.custom-link {
    color: var(--text-light-bg);
    font-family: var(--font-breadtext);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: all 0.3s ease;
    font-weight: 300;
}

.custom-link:hover {
    border-bottom: 2px solid var(--earth-green-medium);
    color: var(--earth-green-dark);
}

.info-section-dark-link{
    color: var(--text-dark-bg);
    font-family: var(--font-breadtext);
    text-decoration: none;
    border-bottom: 2px solid var(--earth-green-light);
    padding-bottom: 1px;
    transition: all 0.3s ease;
    font-weight: 300;
}

.info-section-dark-link:hover {
    border-bottom: 2px solid var(--earth-green-medium);
    color: var(--earth-green-light);
}

/*---- RADIOBUTTON ---*/
.form-check-input[type="radio"] {
    appearance: none; /* Remove default styling */
    width: 20px;
    height: 20px;
    border: 1px solid var(--text-light-bg); /* Outer blue border */
    border-radius: 0; /* Sharp corners */
    background-color: var(--text-dark-bg);
    display: inline-block;
    position: relative;
    cursor: pointer;
  }
  
  .form-check-input[type="radio"]:checked {
    background-color:var(--text-dark-bg); /* Keeps the outer area white */
    border: 1px solid var(--text-light-bg); /* Outer blue border remains */
  }
  
  .form-check-input[type="radio"]:checked::before {
    content: "";
    width: 9px;
    height: 9px;
    background-color: var(--text-light-bg); 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

.hidden {
    display: none;
}

.modal-overlay {
    display: none; /* Hidden until triggered */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
    z-index: 9999; /* Ensures it is on top */
    justify-content: center;
    align-items: center;
}

.modal-box {
    background: white;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    width: 300px;
}

.modal-image {
    width: 150px;
    margin-bottom: 10px;
}

.modal-btn{
    background-color: var(--earth-green-dark);
    color: var(--text-dark-bg);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 1.3px;
    width: 75%;
}



@media (max-width: 768px) {
    h1 {
        font-size: 2.6rem;
    }

    .info-section.dark h1{
        margin-bottom: 9px;
    }
    
    .hero-title {
        font-size: 25vw; /* increased from 11vw */
    }
    
    .hero-subtitle {
        font-size: 19vw; /* increased from 7vw */
        word-spacing: 9999px; /* force each word on new line */
        line-height: 0.8; /* adjust line height for readability */
    }
    
    .hero-date {
        font-size: 8vw; /* increased from 3vw */
    }
    
    .counter {
        padding: 2vh 5vw; /* reduced horizontal padding for more space between time units */
        gap: 10px; /* add gap between time units */
    }
    
    .hero-button-wrapper {
        width: 90%;
        max-width: 100%;
    }
    
    .hero-button-wrapper button,
    .btn-book,
    .btn-dark-bg {
        padding: 10px 0 !important; /* increased by 10px */
        font-size: 18px !important;
    }

    .position-row-div {
        flex-direction: column;
        width: 100%;
        align-items: center; /* center children horizontally */
        gap: 1.25rem;
        margin-bottom: 30px; /* space under each position row on mobile */
        gap: 0;
    }

    .position-row-div div {
        max-width: 95%;
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center; /* center content in each column */
        text-align: center;
    }

    .position-row-div > div img {
        display: block;
        width: 50%; /* min 80px, ideal 12vw, max 160px */
        max-width: 100%;
        height: auto;
        object-fit: contain;
        margin: 0 auto;
    }

    .position-row-div .image-mobile { display: block !important; }
    .position-row-div .image-desktop { display: none !important; }

    .centered-div {
        max-width: 95%;
    }

    .image-row img {
        max-width: 30%;
    }

    .info-section {
        padding-bottom: 12px !important;
        padding-top: 28px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        margin-bottom: 12px !important;
    }

    .info-section.light {
        text-align: center;
    }

    .info-section.light h1{
        line-height: 0.6;
    }

    .image-row img:not(:first-child) {
        display: none !important;
    }
    .image-row img:first-child {
        width: 100% !important;
        max-width: 95% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }
    .hero-button-wrapper {
        margin-top: 32px;
    }
    .btn-book {
        max-width: 100% !important;
        width: 100% !important;
    }
    button, .btn-dark-bg, .btn-book, .btn-rsvp {
        font-size: 18px !important;
    }

}


/* Add to [styles.css](http://_vscodecontentref_/4) or [admin.css](http://_vscodecontentref_/5) */
.disabled-rsvp,
.disabled-rsvp input,
.disabled-rsvp textarea {
    opacity: 0.5;
    pointer-events: none;
}

