/* Reset & Fonts */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

/* Header */
header {
  background: #222;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  align-items: center;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
}
.logo span{color: #ff6600;}

.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
}

nav ul {
  display: flex;
  list-style: none; /* Removes bullets */
  margin: 0;
  padding: 0;
  gap: 1rem;
}
nav ul li a {
  color: white;
  text-decoration: none;
}

/* Dropdown Styles */
nav .dropdown {
  position: relative;
}

nav .dropdown-menu {
  display: none;
  position: absolute;
  background-color: #333;
  list-style: none;
  padding: 0;
  margin: 0;
  top: 100%;
  min-width: 150px;
  z-index: 1000;
}

nav .dropdown-menu li a {
  display: block;
  padding: 0.75rem 1rem;
  color: white;
  text-decoration: none;
  border-top: 1px solid #444;
}

nav .dropdown-menu li a:hover {
  background-color: #444;
}



/* Hero */
.hero {
  background: url('../image/image-4.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
.hero-content {
  background: rgba(0, 0, 0, 0.85);
  padding: 2rem;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.cta-button {
  background: #ff6600;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 1rem;
  display: inline-block;
}

/* Features */
.features {
  display: flex;
  justify-content: space-around;
  padding: 2rem;
  background: white;
}
.features article {
  flex: 1;
  margin: 0 1rem;
  background: #fafafa;
  padding: 1rem;
  border-left: 5px solid #ff6600;
}

/* Spotlight */
.spotlight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #fff;
  padding: 2rem;
}
.spotlight img {
  max-width: 20%;

  flex: 1;
}
.spotlight-text {
  flex: 1;
  padding: 1rem 2rem;
}

/* Code Snippet */
.code-snippet {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 2rem;
  font-family: monospace;
}
.code-snippet pre {
  overflow-x: auto;
}

/* Quote */
.quote {
  background: #ff6600;
  color: white;
  text-align: center;
  padding: 2rem;
  font-size: 1.5rem;
  font-style: italic;
}

/* Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 1.5rem 1rem;
}
footer .social a {
  margin: 0 0.5rem;
  color: white;
  text-decoration: none;
}




footer {
  background-color: #222;
  color: white;
  padding: 2rem 1rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1 1 200px;
  margin: 1rem;
}

.footer-column h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #ff6600;
}

.social-icons {
  text-align: center; 
  padding: 20px;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-icons a {
  color: #ccc;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}


.social-icons a:hover {
  color: #ff6600;
}

.footer-copy {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #aaa;
}



/* Responsive footer for small screens */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-column {
    width: 100%;
  }

  .social-icons {
    justify-content: flex-start;
  }
}


/* Mobile styles */
@media (max-width: 768px) {
  .features {
    flex-direction: column;
    padding: 1rem;
  }

  .features article {
    margin: 1rem 0;
  }

  nav ul {
    flex-direction: column;
    background: #333;
    padding: 20px;
    position: absolute;
    top: 35px;
    right: 0;
    width: 200px;
    display: none;
  }

  nav ul.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .dropdown-menu {
    position: static;
    background: #444;
  }

  nav {
    position: relative;
  }

}

@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

