:root {
  --primary: #1f3552;
  --primary-2: #2a4c73;
  --accent: #f08c2b;
  --accent-hover: #db7a1c;
  --nav: linear-gradient(135deg, #16263b 0%, #1f3552 60%, #2a4c73 100%);
  --bg: #f3f4f6;
  --surface: #ffffff;
  --surface-soft: #eef2f6;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #d7dce2;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  --hero-overlay: linear-gradient(135deg, rgba(31, 53, 82, 0.96), rgba(42, 76, 115, 0.92));
  --footer-bg: linear-gradient(135deg, #16263b 0%, #1f3552 55%, #2a4c73 100%);
}

html[data-theme="dark"] {
  --primary: #8db7e8;
  --primary-2: #5f8fc7;
  --accent: #f39a3f;
  --accent-hover: #ffab56;
  --nav: linear-gradient(135deg, #0d141d 0%, #16263b 60%, #1b314d 100%);
  --bg: #111418;
  --surface: #1a1f25;
  --surface-soft: #222932;
  --text: #f3f4f6;
  --muted: #b5bfca;
  --border: #333b45;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  --hero-overlay: linear-gradient(135deg, rgba(10, 15, 22, 0.95), rgba(29, 49, 73, 0.92));
  --footer-bg: linear-gradient(135deg, #0d141d 0%, #16263b 55%, #1b314d 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background-color 0.25s ease, color 0.25s ease;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

html[data-theme="dark"] .site-header {
  background: rgba(26, 31, 37, 0.92);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.brand-title {
  margin: 0;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  line-height: 1;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  flex-shrink: 0;
}

.theme-button {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.theme-button:hover {
  transform: translateY(-1px);
}

.nav {
  background: var(--nav);
  border-top: 4px solid var(--accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.nav-inner {
  display: flex;
  gap: 26px;
  padding: 14px 0;
  overflow-x: auto;
}

.nav-inner a {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  font-size: 0.95rem;
}

.nav-inner a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(240, 140, 43, 0.6);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    var(--hero-overlay),
    radial-gradient(circle at 18% 18%, rgba(240, 140, 43, 0.50), transparent 22%),
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.16), transparent 18%),
    radial-gradient(circle at 50% 82%, rgba(240, 140, 43, 0.24), transparent 28%),
    radial-gradient(circle at 30% 70%, rgba(255, 180, 90, 0.16), transparent 20%),
    linear-gradient(135deg, #16263b 0%, #1f3552 45%, #2a4c73 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 60%);
  animation: rotateGlow 24s linear infinite;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 2px,
      transparent 2px,
      transparent 24px
    );
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 92px 0 86px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.hero-copy p {
  margin: 0 0 18px;
  max-width: 720px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.hero-card {
  background: rgba(9, 16, 26, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.hero-card p {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.9);
}

.hero-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.hero-card li {
  margin-bottom: 8px;
}

.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(240, 140, 43, 0.35);
  position: relative;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 12px 26px rgba(240, 140, 43, 0.45);
  transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.section {
  padding: 78px 0;
}

.section-alt {
  background: var(--surface-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--primary);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.photo-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 280px;
  position: relative;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, filter 0.45s ease;
  animation: photoFloat 12s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform, filter;
}

.photo-card:hover img {
  animation-play-state: paused;
  transform: scale(1.03);
}

.photo-card:nth-child(2) img {
  animation-delay: -3s;
}

.photo-card:nth-child(3) img {
  animation-delay: -6s;
}

.photo-card:nth-child(4) img {
  animation-delay: -9s;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 14, 24, 0.18) 100%);
  opacity: 0.75;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.photo-card:hover::after,
.photo-card.is-active::after {
  opacity: 0.28;
}

.photo-card.is-active {
  box-shadow: 0 18px 40px rgba(31, 53, 82, 0.22), 0 0 0 2px rgba(240, 140, 43, 0.22);
}

.photo-card.is-active img {
  animation-play-state: paused;
  filter: saturate(1.08) brightness(1.04);
  transform: scale(1.035);
}

.lightbox-image {
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 20, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 999;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.photo-card-large {
  grid-row: span 2;
  min-height: 100%;
}

.photo-card-wide {
  grid-column: span 2;
  min-height: 360px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  color: var(--text);
}

.card .small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin: 6px 0 12px;
}

.list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.list li {
  margin-bottom: 8px;
}

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.highlight-box {
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-card {
  display: grid;
  gap: 16px;
}

.contact-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.contact-label {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.site-footer {
  background: var(--footer-bg);
  color: #ffffff;
  padding: 28px 0;
  border-top: 4px solid var(--accent);
  position: relative;
  overflow: hidden;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 1;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(240, 140, 43, 0.18), transparent 20%),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.08), transparent 18%);
  pointer-events: none;
}

@keyframes photoFloat {
  0% {
    transform: scale(1.01) translateY(0px);
  }

  50% {
    transform: scale(1.03) translateY(-4px);
  }

  100% {
    transform: scale(1.01) translateY(0px);
  }
}

@keyframes rotateGlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 920px) {
  .hero-inner,
  .about-layout,
  .contact-layout,
  .grid-3,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-card-large,
  .photo-card-wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: center;
    flex-wrap: nowrap;
  }

  .header-actions {
    width: auto;
    justify-content: flex-end;
    margin-left: auto;
  }

  .hero-inner {
    padding: 72px 0 66px;
  }

  .section {
    padding: 60px 0;
  }

  .nav-inner {
    gap: 18px;
  }

  .brand img {
    height: 48px !important;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .photo-card.is-active {
    box-shadow: 0 14px 30px rgba(31, 53, 82, 0.18), 0 0 0 2px rgba(240, 140, 43, 0.18);
  }
}