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

body {
  display: flex;
  flex-direction:column ;
   min-height: 100vh;
  margin: 0;
font-family: Arial, Helvetica, sans-serif;
  background-color: #f0f0f0;
  color: #333;

}
body.home {
  background-image: url('Без названия (22).jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; 
  color: #fff;
}
.top-nav {
  background-color: rgba(232, 232, 232, 0.95);
  border-bottom: 2px solid #ccc;
  display: flex;
  align-items: center;
  padding: 0;
}
body.home main,
body.home footer,
body.home.nav-item {
color: #333;}
body.home.calendar {
  color: #222;
}
body.home.calendar td.meeting-day {
  color: #fff
}
.nav-item {
  padding: 15px 25px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  border-right: 1px solid #ccc;
}

.nav-item:hover {
  background-color: #d8d8d8;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  border: 1px solid #ccc;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}

.dropdown-menu a:hover {
  background-color: #f5f5f5;
}

main {
  padding: 60px 40px;
  flex: 1;
  text-align: center;
}

main h1 {
  color: #0f0f10;
  font-size: 2.5em;
  margin-bottom: 0px;  
}
main h2 {
  color: #0f0f10;
  font-size: 1.4em;
  margin-bottom: 5px;
  margin-top: 5px;
  }
main p {
  color: #0f0f10;
  font-size: 1.5em;
  margin-top: 5px;
}

footer {
  background-color: rgba(0,0,0,0.0);
  color: #000000;
  font-size: 1.2em;
  padding: 20px;
  text-align: center;
  margin-top: 0;
}.calendar {
  max-width: 320px;
  margin: 2rem auto;
  background-color: rgba(255, 255, 255, 0.25); /* 0.3 = 30% opacity */
  padding: 0.5rem;
  font-size: 1em;
  border-radius: 16px;
  text-align: center;
  backdrop-filter: blur(5px); /* optional: adds soft blur behind calendar */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);

}.calendar td.meeting-day {
  background-color: rgba(255, 255, 255,0.7); 
  font-weight: bold;
  border-radius: 8px;
  color: #282424;
  position: relative;
}
.calendar .calendar-month {
  background-color: rgba(255, 255, 255,0.7); 
  font-weight: bold;
  border-radius: 8px;
  font-size: 1.4em;
  color: #282424;
  position: relative;
}
.calendar td.meeting-day:after {
content: "✈";
  display: block;
  font-size: 0.5em;
  margin-top: 0.1em;
}
.calendar table {
 width: 100%;
  border-collapse:collapse ;
}
  .calendar td {
padding:0.3rem 0 ;
}
  .calendar td:empty {
background-color: rgba(255, 255, 255,0.08)   }
.intro {
  color: #555;
  font-size: 1.3em;
  margin: 1rem auto 2rem;

}
.calendar td:empty {
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
}
.cities {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 20px;
}

.city-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}
.city-card:hover {
  transform: translateY(-4px);
}

.city-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.city-info {
  padding: 1.5rem;
}
.city-info h2 {
  margin-top: 0;
  color: #2c3e50;
}
.tagline {
  font-style: italic;
  color: #7f8c8d;
  margin-bottom: 1rem;
}
.city-info ul {
  text-align: left;
  padding-left: 1.5rem;
}
.city-info li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
  /* Food pages styling */
  .food-info {
    max-width: 700px;
    margin: 20px auto;
    padding: 15px;
    background-color: #fff8e1; /* Light yellow/cream background */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
  }

  .food-info ul {
    text-align: left;
    padding-left: 20px;
    margin: 15px auto;
  }

  .food-info p {
    margin: 10px 0;
  }

/* Текст */
.food-caption {
  padding: 16px 18px;
}

.food-caption h3 {
  margin: 0 0 8px;
}

.food-caption p {
  margin: 0;
  color: #555;
  line-height: 1.4;
}
/* Photo ideas */
.photo-list {
  text-align: left;
  max-width: 600px;
  margin: 2rem auto;
  padding-left: 1.5rem;
}
.photo-list li {
  margin-bottom: 0.8rem;
  line-height: 1.5;
}
  /* Photo Ideas Page */
  .photo-ideas-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
  }

  .photo-ideas-page h1 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
  }

  .intro {
    text-align: center;
    color: #555;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
  }

  .photo-ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .idea-card {
    background: white;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s ease;
  }

  .idea-card:hover {
    transform: translateY(-4px);
  }

  .idea-card h3 {
    margin-top: 0;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  /* Themed backgrounds */
  .idea-card.couple { border-top: 4px solid #ffafbd; }
  .idea-card.solo   { border-top: 4px solid #a2d2ff; }
  .idea-card.details{ border-top: 4px solid #caffbf; }

  .idea-gallery {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  aspect-ratio: 1 / 1; /* ← КЛЮЧЕВОЕ ИЗМЕНЕНИЕ */
  position: relative;
}

.idea-gallery .swiper,
.idea-gallery .swiper-wrapper,
.idea-gallery .swiper-slide {
  width: 100%;
  height: 100%;
}

.idea-gallery .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
  padding: 10px;
}

.idea-gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

  .idea-card ul {
    padding-left: 1.2rem;
    margin: 1rem 0;
    color: #444;
    line-height: 1.5;
  }

  .btn-capture {
    width: 100%;
    padding: 0.75rem;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
  }

  .btn-capture:hover {
    background: #e8f4ff;
    border-color: #a2d2ff;
  }

  /* Optional: Add "captured" state with JS later */
  .captured {
    background: #f0fff4;
    border-color: #caffbf;
  }
  .captured .btn-capture {
    background: #caffbf;
    color: white;
  }

  .back-link {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    color: #555;
    text-decoration: none;
    font-weight: 600;
  }

  .back-link:hover {
    color: #007bff;
  }
/* Back link */
.back-link {
  display: inline-block;
  margin-top: 2rem;
  padding: 10px 20px;
  background: #e0e0e0;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
}
.back-link:hover {
  background: #ccc;
}

.bottom-links {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 40px;
  margin-bottom: 20px;
}
body.country-page {
  background-color: #f5f5f5;
  color: #333;
}
.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.country-intro {
  font-size: 1.3em;
  margin-bottom: 20px;
  color: black;
}

.to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #3498db;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.to-top-btn:hover {
  background-color: #1c3b4f;
}
.food-item {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  margin: 40px auto;
  max-width: 600px;
}

/* Instagram-like scroll */
.food-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 0;

  width: 100%;
  height: 320px;
}
.food-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.food-item img {
  width: 100%;        /* занимает всю ширину слайда */
  aspect-ratio: 1/1;  /* квадратная форма */
  object-fit: cover;  /* обрезает фото, если не квадрат */
  border-radius: 8px; /* можно сделать закругление */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.food-caption {
  margin-top: 12px;
  padding: 0 8px;
}  
/* прячем скроллбар */
.food-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: mandatory;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1/1;
  border-radius: 12px;
}

.food-scroll img {
  flex: 0 0 100%;
  height: 100%;
  width: 100%;
  object-fit: cover;
  scroll-snap-align: center;
}

/* текст */
.food-caption {
  padding: 16px 18px;
}

.food-caption h3 {
  margin: 0 0 8px;
}

.food-caption p {
  margin: 0;
  color: #555;
  line-height: 1.4;
}
.food-swiper {
  width: 100%;
  max-width: 400px;   /* размер квадрата */
  aspect-ratio: 1 / 1;
  margin: 20px auto;
}

.food-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.food-swiper img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.food-caption {
flex-shrink: 0;
}
