:root {
    /* Light theme colors */
    --bg-color: #fffaf3;
    --text-color: #1a1a1a;
    --heading-color: #3d3d3d;
    --accent-color: #e07a5f;
    --highlight-color: #f4a261;
    --subtext-color: #555;
    --form-bg: #fff;
    --button-bg: #e07a5f;
    --button-hover-bg: #d65f45;
    --hero-overlay: rgba(0, 0, 0, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.1);
  }
  
  body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background: var(--bg-color);
    scroll-behavior: smooth;
    transition: background 0.5s, color 0.5s;
  }
  
  h1, h2 {
    font-weight: 700;
    color: var(--heading-color);
    transition: color 0.5s;
  }
  
  .subtitle, p {
    font-weight: 300;
    max-width: 600px;
    margin: 10px auto 40px auto;
    color: var(--subtext-color);
    transition: color 0.5s;
  }
  
  .hero {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.6)), url('assets/art1.jpg') center/cover no-repeat;
    height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    transition: background 0.5s;
  }
  
  .hero-text {
    position: relative;
    z-index: 2;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 3.5rem;
    color: var(--highlight-color);
    transition: color 0.5s;
  }
  
  .hero p {
    font-size: 1.3rem;
    color: #fefefe;
    transition: color 0.5s;
  }
  
  .gallery {
    background: var(--form-bg);
    padding-bottom: 50px;
    transition: background 0.5s;
  }
  
  .gallery h2 {
    color: var(--accent-color);
    text-align: center;
    transition: color 0.5s;
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .artwork {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px var(--shadow-color);
    transition: box-shadow 0.3s ease;
  }
  
  .artwork img {
    display: block;
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  
  .artwork:hover img {
    transform: scale(1.05);
  }
  
  .info {
    position: absolute;
    bottom: 0;
    background: rgba(224, 122, 95, 0.85);
    color: white;
    width: 100%;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: pre-line;
    text-align: center;
    line-height: 1.3;
  }
  
  .artwork:hover .info {
    opacity: 1;
    transform: translateY(0);
  }
  
  .about {
    background: #fdf2e9;
    padding: 60px 20px 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    transition: background 0.5s;
    text-align: center;
  }
  
  .about h2 {
    color: var(--accent-color);
    transition: color 0.5s;
  }
  
  .contact {
    background: var(--bg-color);
    padding: 60px 20px 60px 20px;
    max-width: 400px;
    margin: 0 auto 60px auto;
    transition: background 0.5s;
    text-align: center;
  }
  
  .contact h2 {
    color: var(--heading-color);
    transition: color 0.5s;
    margin-bottom: 30px;
  }
  
  form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  input, textarea {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: 'Poppins', sans-serif;
    background: var(--form-bg);
    color: var(--text-color);
    transition: background 0.5s, color 0.5s;
    resize: vertical;
  }
  
  button {
    padding: 12px;
    border-radius: 5px;
    border: none;
    background: var(--button-bg);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  button:hover {
    background: var(--button-hover-bg);
  }
  
  /* Dark Theme */
  
  body.dark {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --heading-color: #f4a261;
    --accent-color: #f4a261;
    --highlight-color: #e07a5f;
    --subtext-color: #bbb;
    --form-bg: #222;
    --button-bg: #f4a261;
    --button-hover-bg: #e07a5f;
    --hero-overlay: rgba(0, 0, 0, 0.7);
    --shadow-color: rgba(255, 255, 255, 0.1);
  }
  
  body.dark .hero p {
    color: #ddd;
  }
  
  /* Color Switcher Button */
  
  .color-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--button-bg);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 999;
  }
  
  .color-switcher:hover {
    background: var(--button-hover-bg);
  }
  
  .color-switcher svg {
    width: 24px;
    height: 24px;
    fill: white;
  }
  