/* Basic styling for body */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e8e8e8;
}
/* Style for the header */
header {
    padding: 20px;
    background-color: #0F2844; /* Background color of the header */
    text-align: Left; /* Center-aligns the text and logo */
}

/* Style for the logo image */
.logo {
    max-width: 75px; /* Adjust the maximum width of the logo */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure it appears as a block-level element */
    margin: 0 auto 10px; /* Center the logo and add spacing below it */
}

/* Style for the header text */
header h1 {
    font-family: "Apple Chancery", cursive; /* Use the preferred font */
    color: #ffffff; /* Text color */
    margin: 0; /* Remove default margin */
}


img {
    width: 100%; /* Responsive width */
    max-width: 600px; /* Max width to avoid stretching */
    height: auto; /* Maintain aspect ratio */
}


main {
    position: relative;
    padding: 20px;
    min-height: calc(100vh - 100px); /* Adjust based on header and footer height */
}
main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/IMG_4348.JPG') no-repeat center center;
    background-size: cover;
    opacity: 0.6;
    z-index: -1;
}

footer {
    background-color: #0F2844; /* Background color of the footer */
    color: white;
}
/* Reset default list styles */
ul.nav-buttons {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #416189; /* Match the header background color */
    text-align: center;
}

/* Style each list item as a button */
ul.nav-buttons li {
    display: inline-block;
}

/* Style for the links */
ul.nav-buttons li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 15px;
    text-decoration: none;
    font-family: "URW Chancery L", cursive; /* Use the preferred font */
    font-size: 22px;
}

/* Change the color on hover */
ul.nav-buttons li a:hover {
    background-color: #748DA1; /* Slightly lighter shade */
}
figure {
    text-align: center; /* Center the content inside the figure */
    margin: 20px auto;
}

figcaption {
    margin-top: 10px; /* Space between image and caption */
    font-style: italic; /* Italicize the caption */
    color: #555; /* Subtle color for the caption */
    font-family: Arial, sans-serif; /* Set the caption font */
}
/* General Styling */
body {
    font-family: 'Arial', sans-serif;
    text-align: center;
}

/* Table Styling */
.directions-table {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
}

.directions-table th, .directions-table td {
    padding: 15px;
    border: 1px solid #ddd;
}

.directions-table th {
    background-color: #72B4A4;
    color: white;
    text-align: center;
}

/* Image Gallery */
.gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.gallery img {
    width: 100%;
    max-width: 375px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Map Styling */
.map-container {
    margin: 20px auto;
    width: 80%;
}

.map-container iframe {
    width: 100%;
    border-radius: 10px;
}
/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #F9F6EE;
    color: #333;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Countdown Timer */
#timer {
    position: fixed;
    top: 0;
    width: 50%;
    background: #748DA1;
    color: #fff;
    text-align: center;
    font-size: 20px;
    padding: 10px 0;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    padding: 10px;
}

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

/* Countdown */
.countdown {
    font-family: "URW Chancery L", cursive;
    font-size: 2em;
    color: #416189; /* Matching color theme */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffffff00 0%, 0%, 0%);
    padding: 0px 0px;
    border-radius: 0px;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    margin: 20px 0;
}

.countdown-container {
    text-align: center;
    margin: 40px 0;
    position: relative;
    padding: 40px;
    background: url('') no-repeat center center;
    background-size: cover;
    color: #fff;
}

.countdown-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 0%;
    background: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
    z-index: 1;
}

.countdown-container h1 {
    font-family: "URW Chancery L", cursive;
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.countdown-container .heart {
    color: #ff69b4; /* Hot pink color for the heart */
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.countdown-item {
    background: linear-gradient(135deg, #72B4A4 0%, #748DA1 100%);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #fff;
}

.countdown-number {
    font-size: 2em;
    font-family: "URW Chancery L", cursive;
}

.countdown-label {
    font-size: 1em;
    font-family: "URW Chancery L", cursive;
}

.card {
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 20px 0;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #f7f7f7;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2 {
    margin: 0;
    display: flex;
    align-items: center;
}

.card-header .arrow {
    margin-left: 10px;
    font-size: 1.2em;
    color: #333;
}

.card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding: 0 15px;
}

.card-content.open {
    max-height: 500px; /* Adjust this value based on your content */
    padding: 15px;
}

.card-content ul {
    list-style-type: none;
    padding: 0;
}

.card-content li {
    margin-bottom: 10px;
}

.card-content li strong {
    display: block;
    margin-bottom: 5px;
}

.hotel-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.hotel-photo {
    max-width: 100px;
    margin-right: 15px;
    border-radius: 5px;
}

h1 {
    text-align: center;
    font-family: 'Arial', sans-serif;
    margin: 5px 0; /* Reduced margin to bring the elements closer */
}

.heart {
    color: red;
    font-size: 1em;
}

h2 {
    text-align: center;
    font-family: 'Arial', sans-serif;
    margin: 10px 0 0 0; /* Reduced top margin to bring it closer to the names */
}
.wedding-footer {
    background-color: #0F2844;
    color: white;
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .footer-left {
    flex: 1;
    min-width: 220px;
  }
  
  .footer-thanks {
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffcad4;
  }
  
  .footer-left h4 {
    margin: 10px 0 5px;
    color: #72B4A4;
  }
  
  .footer-left a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
  }
  
  .footer-left a:hover {
    text-decoration: underline;
    color: #ffcad4;
  }
  
  .footer-countdown {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  
  .footer-countdown .countdown-item {
    background: linear-gradient(135deg, #72B4A4 0%, #748DA1 100%);
    padding: 12px 16px;
    border-radius: 10px;
    color: white;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }
  
  .footer-countdown .countdown-number {
    font-size: 1.4em;
    font-family: "URW Chancery L", cursive;
  }
  
  .footer-countdown .countdown-label {
    font-size: 0.85em;
    font-family: "URW Chancery L", cursive;
  }
  
  .footer-bottom {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9em;
    color: #ccc;
  }
  
  /* Make the background clean for FAQ */
body.faq-page {
    background-color: #c6c6c6
  }
  
  /* Override the background photo used on other pages */
  body.faq-page main::before {
    content: none !important;
    background: none !important;
    display: none !important;
  }
  
  /* Optional: make the FAQ cards pop more on white */
  body.faq-page .card {
    background-color: #0F2844;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    margin: 20px auto;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }
  
/* FAQ section text fix */
body.faq-page {
    background-color: white;
    color: #000; /* fallback just in case */
  }
  
  body.faq-page .card,
  body.faq-page .card-content,
  body.faq-page .hotel-card {
    background-color: #ffffff;
    color: #000000;
  }
  
  /* Specifically make text inside FAQ hotel cards white */
  body.faq-page .card-content,
  body.faq-page .card-content * {
    color: #000000;
  }
  
  /* Fix dark nav text if needed */
  body.faq-page .nav-buttons li a {
    color: white;
  }
  .hotel-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    gap: 20px;
    align-items: center;
    color: #333; /* Ensure text is visible */
  }
  
  .hotel-card img {
    width: 100px;
    height: auto;
    border-radius: 5px;
  }
    
  body.registry-page main::before {
    display: none;
  }
  