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

:root {
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  
  --grad-ice: linear-gradient(135deg, #4fc3f7, #b0bec5);
  --grad-aurora: linear-gradient(135deg, #27ae60, #1abc9c);
  --grad-sunset: linear-gradient(135deg, #ffb74d, #f2c94c);
  
  --glass-bg: rgba(26, 26, 26, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  --border-radius: 14px;
  --max-width: 1300px;
  
  --spacing-desktop: 70px;
  --spacing-tablet: 50px;
  --spacing-mobile: 35px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.accent-ice { background: var(--grad-ice); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.accent-aurora { background: var(--grad-aurora); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 15px;
}

h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-aurora);
  transition: width 0.3s ease;
}

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

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-primary);
}

.hamburger svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(rgba(255,255,255,0.2), transparent);
  border-radius: 50px 50px 0 0;
}

.btn-primary {
  background: var(--grad-ice);
  color: #000;
  box-shadow: 0 4px 15px rgba(79, 195, 247, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 195, 247, 0.5);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: #222;
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.3);
}

.btn-aurora {
  background: var(--grad-aurora);
  color: #000;
}

.btn-aurora:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

/* Sections */
section {
  padding: var(--spacing-desktop) 0;
}

.hero {
  padding-top: calc(var(--spacing-desktop) + 80px); /* Account for sticky header */
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(45deg, rgba(39, 174, 96, 0.2), transparent);
  pointer-events: none;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
  transition: transform 0.7s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.05);
}

/* Cards System */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.card {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 30%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.03), transparent);
  pointer-events: none;
  z-index: 2;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 195, 247, 0.4);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image {
  transform: scale(1.05);
}

.card-image-wrapper {
  position: relative;
  overflow: hidden;
}

.card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.card-location {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.amenity {
  font-size: 0.75rem;
  background: rgba(255,255,255,0.05);
  padding: 4px 10px;
  border-radius: 4px;
  color: #ccc;
  border: 1px solid rgba(255,255,255,0.1);
}

.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 15px;
}

.price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Horizontal Scroll / Packages */
.horizontal-scroll {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.horizontal-scroll::-webkit-scrollbar {
  height: 6px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
}

.package-card {
  min-width: 350px;
  flex: 0 0 auto;
}

/* Split Section (Discover) */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(to right, var(--bg-secondary), var(--bg-primary));
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.split-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.split-content {
  padding: 40px;
}

/* Destinations Grid */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.dest-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 250px;
  cursor: pointer;
}

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

.dest-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

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

/* Contact Section */
.contact-container {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #4fc3f7;
  box-shadow: 0 0 10px rgba(79, 195, 247, 0.2);
}

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

/* Page Headers (for inner pages) */
.page-header {
  text-align: center;
  padding: calc(var(--spacing-desktop) + 80px) 0 var(--spacing-desktop);
  background: linear-gradient(to bottom, rgba(26,26,26,0.8), var(--bg-primary)), url('images/finland-aurora-bg.jpg') center/cover no-repeat;
  border-bottom: 1px solid var(--glass-border);
}

/* Text Content Pages */
.text-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-secondary);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
}

.text-content-wrapper h2 {
  margin-top: 30px;
}

.text-content-wrapper ul {
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--text-secondary);
}

/* Footer */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 50px 0 20px;
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #4fc3f7;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #777;
  font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .split-section {
    grid-template-columns: 1fr;
  }
  .split-image {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  section { padding: var(--spacing-tablet) 0; }
  h2 { font-size: 2rem; }
  
  .hamburger { display: block; }
  
  .nav-links {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 60px);
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 40px 20px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    transition: right 0.3s ease;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-actions {
    display: none; /* Hide primary button on mobile nav header */
  }
}

@media (max-width: 480px) {
  section { padding: var(--spacing-mobile) 0; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}