/* ========================================
   Life Meets Code - Main Stylesheet
   Brand Colors: #017361 (Teal) & #f8f35e (Yellow)
   ======================================== */

:root {
  --primary-color: #017361;
  --secondary-color: #f8f35e;
  --dark-text: #1a1a1a;
  --light-text: #666;
  --bg-light: #f9f9f9;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  overflow-x: hidden;
}

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

/* ========================================
   Hero Section
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, #025a4d 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
}

.logo-container {
  margin-bottom: 30px;
}

.logo-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.logo-text {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.site-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 300;
}

.subtitle {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.btn-primary:hover {
  background: #faf76e;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Hero Shapes */
.hero-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: drift 20s infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--secondary-color);
  top: 10%;
  left: 10%;
  animation-duration: 25s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--white);
  bottom: 20%;
  right: 15%;
  animation-duration: 30s;
  animation-direction: reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--secondary-color);
  top: 60%;
  left: 5%;
  animation-duration: 22s;
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(30px, -30px);
  }
  50% {
    transform: translate(-30px, 30px);
  }
  75% {
    transform: translate(20px, 20px);
  }
}

/* ========================================
   Section Styling
   ======================================== */

section {
  padding: 80px 20px;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* ========================================
   About Section
   ======================================== */

.about-section {
  background: var(--white);
}

.about-text {
  max-width: 900px;
  margin: 0 auto;
}

.intro-text {
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: center;
  color: var(--light-text);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.highlight-item {
  text-align: center;
  padding: 30px;
  background: var(--bg-light);
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.highlight-item i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.highlight-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.highlight-item p {
  color: var(--light-text);
  font-size: 1rem;
  margin-bottom: 0;
}

/* ========================================
   Featured Video Section
   ======================================== */

.featured-section {
  background: var(--bg-light);
}

.featured-content {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

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

.video-description {
  padding: 40px;
}

.video-description h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.video-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--light-text);
  margin-bottom: 25px;
}

.video-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  padding: 8px 20px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ========================================
   Contact Section
   ======================================== */

.contact-section {
  background: var(--white);
}

.contact-intro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--light-text);
  max-width: 700px;
  margin: 0 auto 50px;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  text-align: center;
  padding: 40px;
  background: var(--bg-light);
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.contact-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #025a4d;
}

.contact-card p {
  color: var(--light-text);
  font-size: 0.95rem;
}

.social-links {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #025a4d 100%);
  border-radius: 15px;
  color: var(--white);
}

.social-links h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--primary-color);
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.social-icon.youtube:hover {
  background: #ff0000;
  color: var(--white);
}

.social-icon.instagram:hover {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: var(--white);
}

.social-icon.github:hover {
  background: #333;
  color: var(--white);
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: var(--dark-text);
  color: var(--white);
  text-align: center;
  padding: 30px 20px;
}

.footer p {
  margin: 0;
  opacity: 0.8;
}

.footer i {
  color: #e74c3c;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
  .site-title {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .highlights {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .site-title {
    font-size: 2rem;
  }

  .logo-circle {
    width: 100px;
    height: 100px;
  }

  .logo-text {
    font-size: 28px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .video-description {
    padding: 25px;
  }

  .video-description h3 {
    font-size: 1.4rem;
  }
}
