/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@500;700&display=swap');

:root {
  --primary: #0b1d3a;
  --primary-dark: #050e1d;
  --accent: #c9a43c;
  --accent-light: #e0b045;
  --text-light: #f4f4f9;
  --text-dark: #333333;
  --text-muted: #666666;
  --white: #ffffff;
  --glass: rgba(11, 29, 58, 0.85);
  --glass-border: rgba(255, 255, 255, 0.1);

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.2);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
}

header.scrolled {
  padding: 1rem 5%;
  background: var(--glass);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

header .logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

header .logo span {
  color: var(--accent);
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  position: relative;
}

nav a:hover,
nav a.active {
  color: var(--accent);
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s;
}

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

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 0 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(11, 29, 58, 0.7), rgba(11, 29, 58, 0.5));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.page-header {
  height: 50vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 29, 58, 0.8);
}

.page-header h1 {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: 3rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 164, 60, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  margin-left: 1rem;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* Sections */
.section {
  padding: 5rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: 4px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  border-bottom: 4px solid transparent;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--accent);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 5% 1rem;
}

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

.footer-col h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

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

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.socials {
  display: flex;
  gap: 1rem;
}

.socials i {
  font-size: 1.2rem;
  color: var(--white);
  transition: color 0.3s;
}

.socials i:hover {
  color: var(--accent);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .menu-toggle {
    display: block;
  }

  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }

  nav ul.active {
    right: 0;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 29, 58, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  padding: 3rem;
  width: 90%;
  max-width: 600px;
  border-radius: 4px;
  position: relative;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-left: 5px solid var(--accent);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--accent);
}

.modal-body h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.modal-body p {
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Disclaimer Specifics - Bottom Banner */
#disclaimerModal {
  align-items: flex-end;
  background: transparent;
  /* Remove dark overlay */
  top: auto;
  bottom: 0;
  height: auto;
  /* Don't cover full screen */
  padding: 0;
}

#disclaimerModal .disclaimer-content {
  width: 100%;
  max-width: 100%;
  /* Full width */
  border-radius: 0;
  border-left: none;
  border-top: 4px solid var(--accent);
  margin: 0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  background: var(--white);
  padding: 2rem 5%;
  /* Adjust padding for banner */
}

#disclaimerModal .modal-content {
  transform: translateY(100%);
  /* From bottom */
}

#disclaimerModal.active .modal-content {
  transform: translateY(0);
}

/* Hide close button */
#disclaimerModal .close-modal {
  display: none;
}