@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  /* Ana Renkler */
  --white: #ffffff;       /* Birincil renk - Beyaz */
  --gold: #f3d97b;        /* İkincil renk - Altın Sarısı */
  --navy: #062e61;        /* Üçüncül renk - Lacivert */
  
  /* Renk varyasyonları */
  --white-off: #f8f8f8;   /* Beyaz tonu */
  --gold-light: #f8e7a8;  /* Açık altın */
  --gold-dark: #e6c84e;   /* Koyu altın */
  --navy-light: #0a3c7a;  /* Açık lacivert */
  --navy-800: #041e42;    /* Koyu lacivert */
  --navy-900: #021531;    /* Çok koyu lacivert */
  
  /* Ek renkler (uyumluluk için) */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --amber-400: #f3d97b;
  --amber-500: #f3d97b;
  --amber-600: #e6c84e;
}

.font-serif {
  font-family: "Times New Roman", "Georgia", "Palatino", "Book Antiqua", serif;
}

.animate-fade-in {
  animation: fadeIn 1.5s ease-out;
}

.animate-fade-in-delay {
  animation: fadeIn 1.5s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
  animation: fadeIn 1.5s ease-out 0.6s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bg-navy-900 {
  background-color: var(--navy-900);
}

.bg-navy-800 {
  background-color: var(--navy-800);
}

.text-navy-900 {
  color: var(--navy-900);
}

.bg-gold-500 {
  background-color: var(--gold);
}

.bg-gold-600 {
  background-color: var(--amber-600);
}

.hover\:bg-gold-500:hover {
  background-color: var(--gold);
}

.hover\:bg-gold-600:hover {
  background-color: var(--amber-600);
}

.text-gold-400 {
  color: var(--gold-light);
}

.text-gold-500 {
  color: var(--gold);
}

.text-gold-600 {
  color: var(--amber-600);
}

.border-gold-500 {
  border-color: var(--gold);
}

.ring-gold-500 {
  --tw-ring-color: var(--gold);
}

.focus\:ring-gold-500:focus {
  --tw-ring-color: var(--gold);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--white);
  color: var(--navy-900);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--white-off);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--navy-light);
}

/* Gradient text utilities */
.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

.text-transparent {
  color: transparent;
}

/* Hover effects */
.hover\:scale-105:hover {
  transform: scale(1.05);
}

.hover\:scale-110:hover {
  transform: scale(1.1);
}

/* Shadow utilities */
.shadow-3xl {
  box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.25);
}

/* Enhanced typography for luxury feel */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  letter-spacing: -0.025em;
}

.font-serif h1 {
  font-weight: 700;
  letter-spacing: -0.05em;
}

.font-serif h2 {
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* Luxury button styles */
.btn-luxury {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-900);
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(243, 217, 123, 0.3);
}

.btn-luxury:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(243, 217, 123, 0.4);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

/* Elegant card styles */
.card-luxury {
  background: linear-gradient(145deg, var(--white) 0%, var(--white-off) 100%);
  border: 1px solid rgba(243, 217, 123, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card-luxury:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: rgba(243, 217, 123, 0.3);
}
