/* Sirály Consulting - Shared Design System */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  /* Light Theme */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --bg-tertiary: #F0F2F5;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-tertiary: #999999;
  --accent-primary: #D4A017;
  --accent-secondary: #0A2F5B;
  --accent-tertiary: #4a9eff;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  /* Dark Theme */
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #2d2d2d;
  --text-primary: #f5f5f5;
  --text-secondary: #b0b0b0;
  --text-tertiary: #808080;
  --accent-primary: #E8B951;
  --accent-secondary: #4a9eff;
  --accent-tertiary: #6bc7ff;
  --border-color: #333333;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
}

* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  font-weight: 400;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

.display-4 { font-size: 3.5rem; }
.display-3 { font-size: 3rem; }
.display-2 { font-size: 2.5rem; }
.display-1 { font-size: 2rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  color: var(--accent-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--accent-primary);
}

/* HEADER & NAVIGATION */

header {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

nav {
  padding: 1rem 0;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-secondary) !important;
  letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--text-primary) !important;
  margin: 0 0.5rem;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition-smooth);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-primary);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-nav .nav-link.active {
  color: var(--accent-secondary) !important;
  font-weight: 600;
}

/* BUTTONS */

.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  border: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  text-transform: none;
}

.btn-accent {
  background-color: var(--accent-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
  background-color: var(--accent-primary);
  filter: brightness(0.9);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #FFFFFF;
}

.btn-primary {
  background-color: var(--accent-secondary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--accent-secondary);
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #FFFFFF;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* THEME & LANGUAGE TOGGLES */

.navbar-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-left: 1rem;
}

.theme-toggle, .language-toggle {
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  font-size: 1.2rem;
}

.theme-toggle:hover, .language-toggle:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--accent-primary);
}

/* BENTO GRID SYSTEM */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  grid-auto-flow: dense;
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
  }
}

.bento-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.bento-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.bento-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
}

.bento-item:hover::before {
  left: 100%;
}

/* BENTO SPAN UTILITIES */

.bento-2x1 {
  grid-column: span 2;
}

.bento-1x2 {
  grid-row: span 2;
}

.bento-2x2 {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 768px) {
  .bento-2x1, .bento-1x2, .bento-2x2 {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

/* CARDS */

.card {
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-header {
  background-color: var(--bg-tertiary) !important;
  border-bottom: 1px solid var(--border-color) !important;
}

.card-body {
  padding: 1.5rem;
  color: var(--text-secondary);
}

.card-title {
  color: var(--text-primary);
  font-weight: 600;
}

/* GLASSMORPHISM */

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-glass);
  border-radius: 16px;
}

[data-theme="dark"] .glass-card {
  background: rgba(30, 30, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* HERO SECTIONS */

.hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 47, 91, 0.8), rgba(212, 160, 23, 0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  color: white;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: white;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
}

/* SECTIONS */

section {
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 2px;
}

/* FORMS */

.form-control {
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--accent-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  box-shadow: 0 0 0 0.2rem rgba(212, 160, 23, 0.25);
}

.form-control::placeholder {
  color: var(--text-tertiary);
}

/* FOOTER */

footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem 1rem;
  color: var(--text-secondary);
}

footer h5 {
  color: var(--accent-primary);
  font-family: 'Playfair Display', serif;
}

footer a {
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

footer a:hover {
  color: var(--accent-primary);
}

footer hr {
  border-color: var(--border-color);
}

footer p {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* TESTIMONIALS */

.testimonial-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-primary);
  margin: 0 auto 1rem;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent-secondary);
  margin-bottom: 0.5rem;
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

/* ANIMATIONS */

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

/* STAGGERED ANIMATIONS */

.bento-item:nth-child(1) { animation: fadeInUp 0.6s ease-out 0.1s both; }
.bento-item:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.2s both; }
.bento-item:nth-child(3) { animation: fadeInUp 0.6s ease-out 0.3s both; }
.bento-item:nth-child(4) { animation: fadeInUp 0.6s ease-out 0.4s both; }
.bento-item:nth-child(5) { animation: fadeInUp 0.6s ease-out 0.5s both; }
.bento-item:nth-child(6) { animation: fadeInUp 0.6s ease-out 0.6s both; }
.bento-item:nth-child(n+7) { animation: fadeInUp 0.6s ease-out 0.7s both; }

/* UTILITY CLASSES */

.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-accent { color: var(--accent-primary) !important; }

.bg-primary { background-color: var(--bg-primary) !important; }
.bg-secondary { background-color: var(--bg-secondary) !important; }
.bg-tertiary { background-color: var(--bg-tertiary) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

.rounded-lg { border-radius: 16px !important; }
.rounded-md { border-radius: 12px !important; }
.rounded-sm { border-radius: 8px !important; }

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-secondary);
}

.font-italic {
  font-style: italic;
}

.font-weight-bold {
  font-weight: 700;
}

.font-weight-semibold {
  font-weight: 600;
}

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

.text-muted {
  color: var(--text-tertiary) !important;
}

.d-flex {
  display: flex;
}

.justify-content-between {
  justify-content: space-between;
}

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

.align-items-center {
  align-items: center;
}

.mt-5 { margin-top: 3rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-1 { margin-bottom: 0.25rem !important; }

.pt-5 { padding-top: 3rem !important; }
.pb-5 { padding-bottom: 3rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-3 { padding: 1rem !important; }

.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }

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

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.col-md-3 { grid-column: span 1; }
.col-md-4 { grid-column: span 1; }
.col-md-6 { grid-column: span 1; }
.col-lg-2 { grid-column: span 1; }
.col-lg-3 { grid-column: span 1; }
.col-lg-4 { grid-column: span 1; }

@media (min-width: 768px) {
  .col-md-3 { grid-column: span 3; }
  .col-md-4 { grid-column: span 4; }
  .col-md-6 { grid-column: span 6; }
}

@media (min-width: 1024px) {
  .col-lg-2 { grid-column: span 2; }
  .col-lg-3 { grid-column: span 3; }
  .col-lg-4 { grid-column: span 4; }
}

/* RESPONSIVE */

@media (max-width: 768px) {
  h1, .display-4 { font-size: 2.5rem; }
  h2, .display-3 { font-size: 2rem; }
  h3, .display-2 { font-size: 1.5rem; }

  section {
    padding: 3rem 1rem;
  }

  .hero {
    min-height: 300px;
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .navbar-controls {
    flex-direction: column;
    gap: 0.5rem;
    margin-left: 0;
  }
}

/* ACCORDION STYLES */

.accordion .card {
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
  border-radius: 8px;
}

.accordion .card .card-header {
  background-color: var(--bg-tertiary);
  padding: 0;
}

.accordion .card .card-header button {
  color: var(--text-primary);
  font-weight: 600;
  width: 100%;
  text-align: left;
  padding: 1rem;
}

.accordion .card .card-header button:hover {
  background-color: var(--bg-secondary);
}

.accordion .card .card-body {
  color: var(--text-secondary);
  background-color: var(--bg-secondary);
}

/* CAROUSEL */

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(0.8);
}

.carousel-item {
  transition: var(--transition-smooth);
}

/* IMAGES */

img {
  max-width: 100%;
  height: auto;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded {
  border-radius: 8px;
}

.rounded-circle {
  border-radius: 50%;
}

/* COOKIE CONSENT */

#cookieConsentContainer {
  background-color: var(--bg-secondary) !important;
  border-top: 1px solid var(--border-color);
  color: var(--text-primary) !important;
}

/* SCROLL BEHAVIOR */

html {
  scroll-behavior: smooth;
}
