body {
    font-family: 'Playfair Display', serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    /* Desktop/default background */
    background: url('background-wide.png') no-repeat center bottom;
    background-size: cover;
    min-height: 100vh;
    color: #2d3a45;
}

/* Mobile background (for screens 768px and below) */
@media only screen and (max-width: 768px) {
    body {
        background: url('background-2.jpg') no-repeat center center;
        background-size: cover;
    }
}

.main-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 10px; /* Add a small gap instead of 0px */
}

.carousel-container {
    width: 90%;
    max-width: 800px; /* Set maximum width */
    margin: 20px auto; /* Center horizontally */
    margin-bottom: 0; /* Remove extra margin */
    position: relative; /* For absolute positioning of arrows */
    padding: 0 0px; /* Add padding to make room for arrows */
}

/* Updated carousel styling for 16:9 aspect ratio */
.carousel {
    width: 90%;
    max-width: 800px;
    position: relative;
    overflow: visible;
    margin: 0 auto 25px; 
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}


.carousel::before {
    content: "";
    display: block;
    padding-top: 50%; /* Change from 56.25% (16:9) to 45% for shorter height */
    border-radius: 12px;
}

.carousel .slick-list {
    border-radius: 12px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 8px solid white;
    box-sizing: border-box;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.08);
}

.carousel .slick-track, 
.carousel .slick-slide, 
.carousel .slick-slide > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px; /* Slightly smaller radius for the image */
}

/* Fix for Slick carousel navigation */
.slick-dots {
    bottom: -25px; /* Move dots closer to carousel */
    z-index: 5; /* Ensure dots are visible */
}

.slick-prev, .slick-next {
    z-index: 10; /* Ensure arrows are above content */
    width: 30px;
    height: 30px;
}

.slick-prev {
    left: -25px; /* Move arrow closer to content */
}

.slick-next {
    right: -25px; /* Move arrow closer to content */
}

.slick-prev:before, .slick-next:before {
    font-size: 30px; /* Make arrows larger */
    color: #0073e6; /* Match button color */
    opacity: 1; /* Make fully visible */
}

.linktree-container {
    text-align: center;
    width: 100%;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem; /* Slightly smaller from 2.5rem */
    font-weight: 700;
    color: #004447;
    margin: 20px 0 15px; /* Reduced from 30px 0 20px */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
}

p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.0rem;
    line-height: 1.6;
    margin: 8px 0; /* Reduced from 12px */
    color: #3a4d57;
}

ul {
  padding-left: 20px; /* Reduce the default padding */
  list-style-position: inside; /* Position bullets inside the content flow */
}

li {
  margin-bottom: 5px; /* Reduced from 8px */
  text-indent: -1.2em; /* Pull the text back to align with paragraph text */
  padding-left: 1.2em; /* Add padding to compensate for text-indent */
}

.links {
    margin-top: 15px; /* Reduced from 20px */
}

/* Regular links */
a {
    color: #00625c; /* Same teal as buttons */
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: #004a46; /* Darker teal on hover */
    text-decoration: underline;
}

a:visited {
    color: #00807a; /* Slightly lighter teal for visited links */
}

a:active {
    color: #003c39; /* Darker shade when clicked */
}

/* Keep button link styles */
.link {
    display: block;
    width: 280px;
    padding: 12px 20px; /* Slightly reduced height */
    margin: 15px auto; /* Reduced from 25px */
    background-color: #00625c;
    color: #ffffff !important; /* Override default link color */
    text-decoration: none;
    border-radius: 30px;
    text-align: center;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.link:hover {
    background-color: #004a46;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none; /* Prevent underline on hover */
}

.link:visited {
    color: #ffffff !important; /* Keep white text for visited button links */
}

.link:active {
    background-color: #003c39; /* Darker when clicked */
    transform: translateY(1px); /* Slight push effect when clicked */
}

/* Slick carousel adjustments */
.slick-slide img {
    width: 100%;
}

/* Ensure the carousel doesn't overlap with content below */
.slick-slider {
    margin-bottom: 15px; /* Reduced from 30px */
}

.event-details {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    padding: 20px 30px; /* Reduce from 30px 40px */
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.text-divider {
    text-align: center;
    font-size: 24px;
    color: #00625c;
    margin: 12px 0; /* Reduced from 20px */
    letter-spacing: 15px;
  }

.signature {
    font-family: 'Pacifico', cursive;
    font-size: 1.5rem;
    color: #004447;
    display: block;
    text-align: center;
    margin: 5px 0 10px; /* Add proper spacing */
  }