/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Smooth scrolling */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333;          /* Dark gray text */
    background-color: #ffffff; /* White page background */
}

/* Header and Navigation */
header {
    background-color: #ffffff; /* White header */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #333333;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00bcd4; /* Teal accent on hover */
}

/* Main content */
main {
    margin: 80px auto 0; /* Space for fixed header */
}

/* Each section offset by header height when clicking anchor links */
section {
    margin: 4rem 0;
    padding: 2rem 0;
    scroll-margin-top: 80px;
}

h1, h2 {
    margin-bottom: 1.5rem;
    color: #333333;
}

/* Section Background Colors (optional subtle variations) */
#home {
    background-color: #f2f2f2;
}

#art {
    background-color: #e9ecef; 
}

#projects {
    background-color: #f8f9fa;
}

#demoreel {
    background-color: #e9ecef;
}

#contact {
    background-color: #f2f2f2;
}

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

.gallery-item, .project-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover, .project-card:hover {
    transform: translateY(-5px);
}

.gallery-item img, .project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-item h3, .gallery-item p,
.project-card h3, .project-card p {
    padding: 1rem;
    color: #333333;
}

/* Buttons with teal accent */
.button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #00bcd4; /* Teal accent */
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #0095a1; /* Darker teal on hover */
}

/* Contact Section */
.contact-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.contact-links a {
    color: #00bcd4; /* Teal for contact links */
    text-decoration: none;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    margin-top: 4rem;
    color: #333333;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .gallery, .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Centered content container (optional) */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Optional Showcase Layout (for special sections/cards) */
.project-showcase {
    display: flex;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
    height: clamp(300px, 400px, 500px);
}

.project-showcase:hover {
    transform: translateY(-5px);
}

.showcase-info {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 300px;
    overflow-y: auto;
    color: #333333;
}

.showcase-image {
    flex: 2;
    max-width: 60%;
    height: 100%;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tools section styles */
.tools-used {
    margin: 1rem 0;
}

.tools-used h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #666666;
}

.tools-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
}

.tools-list li {
    background-color: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #555555;
}

