@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root {
  --text-primary: #f7f7fb;
  --text-secondary: #374151;
  --surface: rgba(255, 255, 255, 0.24);
  --surface-strong: rgba(255, 255, 255, 0.32);
  --border-soft: rgba(255, 255, 255, 0.5);
  --accent-warm: #8d2728;
  --accent-cool: #28692c;
  --shadow: 0 24px 42px rgba(16, 11, 42, 0.32);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color: var(--text-primary);
  
  background-color: #ffffff;
  
  background-image:
    radial-gradient(circle at 5% 150px, rgba(22, 111, 59, 0.95) 0%, transparent 800px),
    radial-gradient(circle at 85% 150px, rgba(138, 38, 27, 0.95) 0%, transparent 800px),
    
    linear-gradient(180deg, rgba(22, 111, 59, 0.12) 0%, rgba(138, 38, 27, 0.12) 85%, transparent 98%);
    
  background-repeat: no-repeat;
  
  min-height: 100vh;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 1rem auto 0;
  width: min(1000px, calc(100% - 2rem));
  padding: 0.7rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: 44px;
  width: auto;
  display: block;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  display: inline-block;
  text-decoration: none;
  color: #0f1724;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

nav a:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.22);
}

header nav a {
  color: #111827;
}

header nav a:hover {
  color: #111827;
  background: rgba(17, 24, 39, 0.08);
  border-color: rgba(17, 24, 39, 0.12);
}

header nav a:active {
  color: #111827;
  background: rgba(17, 24, 39, 0.12);
  border-color: rgba(17, 24, 39, 0.14);
}

header nav a:focus {
  outline: none;
}

header nav a:focus-visible {
  outline: 2px solid rgba(17, 24, 39, 0.35);
  outline-offset: 1px;
}

main {
  max-width: 1000px;
  margin: 1.5rem auto 0;
  padding: 0 1rem 3rem;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2 {
  margin-top: 0;
  color: #2f2f2f;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 1.3rem;
}

h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
}

p {
  color: var(--text-secondary);
  line-height: 1.65;
}

.hero-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
}

.card {
  padding: 1.2rem 1.35rem;
  margin-top: 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.14) 100%
  );
  backdrop-filter: blur(8px);
  box-shadow: 0 15px 24px rgba(10, 8, 30, 0.26);
}

.menu-list {
  display: grid;
  gap: 1rem;
}

.menu-item {
  padding: 1rem 1.2rem;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.14) 100%
  );
  backdrop-filter: blur(8px);
  box-shadow: 0 15px 24px rgba(10, 8, 30, 0.26);
  position: relative;
  overflow: hidden;
}

.menu-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--accent-cool), var(--accent-warm));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.gallery-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 12px 20px rgba(13, 9, 35, 0.25);
  transition: transform 0.25s ease;
}

.gallery-grid img:hover {
  transform: translateY(-4px);
}

footer {
  width: min(1000px, calc(100% - 2rem));
  margin: 0 auto 1.2rem;
  padding: 1rem;
  text-align: center;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #f3f4f6;
  color: #374151;
}

.fixed-corner,
.bottom-right,
.corner {
  background: #f3f4f6 !important;
  color: #374151 !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
}

iframe {
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: 12px;
}

@media (max-width: 960px) {
  header {
    width: min(1000px, calc(100% - 1.25rem));
    padding: 0.65rem;
    gap: 0.8rem;
  }

  nav {
    width: 100%;
  }

  nav ul {
    justify-content: center;
  }

  nav a {
    padding: 0.5rem 0.85rem;
    font-size: 0.93rem;
  }

  main {
    margin-top: 1.1rem;
    padding: 0 0.85rem 2.4rem;
  }

  .hero-photo {
    height: 340px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  header {
    position: static;
    margin-top: 0.65rem;
    border-radius: 14px;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.92);
  }

  .logo {
    height: 38px;
  }

  nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 0.5rem;
  }

  nav ul li {
    flex: 0 1 calc((100% - 1rem) / 3);
    max-width: 180px;
  }

  nav a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.92rem;
  }

  .hero-photo {
    height: 290px;
    border-radius: 16px;
  }

  .card {
    padding: 1rem 1rem;
    border-radius: 14px;
    backdrop-filter: none;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.14) 100%
    );
  }

  .menu-item {
    backdrop-filter: none;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.14) 100%
    );
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 0.75rem;
  }

  .gallery-grid img {
    height: 145px;
  }

  footer {
    width: min(1000px, calc(100% - 1.25rem));
    margin-bottom: 0.8rem;
    padding: 0.9rem;
    font-size: 0.95rem;
  }

  #lightbox {
    padding: 1.4rem 0.6rem;
  }

  .lightbox-close {
    top: 12px;
    right: 16px;
    font-size: 38px;
  }

  .lightbox-btn {
    font-size: 26px;
    padding: 10px 14px;
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (max-width: 480px) {
  header {
    width: calc(100% - 1rem);
    padding: 0.55rem;
    gap: 0.65rem;
  }

  nav a {
    padding: 0.46rem 0.62rem;
    font-size: 0.86rem;
  }

  nav ul li {
    max-width: 160px;
  }

  main {
    padding: 0 0.6rem 2rem;
  }

  h1 {
    margin-bottom: 1rem;
  }

  p,
  .card ul,
  .card li {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .main-logo {
    padding: 0.35rem 0.75rem;
  }

  .hero-photo {
    height: 240px;
  }

  .gallery-grid img {
    height: 135px;
  }

  iframe {
    min-height: 240px;
  }

  .wine-price {
    display: block;
    margin-top: 0.1rem;
  }
}

@media (max-width: 960px) {
  .card,
  .menu-item {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (hover: none) and (pointer: coarse) {
  .card,
  .menu-item {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  header {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.4);
  }
}

@media (max-width: 640px) {
  header {
    margin-top: 0.75rem;
  }

  nav ul {
    justify-content: center;
  }

  .hero-photo {
    height: 300px;
  }
}

.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.main-logo {
  width: min(100%, 520px);
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
  background-color: #ffffff;
  padding: 0.5rem 1rem;
}

.card h2,
.card h3 {
  color: #111827;
}

.card p,
.card small {
  color: #374151;
  font-weight: 500;
}

.card ul,
.card li {
  color: #374151;
  font-weight: 500;
  line-height: 1.65;
}

.card ul {
  margin-top: 0;
  padding-left: 1.2rem;
}


.lightbox-hidden {
  display: none !important;
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2rem 1rem;
  overflow: auto;
  background-color: rgba(17, 24, 39, 0.95);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

#lightbox-img {
  max-width: min(92vw, 1200px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: opacity 0.2s ease-in-out;
  cursor: zoom-out;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #ffffff;
  font-size: 45px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: #ff4d4d;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 35px;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.gallery-grid img {
  cursor: pointer;
}