:root {
  --primary-bg: #f9f9fb;
  --primary-accent: #5066c5;
  --text-color: #212336;
  --header-padding: 1.25rem;
  --flag-size: 2rem;
}

body {
  margin: 0;
  background: var(--primary-bg);
  color: var(--text-color);
  font-family: 'Inter', Arial, sans-serif;
}

/* Header */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;       /* Center horizontally */
  justify-content: center;   /* Optional: center vertically if you want more vertical spacing */
  padding: var(--header-padding) 1rem 0.5rem 1rem;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(70,70,110,0.06);
  border-radius: 0 0 1.5rem 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;       /* Center text and inline elements */
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  text-align: center;
}

.lang-selector {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
  justify-content: center;    /* Center flag row horizontally */
}

.lang-selector a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  transition: box-shadow 0.2s;
  width: var(--flag-size);
  height: var(--flag-size);
  background: #f4f5f9;
  border: 1.5px solid #eee;
}

.lang-selector a:hover,
.lang-selector a:focus {
  box-shadow: 0 0 0 3px var(--primary-accent, #5066c5);
  outline: none;
}

.lang-selector img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 600px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: var(--header-padding) 2rem 1rem 2rem;
    text-align: left;         /* Return to left-align on desktop */
  }
  .brand-title {
    margin-bottom: 0;
    text-align: left;
  }
  .lang-selector {
    justify-content: flex-end;
  }
}


.photo-menu {
  max-width: 1100px;
  margin: 0 auto 2.5rem auto;
  padding: 0 1rem;
}

.section-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-accent);
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
}
.photo-card {
  background: linear-gradient(145deg, #f8fafd 65%, #e8ebf6 100%);
  border-radius: 2rem;
  box-shadow: 0 8px 40px 0 rgba(80, 102, 197, 0.13), 0 2px 6px 0 rgba(160,180,255,0.04);
  overflow: hidden;
  transition: transform 0.19s cubic-bezier(.39,.34,.32,.94), box-shadow 0.19s;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.photo-card:hover,
.photo-card:focus-within {
  transform: translateY(-5px) scale(1.018);
  box-shadow: 0 16px 48px 0 rgba(80, 102, 197, 0.20), 0 4px 12px 0 rgba(160,180,255,0.09);
}

.photo-image {
  position: relative;
  width: 100%;
  /* aspect-ratio: 4/3; */
  background: #e5e8f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.6rem 1.6rem 0 0;
  isolation: isolate;
}

.photo-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: auto;
}


.photo-card:hover .photo-image img,
.photo-card:focus-within .photo-image img {
  transform: scale(1.06);
  filter: brightness(0.98) saturate(1.10);
}


.photo-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.6rem 1.6rem 0 0;
  background: linear-gradient(to top, rgba(255,255,255,0.05) 60%, rgba(80,102,197,0.04) 100%);
  z-index: 1;
  pointer-events: none;
}

.photo-title {
  width: 100%;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1.1rem;
  font-size: 1.19rem;
  font-weight: 600;
  color: #3b4079;
  letter-spacing: 0.08em;
  position: relative;
}


.photo-title::after {
  content: "";
  display: block;
  margin: 0.45rem auto 0 auto;
  width: 1.8rem;
  height: 2.5px;
  background: linear-gradient(90deg, #5066c5 30%, #86abe2 100%);
  border-radius: 2px;
  opacity: 0.5;
}


/* Responsive grid */
@media (min-width: 500px) {
  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 900px) {
  .photo-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .photo-menu {
    padding: 0;
  }
}


.contact-section {
  max-width: 440px;
  margin: 3.2rem auto 2.2rem auto;
  background: linear-gradient(120deg, #fff 86%, #f6f8fb 100%);
  border-radius: 1.8rem;
  box-shadow: 0 8px 38px 0 rgba(80,102,197,0.09), 0 1px 2px 0 rgba(160,180,255,0.07);
  padding: 2.3rem 2rem 1.7rem 2rem;
  border: 1.5px solid #ecedf7;
}

.section-title.section-title-pill {
  display: inline-block;
  margin: 0 auto 2.2rem auto;
  background: linear-gradient(90deg, #dee7ff 30%, #f5f7fa 100%);
  color: #5066c5;
  padding: 0.32em 1.3em 0.25em 1.3em;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1.13rem;
  letter-spacing: 0.09em;
  box-shadow: 0 1px 6px 0 rgba(80,102,197,0.07);
  text-align: center;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.23rem;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f6f8fc;
  border-radius: 1.2rem;
  padding: 0.78em 1.2em 0.78em 1.2em;
  box-shadow: 0 1px 7px 0 rgba(140,170,250,0.04);
  font-size: 1.09rem;
  margin-bottom: 0.14rem;
}

.contact-label {
  color: #7b85ad;
  font-weight: 500;
  font-size: 1.01rem;
  letter-spacing: 0.06em;
  min-width: 70px;
}

.contact-value {
  color: #2c315a;
  font-family: 'Fira Mono', 'Consolas', 'Monaco', monospace;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.contact-value a {
  color: #3b53b3;
  background: #eef2fb;
  padding: 0.13em 0.53em;
  border-radius: 0.8em;
  text-decoration: none;
  transition: background 0.17s, color 0.18s;
}

.contact-value a:hover,
.contact-value a:focus {
  color: #fff;
  background: #5066c5;
  text-decoration: underline solid;
}

/* Responsive: shrink padding and font-size a bit on mobile */
@media (max-width: 600px) {
  .contact-section {
    padding: 1.2rem 0.6rem 1.1rem 0.6rem;
    max-width: 98vw;
  }
  .section-title.section-title-pill {
    font-size: 1rem;
    padding: 0.25em 1em;
  }
  .contact-row {
    font-size: 1rem;
    padding: 0.6em 0.7em;
  }
}


.comments-section {
  max-width: 680px;
  margin: 2.9rem auto 2.6rem auto;
  background: linear-gradient(135deg, #f7faff 84%, #f1f3fa 100%);
  border-radius: 1.6rem;
  box-shadow: 0 4px 34px 0 rgba(80,102,197,0.10), 0 1px 2px 0 rgba(160,180,255,0.05);
  padding: 2.2rem 1.3rem 2rem 1.3rem;
  border: 1.2px solid #ecedf7;
}

.comments-title {
  text-align: center;
  color: #5066c5;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 1.9rem;
  letter-spacing: 0.06em;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.45rem;
}

.comment-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 2px 18px 0 rgba(80,102,197,0.06);
  padding: 1.25rem 1rem 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.16s;
}

.comment-card:hover,
.comment-card:focus-within {
  box-shadow: 0 6px 30px 0 rgba(80,102,197,0.13);
}

.comment-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #eef2fb;
  box-shadow: 0 1px 6px 0 rgba(120,150,210,0.08);
  margin-bottom: 0.73rem;
  background: #e5e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.comment-name {
  font-weight: 700;
  color: #5066c5;
  font-size: 1.07rem;
  margin-bottom: 0.3rem;
  letter-spacing: 0.03em;
}

.comment-text {
  color: #42446e;
  font-size: 1.04rem;
  line-height: 1.45;
  margin-bottom: 0.62rem;
  font-weight: 400;
}

.comment-date {
  font-size: 0.98rem;
  color: #90a1cb;
  font-style: italic;
  letter-spacing: 0.02em;
  margin-top: 0.14rem;
}

@media (max-width: 600px) {
  .comments-section {
    padding: 1.1rem 0.2rem 1.1rem 0.2rem;
    max-width: 99vw;
  }
}


.site-motto {
  margin-top: 0.75rem;
  margin-bottom: 1.35rem;
  text-align: center;
  font-size: 1.13rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  color: #7b85ad;
  font-style: italic;
  opacity: 0.96;
  transition: color 0.18s;
}

@media (min-width: 600px) {
  .site-motto {
    font-size: 1.15rem;
    margin-bottom: 2.1rem;
  }
}


.promo-bar {
  width: fit-content;
  max-width: 98vw;
  margin: 0.5rem auto 2.1rem auto;
  padding: 0.62em 2.2em;
  background: linear-gradient(90deg, #f7faff 80%, #e7edfa 100%);
  color: #5066c5;
  border-radius: 2.5em;
  box-shadow: 0 2px 18px 0 rgba(80,102,197,0.10);
  font-size: 1.13rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.19s, background 0.22s;
  cursor: pointer;
  user-select: none;
  border: 1.5px solid #dee7ff;
  position: relative;
  z-index: 2;
  animation: promoPulse 1.2s infinite;



}

.promo-bar strong {
  color: #3c4d9c;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.promo-bar:hover,
.promo-bar:focus {
  box-shadow: 0 6px 30px 0 rgba(80,102,197,0.17);
  background: linear-gradient(90deg, #ecf2fd 70%, #dee7ff 100%);
}

@media (max-width: 600px) {
  .promo-bar {
    font-size: 1rem;
    padding: 0.52em 1.2em;
    margin-bottom: 1.5rem;
  }
}



@keyframes promoPulse {
  0%, 100%   { box-shadow: 0 2px 18px 0 rgba(80,102,197,0.10); opacity: 1; }
  45%        { box-shadow: 0 6px 38px 0 rgba(80,102,197,0.22); opacity: 0.92; }
  60%        { box-shadow: 0 4px 28px 0 rgba(80,102,197,0.16); opacity: 1; }
}



.photo-comment-box {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 1rem 0 0.7rem 0;
  background: linear-gradient(90deg, #f7faff 80%, #e7edfa 100%);
  border-radius: 1.1rem;
  box-shadow: 0 2px 12px 0 rgba(80,102,197,0.06);
  padding: 0.72rem 1.2rem 0.88rem 1rem;
  position: relative;
}

.photo-comment-box::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: -0.58rem;
  width: 20px;
  height: 20px;
  background: #f7faff;
  border-radius: 50%;
  z-index: 0;
  filter: blur(2px);
  opacity: 0.6;
  display: none; /* Uncomment for a "speech bubble tip" effect */
}

.photo-comment-box .comment-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #e4eafd;
  box-shadow: 0 1px 3px 0 rgba(120,150,210,0.05);
  flex-shrink: 0;
  background: #e5e8f0;
}

.photo-comment-box .comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.photo-comment-body {
  flex: 1;
}

.photo-comment-name {
  font-weight: 600;
  color: #5066c5;
  font-size: 0.98rem;
  margin-bottom: 0.13rem;
  letter-spacing: 0.02em;
}

.photo-comment-text {
  color: #42446e;
  font-size: 0.99rem;
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 0.08rem;
  opacity: 0.95;
}


.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.39,.34,.32,.94), transform 0.7s cubic-bezier(.39,.34,.32,.94);
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}


#category-tabs {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.category-tab {
  border: none;
  background: #eef2fb;
  color: #5066c5;
  font-weight: 600;
  padding: 0.47em 1.2em;
  border-radius: 1.3em;
  font-size: 1.06rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.category-tab.active,
.category-tab:hover {
  background: linear-gradient(90deg, #dee7ff 30%, #e6eafd 100%);
  color: #2c315a;
}

.carousel-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5vw;
}
.carousel-photo-card {
  min-width: 260px;
  max-width: 500px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.carousel-arrow {
  background: #e8ebf6;
  color: #5066c5;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 1vw;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(80,102,197,0.10);
  transition: background 0.18s, color 0.18s;
}
.carousel-arrow:disabled {
  opacity: 0.37;
  pointer-events: none;
}
.carousel-indicator {
  text-align: center;
  color: #7b85ad;
  font-size: 1rem;
  margin-top: 0.6rem;
  font-weight: 500;
}

@media (max-width: 600px) {
  .carousel-main {
    gap: 1vw;
  }
  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
}


/* --- Promo Reveal Animations --- */
.promo-bar {
  transition: all 0.5s ease-in-out;
  transform-style: preserve-3d;
  cursor: pointer;
  position: relative;
  perspective: 800px;
}

.promo-bar.revealed {
  animation: flipReveal 0.7s ease forwards;
}

@keyframes flipReveal {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

#promo-text {
  transition: opacity 0.3s ease, transform 0.5s ease;
}

#promo-code {
  display: block;
  opacity: 0;
  transform: scale(0.8);
  font-weight: 700;
  color: #2c315a;
  margin-top: 0.3rem;
  letter-spacing: 0.04em;
  text-shadow: 0 0 8px rgba(80, 102, 197, 0.2);
  animation: glow 1.8s infinite alternate;
}

.revealed #promo-code {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@keyframes glow {
  0% { text-shadow: 0 0 6px rgba(80, 102, 197, 0.2); }
  100% { text-shadow: 0 0 18px rgba(80, 102, 197, 0.45); }
}
