@tailwind base;
@tailwind components;
@tailwind utilities;
@import "header.css";
@import "coupons.css";

/* Import Professional Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* PROFESSIONAL AIR DUCT CLEANING DESIGN SYSTEM */
/* Industry-standard design for maximum trust and conversions */

@layer base {
  :root {
    /* Brand Colors */
    --brand-red: #E31C3D;
    --brand-blue: #004AAD;
    
    /* Professional Color Palette */
    --primary-blue: #004AAD;
    --primary-blue-light: #3b82f6;
    --primary-blue-dark: #1e3a8a;
    --accent-green: #059669;
    --accent-green-light: #10b981;
    --accent-orange: #ea580c;
    --accent-red: #E31C3D;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Professional Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  }
  
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
    margin: 0;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
}

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

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Layout Components */
@layer components {
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  @media (min-width: 640px) {
    .container {
      padding: 0 2rem;
    }
  }
  
  @media (min-width: 1024px) {
    .container {
      padding: 0 3rem;
    }
  }
  
  .section {
    padding: 4rem 0;
  }
  
  @media (min-width: 768px) {
    .section {
      padding: 5rem 0;
    }
  }
  
  @media (min-width: 1024px) {
    .section {
      padding: 6rem 0;
    }
  }
}

/* Professional Header */
@layer components {
  .header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
  }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
  }
  
  .logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
  }
  
  .header-phone {
    background: var(--accent-green);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
  }
  
  .header-phone:hover {
    background: var(--accent-green-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
  }
}

/* Hero Section */
@layer components {
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    overflow: hidden;
  }
  
  .hero::before {
    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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(/%23grid)"/></svg>');
    pointer-events: none;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
  }
  
  .hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 400;
  }
  
  .hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
  }
  
  @media (min-width: 640px) {
    .hero-cta-group {
      flex-direction: row;
      justify-content: center;
    }
  }
  
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .hero-stat {
    text-align: center;
  }
  
  .hero-stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
  }
  
  .hero-stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
  }
}

/* Professional Buttons */
@layer components {
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .btn-primary {
    @apply py-2 px-4 bg-blue-500 text-white font-semibold rounded-lg shadow-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75;
  }
  
  .btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow);
  }
  
  .btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
  }
  
  .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 0.75rem;
  }
  
  .btn-phone {
    background: var(--accent-orange);
    color: var(--white);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
  }
  
  .btn-phone:hover {
    background: #c2410c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    animation: none;
  }
}

/* Professional Cards */
@layer components {
  .card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue-light);
  }
  
  .card-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
  }
  
  .card-description {
    color: var(--gray-600);
    line-height: 1.6;
  }
}

/* Grid Layouts */
@layer components {
  .grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  @media (min-width: 768px) {
    .grid-2 {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  .grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  @media (min-width: 640px) {
    .grid-3 {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 1024px) {
    .grid-3 {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  .grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
}

/* Section Styles */
@layer components {
  .section-header {
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
  }
  
  .section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
  }
  
  .section-gray {
    background: var(--gray-50);
  }
  
  .section-blue {
    background: var(--primary-blue);
    color: var(--white);
  }
  
  .section-blue .section-title {
    color: var(--white);
  }
  
  .section-blue .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
  }
}

/* Testimonials */
@layer components {
  .testimonial {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
  }
  
  .testimonial:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
  
  .testimonial::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary-blue);
    font-family: serif;
    line-height: 1;
  }
  
  .testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.6;
  }
  
  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .testimonial-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
  }
  
  .testimonial-info p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
  }
  
  .testimonial-stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.25rem;
  }
}

/* FAQ Section */
@layer components {
  .faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.2s ease;
  }
  
  .faq-item:hover {
    border-color: var(--primary-blue-light);
  }
  
  .faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
  }
  
  .faq-question:hover {
    background: var(--gray-50);
  }
  
  .faq-icon {
    transition: transform 0.2s ease;
    color: var(--primary-blue);
  }
  
  .faq-item.active .faq-icon {
    transform: rotate(180deg);
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .faq-item.active .faq-answer {
    max-height: 300px;
  }
  
  .faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-600);
    line-height: 1.6;
  }
}

/* CTA Section */
@layer components {
  .cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
  }
  
  .cta-section::before {
    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"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    pointer-events: none;
  }
  
  .cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
  }
}

/* Price Box */
@layer components {
  .price-box {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--accent-green);
    position: relative;
    overflow: hidden;
  }
  
  .price-box::before {
    content: 'BEST VALUE';
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--accent-green);
    color: var(--white);
    padding: 0.5rem 3rem;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
  }
  
  .price-amount {
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    line-height: 1;
  }
  
  .price-period {
    color: var(--gray-600);
    margin-bottom: 2rem;
  }
  
  .price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
  }
  
  .price-features li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .price-features li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: bold;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero-cta-group {
    flex-direction: column;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .testimonial {
    padding: 1.5rem;
  }
}

/* Utility Classes */
@layer utilities {
  .animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
  }
  
  .animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
  }
  
  .animate-float {
    animation: float 3s ease-in-out infinite;
  }
  
  .text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  /* Premium Hero Animations */
  .animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
  }
  
  .animate-pulse-slow {
    animation: pulse 3s infinite;
  }
  
  /* Enhanced Shadow Effects */
  .shadow-3xl {
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.25);
  }
  
  /* Premium Button Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Enhanced Button Hover Effects */
  .hover\\:shadow-3xl:hover {
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.4);
  }
} 
/* Header Component Styles */

/* Hamburger animation */
.hamburger-active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Dropdown arrow rotation */
[data-dropdown-container] button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Focus visible styles for better accessibility */
.focus-visible:focus {
  outline: 2px solid #E31C3D;
  outline-offset: 2px;
}

/* Mobile menu slide animation improvements */
[data-header-target="mobileMenu"] {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Backdrop fade animation */
[data-header-target="backdrop"] {
  transition: opacity 0.3s ease-in-out;
}

/* Ensure proper z-index stacking */
.dropdown-menu {
  z-index: 60;
}

/* COMPACT & READABLE DROPDOWN MENU STYLES - OVERRIDE ALL EXISTING STYLES */

/* Main dropdown container - Made bigger for easier scanning */
.dropdown-menu.services-dropdown {
  min-width: 750px !important;
  max-width: 800px !important;
  display: grid !important;
  grid-template-columns: 1.2fr 0.8fr !important;
  gap: 22px !important;
  padding: 22px !important;
  left: -220px !important;
  max-height: 80vh !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(25px) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* CRITICAL: Dropdown container hover functionality */
.dropdown-container:hover .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

/* Dropdown sections - More spacious */
.dropdown-menu.services-dropdown .dropdown-section {
  display: flex !important;
  flex-direction: column !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border-radius: 12px !important;
  padding: 18px !important;
  border: 1px solid rgba(226, 232, 240, 0.4) !important;
}

.dropdown-menu.services-dropdown .dropdown-section.primary {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(255, 255, 255, 0.9) 100%) !important;
  border: 2px solid rgba(251, 191, 36, 0.2) !important;
}

/* Bigger, more readable headers */
.dropdown-menu.services-dropdown .dropdown-header {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #1e40af !important;
  margin: 0 0 12px 0 !important;
  padding: 0 0 10px 0 !important;
  border-bottom: 1px solid #fbbf24 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  position: relative !important;
}

.dropdown-menu.services-dropdown .dropdown-header.primary {
  font-size: 13px !important;
  color: #b45309 !important;
  font-weight: 700 !important;
}

/* Bigger, more scannable dropdown links */
.dropdown-menu.services-dropdown .dropdown-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  color: #1e40af !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  border-radius: 8px !important;
  margin: 3px 0 !important;
  position: relative !important;
  overflow: hidden !important;
  line-height: 1.4 !important;
}

/* Larger service icons */
.dropdown-menu.services-dropdown .service-icon {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

/* More spaced service categories */
.dropdown-menu.services-dropdown .service-category {
  margin-bottom: 10px !important;
}

.dropdown-menu.services-dropdown .category-title {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #b45309 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  margin-bottom: 6px !important;
  padding-left: 14px !important;
  opacity: 0.9 !important;
}

/* Enhanced hover effects for better UX */
.dropdown-menu.services-dropdown .dropdown-link:hover {
  background: rgba(251, 191, 36, 0.1) !important;
  transform: translateX(3px) !important;
  color: #1e40af !important;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.15) !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .dropdown-menu.services-dropdown {
    min-width: 700px !important;
    max-width: 750px !important;
    left: -200px !important;
  }
}

/* Smooth hover transitions for all interactive elements */
header a,
header button {
  transition: all 0.2s ease-in-out;
}

/* Brand color utilities */
.text-brand-red {
  color: #E31C3D;
}

.bg-brand-red {
  background-color: #E31C3D;
}

.border-brand-red {
  border-color: #E31C3D;
}

.text-brand-blue {
  color: #004AAD;
}

.bg-brand-blue {
  background-color: #004AAD;
}

/* Responsive typography improvements */
@media (max-width: 640px) {
  .mobile-menu-link {
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  header {
    border-bottom: 2px solid #000;
  }
  
  .dropdown-menu {
    border: 2px solid #000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
} 
/* Basic styling for landing pages index */
.pages-section {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
  min-height: 100vh;
  padding: 2rem 0;
}

.pages-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.page-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.page-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.page-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.page-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.page-link {
  color: #1e3a8a;
  text-decoration: none;
}

.page-link:hover {
  text-decoration: underline;
}

.page-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.page-status {
  margin-top: 0.5rem;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.published {
  background: #d1fae5;
  color: #065f46;
}

.status-badge.draft {
  background: #f3f4f6;
  color: #374151;
}

.page-actions {
  padding: 1rem 1.5rem;
  background: #f9fafb;
}

.action-row {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.action-btn.primary {
  background: #3b82f6;
  color: white;
}

.action-btn.primary:hover {
  background: #2563eb;
}

.action-btn.edit {
  background: #8b5cf6;
  color: white;
}

.action-btn.edit:hover {
  background: #7c3aed;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.empty-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1e3a8a;
}

.empty-description {
  color: #6b7280;
  margin-bottom: 2rem;
}

.empty-cta {
  background: #10b981;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s ease;
}

.empty-cta:hover {
  background: #059669;
}

/* Responsive */
@media (max-width: 768px) {
  .pages-container {
    padding: 0 1rem;
  }
  
  .pages-grid {
    grid-template-columns: 1fr;
  }
  
  .action-row {
    flex-direction: column;
  }
} 
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory or any subdirectory of this directory
 * will be included by default, except files that start with an underscore.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Basic styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}

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

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #0056b3;
} 
