* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #333;
}

a {
  text-decoration: none;
  color: #800000;
}

header.glass-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  /* background: rgba(255, 255, 255, 0.8); */
  background: rgba(240, 240, 240, 0.911);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  border-bottom: 1px solid #ddd;
}

.title-link{
    min-width: -webkit-fill-available;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.title-link h4{
    /* font-family: sans-serif; */
    font-size: larger;
    color: #cb0707;
}
.logo{
    display: flex;;
}
.logo img {
  height: 50px;
  border-radius: 10px;
}

nav ul {
  display: flex;
  gap: 10px;
  list-style: none;
}

nav ul li a {
  /* color: #333; */
  color: white;
  font-size: 13px;
  transition: color 0.3s;
  /* background-color: black; */
  /* background-image: linear-gradient(to right bottom, #3c4883, #370520); */
  /* background-image: linear-gradient(to right bottom, #614a8f, #550832); */
  background-image: linear-gradient(to right bottom,  #e9c309, #cb0707, #cb4f07);
  font-weight: bold;
  padding: 5px 8px;
  border-radius: 5px;
}

nav ul li a:hover {
  /* color: #800000; */
  color: yellow;
}

.slider {
  margin-top: 70px;
  position: relative;
  height: 550px;
  overflow: hidden;
}

.slides img {
  position: absolute;
  width: 100%;
  height: 550px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.overlay-text {
  position: absolute;
  top: 30%;
  left: 10%;
  z-index: 5;
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.overlay-text h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.overlay-text p {
  font-size: 1.2em;
}

.info {
  padding: 40px 20px;
  text-align: center;
  background: #f9f9f9;
  font-size: 1.1em;
}

.contact {
  text-align: center;
  padding: 40px 20px;
  background: #eee;
}

.contact h2 {
  font-size: 2em;
  margin-bottom: 5px;
}

.contact a {
  font-weight: bold;
  color: #800000;
}

.social {
  margin-top: 15px;
}

.icon {
  margin: 10px;
  font-size: 30px;
  color: #800000;
  transition: transform 0.3s;
}

.icon:hover {
  transform: scale(1.2);
  color: #b30000;
}

footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 15px;
}


.profiles-summary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 50px 20px;
  background: #fdf4f4;
  flex-wrap: wrap;
}

.profile-card {
  /* background: #fff; */
  /* background-image: linear-gradient(to right bottom,  #fbf1be, #f5aeae); */
  padding: 30px 25px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  width: 250px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.bride{
    background-image: linear-gradient(to right bottom,  #f5e8aa, #f5a4a4);
}
.groom{
    background-image: linear-gradient(to left bottom, #f5e8aa, #f5a4a4 );
}

.profile-card img {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
}

.profile-card h3 {
  font-size: 1.8em;
  color: #800000;
  margin-bottom: 8px;
}

.profile-card p {
  font-size: 1em;
  color: #555;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .overlay-text{
    top: 20%;
  }
  .overlay-text h1 {
    font-size: 2em;
    width: 90%;
  }

  .profile-card h3 {
    font-size: 1.5em;
  }
  
  .overlay-text p {
    font-size: 1em;
    width: 90%;
  }

  .title-link{
    min-width: 94%;
  }
  .title-link h4{
    margin-top: -5px;
    font-size: 15px;
    color: orangered;
  }
  nav ul {
    /* flex-direction: column; */
    gap: 15px;
    /* background: rgba(255, 255, 255, 0.95); */
    /* padding: 5px 0; */
    padding-top: 5px;
  }

  .slider {
    height: 350px;
  }

  .slides img {
    height: 350px;
  }
  .profiles-summary {
    display: flex;
    flex-direction: row;
    gap: 30px;
    flex-wrap: nowrap;
    padding: 30px 20px;
  }
  .profile-card {
    width: 150px;
    padding: 10px;
  }
}