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

/* Typography */
body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  padding: 20px 0;
}

/* Header */
header .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1001;
}

/* Logo styling */
header .logo {
  font-size: 1.8em;
  font-weight: bold;
  color: #2c3e50;
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #2c3e50;
  transition: all 0.3s ease;
}

/* Navigation Menu */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
nav li a {
  color: #2c3e50;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 8px 0;
}
nav li a:hover {
  color: #2980b9;
}
ul li a {
  color: #2980b9;
  text-decoration: none;
  font-weight: 500;
}

/* Hero Section */
.hero {
  background: url('assets/images/hero-background.jpg') no-repeat center center/cover;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 2.8em;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.2em;
}

/* App Sections */
section.app-section {
  background: #fff;
  margin: 40px 0;
  padding: 40px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
section.app-section h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
}
.app-description {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1em;
}
.screenshots {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.screenshots img {
  width: 300px;
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.screenshots img:hover {
  transform: scale(1.03);
}

.cta-button {
  text-align: center;
  margin-top: 20px;
}
.explore-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1.1em;
  font-weight: 600;
  color: #fff;
  background-color: #2980b9;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}
.explore-btn:hover {
  background-color: #1c5980;
  transform: scale(1.05);
}

/* Contact Hero Section */
.contact-hero {
  background: #fff;
  padding: 40px 0;
  border-bottom: 1px solid #ddd;
}
.contact-hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.contact-info {
  flex: 1;
  min-width: 300px;
}
.contact-info h2 {
  margin-bottom: 20px;
  color: #2c3e50;
}
.contact-info ul {
  list-style: none;
  line-height: 1.8;
  color: #555;
}
.contact-info li {
  margin-bottom: 10px;
}
.contact-image {
  flex: 1;
  text-align: center;
  min-width: 300px;
}
.contact-image img {
  max-width: 100%;
  height: auto;
}

/* Contact Form Section */
#contact {
  background: #ffffff;
  margin: 40px 0;
  padding: 40px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
#contact h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
}
form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
form label {
  font-weight: 500;
  margin-bottom: 5px;
  color: #555;
}
form input[type="text"],
form input[type="email"],
form select,
form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
form input[type="text"]:focus,
form input[type="email"]:focus,
form select:focus,
form textarea:focus {
  border-color: #2980b9;
  box-shadow: 0 0 8px rgba(41, 128, 185, 0.3);
  outline: none;
}
form textarea {
  resize: vertical;
  min-height: 100px;
}
form button {
  padding: 12px;
  background: #2980b9;
  border: none;
  color: #fff;
  font-size: 1em;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}
form button:hover {
  background: #1c5980;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 0;
  background: #ffffff;
  border-top: 1px solid #ddd;
  margin-top: 40px;
  color: #777;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2em;
  }

  /* Show the hamburger button */
  .hamburger {
    display: flex;
  }

  /* Hide the nav menu by default */
  #nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    right: 20px;
    background: #fff;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 9999;
  }

  /* Display the nav menu when active */
  #nav-menu.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  nav li {
    text-align: center;
  }

  .screenshots {
    flex-direction: column;
    align-items: center;
  }

  /* For the Contact Hero, stack columns on smaller devices */
  .contact-hero-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .contact-image, .contact-info {
    width: 100%;
  }
}
