/* Apple-Inspired Style with Light/Dark Mode */

:root {
    --bg-color: #fff;
    --text-color: #000;
    --accent-color: #0071e3;
    --card-bg: #f0f0f5;
    --section-bg: #f5f5f7;
    --header-bg: rgba(255, 255, 255, 0.95);
  }
  
  body.dark-mode {
    --bg-color: #121212;
    --text-color: #f0f0f0;
    --accent-color: #0a84ff;
    --card-bg: #1e1e1e;
    --section-bg: #1a1a1a;
    --header-bg: rgba(18, 18, 18, 0.95); /* matches dark background */
  }
  
  body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    scroll-behavior: smooth;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  header.apple-style-header {
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1em 2em;
  }
  
  .logo {
    font-weight: bold;
    font-size: 2em;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 2em;
    margin: 0;
    padding: 0;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav-links li a:hover {
    color: var(--accent-color);
  }
  
  .hero {
  height: 100vh;
  width: 100%;
  text-align: center;
  padding: 0;
  background: var(--section-bg);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

  
  .hero h1 {
    font-size: 4em;
    margin-bottom: 0.5em;
  }
  
  .hero p {
    font-size: 1.25em;
    margin-bottom: 2em;
  }
  
  .cta-button {
    padding: 0.75em 2em;
    font-size: 1em;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  
  .cta-button:hover {
    background: #005bb5;
  }
  
  .section {
    
    padding: 5em 3em;
    max-width: 1000px;
    margin: auto;
  }
  
  .section h2 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 2em;
  }

  #next-project textarea {
    width: 100%;
    min-height: 120px;
    padding: 1em;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 1em;
    resize: vertical;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  #submission-status {
    font-style: italic;
    color: var(--accent-color);
    margin-top: 1em;
  }
  
  
  .cards {
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .card {
    flex: 1 1 250px;
    padding: 2em;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: background 0.3s ease;
  }
  
  .project-gallery {
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .project-item {
    flex: 1 1 400px;
    text-align: center;
  }
  
  .project-item img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  form {
    display: flex;
    flex-direction: column;
    gap: 1em;
    max-width: 600px;
    margin: auto;
  }
  
  input, textarea {
    padding: 1em;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 1em;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  button[type="submit"] {
    background: var(--accent-color);
    color: white;
    padding: 1em;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  button[type="submit"]:hover {
    background: #005bb5;
  }
  
  footer {
    text-align: center;
    padding: 2em;
    background: var(--section-bg);
    font-size: 0.9em;
    transition: background 0.3s ease;
  }

  .theme-toggle {
    position: fixed;
    top: 1em;
    right: 1em;
    z-index: 2000;
    background: transparent;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .theme-toggle:hover {
    transform: scale(1.2);
  }
  
  

  


