/* Referans sitedeki gibi modern, temiz tasarım */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a1a1a;
  --secondary: #ff6b35;
  --accent: #ffa500;
  --light: #f8f9fa;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --overlay: rgba(0, 0, 0, 0.5);
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section with Video Background */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo {
  font-family: "Pacifico", cursive;
  font-size: 4.5rem;
  font-weight: 400;
  color: var(--white);
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.8);
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.3);
  }
  to {
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.5);
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 4rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.scroll-indicator span {
  font-size: 0.9rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  color: var(--white);
}

/* Category Section */
.category-section {
  background: var(--white);
  padding: 3rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.category-btn {
  padding: 0.875rem 2.5rem;
  background: var(--white);
  border: 2px solid var(--secondary);
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.category-btn:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.category-btn.active {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* Cafes Section */
.cafes-section {
  background: var(--light);
  padding: 4rem 1rem;
  min-height: 50vh;
}

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

.cafe-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.cafe-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.cafe-card:hover::before {
  opacity: 0.1;
}

.cafe-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.cafe-logo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--light);
  transition: transform 0.4s ease;
}

.cafe-card:hover .cafe-logo {
  transform: scale(1.1);
}

.cafe-name {
  padding: 1.75rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--white);
  border-radius: 24px;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 1001;
  animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--white);
  color: var(--primary);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--secondary);
  color: var(--white);
  transform: rotate(90deg);
}

.modal-close svg {
  width: 24px;
  height: 24px;
}

.modal-logo {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.modal-body {
  padding: 2.5rem;
}

.modal-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.modal-description {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-dark);
  padding: 1rem;
  background: var(--light);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateX(5px);
}

.info-item:hover .info-icon {
  color: var(--white);
}

.info-icon {
  width: 26px;
  height: 26px;
  color: var(--secondary);
  flex-shrink: 0;
  transition: color 0.3s ease;
}

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

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.social-link:hover {
  background: var(--accent);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 65px;
  height: 65px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  z-index: 999;
  text-decoration: none;
  animation: whatsappPulse 2s infinite;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7);
}

@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 6px 35px rgba(37, 211, 102, 0.8), 0 0 0 15px rgba(37, 211, 102, 0.1);
  }
}

.whatsapp-btn svg {
  width: 38px;
  height: 38px;
  fill: white;
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 2.5rem 1rem;
}

footer p {
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 968px) {
  .cafe-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .hero-logo {
    font-size: 3rem;
  }

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

@media (max-width: 640px) {
  .cafe-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

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

  .category-btn {
    padding: 0.7rem 1.75rem;
    font-size: 0.9rem;
  }

  .whatsapp-btn {
    width: 55px;
    height: 55px;
    bottom: 1.5rem;
    left: 1.5rem;
  }

  .whatsapp-btn svg {
    width: 32px;
    height: 32px;
  }

  .modal-body {
    padding: 1.75rem;
  }

  .modal-title {
    font-size: 1.75rem;
  }
}
