/* --- 1. Global Resets & Base Styles --- */
:root {
    /* Bright, Playful Color Palette */
    --color-primary: #FF69B4; /* Hot Pink */
    --color-secondary: #FFD700; /* Gold/Yellow */
    --color-accent: #00FFFF; /* Cyan/Aqua */
    --color-background: #FFFACD; /* Lemon Chiffon (Soft, bright base) */
    --color-text: #333333;
    --color-dark: #111111;
    --color-light-gray: #f0f0f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', cursive, sans-serif; /* Fun, playful font choice */
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
}

/* --- 2. Header & Navigation (The 90s Vibe) --- */
#main-header {
    background-color: var(--color-primary);
    color: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    text-shadow: 2px 2px 0px #333333; /* Retro shadow effect */
}

#main-header nav ul {
    list-style: none;
    display: flex;
}

#main-header nav ul li a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
    padding: 5px 10px;
    border: 2px solid white;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#main-header nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* --- 3. Hero Section (The Big Hook) --- */
#hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    color: var(--color-dark);
    margin-bottom: 40px;
}

#hero h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    text-shadow: 4px 4px 0px rgba(255, 255, 255, 0.8);
}

.cta-button {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-dark);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    margin-top: 20px;
    border: 3px solid var(--color-dark);
    transition: transform 0.2s, background-color 0.2s;
}

.cta-button:hover {
    background-color: white;
    transform: scale(1.05);
}

/* --- 4. Stats Section (The 90s Interactive Elements) --- */
#stats {
    display: flex;
    justify-content: space-around;
    padding: 40px 5%;
    background-color: var(--color-light-gray);
    border-top: 5px solid var(--color-primary);
}

.stat-box {
    background: white;
    padding: 20px;
    border: 4px dashed var(--color-secondary); /* Retro border style */
    border-radius: 10px;
    text-align: center;
    flex-basis: 45%;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.1); /* Chunky shadow */
}

.stat-box h2 {
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: 1.5em;
}

.counter-display {
    font-size: 3em;
    font-weight: bold;
    color: var(--color-dark);
    margin: 10px 0;
    /* This is where JavaScript will update the number */
}

.guestbook-content {
    margin-top: 15px;
    border-top: 1px dashed #ccc;
    padding-top: 10px;
}

.guest-message {
    font-style: italic;
    color: #555;
}

/* --- 5. Portfolio Gallery (Diverse Visual Arts) --- */
#portfolio {
    padding: 60px 5%;
    text-align: center;
}

#portfolio h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--color-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.art-item {
    background: white;
    border: 5px solid var(--color-secondary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.15); /* Strong, retro shadow */
    transition: transform 0.3s;
}

.art-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.2);
}

.art-item img {
    width: 100%;
    height: 300px; /* Fixed height for uniform display */
    object-fit: cover; /* Ensures the image covers the area nicely */
    display: block;
}

.caption {
    padding: 10px;
    background-color: var(--color-primary);
    color: white;
    font-weight: bold;
}

/* --- 6. About & Contact --- */
#about, #contact {
    padding: 60px 5%;
    text-align: center;
    background-color: var(--color-light-gray);
}

#about p, #contact p {
    max-width: 700px;
    margin: 20px auto;
    font-size: 1.1em;
}

/* Contact Form Styling (Retro Input Look) */
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 3px solid var(--color-secondary);
    border-radius: 5px;
    font-size: 1em;
}

/* --- 7. Footer --- */
footer {
    background-color: var(--color-dark);
    color: var(--color-light-gray);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer a {
    color: var(--color-secondary);
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #main-header {
        flex-direction: column;
        text-align: center;
    }
    #main-header nav ul {
        margin-top: 10px;
    }
    #hero h1 {
        font-size: 2.5em;
    }
    #stats {
        flex-direction: column;
        align-items: center;
    }
    .stat-box {
        flex-basis: 100%;
        margin-bottom: 20px;
    }
}
