@font-face {
    font-family: 'PaintingWithChocolate';
    src: url('../images/Painting_With_Chocolate.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.overlay {
    display: none;
}

.container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.left-section {
    width: 50%;
    padding: 2rem;
    color: white;
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.left-section::-webkit-scrollbar {
    width: 8px;
}

.left-section::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.left-section::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.left-section::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px;
    color: white;
}

.logo-container {
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 100px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.logo-text .doermusic {
    font-size: 6rem;
    display: block;
    font-weight: 700;
    font-style: italic;
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
}

.by-docstudios {
    display: block;
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-style: normal;
    margin-left: 400px;
    margin-top: -20px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    justify-content: center;
    position: relative;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-toggle {
    cursor: pointer;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    height: 100%;
}
.dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: transparent;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 10;
    border-radius: 0 0 8px 8px;
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
    display: block;
}
.dropdown-item {
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: background 0.2s;
}
.dropdown-item:hover {
    background: #444;
}

.nav-item {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.nav-item:hover {
    color: #ccc;
    transform: scale(1.1);
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    width: auto;
}

.social-icon {
    width: 80px;
    height: 80px;
    transition: transform 0.3s;
    cursor: pointer;
    margin-left: 10px;
}

.social-icon:hover {
    transform: scale(1.2);
}

.content {
    display: none;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.content.active {
    display: block;
}

.content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.content p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.categories {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    padding-bottom: 20px;
}

.category {
    background: transparent;
    padding: 20px;
    border-radius: 8px;
}

.category h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    text-align: left;
    padding-left: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.category h3:hover {
    color: #ccc;
    transform: translateX(10px);
}

.category-page {
    display: none;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.category-page.active {
    display: block;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
    z-index: 1;
    text-align: center;
}

.back-button {
    background: transparent;
    border: none;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.back-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.back-button:hover {
    transform: scale(1.1);
}

.category-header h2 {
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    color: white;
    margin: 0;
}

.category-content {
    color: white;
    max-width: 1200px;
    margin: 0 auto;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 10px 0;
    max-width: 100%;
}

.thumbnail {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: var(--aspect-ratio);
}


.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.thumbnail:hover img {
    transform: scale(1.05);
}

.thumbnail .title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 12px;
    font-size: 1rem;
    text-align: center;
    font-style: italic;
    font-family: 'Georgia', serif;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.thumbnail:hover .title {
    opacity: 1;
    transform: translateY(0);
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.video-thumbnail:hover .play-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 48px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 3;
}

/* Pointer events düzeltmesi */
.video-thumbnail {
    cursor: pointer;
}

.play-overlay, 
.play-icon {
    cursor: pointer;
    pointer-events: auto;
}

.video-grid .video-item:nth-child(5n+1) {
    grid-column: span 2;
  }
  /* Tall: span two rows (approx. portrait) */
.video-grid .video-item:nth-child(5n+2),
.video-grid .video-item:nth-child(5n+5) {
    grid-row: span 2;
  }
.video-grid .video-item:nth-child(5n+6) {
    grid-column: span 2;
  } 
  /* The others (5n+3 and 5n+4) remain default single cell for squares */
  
  /* 4) Responsive tweaks */
  @media (max-width: 1024px) {
    .video-grid {
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 16px;
    }
  }
  @media (max-width: 600px) {
    .video-grid {
      grid-template-columns: 1fr;
      gap: 12px;
    }
  }

#products.content {
    display: none;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: calc(100vh - 4rem);
    overflow-y: auto;
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
}

#products.content.active {
    display: block;
}

#products .content::-webkit-scrollbar {
    width: 8px;
}

#products .content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

#products .content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

#products .content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* ——— Video Grid ——— */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  padding: 20px 0;
}

.video-item {
  position: relative;
}

.video-item .video-thumbnail {
    position: static;
}
/* thumbnail fills its parent and owns its aspect-ratio */
.video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: var(--aspect-ratio, 21/9);
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}

.video-thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* play overlay covers 100% of the thumbnail */
.video-thumbnail .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
  opacity: 1;
}

.video-item .play-icon {
    color: white;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

h1, h2, h3, h4, h5, h6 {
    color: #fff;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.thumbnail-title {
    font-size: 1rem;
    color: #fff;
    margin-top: 0.5rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.products-section h2 {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.products-section .category-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.products-section .category-title:hover {
    color: #ff6b6b;
}

.category-header h2 {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    margin: 0;
}

.welcome-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #fff;
}

.logo {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.quote {
    font-family: "Montserrat", sans-serif;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* margin: 40px auto 0 auto; */
    display: block;
    text-align: center;
    max-width: auto;
    justify-content: center;
    margin-bottom: 10px;
}

.welcome-section {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.logo {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

#home {
    text-align: center;
    padding: 2rem 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
}

#home .logo {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

/* Music Control Button */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.music-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.music-control.playing i {
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#about.content {
    display: none;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
}

#about.content.active {
    display: block;
}

.contact-section {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.contact-section h3 {
    font-size: 1.8rem;
    margin-bottom: 5px; /* Üst yazı ile alt yazı arasındaki mesafeyi azalt */
    color: #fff;
    text-align: center;
}

.contact-section p {
    margin-top: 0;
    margin-bottom: 20px; /* Alt yazı ile contact bilgileri arasında yeterli boşluk bırak */
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.contact-item i {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.contact-form {
    margin-top: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Video Modal Styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 21/9;
    background: #000;
}

.video-container {
    width: 100%;
    height: 100%;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: white;
    color: black;
    transform: scale(1.1);
}