@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Cinzel:wght@400;500;600&family=Great+Vibes&display=swap');

:root {
  --bg-primary: #FCF6F3;
  --bg-secondary: #fdf5f2;
  --text-dark: #3a2e2b;
  --text-light: #70625f;
  --accent-rose: #b36e70; 
  --accent-sand: #d1bda2;
  --bg-card: #ffffff;
  --border-light: #f0e6df;

  --font-body: 'Inter', sans-serif;
  --font-heading: 'Cinzel', 'Playfair Display', serif;
  --font-script: 'Great Vibes', cursive;
  
  --max-width: 1200px;
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.text-rose { color: var(--accent-rose); }
.text-center { text-align: center; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 500; color: var(--text-dark); }
.section-title { font-size: 2rem; letter-spacing: 3px; margin-bottom: 2rem; text-transform: uppercase; }

.floral-divider { display: flex; align-items: center; justify-content: center; margin: 1rem 0; }
.floral-divider::before, .floral-divider::after { content: ''; height: 1px; width: 40px; background-color: var(--accent-sand); margin: 0 1rem; }
.floral-icon {
  width: 20px; height: 20px; background-color: var(--accent-rose);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,2C12,2 10,7 6,7C2,7 2,12 2,12C2,12 7,10 7,6C7,2 12,2 12,2M12,22C12,22 14,17 18,17C22,17 22,12 22,12C22,12 17,14 17,18C17,22 12,22 12,22M2,12C2,12 7,14 7,18C7,22 12,22 12,22C12,22 10,17 6,17C2,17 2,12 2,12M22,12C22,12 17,10 17,6C17,2 12,2 12,2C12,2 14,7 18,7C22,7 22,12 22,12Z"/></svg>') no-repeat center / contain;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,2C12,2 10,7 6,7C2,7 2,12 2,12C2,12 7,10 7,6C7,2 12,2 12,2M12,22C12,22 14,17 18,17C22,17 22,12 22,12C22,12 17,14 17,18C17,22 12,22 12,22M2,12C2,12 7,14 7,18C7,22 12,22 12,22C12,22 10,17 6,17C2,17 2,12 2,12M22,12C22,12 17,10 17,6C17,2 12,2 12,2C12,2 14,7 18,7C22,7 22,12 22,12Z"/></svg>') no-repeat center / contain;
}

.btn {
  display: inline-block; padding: 0.8rem 2rem; border-radius: 4px;
  font-size: 0.8rem; font-family: var(--font-heading); font-weight: 600;
  letter-spacing: 2px; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; border: 1px solid transparent;
}
.btn-primary { background-color: var(--accent-rose); color: white; }
.btn-primary:hover { background-color: #9c5c5e; }
.btn-outline { background-color: transparent; border-color: var(--accent-rose); color: var(--accent-rose); }
.btn-outline:hover { background-color: var(--bg-secondary); }

/* Header */
.header {
  padding: 1.5rem 0; position: relative; z-index: 100; background-color: #FCF6F3;
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo-container { flex: 1; }
.logo-script { font-family: var(--font-heading); font-size: 1.8rem; color: var(--text-dark); letter-spacing: 2px; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; flex: 2; justify-content: center; }
.header-action { flex: 1; display: flex; justify-content: flex-end; }
.nav-link { font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dark); position: relative; transition: color 0.3s ease; }
.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 50%; background-color: var(--accent-rose); transition: all 0.3s ease; transform: translateX(-50%); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--accent-rose) !important; }

/* Hamburger Menu */
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 6px; z-index: 1000; position: relative; padding: 10px; background: transparent; border: none; }
.hamburger span { width: 28px; height: 2px; background-color: var(--text-dark); transition: all 0.3s ease; border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu { display: none; }

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--bg-primary);
  padding: 0;
  overflow: hidden;
}
.hero-bg-img {
  display: block;
  width: 100%;
  height: auto;
  z-index: 1;
}
.hero-curve { position: absolute; bottom: -2px; left: 0; width: 100%; overflow: hidden; line-height: 0; }
.hero-curve svg { position: relative; display: block; width: calc(100% + 1.3px); height: 80px; }

.hero-content {
  position: absolute !important;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex; align-items: stretch; justify-content: space-between;
  z-index: 2;
}
.hero-text { flex: 1; padding-right: 4rem; padding-top: 4rem; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; margin-left: -6rem; z-index: 10; }
.hero-subtitle { font-size: 0.9rem; letter-spacing: 4px; text-transform: uppercase; color: var(--text-light); margin-bottom: 1.5rem; font-weight: 500; }
.hero-name { font-family: var(--font-heading); font-size: clamp(1.5rem, 8vw, 6rem); color: var(--accent-rose); line-height: 1; margin: 0; font-weight: 400; }
.hero-amp { font-family: var(--font-script); font-size: clamp(1.2rem, 6vw, 4.5rem); color: var(--accent-sand); margin: -0.3em 0; position: relative; z-index: 2; }
.hero-invite { font-size: clamp(0.75rem, 2vw, 0.9rem); letter-spacing: 3px; color: var(--text-dark); margin: 1.5rem 0; text-transform: uppercase; line-height: 1.8; }
.hero-date { font-family: var(--font-heading); font-size: clamp(1.2rem, 4vw, 1.6rem); letter-spacing: 5px; color: var(--text-dark); margin-bottom: 0.5rem; font-weight: 400; }
.hero-location { font-size: clamp(0.75rem, 2vw, 0.9rem); letter-spacing: 3px; color: var(--text-dark); text-transform: uppercase; margin-bottom: 2rem; }
.hero-btn { padding: 1.2rem 3.5rem; font-size: 0.9rem; letter-spacing: 2px; }

.hero-image-wrapper {
  position: absolute;
  bottom: 5.96%;
  right: -15%;
  width: 50%;
  max-width: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
   transform: rotate(-0.4deg); /* Slightly towards the left */

  transform-origin: bottom center; 
}
.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

section { padding: 6rem 0; position: relative; }

/* Our Love Story */
.story-section { text-align: center; padding: 8rem 0; background-color: var(--bg-primary); }
.story-container { display: flex; align-items: center; justify-content: center; gap: 4rem; }
.story-text { max-width: 400px; }
.story-text p { color: var(--text-light); margin-bottom: 2rem; font-size: 0.95rem; line-height: 1.8; }

.polaroid-container {
  background: white;
  padding: 12px 12px 40px 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: relative;
  display: inline-block;
}
.polaroid-img {
  width: 250px;
  display: block;
}
.tape-img {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  z-index: 2;
}
.tape-right {
  transform: translateX(-50%) rotate(12deg);
}
.polaroid-left { transform: rotate(-5deg); }
.polaroid-right { transform: rotate(4deg); }

/* Events */
.events-section { background-color: var(--bg-primary); text-align: center; }
.events-intro p { color: var(--text-light); margin-bottom: 4rem; }
.events-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: 3rem; }
.event-card {
  background: var(--bg-card); padding: 3rem 1.5rem; border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid var(--border-light); transition: transform 0.3s ease;
}
.event-card:hover { transform: translateY(-5px); }
.event-icon { width: 60px; height: 60px; margin: 0 auto 1.5rem; filter: brightness(0) saturate(100%) invert(39%) sepia(8%) saturate(1478%) hue-rotate(307deg) brightness(98%) contrast(85%); }
.event-card h3 { font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 1rem; }
.event-card p { font-size: 0.8rem; color: var(--text-light); line-height: 1.8; margin-bottom: 1rem; }
.card-divider { display: flex; justify-content: center; align-items: center; margin-top: 1rem; }
.card-divider::before, .card-divider::after { content: ''; height: 1px; width: 20px; background-color: var(--accent-sand); }
.card-divider .dot { width: 4px; height: 4px; background-color: var(--accent-sand); border-radius: 50%; margin: 0 8px; }

/* Countdown */
.countdown-section { 
  margin-top: 90px;
  padding: 6rem 0; 
  text-align: center;
  position: relative;
  background-color: var(--bg-secondary);
}
.countdown-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('src/assets/florals.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
}
.countdown-grid { display: flex; justify-content: center; gap: 2rem; margin-top: 2rem; position: relative; z-index: 2; }
.countdown-box {
  width: 130px; height: 90px; border-radius: 12px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.countdown-num { font-family: var(--font-heading); font-size: 2.2rem; color: var(--accent-sand); line-height: 1; }
.countdown-label { font-size: 0.6rem; letter-spacing: 3px; text-transform: uppercase; color: var(--text-light); margin-top: 0.5rem; font-weight: bold; }

/* Footer */
footer { background-color: var(--accent-rose); color: white; text-align: center; padding: 6rem 0 3rem; position: relative; overflow: hidden; }
.footer-curve { position: absolute; top: -1px; left: 0; width: 100%; overflow: hidden; line-height: 0; transform: rotate(180deg); }
.footer-curve svg { position: relative; display: block; width: calc(100% + 1.3px); height: 50px; }
.footer-content { position: relative; z-index: 2; }
.footer-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 0 0 4rem; border-bottom: 1px solid rgba(255,255,255,0.2); margin-bottom: 3rem; }
.detail-block { display: flex; align-items: center; justify-content: center; gap: 1.5rem; color: white; }
.detail-block-icon { width: 40px; height: 40px; filter: brightness(0) invert(1); }
.detail-block-text { text-align: left; }
.detail-block h4 { font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 0.3rem; color: white; }
.detail-block p { font-size: 0.8rem; color: rgba(255,255,255,0.8); }
.footer-script { font-family: var(--font-script); font-size: 4rem; margin-bottom: 1rem; color: white; }
.footer-names { font-family: var(--font-heading); font-size: 1.2rem; letter-spacing: 4px; margin-top: 1rem; }

/* (Media queries moved to bottom) */

/* Tourist Spots Page Specifics */
.tourist-section { padding: 4rem 0 8rem 0; margin-bottom:-10px; background-color: var(--bg-primary); position: relative; overflow: hidden; }
.tourist-header { text-align: center; margin-bottom: 4rem; position: relative; z-index: 2; }
.tourist-header .subtitle { font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; color: var(--text-light); display: flex; align-items: center; justify-content: center; gap: 1rem; }
.tourist-header .subtitle::before, .tourist-header .subtitle::after { content: ''; height: 1px; width: 40px; background-color: var(--accent-sand); }
.tourist-header h1 { font-family: var(--font-heading); font-size: 3rem; margin: 1rem 0; color: var(--text-dark); letter-spacing: 2px; }
.tourist-header p { color: var(--text-light); max-width: 500px; margin: 0 auto; line-height: 1.6; }

.tourist-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; align-items: start; }

/* Spot Cards */
.t-cards-container { display: flex; flex-direction: column; gap: 1.5rem; }
.t-card { display: flex; align-items: center; background: white; border-radius: 12px; padding: 1rem; box-shadow: 0 5px 20px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.05); gap: 1.5rem; transition: transform 0.3s ease; }
.t-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.t-card-img { width: 160px; height: 110px; border-radius: 8px; object-fit: cover; }
.t-card-info { flex: 1; }
.t-card-title { font-family: var(--font-heading); font-size: 1.4rem; color: var(--text-dark); margin-bottom: 0.3rem; display: flex; align-items: center; gap: 0.5rem; }
.t-card-dist { font-size: 0.75rem; color: var(--accent-sand); letter-spacing: 1px; margin-bottom: 0.5rem; display: block; }
.t-card-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }
.t-card-btn { background: transparent; border: 1px solid var(--accent-rose); color: var(--accent-rose); padding: 0.6rem 1.2rem; border-radius: 30px; font-size: 0.75rem; letter-spacing: 1px; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; }
.t-card-btn:hover { background: var(--accent-rose); color: white; }

/* Map Section */
.t-map-box { background: white; border-radius: 12px; padding: 1.5rem; box-shadow: 0 5px 20px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.t-map-image { width: 100%; height: 350px; background-color: #f0f3ec; border-radius: 8px; position: relative; overflow: hidden; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M0,50 Q150,150 300,50 T600,50" fill="none" stroke="%23e0e5db" stroke-width="20"/><path d="M0,150 Q150,250 300,150 T600,150" fill="none" stroke="%23fff" stroke-width="15"/></svg>'); background-size: cover; display: flex; align-items: center; justify-content: center; }
.t-map-pin { width: 30px; height: 30px; background-color: var(--accent-rose); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 0.7rem; position: absolute; box-shadow: -2px 2px 5px rgba(0,0,0,0.2); }
.t-map-pin span { transform: rotate(45deg); }
.t-legend-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.t-legend-item { display: flex; align-items: center; justify-content: space-between; }
.t-legend-left { display: flex; align-items: center; gap: 1rem; flex: 1; }
.t-legend-num { width: 24px; height: 24px; background-color: var(--accent-rose); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: bold; opacity: 0.7; }
.t-legend-name { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.t-legend-dist { font-size: 0.8rem; color: var(--text-light); width: 60px; text-align: left; }
.t-footer-msg { text-align: center; margin-top: 5rem; font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dark); position: relative; z-index: 2; }

/* Corner Florals */
.t-floral-bottom-left { position: absolute; bottom: 0; left: 0; width: 300px; z-index: 1; pointer-events: none; }
.t-floral-bottom-right { position: absolute; bottom: 0; right: 0; width: 300px; z-index: 1; pointer-events: none; transform: scaleX(-1); }

/* Falling Petals */
.petal {
  position: fixed;
  top: -50px;
  z-index: 9999;
  pointer-events: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23f4b5b7" opacity="0.8"><path d="M12,2 C15,2 20,6 20,12 C20,18 15,22 12,22 C9,22 4,18 4,12 C4,6 9,2 12,2 Z" transform="rotate(45 12 12)"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  animation: fall linear forwards;
}

@keyframes fall {
  0% { transform: translateY(-50px) rotate(0deg) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(110vh) rotate(360deg) translateX(150px); opacity: 0; }
}

/* Gallery */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 3rem 0;
}
.filter-btn {
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--accent-sand);
  border-radius: 30px;
  background: transparent;
  color: var(--text-light);
  font-size: 0.8rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent-rose);
  color: white;
  border-color: var(--accent-rose);
}
.gallery-masonry {
  column-count: 4;
  column-gap: 1.5rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
@media (max-width: 900px) {
  .gallery-masonry { column-count: 2; }
}
@media (max-width: 600px) {
  .gallery-masonry { column-count: 1; }
}

/* --- WISHES SECTION (ADDED) --- */
.wishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.wish-card {
    background-color: var(--bg-primary);
    border: 1px solid rgba(212, 163, 165, 0.2);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-align: left;
    display: flex;
    flex-direction: column;
}
.wish-author {
    font-family: var(--font-script);
    color: var(--accent-sand);
    font-size: 2rem;
    margin-bottom: 1rem;
}
.wish-text {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.wish-date {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- RESPONSIVE FOOTER CLASSES --- */
.footer-cols-container {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; margin-bottom: 4rem;
}
.footer-col-1 { flex: 1; max-width: 400px; text-align: center; padding: 0 1rem; margin: 0 auto; min-width: 250px; }
.footer-col-2 { flex: 1; min-width: 150px; border-left: 1px solid var(--border-light); border-right: 1px solid var(--border-light); padding: 0 1rem; }
.footer-col-3 { flex: 1; min-width: 250px; padding-left: 0.5rem; text-align: center; }

/* Desktop Short Screen Fixes */
@media (max-height: 700px) and (min-width: 1025px) {
    .hero-text { justify-content: flex-start; padding-top: 15vh; }
}

/* --- CONSOLIDATED MEDIA QUERIES --- */
@media (max-width: 1024px) {
    /* Hero */
    .hero-content { flex-direction: column; text-align: left; align-items: flex-start; position: absolute; }
    .hero-text { padding-right: 0; margin-bottom: 0; margin-left: 2rem; padding-top: 6rem; align-items: flex-start; text-align: left; z-index: 10; }
    .hero-text * { text-align: left !important; justify-content: flex-start !important; }
    .hero-text img[alt="divider"] { margin-left: 0 !important; margin-right: auto; }
    .floral-divider { justify-content: flex-start; margin-left: 0; padding-left: 0; }
    .hero-image-wrapper { position: absolute; width: 65%; max-width: 300px; right: 0; bottom: 0; transform: none; padding-bottom: 0; margin: 0; z-index: 5; }
    /* Layouts */
    .events-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .tourist-layout { grid-template-columns: 1fr; }
    .wishes-container { width: 90%; }
    .footer-details { grid-template-columns: 1fr; gap: 3rem; }
    
    /* Navigation adjustments */
    .header { padding: 1rem 0; }
    .header-content { flex-direction: row; justify-content: space-between; padding: 0 1.5rem; align-items: center; }
    .nav-links { display: none; }
    .header-action { display: flex !important; align-items: center; gap: 1rem; position: static; margin-top: 0; }
    .header-action .btn { display: none; }
    
    .hamburger { display: flex; position: relative; right: 0; top: 0; padding: 5px; }
    
    .mobile-menu { 
        display: flex; flex-direction: column; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
        background: rgba(253, 248, 245, 0.98); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
        z-index: 990; justify-content: center; align-items: center; gap: 1.5rem;
        opacity: 0; pointer-events: none; transition: opacity 0.4s ease-in-out;
    }
    .mobile-menu.open { opacity: 1; pointer-events: auto; }
    .mobile-menu .nav-link { 
        font-size: 1.5rem; letter-spacing: 3px; font-family: var(--font-heading);
        transform: translateY(20px); opacity: 0; transition: all 0.4s ease;
    }
    .mobile-menu.open .nav-link { transform: translateY(0); opacity: 1; }
    .mobile-menu.open .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .mobile-menu.open .nav-link:nth-child(2) { transition-delay: 0.2s; }
    .mobile-menu.open .nav-link:nth-child(3) { transition-delay: 0.3s; }
    .mobile-menu.open .nav-link:nth-child(4) { transition-delay: 0.4s; }
    .mobile-menu.open .nav-link:nth-child(5) { transition-delay: 0.5s; }
    .mobile-menu.open .btn { transform: translateY(20px); opacity: 0; transition: all 0.4s ease; transition-delay: 0.6s; }
    .mobile-menu.open .btn { transform: translateY(0); opacity: 1; }
}

@media (max-width: 650px) {
    /* Compress paddings */
    .hero { padding-top: 0; height: 100svh; }
    .hero-bg-img { height: 100% !important; min-height: 0 !important; object-fit: cover; object-position: center; }
    section, .story-section, .events-section, .tourist-section, .wishes-section { padding: 4rem 1rem; }
    .countdown-section { padding: 4rem 1rem; margin-top: 40px; }
    img[alt="temple"] { width: 150px !important; opacity: 0.15 !important; }
    
    /* Layouts */
    .story-container { flex-direction: column; }
    .events-grid { grid-template-columns: 1fr !important; }
    .t-card { flex-direction: column; text-align: center; gap: 1rem; }
    .t-card-img { width: 100%; height: 180px; }
    .t-card-title { justify-content: center; }
    .t-card-btn { width: 100%; justify-content: center; }
    .countdown-grid { flex-wrap: wrap; }
    .countdown-box { width: 100px; height: 80px; }
    .countdown-num { font-size: 1.8rem; }
    
    /* Hero adjustments */
    .hero-content { align-items: flex-start; text-align: center; }
     .hero-text { position: absolute !important; left: 5%; top: 4vh; padding: 0; margin: 0; margin-bottom:3vh;justify-content: flex-start; align-items: center; width: 70%; max-width: 280px; text-align: center; z-index: 10; }
   
    .hero-text * { text-align: center !important; justify-content: center !important; margin-left: auto !important; margin-right: auto !important; }
    .hero-text img[alt="divider"] { margin: 10px auto !important; }
    .hero-image-wrapper { position: absolute !important; width: 75%; max-width: 250px; right: 0; bottom: 0; left: auto; transform: none; z-index: 5; }
    
    /* Typography */
    .hero-name { font-size: 2.2rem !important; }
    .hero-amp { font-size: 1.8rem !important; }
    .hero-subtitle, .hero-date, .hero-location, .hero-invite { font-size: 0.7rem; margin: 0.2rem 0; }
    .hero-btn { padding: 0.7rem 1.8rem !important; font-size: 0.7rem !important; margin-top: 0.5rem !important; }
    .hero-subtitle { font-size: 0.8rem; letter-spacing: 3px; }
    .floral-divider { gap: 1rem; justify-content: center; width: 100%; max-width: 100vw; overflow: hidden; padding: 0 10px; box-sizing: border-box; }
    .floral-divider span { font-size: clamp(0.9rem, 4.5vw, 1.3rem) !important; text-align: center; white-space: nowrap; }
    .floral-divider img { width: clamp(15px, 4vw, 25px) !important; }
    .section-title { font-size: 1.6rem; letter-spacing: 2px; }
    
    /* Footer Overrides */
    .footer-col-2 { border: none !important; padding: 2rem 0 !important; }
    .footer-col-3 { text-align: center; border: none; padding-left: 0; }
}

@media (max-height: 500px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-content { flex-direction: row !important; justify-content: flex-start; align-items: stretch; gap: 2rem; height: 100%; padding: 0; }
    .hero-text { position: absolute !important; left: 25%; top: 55%; transform: translateY(-50%) !important; padding: 0; margin: 0; width: 45%; max-width: 250px; justify-content: center; align-items: center; text-align: center; }
    .hero-name { font-size: 1.6rem !important; text-align: center; }
    .hero-amp { font-size: 1.2rem !important; margin: 0; align-self: center; }
    .hero-subtitle, .hero-date, .hero-location, .hero-invite { font-size: 0.75rem; margin: 0.3rem 0; text-align: center; line-height: 1.2; }
    .hero-text img[alt="divider"] { width: 170px !important; max-width: 65%; margin-left: 0 !important; }
    .hero-btn { padding: 0.6rem 1.5rem !important; font-size: 0.75rem !important; margin-top: 0.4rem !important; }
    .floral-divider { display: none; } /* Hide floral divider in landscape to save vertical space */
    .hero-image-wrapper { position: absolute !important; width: 38%; max-width: 200px; right: 5%; bottom: -5px; margin-top: 0; padding-bottom: 0; }
    
    /* Force Mobile Menu on Wide Landscape Phones */
    .nav-links { display: none !important; }
    .header-action .btn { display: none !important; }
    .hamburger { display: flex !important; background: rgba(255, 255, 255, 0.85); border-radius: 8px; padding: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); position: relative; right: 0; top: 0; }
    
    .mobile-menu { flex-direction: row !important; flex-wrap: wrap; gap: 1rem !important; padding: 2rem; align-content: center; }
    .mobile-menu .nav-link { font-size: 1.1rem !important; margin: 0 0.5rem; }
    
    
    /* Layouts */
    .story-container { flex-direction: row !important; align-items: center; gap: 2rem; }
    .events-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-height: 500px) and (max-width: 1024px) and (orientation: landscape) and (min-width: 800px) {
    .hero-image-wrapper { width: 45% !important; max-width: 280px !important; }
}

@media (max-width: 480px) {
    .events-grid { grid-template-columns: 1fr !important; }
}
