/* Tailwind CSS Base İçe Aktarma */
@import url('https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --primary-50: #eef2ff;
  --primary-100: #e0e7ff;
  --primary-200: #c7d2fe;
  --primary-300: #a5b4fc;
  --primary-400: #818cf8;
  --primary-500: #6366f1;
  --primary-600: #4f46e5;
  --primary-700: #4338ca;
  --primary-800: #3730a3;
  --primary-900: #312e81;
  
  --secondary-50: #f0fdfa;
  --secondary-100: #ccfbf1;
  --secondary-200: #99f6e4;
  --secondary-300: #5eead4;
  --secondary-400: #2dd4bf;
  --secondary-500: #14b8a6;
  --secondary-600: #0d9488;
  --secondary-700: #0f766e;
  --secondary-800: #115e59;
  --secondary-900: #134e4a;
  
  --dark: #111827;
  --light: #f9fafb;
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Poppins', sans-serif;
}

/* General Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--dark);
  overflow-x: hidden;
}

.container-custom {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  color: var(--dark);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-500);
}

.section-title p {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-500);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-600);
}

.btn-secondary {
  background-color: var(--secondary-500);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-600);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-500);
  color: var(--primary-500);
}

.btn-outline:hover {
  background-color: var(--primary-500);
  color: white;
}

.btn-white {
  background-color: white;
  color: var(--primary-500);
}

.btn-white:hover {
  background-color: #f9fafb;
}

/* Navigation */
.nav-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  color: var(--dark);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-500);
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-500);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 50%;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-500);
  z-index: 40;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-item {
  font-size: 1.25rem;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-nav-item::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
}

.mobile-nav-item:hover::after {
  width: 100%;
}

/* Header Animation */
.header-shrink {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Cards */
.card {
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background-color: var(--primary-500);
  width: 0%;
  z-index: 9999;
  transition: width 0.2s ease;
}

/* Back to Top Button */
#back-to-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover Effects */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Animations */
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-up {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slide-down {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slide-left {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-right {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.animate-fade-in {
  animation: fade-in 1s forwards;
}

.animate-slide-up {
  animation: slide-up 1s forwards;
}

.animate-slide-down {
  animation: slide-down 1s forwards;
}

.animate-slide-left {
  animation: slide-left 1s forwards;
}

.animate-slide-right {
  animation: slide-right 1s forwards;
}

.animate-delay-300 {
  animation-delay: 300ms;
}

.animate-delay-600 {
  animation-delay: 600ms;
}

.animate-delay-900 {
  animation-delay: 900ms;
}

.animate-on-scroll {
  opacity: 0;
}

/* Background Patterns */
.bg-pattern {
  background-image: url('../images/bg-pattern.jpg');
  background-size: cover;
  background-position: center;
}

.bg-history-pattern {
  background-image: url('../images/history-bg.jpg');
  background-size: cover;
  background-position: center;
}

.bg-culture-pattern {
  background-image: url('../images/culture-bg.jpg');
  background-size: cover;
  background-position: center;
}

/* Gallery Grid */
.gallery-grid {
  margin: 0 -5px;
}

.gallery-sizer,
.gallery-item {
  width: 100%;
  padding: 5px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  padding: 15px;
  color: white;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (min-width: 768px) {
  .gallery-sizer,
  .gallery-item {
    width: 50%;
  }
}

@media (min-width: 1024px) {
  .gallery-sizer,
  .gallery-item {
    width: 33.333%;
  }
}