/* ========== GLOBAL RESET ========== */
* {
  margin: 0; /* Remove default margins for all elements */
  padding: 0; /* Remove default paddings */
  box-sizing: border-box; /* Include padding & border in total width/height */
}

html,
body {
  height: 100%; /* Full page height */
  margin: 0; /* Reset margin */
}

/* ===== PAGE CONTAINER ===== */
.fade-in {
  min-height: 100%; /* Fill viewport vertically */
  display: flex;
  flex-direction: column; /* Stack elements vertically */
}

main {
  flex: 1; /* Expand main area to push footer to the bottom */
}

/* ===== BODY STYLES ===== */
body {
  font-family: "Helvetica Neue", "Proxima Sera", sans-serif; /* Font family */
  background-color: #ffffff; /* Page background */
  color: #1e1e1e; /* Default text color */
  line-height: 1.6; /* Line spacing for readability */
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  animation: fadeIn 1s ease-in forwards; /* Smooth fade on load */
}

p {
  text-align: justify; /* Align text evenly on both sides */
  padding: 3px;
  line-height: 1.7; /* Line spacing for body text */
  margin-bottom: 5px;
  font-size: 1.1rem;
}

/* Animation for fade-in */
@keyframes fadeIn {
  from {
    opacity: 0; /* Start invisible */
  }

  to {
    opacity: 1; /* Fade to visible */
  }
}

/* ===== HEADER ===== */
header {
  background: #ffffff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between; /* Spread logo and nav apart */
  align-items: center;
  position: sticky; /* Fix header to top */
  top: 0;
  z-index: 1000; /* Keep above all content */

}

.home-ln {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.home-logo a {
  display: flex;
  justify-content: center;
  text-decoration: none;
  color: #1e1e1e;
}

.home-logo img {
  width: 25%;
}

.home-logo {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Separator line */
.line {
  border-bottom: 1px solid black;
  width: 100vw; /* Span full screen width */
  margin: 0;
}

.logo {
  display: flex;
  max-width: 300px;
}

.logo img {
  width: 20%;
}

/* ===== NAVIGATION ===== */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 1rem; /* Space between links */
  align-items: center;
  margin-top: 5px;
  padding-top: 5px;
}

.navbar a {
  text-decoration: none;
  color: #1e1e1e;
  transition: font-weight 0.3s ease; /* Smooth hover bold effect */
}

.navbar a:hover,
.navbar a.active {
  font-weight: bold;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none; /* Hidden on desktop */
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.5s ease; /* Smooth opening animation */
}

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  height: 70vh; /* Occupy 70% of viewport height */
  overflow: hidden; /* Hide overflow during slide transitions */
}

.slide {
  display: none;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

.slide.active {
  display: block;
  animation: fadeSlide 1s ease-in-out; /* Fade between slides */
}

/* Overlay text on slides */
.slide .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center overlay */
  color: #f1eade;
  text-align: center;
  background: rgba(0, 0, 0, 0.4); /* Transparent dark overlay */
  padding: 1rem 2rem;
  border-radius: 8px;
}

/* Slide fade effect */
@keyframes fadeSlide {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Hero button */
.hero .btn, .press button, .post-grid a, .press button a{
  margin-top: 1rem;
  background: #ffa805;
  color: #1e1e1e;
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
}

/* ===== SLIDER ARROWS ===== */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 1rem;
  color: #f1eade;
  font-size: 2rem;
  font-weight: bold;
  user-select: none;
  transition: 0.3s;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.6);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

/* ===== SLIDER DOTS ===== */
.dots {
  text-align: center;
  position: absolute;
  bottom: 20px;
  width: 100%;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #ffa805; /* Highlight active dot */
}

/* ===== SECTIONS GENERAL ===== */
section {
  padding: 3rem 2rem;
}

/* Grid preview layouts for events and frontrow sections */
.events-preview .preview-grid,
.frontrow-preview .preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Blog article containers */
article {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
}

article img {
  width: 20%;
}

/* ===== FOOTER ===== */
footer {
  background: #fe5627;
  color: #f1eade;
  padding: 2rem;
  text-align: center;
}

.footer-flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 10px;
}

.footer-flex button {
  border-radius: 5px;
}

.footer-flex a {
  text-decoration: none;
  color: #f1eade;
}

/* Footer form layout */
footer form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

footer input,
footer textarea {
  padding: 0.5rem;
  border: none;
  border-radius: 4px;
}

footer button {
  background: #1e1e1e;
  color: #f1eade;
  padding: 0.7rem;
  border: none;
  cursor: pointer;
}

/* ===== RESPONSIVE NAVIGATION ===== */
@media (max-width: 768px) {
  .navbar ul {
    display: none;
    flex-direction: column;
    background: #ffffff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
  }

  .navbar ul.show {
    display: flex;
  }

  .hamburger {
    display: block; /* Show on smaller screens */
  }
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 500px) {
  .footer-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .info {
    margin: 10px;
  }
}

/* ===== BLOG SCATTERED IMAGES ===== */
.scattered {
  max-width: 250px;
  background: transparent;
  margin: 1rem;
  float: left;
}

.scattered.right {
  float: right;
}

/* ===== TEAM SECTION ===== */
.team {
  display: flex;
  gap: 1rem;
  justify-content: space-around;
  margin-top: 1rem;
}

.team article {
  background: #fff;
  padding: 1rem;
  border-radius: 6px;
  flex: 1;
  text-align: center;
}

.img img {
  width: 90%;
}

/* ===== FEATURE HERO SECTION ===== */
.feature-hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.feature-hero img {
  width: 100%;
  border-radius: 8px;
}

.feature-hero .hero-text {
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== TWO COLUMN FEATURES ===== */
.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.two-column article {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.two-column h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.two-column img {
  width: 100%;
  margin: 1rem 0;
  border-radius: 8px;
}

/* Call-to-action buttons */
.cta {
  text-align: center;
  margin-top: auto;
  display: block;
  background: #ffa805;
  color: #1e1e1e;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.cta:hover {
  background: #d9451f;
}

/* Adjust features for tablets */
@media (max-width: 768px) {
  .feature-hero {
    flex-direction: column;
  }

  .post-grid {
  grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
}

.grid-cards{
  grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
}
}

/* ===== BLOG HEADER ===== */
.blog-header {
  text-align: center;
  margin-bottom: 2rem;
}

.blog-header h2 {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.blog-header h1 {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: bold;
}

/* ===== SCATTERED IMAGE ALIGNMENTS ===== */
.scattered {
  max-width: 250px;
  margin: 1rem;
}

.scattered.left {
  float: left;
}

.scattered.right {
  float: right;
}

.scattered.center {
  display: block;
  margin: 1.5rem auto;
}

/* Clear floats for blog posts */
.blog-post::after {
  content: "";
  display: block;
  clear: both;
}

/* ===== PREVIOUS POSTS GRID ===== */
.previous-posts {
  margin-top: 4rem;
  text-align: center;
}

.previous-posts h3 {
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.post-grid {
  margin: 10px;
}

.post-grid article {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
}

.post-grid img {
  width: 100%;
  border-radius: 6px;
}

.post-grid h4 {
  margin: 0.8rem 0;
  font-size: 1rem;
}

.post-grid a {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: bold;
}

.post-grid a:hover,.hero .btn:hover, .press button:hover {
  background-color: #d9451f;
}

.post-grid li {
  list-style: none;
  margin: 0px;
}

/* ===== EVENTS SECTION ===== */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.event {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: #fff;
  border: 1px solid #ddd;
  padding: 2rem;
}

.event.reverse {
  flex-direction: row-reverse;
}

.event-img img {
  max-width: 350px;
  border-radius: 6px;
  width: 100%;
}

.event-text {
  flex: 1;
}

.event-text h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.cta-link {
  /* display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #000;
  text-decoration: none; */
}

.cta-link:hover {
  /* text-decoration: underline; */
}

/* ===== EVENTS CALENDAR ===== */
.events-calendar {
  margin-top: 3rem;
  text-align: center;
}

.events-calendar h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ===== REUSABLE GRID FOR CARDS ===== */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-cards article,
.preview-grid article {
  background: #fff;
  padding: 1rem;
  border: 1px dotted #1e1e1e;
  border-radius: 8px;
  text-align: center;
}

.grid-cards article p,
.preview-grid p {
  text-align: center;
}

.grid-cards img,
.preview-grid img {
  width: 100%;
  height: 250px; /* Keep image height consistent */
  object-fit: cover; /* Crop proportionally */
  border-radius: 6px;
  margin-bottom: 1rem;
}

/* ===== TWO-COLUMN SECTION (Behind the Label) ===== */
.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: center;
}

/* CEO section */
.ceo-img img {
  width: 90%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.ceo-text {
  background: #fff;
  padding: 2rem;
  border: 1px dotted #1e1e1e;
  border-radius: 8px;
  width: 90%;
}

.ceo-text h2 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-style: italic;
}

/* ===== PRESS SECTION ===== */
.press {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.press button {
  width: 200px;
  border-radius: 10px;
  margin: 10px 0;
}

.press button a {
  text-decoration: none;
}

/* ===== MISCELLANEOUS ALIGNMENTS ===== */
.hme h2 {
  text-align: center;
}

.foot p,
.ceo-text p,
.foot h1, .foot h2 {
  text-align: center;
}

/* ===== BLOG POST ===== */
.blog-post {
  margin: 0 auto;
}

.blog-post h1,
.post-meta {
  text-align: center;
}

.blog-post p{
  text-align: justify;
}

.blog-post img {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  height: 400px;
  object-fit: cover;
  display: block;
}

/* ===== POST NAVIGATION ===== */
.post-nav a {
  text-decoration: none;
  color: #d9451f;
  margin-left: 5px;
  border-radius: 20px;
  padding: 10px;
  background: #f1eade;
}

.post-nav a:hover {
  text-decoration: underline;
}

/* ===== COMMENT SECTION ===== */
.comments .align {
  display: flex;
  flex-direction: column;
  /* max-width: 500px; */
}

.align input,
.align textarea,
.align button {
  margin: 5px;
  padding: 5px;
}

.align button {
  color: #d9451f;
  border-radius: 5px;
}

.align button:hover {
  text-decoration: underline;
}

/* ===== BACKSTAGE PAGE STYLES ===== */
.backstage h2, .backstage p{
  text-align: center;
}

/* ===== COMMENT REPLIES ===== */

/* Hide elements by default */
.hidden {
  display: none;
}

/* Style individual comment items */
.comment-item {
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 1rem;
}

/* Add subtle shadow on hover */
.comment-item:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Style reply button */
.reply-btn {
  background: transparent;
  color: #fe5627;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  margin-top: 5px;
  padding: 0;
}

.reply-btn:hover {
  text-decoration: underline;
}

/* Reply form styling */
.reply-form {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 20px;
}

.reply-form input,
.reply-form textarea {
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ddd;
}

.reply-form button {
  align-self: flex-start;
  background: #fe5627;
  color: white;
  border: none;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
}

.reply-form button:hover {
  background: #d9451f;
}

/* Replies section indentation */
.replies {
  margin-left: 20px;
  border-left: 2px solid #ffa805;
  padding-left: 10px;
  margin-top: 10px;
}

/* ===== COMMENT & REPLY STYLING ===== */
.comment-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comment-item {
  background: #fff;
  border: 2px solid #ffa805;
  border-radius: 8px;
  padding: 1rem;
}

.main-comment {
  background: #fff7e6;
}

.reply-item {
  background: #f9f9f9;
  border: 1px solid #ddd;
  margin-left: 2rem;
  margin-top: 0.8rem;
  padding: 0.8rem;
  border-radius: 6px;
}

.reply-title {
  font-size: 0.9rem;
  color: #555;
  margin: 0.5rem 0;
}

.comment-item strong {
  color: #d9451f;
}

.comment-item small {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 4px;
}

.comment-item .reply-btn {
  background: transparent;
  border: none;
  color: #fe5627;
  cursor: pointer;
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

.comment-item .reply-btn:hover {
  text-decoration: underline;
}

.reply-form {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.reply-form.hidden {
  display: none;
}

.reply-form input,
.reply-form textarea {
  padding: 0.4rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.reply-form button {
  align-self: flex-start;
  background: #fe5627;
  color: white;
  padding: 0.4rem 0.8rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
}

.reply-form button:hover {
  background: #d9451f;
}

.frontrow-listing article h2, .frontrow-listing article p{
  text-align: left;
}

/* === COMMUNITY BANNER === */
.community-banner {
  width: 100vw; /* full viewport width */
  margin: 0;
  padding: 18px 15px;
  background: url("/assets/media/ankara-bg.jpeg") center/cover no-repeat;
  color: #FFA805;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

/* Overlay for better readability */
.community-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

/* Ensure banner content sits above overlay */
.community-banner p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #FFA805;
}

/* Join button */
.community-banner .join-btn {
  background-color: #FFA805;
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  margin-left: 10px;
  display: inline-block;
  transition: all 0.3s ease;
}

.community-banner .join-btn:hover {
  background-color: #C80036;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(200, 0, 54, 0.4);
}

.community-banner p{
  text-align: center;
}

.join-btn a{
  text-decoration: none;
  color: #1e1e1e;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .community-banner {
    font-size: 0.9rem;
    padding: 3px 5px;
  }

  .community-banner .join-btn {
    display: block;
    margin: 5px auto 0;
  }
}

/* === POPUP STYLES === */
.community-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.community-popup.show {
  visibility: visible;
  opacity: 1;
}

.popup-content {
  background: url("/assets/media/ankara-bg.jpeg") center/cover no-repeat;
  position: relative;
  padding: 2rem;
  max-width: 420px;
  width: 90%;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  color: #FFA805;
  text-align: center;
  overflow: hidden;
  animation: popIn 0.4s ease-out;
}

@keyframes popIn {
  from {
    transform: scale(0.8);
    opacity: 0.5;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
}

.popup-content * {
  position: relative;
  z-index: 1;
}

.popup-content h2 {
  color: #FFA805;
  margin-bottom: 10px;
}

.popup-content p {
  color: #fff;
  margin-bottom: 15px;
}

.popup-content input {
  width: 80%;
  padding: 10px;
  border-radius: 30px;
  border: none;
  outline: none;
  margin-bottom: 10px;
  text-align: center;
}

.popup-content button {
  background: #FFA805;
  color: #fff;
  border: none;
  padding: 5px 10px;
  margin: 5px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.popup-content button:hover {
  background: #C80036;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.5rem;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}