/* Custom styles for PrevodiSlo website - NYT Style */

/* Import NYT-style fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lora:wght@400;500;600&family=Source+Serif+Pro:wght@400;600&display=swap');

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Typography - NYT Style */
body {
  font-family: 'Source Serif Pro', 'Georgia', serif;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  background-color: #fafafa;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

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

/* Navigation - Clean and minimal */
nav {
  border-bottom: 1px solid #e5e5e5;
  background-color: #fff;
}

nav a, .nav-link {
  font-family: 'Lora', serif;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #333;
  transition: color 0.2s ease;
  text-decoration: none;
}

nav a:hover, .nav-link:hover {
  color: #000;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  padding: 80px 0 100px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #fff !important;
}

/* Section Headlines - Same size as "O meni" */
.section-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: #e5e5e5;
  max-width: 800px;
  margin: 0 auto;
}

/* Section Spacing - Consistent and responsive */
.section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
}

/* Content Sections */
.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.content-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.content-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Text Content */
.text-content {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

.text-content p {
  margin-bottom: 1.5rem;
}

.text-content p:last-child {
  margin-bottom: 0;
}

/* Cards - Minimal design */
.info-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: box-shadow 0.3s ease;
}

.info-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

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

.benefit-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.benefit-item:last-child {
  border-bottom: none;
}

.benefit-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.benefit-description {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.process-step {
  text-align: left;
  padding: 0;
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.step-description {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
}

/* FAQ */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
  padding: 1.5rem 0;
}

.faq-question {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
}

.faq-question:hover {
  color: #000;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.faq-answer.open {
  max-height: 1000px;
  padding-top: 1rem;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-item {
  padding: 1.5rem 0;
}

.contact-label {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 0.5rem;
}

.contact-value {
  font-size: 18px;
  color: #333;
}

.contact-value a {
  color: #333;
  text-decoration: underline;
  text-decoration-color: #ccc;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-value a:hover {
  color: #000;
  text-decoration-color: #666;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-button {
  font-family: 'Lora', serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  padding: 8px 0;
  z-index: 1000;
}

.lang-dropdown.hidden {
  display: none !important;
}

.lang-option {
  padding: 10px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  transition: background 0.2s ease;
}

.lang-option:hover {
  background: #f5f5f5;
}

/* Footer */
footer {
  background: #1a1a1a;
  color: #999;
  padding: 60px 0 40px;
  border-top: 1px solid #333;
}

footer p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 1rem;
}

footer a {
  color: #999;
  text-decoration: underline;
  text-decoration-color: #333;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #fff;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 50;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 2rem;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a, .mobile-menu-link {
  display: block;
  padding: 1rem 0;
  font-size: 18px;
  border-bottom: 1px solid #e5e5e5;
  text-decoration: none;
  color: #333;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}
