/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

/* Navbar Styles */
/* General Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 20px 40px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

.hamburger {
  display: none;
  font-size: 1.8em;
  cursor: pointer;
}

/* Menu styles */
.menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.menu li a {
  color: #fff;
  padding: 15px 20px;
  transition: color 0.3s;
}

.menu li a:hover {
  color: #ff9800;
}

/* Mobile Menu Toggle */
#menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    width: 100%;
    padding: 20px 0;
    text-align: center;
    gap: 15px;
  }

  /* Show menu when checkbox is checked */
  #menu-toggle:checked + .menu {
    display: flex;
  }

  .hamburger {
    display: block;
    color: #fff;
  }
}


.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.8); /* Darker background when scrolled */
}


.logo img {
  height: 50px; /* Adjust the height to fit the navbar */
  width: auto;
  display: inline-block;
  vertical-align: middle;
}


.menu li a {
  color: #fff;
  padding: 15px 20px;
  transition: color 0.3s;
}

.menu li a:hover {
  color: #ff9800;
}


.logo {
  font-size: 2em;
  color: #ff9800;
  font-weight: bold;
}

.menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.menu li a {
  color: #fff;
  padding: 15px 20px;
  transition: color 0.3s;
}

.menu li a:hover {
  color: #ff9800;
}

.hamburger {
  display: none;
}

#menu-toggle {
  display: none;
}

/* Home Section */
#home {
  background-image: url('tump1.jpg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #fff;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

#home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: 1;
}

.meme-title, .meme-text, .cta-button {
  position: relative;
  z-index: 2; /* Ensures text and button appear above the overlay */
}


.meme-title {
  font-size: 4.5em;
  font-weight: bold;
  color: #ff9800;
  font-family: 'Rubik Wet Paint', cursive;
  animation: fadeIn 2s;
  margin-bottom: 20px;
}

.meme-text {
  font-size: 1.8em;
  max-width: 700px;
  margin: 20px auto;
  padding: 0 20px;
}

.cta-button {
  background-color: #ff9800;
  color: #fff;
  padding: 15px 40px;
  font-size: 1.3em;
  border: none;
  border-radius: 30px;
  margin-top: 30px;
  cursor: pointer;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #e68a00;
}

/* About Section */
#about {
  background-color: #f5f5f5;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1100px;
}

.about-image {
  width: 70%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.about-image img {
  width: 100%;
  height: 100%;
}


.about-text {
  background-color: #ff9800;
  color: #fff;
  padding: 40px;
  border-radius: 10px;
  width: 50%;
  font-size: 1.1em;
  line-height: 1.6em;
}

/* Gallery Section */
#gallery {
  text-align: center;
  padding: 100px 20px;
  background-color: #090936;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 40px auto;
}

.gallery-item {
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
}


/* Footer / Contact Section */
#contact {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.social-links a {
  color: #ff9800;
  margin: 0 20px;
  font-size: 1.7em;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #fff;
}

/* Responsive Menu */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
  }

  #menu-toggle:checked ~ .menu {
    display: flex;
  }

  .hamburger {
    display: block;
    font-size: 1.5em;
    cursor: pointer;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .about-image, .about-text {
    width: 90%;
  }

  .gallery-container {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
