/* idapp.io support Website Styles */

:root {
  --primary: #F5A623;
  --secondary: #3B99FC;
  --dark-bg: #1a1a2e;
  --text: #2C3E50;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --border: #e0e0e0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--white);
}

/* Header and Navigation */
header {
  background-color: var(--dark-bg);
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

nav {
  display: flex;
  justify-content: space-between;
  align-items: centre;
}

.logo {
  display: flex;
  align-items: centre;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #2d2d44 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: centre;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--primary);
  color: var(--dark-bg);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(245, 166, 35, 0.3);
}

/* Main Content */
main {
  padding: 3rem 0;
  min-height: 60vh;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--dark-bg);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

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

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

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.guide-card h3 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.guide-card p {
  margin-bottom: 1rem;
}

.guide-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.guide-card a:hover {
  text-decoration: underline;
}

/* Video Section */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.video-card {
  background: var(--light-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-info {
  padding: 1rem;
}

.video-info h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.video-info p {
  color: #666;
  font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
  background-color: var(--light-bg);
  padding: 3rem 0;
  margin-top: 3rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  text-align: centre;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-card h3 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.contact-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 2rem 0;
  text-align: centre;
  margin-top: 4rem;
}

footer a {
  color: var(--primary);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Utility Classes */
.text-centre {
  text-align: centre;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--dark-bg);
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 0.5rem 2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .guide-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }
}
