/* Revontuli Kasinohotelli - Premium Aurora Resort Theme */
:root {
  --bg: #0a1118;
  --bg-elev: #111a24;
  --surface: #16202c;
  --surface-2: #1f2a38;
  --text: #e8f1f8;
  --text-muted: #a3b4c6;
  --accent: #5eead4;
  --accent-2: #34d399;
  --accent-3: #7dd3fc;
  --gold: #c5b38a;
  --border: rgba(163, 180, 198, 0.15);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 4.5vw, 2.85rem); }
h3 { font-size: 1.45rem; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-2);
}

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

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 17, 24, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo span {
  color: var(--accent);
  font-size: 0.82em;
}

.nav-links {
  display: flex;
  gap: 2.1rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 6px 0;
  position: relative;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-links a:hover:after {
  width: 100%;
}

.nav-cta {
  padding: 10px 22px;
  background: var(--accent);
  color: #0a1118 !important;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-cta:hover {
  background: var(--accent-2);
  color: #0a1118 !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-color: #0a1118;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,17,24,0.55) 0%,
    rgba(10,17,24,0.35) 35%,
    rgba(10,17,24,0.75) 75%,
    rgba(10,17,24,0.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 20px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.9rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.hero .subtitle {
  font-size: 1.25rem;
  color: #c8d9e8;
  max-width: 560px;
  margin: 0 auto 2.2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #0a1118;
}

.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.85);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section.alt {
  background: var(--bg-elev);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.6rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* Story / Intro */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text p {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.story-text .highlight {
  color: var(--text);
  font-style: italic;
}

/* Cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-img img {
  transform: scale(1.04);
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.975rem;
  margin: 0;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.85rem;
}

/* Two column feature */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.feature.reverse {
  grid-template-columns: 1fr 1fr;
}

.feature.reverse .feature-media {
  order: 2;
}

.feature-media {
  position: relative;
}

.feature-media img {
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.feature-text h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.feature-text p {
  color: var(--text-muted);
}

/* Amenities / Mood */
.amenities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.amenity {
  background: var(--surface);
  padding: 2rem 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.amenity h4 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.amenity p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* Evening teaser */
.evening {
  background: linear-gradient(135deg, #0f1a26 0%, #16202c 100%);
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.evening-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.evening .tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(94, 234, 212, 0.1);
  color: var(--accent);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* Kasino specific */
.kasino-hero {
  min-height: 78vh;
  background-position: center 30%;
}

.kasino-intro {
  max-width: 720px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.game {
  background: var(--surface-2);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.game h4 {
  margin-bottom: 0.3rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
}

.contact-info h3 {
  margin-bottom: 1.4rem;
}

.contact-info p {
  margin: 0.35rem 0;
  color: var(--text-muted);
}

.contact-info .detail {
  margin-top: 1.6rem;
}

.contact-info .detail strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.form {
  background: var(--surface);
  padding: 2.25rem;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.form label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  margin-top: 1rem;
}

.form label:first-child {
  margin-top: 0;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.2s;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--accent);
}

.form textarea {
  min-height: 128px;
  resize: vertical;
}

.form button {
  margin-top: 1.4rem;
  width: 100%;
}

.success {
  display: none;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid var(--accent-2);
  color: var(--accent-2);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-top: 1rem;
  text-align: center;
}

/* Footer */
.footer {
  background: #070c12;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

.copyright {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  text-align: center;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 860px) {
  .story,
  .feature,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .feature.reverse .feature-media {
    order: 0;
  }

  .nav-links {
    gap: 1.35rem;
  }

  .nav-inner {
    height: 68px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  
  .hero h1 {
    font-size: 2.55rem;
  }

  .section {
    padding: 4rem 0;
  }
}

/* Subtle aurora accents */
.accent-line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  margin: 3rem 0;
}

/* Image captions */
.img-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  letter-spacing: 0.02em;
}

/* Booking info */
.info-block {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
}