/* Reset and Global Styles */

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

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Navigation */
header {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: transparent;
    color: white;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

header.hidden {
    transform: translateY(-100%); /* Hide the navbar by moving it off-screen */
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.8); /* Solid background when scrolled */
    color: white;
}


header .logo {
    font-size: 24px;
    font-weight: bold;
}

.navbar {
    display: flex;
    gap: 15px;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #ff6f61;
}

.shop-btn {
    padding: 5px 15px;
    background-color: #ff6f61;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.shop-btn:hover {
    background-color: #e65a50;
}

/* Hero Section */

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1s ease;
    z-index: -1; /* Keeps it behind the content */
    opacity: 1;
}

.hero[data-image="1"]::before {
    background-image: url('images/artwork1-cake.jpg'); /* Replace with your image paths */
}

.hero[data-image="2"]::before {
    background-image: url('images/artwork2-rainbowland.jpg');
}

.hero[data-image="3"]::before {
    background-image: url('images/artwork3-coral.jpg');
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* Sends the image to the background */
}


.cta-btn {
    padding: 10px 20px;
    background-color: #ff6f61;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none; /* Removes underline for links */
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #e65a50;
}

/* Quote Section */
.quote-section {
    padding: 50px;
    text-align: center;
    background-color: #fff;
}

.quote {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Content Section */
.content {
    display: flex;
    padding: 50px;
    background-color: #f4f4f4;
}

.image-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-area img {
    width: 80%; /* Matches the original placeholder width */
    height: 300px; /* Matches the original placeholder height */
    object-fit: cover; /* Ensures the image fills the area while maintaining aspect ratio */
    border-radius: 10px; /* Adds rounded corners */
    display: block;
    margin: 0 auto; /* Centers the image horizontally */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Adds shadow for aesthetics */
}


.text-area {
    flex: 1;
    padding: 20px;
}

.text-area h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.text-area p {
    font-size: 16px;
    color: #333;
}


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

    .placeholder-image {
        width: 100%;
        height: 200px;
    }
}

/* Explore Art Section */
.explore-art {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

.explore-art h2 {
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: bold;
    color: #333;
}

.art-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.art-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.art-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Buy Art Section Wrapper */
.buy-art-section {
    padding: 40px 20px;
    background-color: #fff;
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid #ddd; /* Optional for separation */
}

/* Buy Button */
.buy-button-section {
    margin: 20px 0;
}

.buy-art-btn {
    padding: 15px 30px;
    font-size: 18px;
    background-color: #ff6f61;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buy-art-btn:hover {
    background-color: #333;
}

/* Footer Section */
.explore-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.social-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon {
    width: 24px;
    height: 24px;
}

.social-section a {
    color: black;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-section a:hover {
    color: #555;
}

.share-link {
    text-align: right;
}

.share-link a {
    color: black;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.share-link a:hover {
    color: #555;
}


/* Specific Styles for Somewhere Else Page */
.somewhere-else-page .navbar a {
    color: black; /* Black text for somewhere else page */
}

.somewhere-else-page .navbar a:hover {
    color: #ff6f61; /* Optional hover effect */
}

.somewhere-else-page .logo {
    color: black; /* Black logo for "somewhere else" page */
}


/* Specific Styles for Connect Page */
.connect-page header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    color: transparent !important;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease;
}


.connect-page .navbar a {
    color: white; /* White text for connect page */
}

.connect-page .navbar a:hover {
    color: #ff6f61; /* Optional hover effect */
}

.connect-page .logo {
    color: white; /* Black logo for "connect" page */
}


.connect-page .hero {
    position: relative;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('exploreart-images/purple-hair.jpeg') no-repeat center center/cover; /* Use the correct image path */
    z-index: 1;
}

.connect-page .hero img {
    width: 100%;
    height: 100vh;
    object-fit: cover; /* Ensures the image maintains aspect ratio and fills the viewport */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* Sends the image to the background */
}


.connect-page .navbar a {
    color: white; /* Black text for connect page */
}

.connect-page .navbar a:hover {
    color: #ff6f61; /* Optional hover effect */
}


/* Specific Styles for Artist page */
.artist-page header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    
    color: white;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease;
}

.artist-page header.hidden {
    transform: translateY(-100%); /* Moves the nav bar off-screen */
}


.artist-page .navbar a {
    color: white; /* White text for connect page */
}

.artist-page .navbar a:hover {
    color: #ff6f61; /* Optional hover effect */
}

.artist-page .logo {
    color: white; /* Black logo for "connect" page */
}



/* Specific Styles for Work page */

.work-page .navbar a {
    color: black; /* Black text for connect page */
}

.work-page .navbar a:hover {
    color: #ff6f61; /* Optional hover effect */
}

.work-page .logo {
    color: black; /* Black logo for "connect" page */
}




/* Connect Section */

.connect-section {
    display: flex;
    flex-direction: row;
    padding: 100px 50px; /* Space from the navigation bar */
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.left-panel img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.right-panel {
    flex: 1;
    max-width: 600px;
}

.right-panel h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.right-panel p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    gap: 15px;
}

form input,
form textarea,
form button {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    outline: none;
}

form textarea {
    resize: none;
}

form button {
    background-color: #ff6f61;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #e65a50;
}






.about-section {
    display: flex;
    gap: 20px; /* Add space between image and text */
    align-items: center;
    justify-content: space-between; /* Ensures proper spacing */
    padding: 50px 20px; /* Add padding for spacing */
}

.text-area {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center-align the text and button horizontally */
    text-align: center; /* Align text centrally */
}

.text-area h2 {
    margin-bottom: 10px; /* Space between the title and paragraph */
}

.text-area p {
    margin-bottom: 20px; /* Space between the paragraph and button */
}

.cta-btn {
    padding: 10px 20px;
    background-color: #ff6f61;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #e65a50;
}












.connect-page form textarea {
    width: 100%; /* Keep it full width */
    height: 200px; /* Increase the height */
    font-size: 16px; /* Adjust font size if needed */
    padding: 15px; /* Add comfortable padding */
    border: 1px solid #ddd; /* Ensure border is consistent */
    border-radius: 8px; /* Optional: make it look polished */
    resize: none; /* Disable resizing if not desired */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow for depth */
}


/* Hero Section (Scoped to Artist Page) */
.artist-page .hero {
    position: relative;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('exploreart-images/artist_me.jpeg') no-repeat center center/cover; /* Use the correct image path */
    z-index: 1;
}

.artist-page .hero img {
    width: 100%;
    height: 100vh;
    object-fit: cover; /* Ensures the image maintains aspect ratio and fills the viewport */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* Sends the image to the background */
}

.artist-page .hero .logo {
    font-family: 'Cursive', sans-serif;
    font-size: 48px;
    color: white;
    text-transform: lowercase;
}

/* Scoped About section */
.artist-page .about-section {
    position: relative;
    z-index: 2; /* Ensures it stays above the hero */
    margin-top: 0; /* Remove negative margin */
    padding: 100px 50px;
    background-color: white;
    text-align: left;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1); /* Optional shadow */
}

.artist-page .about-section h2 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.artist-page .about-section p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* Scoped showcase section */

.artist-page .work-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 50px;
    background: white;
}

.artist-page .work-showcase .work-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.artist-page .work-showcase .work-item img:hover {
    transform: scale(1.05);
}

/* Scoped Footer section */

.artist-page .footer-section {
    padding: 40px;
    background: #333;
    color: white;
    text-align: center;
    font-family: Arial, sans-serif;
}

.artist-page .footer-section h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.artist-page .footer-section p {
    font-size: 16px;
    margin-bottom: 20px;
}

.artist-page .footer-section a {
    color: #ff6f61;
    text-decoration: none;
    margin: 0 10px;
    font-size: 18px;
}

.artist-page .footer-section a:hover {
    text-decoration: underline;
}


/* attempt to make moving picture on artist page */

/* Navbar (Scoped to artist-page) */


/* Hero Section (Scoped to artist-page) */



.artist-page .hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('exploreart-images/artist_me.jpeg') no-repeat center center/cover;
    z-index: 1;
    overflow: hidden;
}


.artist-page .hero img {
    width: 100%;
    height: 100vh;
    object-fit: cover; /* Ensures the image maintains aspect ratio while covering the area */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* Keeps the image in the background */

}

.artist-page .hero .intro {
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 40px;
    border-radius: 8px;
}

/* Content Sections */
.artist-page .content-section {
    padding: 100px 50px;
    background: #f9f9f9;
    text-align: center;
}

.artist-page .content-section:nth-child(even) {
    background: #ffffff;
}

/* Work Grid */
.artist-page .work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.artist-page .work-grid div {
    position: relative;
}

.artist-page .work-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.artist-page .work-grid img:hover {
    transform: scale(1.05);
}

/* Footer */
.artist-page footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #fff;
}








/* somewhere_else */

.somewhere-else-page {
    font-family: 'Arial', sans-serif;
    text-align: center;
    background: linear-gradient(270deg, #fdfdfd, #eceff1);
    animation: backgroundShift 10s infinite alternate;
    transition: background 1s ease-in-out;
    color: #333;
    overflow: hidden;
}

@keyframes backgroundShift {
    0% { background: #eceff1; }
    100% { background: #dfe4ea; }
}

.somewhere-else-page h1 {
    margin-top: 20vh;
    font-size: 2em;
    opacity: 0;
    animation: fadeIn 3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.floating-text {
    font-size: 1.2em;
    opacity: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: floatText 5s infinite alternate ease-in-out;
}

@keyframes floatText {
    0% { top: 40%; opacity: 0.5; }
    100% { top: 45%; opacity: 1; }
}

.interaction {
    margin-top: 50px;
    font-size: 1.2em;
    padding: 10px 20px;
    background: none;
    border: 2px solid #555;
    cursor: pointer;
    transition: all 0.3s;
}

.interaction:hover {
    background: #333;
    color: white;
}

.chat-container {
    margin-top: 20px;
    display: none;
}

.chat-box {
    width: 50%;
    margin: auto;
    padding: 10px;
    border: 1px solid #ccc;
    background: rgba(255, 255, 255, 0.8);
}

.exit-btn {
    margin-top: 50px;
    font-size: 1.2em;
    padding: 10px 20px;
    background: none;
    border: 2px solid #ff0000;
    cursor: pointer;
    transition: all 0.3s;
}

.exit-btn:hover {
    background: #ff0000;
    color: white;
}


/* Work Page */

/* Work Page Hero Section */

/* Specific Styles for work-page*/
/* Ensure navbar hides on scroll for work page */
.work-page header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease;
}

/* Specific Styles for work-page*/
/* Ensure navbar hides on scroll for work page */
.work-page header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease;
}

.work-page header.hidden {
    transform: translateY(-100%); /* Moves the nav bar off-screen */
}

.work-page .navbar a {
    color: white; /* White text for work page */
}

.work-page .navbar a:hover {
    color: #ff6f61; /* Optional hover effect */
}

.work-page .logo {
    color: white;
}


.work-page .hero {
    background: url('work-images/cadoro.jpg') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 24px;
    padding: 20px;
}

/* Art Gallery Grid */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}



/* Coding Projects */
.projects {
    padding: 50px;
    text-align: center;
    background-color: white;
}

.projects h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-item {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Comics Section */
.comics {
    padding: 50px;
    background-color: #f9f9f9;
    text-align: center;
}

.comics h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.comic-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.comic-item {
    text-align: center;
    width: 300px;
}

.comic-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.comic-item p {
    margin-top: 10px;
    font-size: 16px;
}













