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

body {
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

.hero {
  background-image: url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
}
/* ===== Header & Navigation ===== */
header {
  background: #111;
  color: #fff;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
}

nav h1 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: #ff4d6d;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.3s ease, color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  background: #ff4d6d;
  color: #fff;
}

/* ===== Hamburger Menu (Mobile) ===== */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
}

/* Hide nav links on mobile initially */
#navLinks {
  transition: max-height 0.4s ease;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    width: 100%;
    background: #111;
    position: absolute;
    top: 60px;
    left: 0;
    overflow: hidden;
    max-height: 0;
  }

  nav ul li {
    margin: 15px 0;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  nav ul.show {
    max-height: 300px;
  }
}

/* ===== Hero Section ===== */
.hero {
  text-align: center;
  padding: 100px 20px;
  background: url("images/hero-bg.jpg") center/cover no-repeat;
  color: #fff;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero h2, .hero p {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

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

/* ===== Slider ===== */
.slider {
  max-width: 800px;
  margin: 40px auto;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slide {
  display: none;
  width: 100%;
}

.slide.active {
  display: block;
  animation: fadeIn 1.5s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== Sections ===== */
main section {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
}

h2, h3 {
  color: #222;
  margin-bottom: 15px;
  font-weight: 600;
}

/* ===== Forms ===== */
form {
  max-width: 450px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

form label {
  margin: 8px 0 4px;
  font-weight: 500;
}

form input, form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border 0.3s ease;
}

form input:focus, form textarea:focus {
  border-color: #ff4d6d;
}

form button {
  margin-top: 15px;
  padding: 12px;
  background: #ff4d6d;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: #e63956;
}

#formMessage {
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
}

/* ===== Social Links ===== */
.socials {
  list-style: none;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.socials li {
  margin: 0 10px;
}

.socials a {
  text-decoration: none;
  font-weight: 500;
  color: #ff4d6d;
  border: 1px solid #ff4d6d;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.socials a:hover {
  background: #ff4d6d;
  color: #fff;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 15px;
  background: #111;
  color: white;
  margin-top: 40px;
  font-size: 0.9rem;
}
