/*
Theme Name: Bilal Kuchay Theme
Author: Bilal Kuchay
Version: 1.0
*/

/* ===============================
GLOBAL RESET
================================= */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 100;
  font-size: 18px;
  line-height: 1.6;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  margin: 0;
}

/* ===============================
SITE LAYOUT
================================= */

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
}

section {
  margin: 0;
  padding: 0;
}

/* ===============================
HEADER
================================= */

.site-header {
  background-color: #f2f2f2;
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 0;
  position: relative;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px; /* MAX 10px side spacing */
}

.logo a {
  font-size: 1.5rem;
  color: #111;
  text-decoration: none;
}

.main-nav {
  flex: 1;
  text-align: right;
}

.main-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
}

.main-nav .menu li a {
  color: #111;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

/* ===============================
MOBILE MENU
================================= */

.mobile-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  display: none;
}

.mobile-menu {
  display: none;
  background-color: #fff;
  border-top: 1px solid #ddd;
  padding: 1rem;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-list li {
  margin: 0.5rem 0;
}

.mobile-menu-list li a {
  text-decoration: none;
  color: #111;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-menu.open {
    display: block;
  }
}

/* ===============================
HOME LAYOUT
================================= */

.home-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ===============================
HERO VIDEO
================================= */

.hero-video {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .hero-video {
    height: 70vh;
  }
}

/* ===============================
MEDIA SECTIONS (HOME PAGE)
================================= */

.media-section {
  padding: 0 10px; /* MAX 10px */
  margin: 0;
  width: 100%;
}









/* Horizontal scroll only for HOME */
.horizontal-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 5px;
}

.media-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  transition: transform 0.3s ease;
}

.media-card:hover {
  transform: scale(1.04);
}

.video-gallery .media-card {
  width: 500px;
  height: 350px;
}

.photo-gallery .media-card {
  width: 350px;
  height: 250px;
}

.media-card img,
.media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .video-gallery .media-card {
    width: 85vw;
    height: 350px;
  }

  .photo-gallery .media-card {
    width: 70vw;
    height: 250px;
  }
}

/* ===============================
ABOUT SECTION
================================= */

.about-section {
  padding: 0 10px 10px 10px;
  text-align: center;
}

.about-inner {
  max-width: 700px;
  margin: 0 auto;
}

.about-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.about-text h2 {
  margin-bottom: 8px;
}

/* ===============================
FOOTER
================================= */

footer {
  background-color: #f2f2f2;
  border-top: 1px solid #e0e0e0;
  padding: 1rem 0;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .social-links {
  display: flex;
  gap: 1.5rem;
}

footer .social-links a {
  color: #000;
  text-decoration: none;
}

footer .social-links img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* ===============================
GALLERY PAGE
================================= */

.gallery-page {
  padding: 2rem 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
NEWS PAGE
================================= */

.news-page,
.videos-page {
  padding: 10px; /* MAX 10px */
  margin: 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.news-title,
.videos-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 20px;
}

.news-grid,
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.news-card,
.video-card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 1rem;
  transition: transform 0.3s ease;
  background: #fff;
}

.news-card:hover,
.video-card:hover {
  transform: translateY(-4px);
}

.news-card h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #005f73;
}

.news-card p {
  color: #333;
  margin-bottom: 10px;
}

.video-card iframe,
.video-card video {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border: 0;
}

.news-link {
  text-decoration: none;
  color: inherit;
}

.read-more {
  text-decoration: none;
  color: #005f73;
  font-weight: 500;
}

@media (max-width: 768px) {
  .news-grid,
  .videos-grid {
    grid-template-columns: 1fr;
  }
}
