/* ===============================
   FONTS
================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Playfair+Display:wght@400;600&family=Great+Vibes&family=Amiri&display=swap');

/* ===============================
   GENERAL
================================ */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  color: #000; /* all text black */
  text-align: center;
  scroll-behavior: smooth;

  /* Background image */
  background-color: #f8f5f0;
  background-image: url("images/phone.png"); /* default mobile */
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  min-height: 100vh;
}

/* Desktop / Landscape background */
@media (min-width: 768px) {
  body {
    background-image: url("images/desktop.png"); /* desktop image */
    background-position: center;
    background-size: cover;
  }
}

/* ===============================
   FULL-SCREEN INVITATION
================================ */
.invitation-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent; /* show background image */
  padding: 20px;
}

.invitation-card {
  background: #fff;
  border: 2px solid #e6d6c5;
  border-radius: 25px;
  padding: 60px 40px;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  font-family: 'Playfair Display', serif;
  color: #000; /* all card text black */
}

/* Arabic Bismillah */
.invitation-card .bismillah {
  font-family: 'Amiri', serif;
  font-size: 2em;
  color: #000; /* black */
  margin-bottom: 20px;
}

/* Ceremony */
.invitation-card .ceremony {
  font-family: 'Great Vibes', cursive;
  font-size: 1.5em;
  color: #000; /* black */
  margin-bottom: 15px;
}

/* Names */
.invitation-card .names {
  font-family: 'Great Vibes', cursive;
  font-size: 3em;
  color: #000; /* black */
  margin-bottom: 25px;
}

/* Spacer */
.invitation-card .spacer {
  height: 30px;
}

/* Date & Time */
.invitation-card .datetime {
  font-size: 1.2em;
  font-weight: 500;
  color: #000; /* black */
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Venue */
.invitation-card .venue {
  font-size: 1em;
  color: #000; /* black */
}

/* ===============================
   OTHER SECTIONS
================================ */
section {
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #000; /* all text black */
}

/* ===============================
   CALENDAR
================================ */
.calendar-section h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #000; /* black */
  font-family: 'Playfair Display', serif;
}

.calendar {
  display: inline-block;
  border: 2px solid #e6d6c5;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  background: #fff;
  font-family: 'Poppins', sans-serif;
  width: 90%;
  max-width: 600px;
  margin: auto;
}

.calendar .month {
  background: #87ceeb; /* baby blue */
  color: #fff;
  padding: 20px;
  font-size: 1.8em;
  font-weight: 600;
  text-align: center;
  border-bottom: 2px solid #e6d6c5;
}

.calendar .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #f0e8e3;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1em;
  color: #000; /* black */
  padding: 15px 0;
}

.calendar .dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 15px;
  padding: 20px;
}

.calendar .dates div {
  padding: 20px 0;
  border-radius: 10px;
  transition: all 0.3s;
  font-size: 1em;
  text-align: center;
  border: 1px solid transparent;
  color: #000; /* black */
}

.calendar .dates div:hover {
  background: #f5e8df;
  transform: scale(1.05);
  cursor: pointer;
  border-color: #e6d6c5;
}

.calendar .dates .highlight {
  background: #a0d8f1; /* baby blue */
  color: #fff; 
  font-weight: 600;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  border: 2px solid #87ceeb;
}

/* ===============================
   COUNTDOWN
================================ */
.countdown-section h1 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #000; /* black */
}

#countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap; /* force single line */
  overflow-x: auto;  /* scroll if screen too small */
  padding: 10px 0;
}

.time-box {
  background-color: rgba(255, 255, 255, 0.3); /* transparent */
  border: 2px solid rgba(135, 206, 235, 0.5); /* baby blue border */
  border-radius: 15px;
  width: 100px;
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.time-box:hover {
  transform: scale(1.05);
}

.time-box span {
  display: block;
  font-size: 2em;
  font-weight: 700;
  color: #87ceeb; /* baby blue */
}

.time-box p {
  margin: 5px 0 0;
  font-size: 1em;
  color: #87ceeb; /* baby blue */
  font-weight: 500;
}

/* ===============================
   LOCATION
================================ */
.location-section h2 {
  font-size: 1.8em;
  color: #000; /* black */
}

.map-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.map-icon {
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: transform 0.2s;
}

.map-icon:hover {
  transform: scale(1.1);
}

/* ===============================
   RSVP
================================ */
.rsvp-section {
  max-width: 400px;
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #000; /* black text */
}

.rsvp-section h2 {
  margin-bottom: 30px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 400px;
}

input,
select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  width: 100%;
}

.btn {
  background: #333;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 25px;
  cursor: pointer;
}

.btn:hover {
  background: #87ceeb; /* baby blue hover */
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
  .calendar, #countdown, .map-links {
    width: 95%;
    margin: auto;
  }
}

@media (max-width: 768px) {
  .calendar {
    width: 100%;
    padding: 15px;
  }
  .month {
    font-size: 1.5em;
  }
  .dates div {
    padding: 15px 0;
  }

  .time-box {
    width: 100px;       /* slightly bigger for tablet */
    padding: 20px 0;
  }
  .time-box span {
    font-size: 1.8em;
  }

  .invitation-card .names {
    font-size: 2.2em;
  }
  .invitation-card .bismillah {
    font-size: 1.6em;
  }
}

@media (max-width: 480px) {
  .calendar {
    width: 100%;
    padding: 10px;
  }
  .month {
    font-size: 1.3em;
  }
  .dates div {
    padding: 10px 0;
    font-size: 0.9em;
  }

  .time-box {
    width: 90px;       /* bigger mobile countdown */
    padding: 18px 0;
  }
  .time-box span {
    font-size: 1.6em;
  }

  .invitation-card .names {
    font-size: 1.8em;
  }
  .invitation-card .bismillah {
    font-size: 1.4em;
  }
  .invitation-card .ceremony {
    font-size: 1.2em;
  }
}
