/* ==================== */
/* Reset & Base Styles  */
/* ==================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  border: none;
}

/* ==================== */
/* Background Grid      */
/* ==================== */

.background-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* ==================== */
/* Content Wrapper      */
/* ==================== */

.content-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==================== */
/* Header               */
/* ==================== */

header {
  padding: 60px 20px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(245, 245, 245, 0.7) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  animation: slideDownFade 0.8s ease-out;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.tagline {
  font-size: 1.1rem;
  color: #666;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* ==================== */
/* Main Content         */
/* ==================== */

main {
  flex: 1;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ==================== */
/* Hero Section         */
/* ==================== */

.hero {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== */
/* CTA Buttons          */
/* ==================== */

.cta-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
  z-index: -1;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.cta-button.secondary {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
}

.cta-button.secondary:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

.button-icon {
  font-size: 1.3rem;
  display: inline-block;
}

/* ==================== */
/* Featured Content     */
/* ==================== */

.featured-content {
  margin-bottom: 80px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.featured-content h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  color: #1a1a1a;
  position: relative;
  padding-bottom: 20px;
}

.featured-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

/* ==================== */
/* About Cards          */
/* ==================== */

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.about-card {
  padding: 40px 30px;
  background: white;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: scaleIn 0.6s ease-out forwards;
  opacity: 0;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.about-card:nth-child(1) {
  animation-delay: 0.7s;
}

.about-card:nth-child(2) {
  animation-delay: 0.8s;
}

.about-card:nth-child(3) {
  animation-delay: 0.9s;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: rgba(102, 126, 234, 0.2);
}

.about-card .icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.about-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.about-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==================== */
/* Footer               */
/* ==================== */

footer {
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 40px 20px;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

footer p {
  color: #666;
  margin: 10px 0;
  font-size: 0.95rem;
}

.footer-links a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer-links a:hover {
  color: #764ba2;
  text-decoration: underline;
}

/* ==================== */
/* Responsive Design    */
/* ==================== */

@media (max-width: 768px) {
  header {
    padding: 40px 20px 30px;
  }

  .header-content h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1rem;
  }

  main {
    padding: 40px 20px;
  }

  .hero {
    margin-bottom: 60px;
  }

  .hero-text {
    font-size: 1.1rem;
  }

  .cta-container {
    gap: 15px;
  }

  .cta-button {
    padding: 14px 24px;
    font-size: 1rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-card {
    padding: 30px 20px;
  }

  .featured-content h2,
  .gallery-preview h2 {
    font-size: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .background-grid {
    background-size: 30px 30px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 30px 15px 20px;
  }

  .header-content h1 {
    font-size: 1.5rem;
  }

  .tagline {
    font-size: 0.9rem;
  }

  main {
    padding: 30px 15px;
  }

  .hero {
    margin-bottom: 40px;
  }

  .hero-text {
    font-size: 1rem;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .cta-container {
    flex-direction: column;
  }

  .featured-content h2,
  .gallery-preview h2 {
    font-size: 1.3rem;
    margin-bottom: 30px;
  }

  .about-card .icon {
    font-size: 2.5rem;
  }

  .about-card h3 {
    font-size: 1.1rem;
  }

  .about-card p {
    font-size: 0.9rem;
  }
}

/* ==================== */
/* Print Styles        */
/* ==================== */

@media print {
  .background-grid {
    display: none;
  }

  body {
    background: white;
  }

  .cta-button {
    display: none;
  }
}