/*
Theme Name: My Theme
Author: My Name
Version: 1.0
*/

/* SynapseGI Theme Styles */

:root {
  --deep-red: #8b2323;
  --gold: #c49a53;
  --black: #222;
  --off-white: #f8f5ef;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Arial", sans-serif;
  background: var(--off-white);
  color: var(--black);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gold);
  padding: 0.5rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.logo-link {
  display: flex;
  align-items: center;
}
.logo {
  height: 56px;
  width: auto;
  margin-right: 1rem;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--deep-red);
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--black);
}
.hero-section {
  text-align: center;
  padding: 5rem 2rem 3rem 2rem;
  background: var(--deep-red);
  color: var(--off-white);
}
.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.hero-section p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}
.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--deep-red);
  padding: 0.9rem 2.2rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: background 0.2s, color 0.2s;
}
.cta-btn:hover {
  background: var(--off-white);
  color: var(--deep-red);
}
section {
  max-width: 800px;
  margin: 3rem auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  padding: 2.5rem 2rem;
}
.about-section,
.blog-section {
  background: var(--off-white);
  color: var(--black);
  box-shadow: none;
  border: 1px solid #eee;
}
@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  .nav-links {
    gap: 1rem;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  section {
    padding: 1.2rem 0.7rem;
  }
  .logo {
    height: 40px;
  }
}

/* Footer Contact Section Styles */
.footer-contact {
  background: var(--deep-red);
  color: var(--off-white);
  padding: 3rem 0 2rem 0;
  margin-top: 4rem;
}
.contact-section {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}
.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--gold);
}
.contact-section .contact-info {
  color: var(--deep-red);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: block;
}
.contact-section a.contact-info {
  text-decoration: underline;
}
.contact-section p,
.contact-section a {
  color: var(--off-white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  background: var(--off-white);
  color: var(--deep-red);
  resize: vertical;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  box-shadow: 0 2px 8px rgba(196, 154, 83, 0.15);
}
.contact-form textarea {
  min-height: 100px;
  max-height: 250px;
}
.contact-form button {
  background: var(--gold);
  color: var(--deep-red);
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 30px;
  padding: 0.9rem 2.2rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.contact-form button:hover {
  background: var(--off-white);
  color: var(--deep-red);
  box-shadow: 0 4px 16px rgba(196, 154, 83, 0.15);
}
@media (max-width: 700px) {
  .footer-contact {
    padding: 2rem 0 1rem 0;
  }
  .contact-section {
    padding: 0 1rem;
  }
}

/* Vertical Timeline Navigation for About Us */
.about-timeline-nav {
  position: fixed;
  top: 120px;
  left: 0;
  width: 90px;
  height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}
.timeline-line {
  width: 2px;
  background: #e0e0e0;
  flex: 1;
  margin: 0 0 0 44px;
  position: relative;
}
.timeline-label {
  color: #bdbdbd;
  font-size: 1rem;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 40px 0 40px 0;
  white-space: nowrap;
  position: relative;
  left: 20px;
}
.timeline-marker {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e0e0e0;
  position: absolute;
  left: 33px;
  top: -12px;
  z-index: 2;
}
@media (max-width: 900px) {
  .about-timeline-nav {
    display: none;
  }
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

.active-timeline-label {
  color: var(--gold) !important;
  font-weight: 700;
  text-decoration: underline;
}

/* Front Page Layout Styles */
.frontpage-main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 70vh;
  background: var(--off-white);
  padding: 3rem 0 2rem 0;
}
.frontpage-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 2.5rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.frontpage-products,
.frontpage-blog,
.premier-league-results {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  padding: 2.5rem 2rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.frontpage-products h2,
.frontpage-blog h2,
.premier-league-results h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--deep-red);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.product-list li {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  border-left: 3px solid var(--gold);
  padding-left: 0.7rem;
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.blog-intro {
  background: var(--off-white);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 1.2rem 1rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-intro:hover {
  box-shadow: 0 6px 24px rgba(196, 154, 83, 0.13);
  transform: translateY(-2px) scale(1.02);
}
.blog-intro h3 a {
  color: var(--deep-red);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}
.blog-intro h3 a:hover {
  color: var(--gold);
  text-decoration: underline;
}
.read-more {
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}
.read-more:hover {
  color: var(--deep-red);
  text-decoration: underline;
}
.premier-league-results {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  padding: 2.5rem 2rem;
  min-height: 100%;
}
.pl-results-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.pl-result {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.1rem;
  color: var(--black);
  background: var(--off-white);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s, background 0.2s;
}
.pl-result:hover {
  box-shadow: 0 4px 16px rgba(196, 154, 83, 0.13);
  background: #f3e9d7;
}
.pl-date {
  color: var(--gold);
  font-weight: 600;
  min-width: 110px;
}
.pl-home,
.pl-away {
  font-weight: 600;
}
.pl-score {
  font-size: 1.2rem;
  color: var(--deep-red);
  font-weight: 700;
  min-width: 50px;
  text-align: center;
}
@media (max-width: 1100px) {
  .frontpage-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .frontpage-products,
  .frontpage-blog,
  .premier-league-results {
    margin-bottom: 2rem;
  }
}

@media (max-width: 500px) {
  .frontpage-main {
    padding: 1rem 0 1rem 0;
  }
  .frontpage-products,
  .frontpage-blog {
    padding: 0.7rem 0.3rem;
    font-size: 0.98rem;
  }
  .product-list,
  .blog-list {
    font-size: 0.98rem;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 0.98rem;
    padding: 0.7rem 0.7rem;
  }
  .contact-form button,
  .all-posts-btn {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
  }
  .navbar {
    padding: 0.5rem;
  }
  .logo {
    height: 32px;
  }
}

.blog-meta {
  font-size: 0.95rem;
  color: var(--black);
  margin-bottom: 0.5rem;
  display: flex;
  gap: 1.2rem;
  opacity: 0.7;
}
.blog-date,
.blog-author {
  font-style: italic;
}
.all-posts-btn-wrapper {
  text-align: right;
  margin-top: 2rem;
}
.all-posts-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--deep-red);
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 30px;
  padding: 0.7rem 2rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: background 0.2s, color 0.2s;
}
.all-posts-btn:hover {
  background: var(--deep-red);
  color: var(--off-white);
}

.premier-league-results {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  padding: 2.5rem 2rem;
  margin-top: 0;
  margin-bottom: 2rem;
  max-width: 100%;
}
.premier-league-results h2 {
  color: var(--deep-red);
  font-size: 2rem;
  margin-bottom: 1.2rem;
}
.pl-results-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.pl-result {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.1rem;
  color: var(--black);
  background: var(--off-white);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
}
.pl-date {
  color: var(--gold);
  font-weight: 600;
  min-width: 110px;
}
.pl-home,
.pl-away {
  font-weight: 600;
}
.pl-score {
  font-size: 1.2rem;
  color: var(--deep-red);
  font-weight: 700;
  min-width: 50px;
  text-align: center;
}
.all-results-btn {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--gold);
  color: var(--deep-red);
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 30px;
  padding: 0.7rem 2rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: background 0.2s, color 0.2s;
}
.all-results-btn:hover {
  background: var(--deep-red);
  color: var(--off-white);
}
@media (max-width: 900px) {
  .premier-league-results {
    padding: 1.2rem 0.7rem;
    border-radius: 12px;
  }
}

/* Single Blog Post Styling */
.single-post {
  max-width: 800px;
  margin: 3rem auto 3rem auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  padding: 2.5rem 2rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
}
.single-post h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--deep-red);
  margin-bottom: 0.7rem;
  line-height: 1.15;
}
.single-post .blog-meta {
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 2rem;
  font-style: italic;
  display: flex;
  gap: 1.2rem;
  opacity: 0.85;
}
.single-post .post-content {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--black);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.single-post .post-content p {
  margin-bottom: 1.3em;
}
@media (max-width: 900px) {
  .single-post {
    padding: 1.2rem 0.7rem;
    border-radius: 14px;
  }
  .single-post h1 {
    font-size: 2rem;
  }
  .single-post .post-content {
    font-size: 1.05rem;
  }
}

/* Blog Post Rating and Comments Section */
.post-rating-comments {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.rating-section h3 {
  color: var(--deep-red);
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}
.star-rating {
  font-size: 2.2rem;
  color: #ccc;
  cursor: pointer;
  margin-bottom: 1rem;
  user-select: none;
  -webkit-user-select: none;
}
.star-rating .star {
  transition: color 0.2s, transform 0.1s;
  margin-right: 0.15em;
}
.star-rating .star:hover,
.star-rating .star:focus {
  transform: scale(1.15);
}
.submit-rating-btn {
  background: var(--gold);
  color: var(--deep-red);
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: 30px;
  padding: 0.6rem 1.7rem;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s, color 0.2s;
}
.submit-rating-btn:hover {
  background: var(--deep-red);
  color: var(--off-white);
}
.rating-message {
  margin-top: 0.7rem;
  font-size: 1.1rem;
}
.comments-section {
  background: var(--off-white);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 2rem 1.5rem;
  margin-top: 2rem;
}
.comments-section h3,
.comments-title,
#reply-title {
  color: var(--deep-red);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}
.comment {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
  margin-bottom: 1.5rem;
  padding: 1.2rem 1rem 1rem 1rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.comment .avatar {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin-right: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}
.comment-author {
  font-weight: 700;
  color: var(--deep-red);
  font-size: 1.08rem;
}
.comment-meta {
  font-size: 0.98rem;
  color: var(--gold);
  margin-bottom: 0.2rem;
  font-style: italic;
}
.comment-content {
  font-size: 1.08rem;
  color: var(--black);
  margin-bottom: 0.5rem;
}
.comment-reply-link,
.comment-edit-link {
  color: var(--gold);
  font-size: 0.98rem;
  margin-right: 1rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.comment-reply-link:hover,
.comment-edit-link:hover {
  color: var(--deep-red);
  text-decoration: underline;
}
#respond {
  margin-top: 2.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
  padding: 1.5rem 1rem;
}
#reply-title {
  color: var(--deep-red);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
#commentform label {
  font-weight: 600;
  color: var(--deep-red);
  margin-bottom: 0.3rem;
  display: block;
}
#commentform textarea,
#commentform input[type="text"],
#commentform input[type="email"] {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #eee;
  padding: 0.8rem 1rem;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  background: var(--off-white);
  color: var(--black);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: border 0.2s;
}
#commentform textarea:focus,
#commentform input[type="text"]:focus,
#commentform input[type="email"]:focus {
  border: 1.5px solid var(--gold);
  outline: none;
}
#commentform input[type="submit"] {
  background: var(--gold);
  color: var(--deep-red);
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: 30px;
  padding: 0.6rem 1.7rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
#commentform input[type="submit"]:hover {
  background: var(--deep-red);
  color: var(--off-white);
}
@media (max-width: 900px) {
  .comments-section,
  #respond {
    padding: 1rem 0.5rem;
  }
  .comment {
    flex-direction: column;
    gap: 0.7rem;
  }
}

/* Comment form and comment list improvements */
.comment-respond,
#respond,
.comment-form {
  max-width: 700px;
  margin: 2rem auto;
  background: #faf9f6;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 2rem 2rem 1.5rem 2rem;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  padding: 1rem;
  background: #f7f6f3;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.comment-list,
.comments-area {
  max-width: 700px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.comment-list .comment {
  background: #f7f6f3;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
}

@media (max-width: 800px) {
  .comment-respond,
  #respond,
  .comment-form,
  .comment-list,
  .comments-area {
    max-width: 98vw;
    padding: 1rem;
  }
  .comment-list .comment {
    padding: 1rem;
  }
}

.competition-btn.active {
  background: #b48c4a !important;
  color: #fff !important;
  box-shadow: 0 2px 8px #b48c4a22;
}
.competition-btn:hover {
  background: #e0c68c !important;
}

.premier-league-results .pl-result {
  color: #fff !important;
}

.premier-league-results .pl-date {
  color: #111 !important;
  opacity: 1 !important;
}

@media (max-width: 700px) {
  .competition-header-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
  }
  .competition-btn {
    font-size: 1rem !important;
    padding: 0.5rem 0.7rem !important;
    min-width: 120px;
    margin-bottom: 0.5rem;
  }
  .premier-league-results h2,
  .premier-league-results .competition-header-row {
    font-size: 1.1rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .premier-league-results select#week-selector,
  .premier-league-results button[type="button"] {
    width: 100%;
    margin: 0.5rem 0 0 0 !important;
    font-size: 1rem !important;
  }
  .pl-result {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    font-size: 1rem !important;
    padding: 0.7rem 0.5rem !important;
  }
  .pl-date,
  .pl-score {
    min-width: unset !important;
    font-size: 1rem !important;
  }
  .pl-home,
  .pl-away {
    font-size: 1rem !important;
  }
}
