/* ============================================
   CYCS Clone - Styles
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Avenir', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #2b2b2b;
  background-color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
  width: 100%;
  background: #f5f5f5;
  background-image: url('assets/grain-pattern.png');
  background-repeat: repeat;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2b2b2b;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #8B0000;
}

.search-box {
  position: absolute;
  right: 40px;
  display: flex;
  align-items: center;
  border: 1px solid #bbb;
  border-radius: 0;
  padding: 7px 14px;
  gap: 8px;
  background: #fff;
}

.search-icon {
  color: #666;
  flex-shrink: 0;
}

.search-input {
  border: none;
  outline: none;
  font-family: 'Avenir', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  width: 100px;
  color: #333;
  background: transparent;
}

.search-input::placeholder {
  color: #999;
}

.header-subtitle {
  text-align: center;
  padding: 6px 0 16px;
}

.subtitle-link {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #8B0000;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.subtitle-link:hover {
  color: #a00;
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 50px 40px 60px;
}

/* Logo Section */
.logo-section {
  text-align: center;
  margin-bottom: 50px;
}

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

.logo-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.site-title {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.tagline {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 20px;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tagline-item {
  color: #8B0000;
  font-weight: 400;
}

.tagline-separator {
  color: #8B0000;
  font-weight: 300;
}

/* Theme Section */
.theme-section {
  text-align: center;
  margin-bottom: 40px;
}

.theme-heading-red {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 42px;
  font-weight: 900;
  color: #C41E3A;
  margin-bottom: 4px;
}

.theme-heading-black {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 34px;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.3;
}

/* About Section */
.about-section {
  margin-bottom: 32px;
  padding: 0 40px;
}

.about-text {
  font-family: 'Avenir', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #2b2b2b;
  margin-bottom: 22px;
}

.about-text:last-child {
  margin-bottom: 0;
}

/* Categories Section */
.categories-section {
  margin-bottom: 40px;
  padding: 0 40px;
}

.categories-intro {
  font-size: 17px;
  font-weight: 400;
  color: #2b2b2b;
  margin-bottom: 28px;
  line-height: 1.6;
}

.categories-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
}

.categories-list li {
  font-size: 17px;
  color: #2b2b2b;
  line-height: 1.7;
  font-weight: 400;
}

/* Register Section */
.register-section {
  text-align: center;
  margin-bottom: 50px;
  margin-top: 10px;
}

.register-btn {
  display: inline-block;
  background-color: #7B1A1A;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 20px 56px;
  border-radius: 40px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.register-btn:hover {
  background-color: #5c1010;
  transform: translateY(-2px);
}

.register-btn:active {
  transform: translateY(0);
}

/* Why Register Section */
.why-register-section {
  margin-bottom: 40px;
  padding: 0 40px;
}

.why-register-title {
  font-size: 17px;
  font-weight: 600;
  color: #2b2b2b;
  margin-bottom: 14px;
}

.why-register-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 28px;
}

.why-register-list li {
  font-size: 17px;
  color: #2b2b2b;
  line-height: 1.7;
  position: relative;
  padding-left: 8px;
}

.why-register-list li::before {
  content: "\2022";
  position: absolute;
  left: -18px;
  color: #2b2b2b;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  text-align: center;
  padding: 36px 24px;
  border-top: 1px solid #e5e5e5;
  background: #fff;
}

.footer-text {
  font-family: 'Avenir', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

/* ============================================
   Confirm Registration Page
   ============================================ */
.confirm-section {
  text-align: center;
  padding: 80px 24px 120px;
  max-width: 700px;
  margin: 0 auto;
}

.confirm-heading {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 36px;
  font-weight: 900;
  color: #C41E3A;
  margin-bottom: 16px;
}

.confirm-text {
  font-size: 18px;
  color: #2b2b2b;
  line-height: 1.7;
  margin-bottom: 36px;
}

.confirm-btn {
  display: inline-block;
  background-color: #7B1A1A;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 18px 48px;
  border-radius: 40px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.confirm-btn:hover {
  background-color: #5c1010;
  transform: translateY(-2px);
}

.confirm-btn:active {
  transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    padding: 12px 16px;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .nav-link {
    font-size: 14px;
  }

  .search-box {
    position: static;
  }

  .main-content {
    padding: 24px 16px 40px;
  }

  .about-section,
  .categories-section,
  .why-register-section {
    padding: 0 16px;
  }

  .theme-heading-red {
    font-size: 30px;
  }

  .theme-heading-black {
    font-size: 26px;
  }

  .register-btn {
    font-size: 20px;
    padding: 14px 36px;
  }

  .logo-img {
    width: 110px;
    height: 110px;
  }

  .site-title {
    font-size: 26px;
  }

  .confirm-heading {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 10px;
  }

  .nav-link {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .register-btn {
    font-size: 18px;
    padding: 12px 28px;
  }
}
