@import 'https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css';

:root {
  --emerald-primary: #10b981;
  --emerald-dark: #065f46;
  --sapphire-primary: #3b82f6;
  --sapphire-dark: #1e40af;
  --brass-accent: #d97706;
  --brass-light: #fbbf24;
  --terracotta: #dc2626;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

[class*="text-"] strong,
[class*="text-"] b,
[style*="color"] strong,
[style*="color"] b,
.text-white strong,
.text-white b,
.text-light strong,
.text-light b {
  color: inherit;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.cabinet-gradient {
  background: linear-gradient(135deg, var(--emerald-primary) 0%, var(--emerald-dark) 25%, var(--sapphire-primary) 50%, var(--sapphire-dark) 100%);
}

.glassmorphism-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
}

.cabinet-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cabinet-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.9) 0%, rgba(6, 95, 70, 0.8) 25%, rgba(59, 130, 246, 0.9) 50%, rgba(30, 64, 175, 0.8) 100%);
  z-index: 1;
}

.cabinet-hero-content {
  position: relative;
  z-index: 1;
}

.has-text-white-light {
  color: rgba(255, 255, 255, 0.8);
}

.brass-accent {
  color: var(--brass-accent);
}

.brass-accent-button {
  background: linear-gradient(135deg, var(--brass-accent) 0%, var(--brass-light) 100%);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.button.is-outlined {
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 1rem;
  line-height: 1.6;
}

.brass-accent-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.4);
  color: var(--white);
}

.texture-overlay {
  position: relative;
}

.texture-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="50" cy="10" r="1" fill="%23ffffff" opacity="0.04"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
  pointer-events: none;
}

.asymmetrical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
}

.geometric-card {
  position: relative;
  padding: 2rem;
  background: var(--white);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  transition: all 0.3s ease;
}

.geometric-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.brass-border {
  border-left: 4px solid var(--brass-accent);
}

.terracotta-highlight {
  background: linear-gradient(135deg, var(--terracotta) 0%, #f87171 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.cabinet-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  position: relative;
  z-index: 1001;
}

.mobile-menu {
  display: none;
}

@media screen and (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .cabinet-hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .geometric-card {
    padding: 1.5rem;
  }
}

.cabinet-form {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--emerald-primary);
  box-shadow: 0 0 0 0.125em rgba(16, 185, 129, 0.25);
}

.cabinet-footer {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: var(--white);
}

.cabinet-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.cabinet-footer a:hover {
  color: var(--brass-accent);
}

.cabinet-footer .contact-info-item {
  color: rgba(255, 255, 255, 0.8)
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  z-index: 9999;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--emerald-primary);
}

@media screen and (min-width: 769px) {
  .cookie-banner {
    left: 40px;
    right: auto;
    bottom: 40px;
  }
}

.cookie-banner-title {
  color: var(--gray-900);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cookie-banner-text {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-accept {
  background: var(--emerald-primary);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-accept:hover {
  background: var(--emerald-dark);
  color: var(--white);
}

.cookie-decline {
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-decline:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.burger-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

@media screen and (max-width: 768px) {
  .burger-button {
    display: block;
  }
  
  .mobile-menu-overlay {
    display: none;
  }

  @media screen and (max-width: 768px) {
    .mobile-menu-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: 10000;
      overflow: hidden;
    }
    
    .mobile-menu-overlay.is-active {
      display: block;
    }
    
    .mobile-menu-content {
      position: absolute;
      top: 0;
      left: 0;
      width: 80%;
      max-width: 320px;
      height: 100%;
      background: var(--white);
      box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
    }
    
    .mobile-menu-overlay.is-active .mobile-menu-content {
      transform: translateX(0);
    }
    
    .mobile-menu-header {
      padding: 1rem;
      border-bottom: 1px solid var(--gray-200);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .close-menu-button {
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: var(--gray-700);
    }
    
    .mobile-menu-links {
      padding: 1rem;
      flex: 1;
      overflow-y: auto;
    }
    
    .mobile-menu-links a {
      display: block;
      padding: 12px 16px;
      color: var(--gray-900);
      text-decoration: none;
      border-bottom: 1px solid var(--gray-100);
      border-radius: 6px;
      margin-bottom: 0.5rem;
    }
    
    .mobile-menu-links a:last-child {
      border-bottom: none;
    }
    
    .mobile-menu-links a:hover {
      background: var(--gray-50);
    }
  }
  
  @media screen and (max-width: 768px) {
    .mobile-menu-overlay.is-active {
      display: block;
    }
    
    .mobile-menu-content {
      position: absolute;
      top: 0;
      left: 0;
      width: 80%;
      max-width: 320px;
      height: 100%;
      background: var(--white);
      box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
    }
    
    .mobile-menu-overlay.is-active .mobile-menu-content {
      transform: translateX(0);
    }
    
    .mobile-menu-header {
      padding: 1rem;
      border-bottom: 1px solid var(--gray-200);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .close-menu-button {
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: var(--gray-700);
    }
    
    .mobile-menu-links {
      padding: 1rem;
      flex: 1;
      overflow-y: auto;
    }
    
    .mobile-menu-links a {
      display: block;
      padding: 12px 16px;
      color: var(--gray-900);
      text-decoration: none;
      border-bottom: 1px solid var(--gray-100);
      border-radius: 6px;
      margin-bottom: 0.5rem;
    }
    
    .mobile-menu-links a:last-child {
      border-bottom: none;
    }
    
    .mobile-menu-links a:hover {
      background: var(--gray-50);
    }
  }
}

.service-card {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--emerald-primary);
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--brass-accent);
  opacity: 0.3;
  font-family: serif;
}

.price-tag {
  background: linear-gradient(135deg, var(--brass-accent) 0%, var(--brass-light) 100%);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.125rem;
  display: inline-block;
}

.cta-section {
  background: linear-gradient(135deg, var(--emerald-primary) 0%, var(--sapphire-primary) 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.cta-section .title,
.cta-section .subtitle {
  color: var(--white);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--emerald-primary) 0%, var(--sapphire-primary) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1.5rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--gray-700);
}

.contact-info-item i {
  margin-right: 12px;
  color: var(--emerald-primary);
  width: 20px;
  text-align: center;
}

/* FAQ Styles */
.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--emerald-primary);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--gray-50);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-200);
}

.faq-question:hover {
  background: var(--gray-100);
}

.faq-question[aria-expanded="true"] {
  background: linear-gradient(135deg, var(--emerald-primary) 0%, var(--emerald-dark) 100%);
  color: var(--white);
}

.faq-question[aria-expanded="true"] i {
  color: var(--white);
  transform: rotate(180deg);
}

.faq-question i {
  color: var(--emerald-primary);
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--white);
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 500px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.faq-answer p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.6;
}

/* Ensure FAQ items have proper spacing */
.faq-item:last-child {
  margin-bottom: 0;
}