/* 
* NordHollow.click - Main Stylesheet
* Theme: Nordic/Egyptian Fusion - Stone of Pharaoh
*/

/* Import Google Fonts - Marcellus (serif for headings) and Quicksand (sans-serif for body) */
@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Quicksand:wght@300;400;500;600;700&display=swap');

/* CSS Reset and Base Styles */
:root {
  /* Color palette - Nordic meets Egyptian */
  --primary: #1c2e4a;      /* Deep blue - Nordic night sky */
  --primary-dark: #0f172a; /* Darker blue */
  --secondary: #c9b200;    /* Gold - Egyptian treasures */
  --secondary-light: #e0a800; /* Lighter gold */
  --accent: #3f826d;       /* Teal - Northern lights touch */
  --text: #e6e9ef;         /* Light text for dark backgrounds */
  --text-dark: #0f172a;    /* Dark text for light backgrounds */
  --bg-light: #f0f2f5;     /* Light background */
  --bg-dark: #121a2e;      /* Dark background */
  --card-bg: rgba(15, 23, 42, 0.8); /* Semi-transparent card background */
  --danger: #c53030;       /* Red for warnings/alerts */
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--primary-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(63, 130, 109, 0.15), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(201, 178, 0, 0.1), transparent 30%),
    conic-gradient(from 45deg at 50% 50%, var(--primary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Marcellus', serif;
  color: var(--secondary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

a {
  color: var(--secondary-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

p {
  margin-bottom: 1rem;
}

main {
  flex: 1;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

section {
  margin: 4rem 0;
}

/* Header and Navigation */
header {
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

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

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

.logo img {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

.logo-text {
  font-family: 'Marcellus', serif;
  font-size: 1.5rem;
  color: var(--secondary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--text);
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.4;
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  padding: 2rem;
  border-radius: 8px;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(45deg, var(--secondary), var(--secondary-light));
  color: var(--text-dark);
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  background: linear-gradient(45deg, var(--secondary-light), var(--secondary));
}

/* About Section */
.about {
  padding: 3rem 0;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content {
  padding-right: 2rem;
}

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

/* Features Section */
.features {
  padding: 3rem 0;
}

.features-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: linear-gradient(to bottom right, rgba(28, 46, 74, 0.9), rgba(15, 23, 42, 0.9));
  padding: 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  border-left: 4px solid var(--secondary);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(63, 130, 109, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card:hover::before {
  transform: translateX(100%);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Game Section */
.game-section {
  padding: 2rem 0;
}

.game-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--bg-dark);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

.game-header {
  padding: 1.5rem;
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  text-align: center;
}

.game-frame {
  width: 100%;
  height: 600px;
  border: none;
}

/* Disclaimer Card & Popup */
.disclaimer-card {
  background-color: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 800px;
  position: relative;
}

.disclaimer-title {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.disclaimer-title::before {
  content: "⚠️";
  margin-right: 8px;
}

.age-verify-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1rem;
}

.age-popup-content {
  background-color: var(--primary);
  border: 2px solid var(--secondary);
  border-radius: 8px;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.age-popup-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.confirm-button {
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.confirm-yes {
  background-color: var(--accent);
  color: white;
}

.confirm-no {
  background-color: var(--danger);
  color: white;
}

.confirm-button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: linear-gradient(to top, var(--primary-dark), var(--primary));
  padding: 3rem 0 1rem;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--secondary), transparent);
}

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

.footer-column h3 {
  position: relative;
  padding-bottom: 0.8rem;
  margin-bottom: 1.5rem;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary-light);
  text-decoration: none;
}

.footer-disclaimer {
  background-color: rgba(15, 23, 42, 0.8);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.7;
}

/* Contact Page */
.contact-section {
  padding: 3rem 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
}

.contact-info-item i {
  margin-right: 1rem;
  color: var(--secondary);
  font-size: 1.2rem;
}

.contact-form {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--text);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
}

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

/* Legal Pages (Privacy, Terms, Disclaimer) */
.legal-page {
  max-width: 900px;
  margin: 2rem auto;
  background-color: var(--card-bg);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.legal-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.legal-section h3 {
  font-size: 1.2rem;
  color: var(--secondary-light);
  margin: 1rem 0;
}

.legal-list {
  margin: 1rem 0 1rem 2rem;
}

.legal-list li {
  margin-bottom: 0.5rem;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-content {
    padding-right: 0;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 110px; /* Increased from 70px to 110px to move menu below logo */
    left: 0;
    width: 100%;
    background-color: var(--primary-dark);
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
  }
  
  .main-nav.show {
    height: auto;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }
  
  .game-frame {
    height: 450px;
  }
  
  .legal-page {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
  }
  
  section {
    margin: 2rem 0;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
  
  .game-frame {
    height: 350px;
  }
  
  .age-popup-content {
    padding: 1.5rem;
  }
  
  .age-popup-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .footer-content {
    gap: 2rem;
  }
  
  .legal-page {
    padding: 1rem;
  }
}