/* styles.css - Main Stylesheet for Sunshine Elementary Art Gallery */

:root {
    --primary: #4361EE;
    --secondary: #3A0CA3;
    --accent: #7209B7;
    --light: #F8F9FA;
    --dark: #212529;
    --highlight: #4CC9F0;
    --success: #38B000;
    --warning: #FF9E00;
    --danger: #F72585;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--highlight);
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: rgba(255,255,255,0.2);
}

nav a.active {
    background-color: var(--accent);
}

/* Hero Section */
.hero {
    background: url('https://images.unsplash.com/photo-1579762715118-a6f1d4b934f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    background-blend-mode: overlay;
    background-color: rgba(67, 97, 238, 0.9);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(58,12,163,0.8), rgba(67,97,238,0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Section Styles */
section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--secondary);
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--highlight);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.art-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.art-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.art-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.art-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.art-info {
    padding: 1.5rem;
}

.art-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.art-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.artist {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.artist-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #eee;
    margin-right: 10px;
    background-size: cover;
}

/* Drawing Canvas Styles */
#editor {
    background: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 10px;
    transition: background 0.3s;
}


.app-container {
    max-width: 1400px;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #1a1a1a;
    color: white;
}

.header h1 {
    font-size: 24px;
}

.main-content {
    display: flex;
    flex: 1;
}

.sidebar {
    width: 250px;
    background: #f5f5f5;
    padding: 15px;
    overflow-y: auto;
    transition: width 0.3s;
}

.sidebar.collapsed {
    width: 50px;
}

.panel {
    margin-bottom: 20px;
}

.panel h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.tool-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tool-btn, .action-btn {
    padding: 8px;
    border: none;
    border-radius: 4px;
    background: #007bff;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.tool-btn:hover, .action-btn:hover {
    background: #0056b3;
}

.tool-btn.active {
    background: #003087;
}

.brush-settings label {
    display: block;
    margin: 10px 0 5px;
    font-size: 14px;
}

.brush-settings select, .brush-settings input[type="range"] {
    width: 100%;
    padding: 5px;
}

.canvas-container {
    flex: 1;
    position: relative;
    background: #fff;
}

#sketchCanvas {
    width: 100%;
    height: 100%;
    border: 1px solid #ccc;
}

.layer-item {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 4px;
    margin: 5px auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.layer-item select, .layer-item input {
    width: 80px;
}

body.dark-theme {
    background: #333;
}

body.dark-theme .app-container {
    background: #222;
}

body.dark-theme .sidebar {
    background: #2a2a2a;
    color: #fff;
}

body.dark-theme .header {
    background: #111;
}

body.dark-theme .layer-item {
    background: #333;
}

@media (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        max-height: 200px;
    }

    .canvas-container {
        height: 500px;
    }
}

/* Footer Styles */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 1.5rem 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--highlight);
}

.devs{
    font-size: 14px;
    color: var(--highlight);
    margin: 5px auto;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}
/* Contact Page Styles */
.contact-section {
    background-color: white;
    padding: 4rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 8px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    background-color: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method h4 {
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.contact-hours {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.contact-hours h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}


.about-section .section-title {
  font-size: 2em;
  color: #1e293b;
  border-left: 6px solid #ef4444;
  padding-left: 14px;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.value-list,
.steps-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 20px;
}

.value-list li {
  background: #55acff34;
  padding: 12px 18px;
  margin-bottom: 10px;
  border-left: 5px solid #55acff;
  border-radius: 8px;
}

.steps-list {
  padding-left: 20px;
}
.steps-list li {
  margin-bottom: 10px;
  font-weight: 500;
}

.btn {
  background: #ef4444;
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  font-weight: bold;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #dc2626;
}

.mentor-section {
  background: #ff404012;
  margin: -10px; 
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px #0b0b0b5c;
}
.cta-section {
  text-align: center;
}

/* Optional: tweak for special sections */
.resource-section, .note {
  padding: 50px 20px;
  max-width: 1000px;
  margin: auto;
  border-bottom: 2px solid #ececec;
}

.note{
    text-align: center;
}

.resource-section .section-title {
  font-size: 1.9em;
  border-left: 6px solid #10b981; /* Emerald green for resources */
  padding-left: 14px;
  margin-bottom: 18px;
  color: #1f2937;
}

.resource-section p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.resource-section ul {
  list-style: none;
  padding: 0;
}
.resource-section li {
  background: #f9fafb;
  margin-bottom: 10px;
  padding: 12px 16px;
  border-left: 5px solid #10b981;
  border-radius: 8px;
  font-size: 1rem;
  background: #bfbfff3e;
}
.file-list a {
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
}
.file-list a:hover {
  color: #065f46;
}
.benefit-list li {
  background: #f0fdf4;
  padding: 16px 20px;
  margin-bottom: 14px;
  border-left: 6px solid #22c55e;
  border-radius: 10px;
  font-size: 1.05rem;
  line-height: 1.7;
  transition: background 0.3s;
}
.benefit-list li:hover {
  background: #ecfdf5;
}
.benefit-list strong {
  color: #065f46;
}


/* Responsive Contact Page */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        width: 100%;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .drawing-container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}
