/* BODY */

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: url("images/photo22.png") no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden;
}

section{
background-image: url("images/photo22.png"); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    padding: 70px 20px;
    text-align: center;
}

section{
position:relative;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* This makes the text readable over your photo */
    z-index: 0;
}

section * {
    position: relative;
    z-index: 1;
}

section{
background-attachment:fixed;
}

/* MAIN CONTAINER */

.main-container {
    max-width: 1100px;
    margin: auto;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url("images/photo22.png");
    background-size: cover;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* 2. THE SECTION BACKGROUNDS */
/* Giving the big sections a subtle horizontal pastel tint */
#godparents, #details, #rsvp {
    background: none;
}

#dress-gift {
    background: linear-gradient(135deg, rgba(204,238,255,0.8) 0%, rgba(255,255,255,0.8) 50%, rgba(255,209,227,0.8) 100%), url("images/photo22.png");
    background-size: cover;
    border-radius: 30px;
    margin: 20px;
}

/* 3. THE INDIVIDUAL CARDS (GODPARENTS & DETAILS) */
.godparent-card, .card, .gift-list li, .venue-guide-card {
    position: relative;
    border: none;
    transition: 0.4s ease;
    background: rgba(255, 255, 255, 0.7); /* Slightly more transparent */
    backdrop-filter: blur(10px); /* Modern frosted glass look */
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/* 4. ROTATING PASTEL BACKGROUNDS */
/* This automatically colors the background of your cards in your pastel theme */
.godparent-card:nth-child(5n+1), .card:nth-child(odd) {
    background: radial-gradient(circle at top left, #CCEEFF66, #ffffff);
}
.godparent-card:nth-child(5n+2), .card:nth-child(even) {
    background: radial-gradient(circle at top left, #E2DFFF66, #ffffff);
}
.godparent-card:nth-child(5n+3), .gift-list li:nth-child(odd) {
    background: radial-gradient(circle at top left, #FFD1E366, #ffffff);
}
.godparent-card:nth-child(5n+4), .gift-list li:nth-child(even) {
    background: radial-gradient(circle at top left, #D1FFD766, #ffffff);
}
.godparent-card:nth-child(5n+5) {
    background: radial-gradient(circle at top left, #FEFED166, #ffffff);
}

/* 5. CARD HOVER EFFECT */
.godparent-card:hover, .card:hover {
    transform: translateY(-8px) scale(1.02);
    background: #ffffff; /* Turns solid white on hover for clarity */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}


/* NAVBAR */

/* NAVBAR - UPDATED DESIGN */
.navbar {
    position: sticky;
    top: 0;
    /* Soft white with transparency for a glass effect */
    background: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    
    padding: 18px 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
    
    /* Clean, thin shadow and a pink accent bottom border */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 2px solid #ffd1e3; 
    z-index: 1000;
}

.navbar a {
    text-decoration: none;
    color: #e91e63;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase; /* Makes it look like a high-end invitation */
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

/* NAVBAR - Modern & Elegant */
.navbar {
    position: sticky;
    top: 0;
    /* Soft white with transparency for glass effect */
    background: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 182, 193, 0.3); /* Subtle pink border */
}

.navbar a {
    text-decoration: none;
    color: #e91e63;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: 0.3s;
    padding: 5px 0;
}

/* --- NAVBAR LINKS BASE --- */
.navbar a {
    text-decoration: none;
    color: #e91e63;
    font-weight: 600;
    position: relative;
    padding: 5px 2px; /* Adds space for the underline */
    transition: color 0.3s ease;
}

/* The Animated Underline Effect */
.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px; /* Slightly thicker for a softer look */
    bottom: -2px;
    left: 0;
    background-color: #ff77a9;
    border-radius: 10px; /* Makes the underline rounded and cute */
    transition: width 0.3s ease;
}

.navbar a:hover {
    color: #ff77a9;
}

.navbar a:hover::after {
    width: 100%;
}

/* --- MOBILE RESPONSIVE FIX --- */
@media (max-width: 768px) {
    .navbar {
        display: flex;
        flex-wrap: wrap;       /* Allows links to move to a new line if they run out of space */
        justify-content: center;
        gap: 12px 18px;        /* 12px vertical gap, 18px horizontal gap */
        padding: 15px 10px;
        width: 95%;            /* Ensures it doesn't touch the screen edges */
        margin: 0 auto;
    }

    .navbar a {
        font-size: 13px;       /* Slightly larger than 12px for better readability */
        letter-spacing: 0.3px;
        white-space: nowrap;   /* Prevents single words from breaking */
    }

    /* Adjust underline for mobile: make it stay a bit longer so it's visible on tap */
    .navbar a::after {
        height: 2px;
        bottom: -1px;
    }
}

/* Extra small phones (iPhone SE, etc.) */
@media (max-width: 380px) {
    .navbar {
        gap: 10px 12px;
        padding: 12px 5px;
    }
    
    .navbar a {
        font-size: 11px;
    }
}


/* HERO */

.hero {
    text-align: center;
    padding: 120px 20px;
    position: relative;
    /* Updated Hero to match the section background image */
    background: url("images/photo22.png") center/cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.65);
}

.hero *{
position:relative;
z-index:1;
}

.hero h1{
font-family:'Playfair Display';
font-size:3rem;
color:#e91e63;
}

/* COUNTDOWN */

.countdown{
margin-top:30px;
}

#timer{
display:flex;
justify-content:center;
gap:25px;
margin-top:10px;
}

#timer span{
background:white;
padding:15px;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

#timer b{
font-size:22px;
color:#e91e63;
}


/* SECTIONS */

section{
padding:70px 20px;
text-align:center;
}

h2{
font-family:'Playfair Display';
color:#e91e63;
font-size: 1.8rem;
}


/* RIBBON DIVIDER */

.ribbon-divider{
height:40px;
background:linear-gradient(90deg,#ffd1dc,#ffc2e2,#ffd1dc);
clip-path:polygon(0 40%,10% 0,20% 40%,30% 0,40% 40%,50% 0,60% 40%,70% 0,80% 40%,90% 0,100% 40%,100% 100%,0 100%);
margin:40px 0;
}


/* --- GALLERY SECTION --- */
#gallery {
    background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(255,209,227,0.8) 100%), url("images/photo22.png");
    background-size: cover;
    padding: 80px 0;
    text-align: center;
}

/* --- GALLERY HEADER --- */
#gallery h2 {
    font-family: 'Playfair Display', serif;
    color: #e91e63;
    font-size: 1.8rem; /* Changed from 2.5rem to 1.8rem */
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* --- MOBILE RESPONSIVE ADJUSTMENT --- */
@media (max-width: 768px) {
    #gallery h2 {
        font-size: 1.5rem; /* Even smaller for mobile screens */
    }
}

.carousel {
  position: relative;
  max-width: 850px; /* Adjust this to make the gallery wider or narrower */
  margin: 0 auto;
  overflow: hidden; /* CRITICAL: This hides the images on the left and right */
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  background: white; /* Backdrop for loading images */
}

/* --- THE TRACK (The long line of images) --- */
.carousel-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1); /* Elegant, smooth slide */
}

/* --- THE FULL IMAGES --- */
.carousel-img {
  min-width: 100%; /* Each image is exactly the width of the .carousel */
  height: 550px;   /* Fixed height for a uniform look */
  object-fit: cover; /* Ensures the photo fills the space without stretching */
  cursor: pointer;
  transition: filter 0.3s ease;
}

.carousel-img:nth-child(6n+1):hover { filter: drop-shadow(0 0 10px #CCEEFF); }
.carousel-img:nth-child(6n+2):hover { filter: drop-shadow(0 0 10px #E2DFFF); }
.carousel-img:nth-child(6n+3):hover { filter: drop-shadow(0 0 10px #FFD1E3); }
.carousel-img:nth-child(6n+4):hover { filter: drop-shadow(0 0 10px #D6EFFF); }
.carousel-img:nth-child(6n+5):hover { filter: drop-shadow(0 0 10px #FEFED1); }
.carousel-img:nth-child(6n+6):hover { filter: drop-shadow(0 0 10px #D1FFD7); }

/* --- NAVIGATION BUTTONS (Floating inside the photo) --- */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px); /* Modern glass effect */
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  color: #e91e63;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
  background: #e91e63;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

/* --- LIGHTBOX (Cleaned up for full view) --- */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

#lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 15px;
  border: 4px solid white;
}

#lightbox span {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 50px;
  color: white;
  cursor: pointer;
}


/* GODPARENTS */

.godparents-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
max-width:800px;
margin:auto;
}

.godparent-card{
background:#fff7fb;
padding:20px;
border-radius:15px;
box-shadow:0 10px 20px rgba(0,0,0,0.1);
transition:.3s;
}

.godparent-card:hover{
transform:translateY(-6px);
}

.godparent-card h3{
color:#e91e63;
}


/* DRESS CODE */

.color-palette{
display:flex;
justify-content:center;
gap:20px;
margin-top:20px;
}

.color{
width:70px;
height:70px;
border-radius:50%;
box-shadow:0 5px 15px rgba(0,0,0,0.2);
}


/* GIFTS */

.gift-list{
margin-top:20px;
padding-left:20px;
list-style:disc;
}

.gift-list li{
background:#fff7fb;
padding:15px;
margin-bottom:12px;
border-radius:10px;
}


/* EVENT DETAILS */

.details{
display:flex;
flex-wrap:wrap;
gap:25px;
justify-content:center;
}

.card{
background:#fff7fb;
padding:20px;
border-radius:15px;
width:350px;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

/* MAP FIX */
.card iframe {
    height: 220px;
    width: 90%;          /* Reduced from 100% to leave a side margin */
    display: block;      /* Required for auto margins to work */
    margin: 10px auto;   /* Automatically centers the map horizontally */
}

.card a{
display:inline-block;
margin-top:10px;
background:#ff9cc2;
padding:10px 20px;
border-radius:20px;
color:white;
text-decoration:none;
}

/* RSVP */

/* Update your existing rsvpButton to allow the ripple inside */
.rsvpButton {
    position: relative; /* Required for ripple positioning */
    overflow: hidden;   /* Keeps the ripple inside the button */
    background: #ff9cc2;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    outline: none;
}

/* THE RIPPLE WAVE */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.5); /* Semi-transparent white wave */
    transform: translate(-50%, -50%);
    pointer-events: none;
    border-radius: 50%;
    animation: rippleEffect 0.6s linear;
}

@keyframes rippleEffect {
    0% {
        width: 0px;
        height: 0px;
        opacity: 0.5;
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}

.qr{
width:200px;
margin:20px 0;

}


/* FOOTER */

footer{
  background:#ffd9ec;
  text-align:center;
  padding:40px 20px;
  margin-top:40px;
  color:#7a3c56;
  position:relative;
}

/* cute divider */
footer::before{
  content:"♡ ♡ ♡";
  display:block;
  font-size:18px;
  margin-bottom:10px;
  color:#ff7aa8;
  animation: floatHearts 3s ease-in-out infinite;
}

footer p{
  margin:6px 0;
  font-size:14px;
  line-height:1.6;
  opacity:0;
  animation: fadeUp 1s ease forwards;
}

/* delay each line so it appears smoothly */
footer p:nth-child(1){ animation-delay:0.2s; }
footer p:nth-child(2){ animation-delay:0.4s; }
footer p:nth-child(3){ animation-delay:0.6s; }
footer p:nth-child(4){ animation-delay:0.8s; }

footer p:last-child{
  font-weight:bold;
  letter-spacing:1px;
}

/* fade up animation */
@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* floating hearts animation */
@keyframes floatHearts{
  0%{ transform:translateY(0); }
  50%{ transform:translateY(-4px); }
  100%{ transform:translateY(0); }
}


/* FLOATING HEARTS */

.hearts, .sparkles {
    display: none;
    background: none;
}

@keyframes floatHearts{
0%{background-position:0 100%}
100%{background-position:0 -100%}
}


/* FLORAL CORNERS */

.corner{
position:fixed;
font-size:40px;
opacity:.7;
}

.top-left{top:10px;left:10px;}
.top-right{top:10px;right:10px;}
.bottom-left{bottom:10px;left:10px;}
.bottom-right{bottom:10px;right:10px;}


/* CONFETTI */

.confetti{
position:fixed;
width:10px;
height:10px;
background:pink;
top:-10px;
animation:fall 3s linear forwards;
}

@keyframes fall{
0%{transform:translateY(0)}
100%{transform:translateY(100vh)}
}

/* BUTTONS */

.prev, .next{
position:absolute;
top:50%;
transform:translateY(-50%);
background:#ff9cc2;
border:none;
color:white;
font-size:28px;
padding:10px 16px;
cursor:pointer;
border-radius:50%;
}

.prev{
left:10px;
}

.next{
right:10px;
}

.prev:hover, .next:hover{
background:#ff77a9;
}

/* DRESS CODE + GIFTS 2 COLUMN */

.dress-gift-container{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
max-width:900px;
margin:40px auto;
align-items:start;
}

.gift-column{
text-align:left;
}

.gift-column h3{
text-align:center;
}

.dress-column{
text-align:center;
}

/* bullet fix */

.gift-list{
margin-top:15px;
padding-left:20px;
}

.gift-list li{
margin-bottom:10px;
}

/* color palette */

.color-palette{
display:flex;
justify-content:center;
gap:15px;
margin-top:20px;
flex-wrap:wrap;
}

/* REMINDER */

.reminder-container{
grid-column: 1 / -1;   /* makes it span across both columns */
text-align: center;
margin-top: 50px;
}

.reminder-container img{
width:320px;
max-width:90%;
border-radius:12px;
box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

.qr {
    width: 200px;
    padding: 15px;
    background: white;
    border-radius: 20px; /* Rounds the corners of the QR container */
    border: 5px solid #FFD1E3; /* Matches your Pink pastel border */
    box-shadow: 0 10px 25px rgba(255, 209, 227, 0.4);
    transition: transform 0.3s ease;
}

/* VENUE GUIDE */

.venue-guide-title{
text-align:center;
margin-top:60px;
margin-bottom:30px;
color:#e91e63;
}

.venue-guide-container{
display:grid;
grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
gap:25px;
max-width:1000px;
margin:auto;
}

.venue-guide-card{
background:#fff;
border-radius:15px;
overflow:hidden;
box-shadow:0 8px 20px rgba(0,0,0,0.1);
text-align:center;
transition:all 0.3s ease;
cursor:pointer;
}

/* Hover Lift Effect */
.venue-guide-card:hover{
transform:translateY(-8px);
box-shadow:0 15px 30px rgba(0,0,0,0.2);
}

.venue-guide-card img{
width:100%;
aspect-ratio:3/4;
object-fit:cover;
transition:transform 0.4s ease;
}

/* Image Zoom on Hover */
.venue-guide-card:hover img{
transform:scale(1.08);
}

.venue-guide-card p{
padding:12px;
font-size:14px;
}

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9); /* Pure dark background */
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Ensures it is above the navbar */
    backdrop-filter: blur(8px);
}

#lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border: 5px solid white;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    object-fit: contain; /* Prevents stretching */
}

#lightbox span {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    z-index: 10001;
}

/* ============================= */
/* MOBILE RESPONSIVE SETTINGS */
/* ============================= */

/* Tablets */
@media (max-width: 1024px){

.main-container{
margin:10px;
border-radius:15px;
}

.hero{
padding:90px 15px;
}

.hero h1{
font-size:2.4rem;
}

.carousel-img{
height:420px;
}

.card{
width:100%;
max-width:500px;
}

.dress-gift-container{
grid-template-columns:1fr;
gap:30px;
}

}


/* Mobile Phones */
@media (max-width: 768px){

/* NAVBAR */
.navbar{
flex-wrap:wrap;
gap:15px;
padding:12px;
font-size:14px;
}

/* HERO */
.hero{
padding:80px 15px;
}

.hero h1{
font-size:1.9rem;
line-height:1.3;
}

/* COUNTDOWN */
#timer{
flex-wrap:wrap;
gap:12px;
}

#timer span{
padding:10px 12px;
}

#timer b{
font-size:18px;
}

/* SECTIONS */
section{
padding:50px 15px;
}

/* GALLERY */
.carousel{
max-width:95%;
}

.carousel-img{
height:320px;
}

.godparents-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Forces exactly 3 columns on web */
    gap: 20px;
    max-width: 900px; /* Slightly wider to better fit 3 cards */
    margin: auto;
}

/* GODPARENTS GRID */
.godparents-container {
    grid-template-columns: repeat(2, 1fr); /* Changes from 1fr 1fr to 2 columns specifically */
    gap: 15px;
}

/* Extra Small Phones */
@media (max-width: 480px) {
    .godparents-container {
        grid-template-columns: 1fr; /* Back to single column for tiny screens */
    }
}

/* EVENT DETAILS */
.details{
flex-direction:column;
align-items:center;
}

.card{
width:100%;
}

/* MAP FIX */
.card iframe{
height:220px;
}

/* VENUE GUIDE */
.venue-guide-container{
grid-template-columns:1fr;
}

/* DRESS + GIFTS */
.dress-gift-container{
grid-template-columns:1fr;
text-align:center;
}

/* COLORS */
.color{
width:55px;
height:55px;
}

/* QR */
.qr{
width:160px;
}

/* FOOTER */
footer{
padding:30px 15px;
}

}


/* Extra Small Phones */
@media (max-width: 480px){

.hero h1{
font-size:1.6rem;
}

.navbar{
gap:10px;
font-size:13px;
backdrop-filter:blur(10px);
background:rgba(255,255,255,0.9);
}

.carousel-img{
height:260px;
}

.godparents-container{
grid-template-columns:1fr;
}

#timer span{
font-size:12px;
}

#timer b{
font-size:16px;
}

}

/* BACK TO TOP BUTTON */
#myBtn {
    display: none; 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    z-index: 9999; /* Set very high to stay above the ribbons and cards */
    border: none; 
    outline: none; 
    background-color: #ff9cc2; 
    color: white; 
    cursor: pointer; 
    width: 50px;
    height: 50px;
    border-radius: 50%; 
    font-size: 22px; 
    box-shadow: 0 4px 15px rgba(255, 156, 194, 0.4);
    transition: all 0.3s ease;
}

#myBtn:hover {
    background-color: #e91e63; 
    transform: translateY(-5px); 
}

/* --- NAVBAR LOGIC --- */

/* 1. Hide the mobile menu by default (Desktop view) */
.nav-dropdown-mobile {
    display: none;
}

/* 2. Style for the Desktop Links */
.nav-links-desktop {
    display: flex;
    gap: 30px;
}

/* 3. MOBILE VIEW (Screens smaller than 768px) */
@media (max-width: 768px) {
    /* Hide the long row of links */
    .nav-links-desktop {
        display: none;
    }

    /* Show the Dropdown Menu */
    .nav-dropdown-mobile {
        display: block;
    }

    .dropbtn {
        background: #ff9cc2;
        color: white;
        padding: 8px 20px;
        border: none;
        border-radius: 20px;
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        cursor: pointer;
    }

    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        right: -50px; /* Centers it better on small screens */
        background-color: white;
        min-width: 200px;
        box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
        z-index: 1000;
        border-radius: 15px;
        margin-top: 10px;
        border: 1px solid #ffd1e3;
    }

    .dropdown-content a {
        color: #e91e63 !important;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        border-bottom: 1px solid #fff1f6;
    }

    .dropdown-content a:last-child {
        border-bottom: none;
    }

    /* Show menu when clicking/hovering */
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

/* --- CENTER AND RESIZE GOOGLE MAPS --- */
.location-guide iframe {
    width: 100%;             /* Makes it take up the full container width */
    max-width: 600px;        /* Prevents it from getting too big on desktop */
    display: block;          /* Needed for auto margins to work */
    margin: 20px auto;       /* Centers it horizontally */
    border-radius: 15px;     /* Optional: matches your card aesthetic */
    border: 0;
}

/* Specific Mobile Adjustments */
@media (max-width: 768px) {
    .location-guide iframe {
        width: 90%;          /* Leaves a little breathing room on the sides */
        height: 250px;       /* Slightly shorter height for phone screens */
    }
}