/* General Reset and Box Sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4; /* Light background */
    color: #333; /* Dark text for contrast */
}

a {
    text-decoration: none;
}

/* Welcome Section */
.welcome-section {
    background-color: #ececec; /* Light background */
    text-align: center;
    padding: 80px 20px; /* Add some space on top */
    margin-top: 100px; /* Increased gap between welcome section and navbar */
}

.welcome-section h1 {
    font-size: 3em;
    color: #2c2c2c; /* Accent color */
    margin-bottom: 20px;
}

.placeholder-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
}

/* Header */
header {
    position: fixed; /* Fixed position to keep it at the top */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease; /* Transition for sliding up/down */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Ensures logo and text are vertically aligned */
    padding: 20px;
    background: linear-gradient(90deg, #000000, #141414); /* Red to Purple Gradient for Navbar */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Lighter shadow for a more subtle effect */
}

.navbar .logo {
    display: flex;
    align-items: center;
}

.navbar .logo img {
    height: 75px; /* Logo height */
    width: auto;
    margin-right: 10px; /* Space between logo and text */
    transition: transform 0.3s ease;
}

.navbar .logo-text {
    font-size: 1.8em; /* Size of the logo text */
    font-weight: 600;
    color: white;
}

/* Navbar Links */
.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 600;
    color: rgb(114, 114, 114); /* Dark text for better contrast */
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

/* Section Styling */
.section {
    padding: 60px 20px;
    text-align: center;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.section-dark {
    background-color: #ececec; /* Light background */
}

.section-light {
    background-color: #c4c4c4; /* White background */
}

/* Added margin-top to increase space between navbar and the first section */
#art-section {
    margin-top: 150px; /* Space between the navbar and the first section */
}

/* Gallery and Grids */
.gallery, .books-grid, .video-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gallery-item, .book-item, .video-item {
    width: 300px;
    margin: 10px;
    position: relative;
}

.gallery-item img, .book-item img, .video-item iframe {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover, .book-item img:hover {
    transform: scale(1.1);
}

.video-item iframe {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.video-item iframe:hover {
    transform: scale(1.05);
}

/* Etsy Section (Single Item) */
.etsy-single-item {
    margin: 20px auto;
    width: 300px;
}

.etsy-single-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.etsy-single-item img:hover {
    transform: scale(1.1);
}

/* Button Styling */
.button {
    background: linear-gradient(90deg, #108a8a, #19aaaa); /* Dark Purple to Dark Blue */
    color: rgb(255, 255, 255);
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 20px;
    text-transform: uppercase;
    transition: background 0.3s ease;
    text-decoration: none;
}

.button:hover {
    background: linear-gradient(90deg, #095e5e, #138181); /* Dark Blue to Dark Purple */
}

.etsy-button, .youtube-button, .artwork-button, .contact-button {
    text-align: center;
}

.artwork-button {
    text-align: center;
    margin-top: 30px;
}
.artwork-button .button {
     border-color: transparent;
}

/* Social Icons */
footer {
    background-color: #000000; /* Light background */
    padding: 20px 0;
    text-align: center;
}

.social-icons {
    margin-top: 10px;
}

.social-icon {
    font-weight: 600;
    color: #837c7c; /* Dark icons for light theme */
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #e2e2e2;
}

/* Contact Section Styling */
#contact-section {
    background-color: #141414; /* Dark background */
    color: white;
}

#contact-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#contact-section p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.contact-button .button {
    margin-top: 30px;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    position: relative;
}
.modal-content.modal-full {
    background: transparent;
    padding: 0;
    border-radius: 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.modal .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.modal .gallery-item img {
    max-width: 180px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.modal-content.modal-full h2 {
    color: #fff;
    margin-top: 24px;
    margin-bottom: 12px;
}
.gallery-modal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2vw;
    width: 90vw;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
}
.gallery-modal .gallery-item img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}

/* Carousel Styles */
.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 80vh;
    gap: 2vw;
}
.carousel-images {
    width: 80vw;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.carousel-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 2px 32px rgba(0,0,0,0.3);
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    margin: auto;
    object-fit: contain;
    background: #222;
}
.carousel-arrow {
    background: rgba(255,255,255,0.2);
    border: none;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.carousel-arrow:hover {
    background: rgba(255,255,255,0.4);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        flex-direction: column;
        margin-top: 20px;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .gallery-item, .book-item, .video-item {
        width: 100%;
    }

    .placeholder-image img {
        width: 100%;
    }

    .navbar .logo img {
        height: 40px; /* Smaller logo on mobile */
    }
}