/* ===============================
   ROOT & GENERAL STYLES
   =============================== */
:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #f093fb;
  --text-dark: #0f172a;
  --text-light: #334155;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --font-family: "Arial", sans-serif;
}

body {
  font-family: var(--font-family);
}

.language-switcher button:hover {
  transform: translateY(-2px);
}

.resume-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0 1.5rem;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid var(--primary-color);
  background: white;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.resume-link:hover {
  background: var(--primary-color);
  color: white;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  display: inline-block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.section-header p {
  color: #525f7f;
  font-size: 1rem;
  line-height: 1.8;
}

.resume-card,
.portfolio-card {
  background: white;
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 1.25rem;
  max-width: 760px;
  margin: 0 auto;
}

.resume-card p,
.portfolio-card p {
  color: #475569;
  line-height: 1.8;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu Toggle */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ===============================
   HERO SECTION
   =============================== */

.hero {
  padding: 70px 0;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 0.9fr;
  gap: 3rem;
  align-items: flex-start;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-image {
  min-height: 420px;
  border-radius: 2rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.portfolio-hero-image {
  background-image: url("images/background.jpg");
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.about {
  padding: 80px 0;
  background: var(--bg-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 1.3rem;
  line-height: 1.8;
}

.about-stats {
  display: none;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* ===============================
   PROJECTS SECTION
   =============================== */

.projects {
  padding: 80px 0;
  background: var(--bg-light);
}

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

.film-category .projects-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.film-category .project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.film-category .project-image {
  grid-column: 1;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f0f0f0;
}

.film-category .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-category .project-content {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  width: 100%;
  height: 200px;
}

.film-category .project-image {
  height: auto;
  min-height: auto;
}

.project-content {
  padding: 1.5rem;
}

.film-category .project-content {
  padding: 2.5rem;
}

.project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.project-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-tags span {
  background: rgba(102, 126, 234, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
}

/* ===============================
   FILM PROJECT DETAILS
   =============================== */

.film-category {
  margin-bottom: 4rem;
}

.category-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

.film-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 8px;
}

.film-detail-item {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.detail-label {
  font-weight: 600;
  color: var(--primary-color);
  min-width: 70px;
}

.detail-value {
  color: var(--text-light);
}

.film-synopsis {
  margin-top: 1rem;
}

.film-synopsis .detail-label {
  display: block;
  margin-bottom: 0.5rem;
}

.film-synopsis p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* ===============================
   SCREENPLAY ACTIONS
   =============================== */

.screenplay-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.screenplay-btn {
  flex: 1;
  min-width: 140px;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.screenplay-view {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
}

.screenplay-view:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.screenplay-download {
  background: rgba(102, 126, 234, 0.1);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.screenplay-download:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.project-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.project-link:hover {
  gap: 0.8rem;
}

/* ===============================
   MUSIC SECTION
   =============================== */

.music {
  padding: 80px 0;
  background: var(--bg-light);
}

.music-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

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

.video-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-content {
  padding: 1.5rem;
}

.video-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.video-content p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===============================
   CONTACT SECTION
   =============================== */

.contact {
  padding: 80px 0;
}

.contact-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.25rem;
}

.contact-item h4 {
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-light);
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.footer {
  background: var(--text-dark);
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.social-links a {
  color: white;
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Make phone number link same size as other social links */
.phone-number a {
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
}

.phone-number a:hover {
  color: var(--primary-color);
}

/* ===============================
   RESPONSIVE DESIGN - TABLETS
   =============================== */

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
    max-height: none;
  }

  .menu-toggle {
    display: flex;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-stats {
    display: none;
  }

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

  .film-category .projects-grid {
    grid-template-columns: 1fr;
  }

  .film-category .project-card {
    grid-template-columns: 1fr;
  }

  .film-category .project-image {
    grid-column: 1;
    min-height: 250px;
  }

  .film-category .project-content {
    grid-column: 1;
    padding: 2rem;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    justify-content: center;
  }

  .hero {
    padding: 60px 0;
  }

  .about,
  .projects,
  .contact {
    padding: 60px 0;
  }
}

/* ===============================
   RESPONSIVE DESIGN - MOBILE
   =============================== */

@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
  }

  .index-page .nav-wrapper {
    padding: 0.75rem 0;
  }

  .index-page .language-switcher {
    gap: 0.5rem;
  }

  .index-page .language-switcher button {
    padding: 0.4rem 0.7rem;
    font-size: 0.85rem;
  }

  .container {
    padding: 0 15px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .about-stats {
    display: none;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .film-category .project-card {
    grid-template-columns: 1fr;
  }

  .film-category .project-image {
    min-height: 200px;
  }

  .film-category .project-content {
    padding: 1.5rem;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .screenplay-actions {
    flex-direction: column;
  }

  .screenplay-btn {
    width: 100%;
  }

  .hero {
    padding: 40px 0;
  }

  .about,
  .projects,
  .contact {
    padding: 40px 0;
  }

  .contact-form {
    gap: 1rem;
  }

  .nav-menu {
    padding: 1.5rem;
  }

  .nav-menu.active {
    max-height: 250px;
  }

  .social-links {
    gap: 1rem;
  }

  .social-links a {
    font-size: 1.2rem;
  }

  .footer-content {
    flex-direction: column;
  }

  /* Show phone link as clickable on mobile */
  .phone-number a {
    display: inline;
    font-size: 1.2rem;
  }
}

/* Hide phone link on desktop (non-mobile) */
@media (min-width: 481px) {
  .phone-number a {
    display: none;
  }

  .phone-number::after {
    content: "+90 537 285 9723";
    color: var(--primary-color);
    font-size: 1.5rem;
  }
}

/* ===============================
   INDEX PAGE SPECIAL STYLES
   =============================== */

.index-page {
  background: var(--bg-light);
  color: var(--text-dark);
}

.index-page .navbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.index-page .nav-wrapper {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.index-page .nav-link,
.index-page .language-switcher,
.index-page .language-switcher button {
  color: var(--text-dark);
}

.index-page .nav-link:hover {
  color: var(--primary-color);
}

.index-page .language-switcher {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.index-page .language-switcher button {
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--text-dark);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
}

.index-page .language-switcher button.active {
  border-color: rgba(102, 126, 234, 0.6);
  background: rgba(102, 126, 234, 0.15);
  color: var(--primary-color);
  font-weight: 700;
}

.index-page .hero {
  min-height: calc(100vh - 110px);
  padding: 2rem 0 4rem;
  background: transparent;
}

.index-page section {
  scroll-margin-top: 110px;
}

.index-page .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 0.9fr;
  gap: 3rem;
  align-items: flex-start;
}

.index-page .hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.index-page .hero-title {
  color: var(--text-dark);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.02;
}

.index-page .hero-subtitle {
  color: #475569;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  max-width: 680px;
}

.index-page .hero-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 2rem;
  object-fit: cover;
  box-shadow: 0 40px 90px rgba(15, 23, 42, 0.12);
}

.index-page .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.index-page .btn-primary {
  background: var(--text-dark);
  color: white;
  border: 1px solid transparent;
}

.index-page .btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid rgba(15, 23, 42, 0.16);
}

.index-page .btn-secondary:hover {
  background: rgba(15, 23, 42, 0.06);
}

.index-page .about {
  background: #ffffff;
  border-radius: 2rem;
  box-shadow: 0 35px 90px rgba(15, 23, 42, 0.08);
  padding: 3.5rem;
  margin: 2rem 0 4rem;
}

.index-page .about-text {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.index-page .about-text p {
  color: #334155;
  font-size: 1.3rem;
}

.index-page .footer {
  background: #f8fafc;
}

.index-page .footer-content {
  color: #475569;
}

.index-page .social-links,
.index-page .phone-number {
  color: #475569;
}

.index-page .social-links a,
.index-page .social-icons a,
.index-page .phone-number a {
  color: #475569;
}

@media (max-width: 900px) {
  .index-page .hero-grid {
    grid-template-columns: 1fr;
  }

  .index-page .hero-image {
    order: -1;
  }

  .index-page .hero {
    padding: 3.5rem 0 2.5rem;
  }
}
