/*
Theme Name: Drawn Carbon
Description: A modern WordPress theme based on the Drawn Carbon React components, featuring a clean design with Tailwind CSS styling.
Version: 1.0.0
Author: Drawn Carbon
Text Domain: drawn-carbon
*/

/* Import Tailwind CSS */
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

/* Custom styles for the theme */
body {
    font-family: 'Roboto', sans-serif;
}

.App {
    text-align: center;
  }
  
  #default-layout {
    font-family: 'Roboto', 'Inter', 'Lato', 'Arial', sans-serif;
  }
  h1 {
    font-family: 'Roboto';
    font-weight: 700;
    font-size: 4rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
  }
  h2 {
    font-family: 'Roboto';
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
  }
  h3 {
    font-family: 'Roboto';
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
  }
  h4 {
    font-family: 'Roboto';
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.5;
    letter-spacing: 0.01em;
  }
  h5 {
    font-family: 'Roboto';
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.6;
    letter-spacing: 0.01em;
  }
  p {
    font-family: 'Roboto';
    font-weight: 400;
    line-height: 1.6;
  }
  
  @media screen and (max-width: 800px) {
    h1 {
      font-size: 2.5rem;
    }
    h2 {
      font-size: 2.15rem;
      max-width: 90%;
    }
    h3 {
      font-size: 1.5rem;
    }
    h4 {
      font-size: 1.25rem;
    }
  }
  
  .App-logo {
    height: 40vmin;
    pointer-events: none;
  }
  
  @media (prefers-reduced-motion: no-preference) {
    .App-logo {
      animation: App-logo-spin infinite 20s linear;
    }
  }
  
  .App-header {
    background-color: #282c34;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: calc(10px + 2vmin);
    color: white;
  }
  
  .App-link {
    color: #61dafb;
  }
  
  @keyframes App-logo-spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

/* Header styles */
nav {
    transition: all 0.2s ease;
}

/* Logo styles */
.logo svg {
    height: 3rem;
    width: 3rem;
    margin-right: 1rem;
}

/* Navigation link styles */
.nav-link {
    font-weight: 600;
    font-size: 1.125rem;
    padding-bottom: 0.5rem;
    border-bottom: 4px solid transparent;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #008000;
}

.nav-link.active {
    border-bottom-color: #008000;
}

/* Dropdown styles */
.dropdown-menu {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.group:hover .dropdown-menu {
    opacity: 1;
}

/* Mobile menu styles */
.mobile-menu {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
}

/* Custom button styles */
.btn-primary {
    background-color: #008000;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.125rem;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #006400;
}

/* Main content area */
.main-content {
    margin-top: 70px;
    min-height: 20rem;
}

.main-content.with-header-image {
    background-size: cover;
    background-position: bottom;
    background-attachment: fixed;
}

/* Responsive navigation */
@media (max-width: 800px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
}

@media (min-width: 801px) {
    .desktop-nav {
        display: block;
    }
    
    .mobile-nav {
        display: none;
    }
} 