/* Custom styles for Loop Art Studio - Clean & Modern */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Nunito:wght@400;500;600;700&display=swap');

:root {
    --purple: #5B4B8A;
    --purple-dark: #4A3D72;
    --lime: #C4E538;
    --coral: #E8747C;
    --coral-hover: #D65F68;
    --text-dark: #4A4A6A;
    --text-light: #6B6B8A;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
}

/* Base */
body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    color: var(--purple);
}

h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }

p {
    color: var(--text-dark);
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--purple);
    color: var(--white);
    padding: 10px 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.announcement-bar a {
    color: var(--lime);
    text-decoration: none;
}

/* Navbar */
.navbar {
    background-color: var(--white) !important;
    padding: 1.5rem 0;
    border: none;
    box-shadow: none;
}

.navbar-brand {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--purple) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 auto;
    padding: 0;
}

.navbar-brand span {
    color: var(--lime);
}

.navbar-nav {
    margin-top: 1rem;
}

.nav-link {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    color: var(--purple) !important;
    padding: 0.5rem 1.5rem !important;
    position: relative;
    font-size: 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 3px;
    background-color: var(--purple);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Center navbar for this design */
.navbar .container {
    flex-direction: column;
    align-items: center;
}

.navbar-collapse {
    flex-grow: 0;
}

/* Buttons */
.btn-primary {
    background-color: var(--coral);
    border: none;
    border-radius: 25px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--coral-hover);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--coral);
    border: 2px solid var(--coral);
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    background: transparent;
}

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

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.hero-section h1 {
    color: var(--purple);
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    color: var(--text-dark);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.min-vh-75 {
    min-height: auto;
    padding: 3rem 0;
}

/* Hero Image */
.hero-image-placeholder .placeholder-box,
.placeholder-box {
    background: linear-gradient(135deg, var(--purple) 0%, #7B6BAA 100%);
    border-radius: 15px;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
}

/* Section Titles */
.section-title {
    color: var(--purple);
    margin-bottom: 1rem;
}

/* Bio Section */
.bio-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.bio-section p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.bio-image-placeholder .placeholder-box {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--coral) 0%, #F0A0A6 100%);
}

/* Summary/Tagline Section */
.tagline-section {
    padding: 3rem 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tagline-section p {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.8;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(91, 75, 138, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 30px rgba(91, 75, 138, 0.15);
    transform: translateY(-5px);
}

/* Gallery */
.gallery-card {
    background-color: var(--white);
}

.gallery-card img {
    height: 250px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.gallery-card .card-title {
    font-family: 'Quicksand', sans-serif;
    color: var(--purple);
    font-size: 1.3rem;
}

.gallery-card .card-text {
    color: var(--text-light);
}

/* Featured Lab Card */
.featured-card {
    background: var(--white);
    border-radius: 20px !important;
    box-shadow: 0 5px 30px rgba(91, 75, 138, 0.1);
    border: none !important;
    overflow: hidden;
}

.featured-card img {
    border-radius: 0;
    object-fit: cover;
    height: 100%;
}

.featured-card .badge {
    background-color: var(--lime) !important;
    color: var(--purple);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5em 1em;
    border-radius: 20px;
}

.featured-card h2 {
    color: var(--purple);
}

.featured-card ul li {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Labs Section */
.current-labs {
    background-color: var(--off-white);
    padding: 5rem 0;
}

.current-labs .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.current-labs .card {
    border: none;
    border-left: 4px solid var(--purple);
    border-radius: 10px;
    background-color: var(--white);
}

.current-labs .card:hover {
    border-left-color: var(--coral);
}

.current-labs .card-title {
    font-family: 'Quicksand', sans-serif;
    color: var(--purple);
    font-size: 1.4rem;
}

.current-labs .badge {
    background-color: var(--purple) !important;
    color: var(--white);
    font-weight: 500;
    border-radius: 15px;
    padding: 0.4em 0.8em;
}

/* Contact Section */
.contact-section {
    background-color: var(--purple);
    color: var(--white);
    padding: 4rem 0;
}

.contact-section .section-title {
    color: var(--white);
}

.contact-section p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-section a {
    color: var(--lime);
    text-decoration: none;
}

.contact-section a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Contact Form */
.contact-form .form-label {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--lime);
    color: var(--white);
    box-shadow: 0 0 0 0.25rem rgba(196, 229, 56, 0.25);
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

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

.contact-info {
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--off-white);
    padding: 4rem 0;
}

.cta-section h2 {
    color: var(--purple);
}

.cta-section p {
    color: var(--text-dark);
}

/* Footer */
footer {
    background-color: var(--purple-dark);
    padding: 2rem 0;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

/* Page Headers */
.page-header {
    background-color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--purple);
    margin-bottom: 0.5rem;
}

.page-header .lead {
    color: var(--text-light);
}

/* Alert styling */
.alert-info {
    background-color: #F0F0FF;
    border: 1px solid var(--purple);
    border-radius: 10px;
    color: var(--purple);
}

/* Light background section */
.bg-light {
    background-color: var(--off-white) !important;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar .container {
        flex-direction: row;
    }

    .navbar-nav {
        margin-top: 0;
    }

    .navbar-brand {
        margin: 0;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .hero-section {
        padding: 3rem 0;
        text-align: center;
    }

    .featured-card .card-body {
        padding: 2rem !important;
    }
}

/* Remove old decorative elements */
.hero-section::before,
.hero-section::after,
.page-header::before,
.page-header::after,
.contact-section::before,
.cta-section::before {
    display: none;
}

/* About Page - Craft Background Style */
.about-hero {
    background: linear-gradient(135deg, #E8E4F0 0%, #F5F3F8 50%, #FDF5F6 100%);
    padding: 5rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.about-hero h1 {
    color: var(--purple);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.about-hero p {
    color: var(--purple-dark);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Tilted Photo Frame */
.about-photo-frame {
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.about-photo-frame:hover {
    transform: rotate(0deg);
}

.about-photo-frame .placeholder-box,
.about-photo-frame img {
    border: 8px solid white;
    border-radius: 5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.about-photo-frame img {
    width: 350px;
    height: 400px;
    object-fit: cover;
}

/* What to Expect Section */
.about-hero + section h4 {
    color: var(--purple);
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 1rem;
}

.about-hero + section p {
    color: var(--text-light);
}

/* Instagram Link */
.instagram-link {
    color: var(--purple);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 2px solid var(--lime);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.instagram-link:hover {
    color: var(--coral);
    border-bottom-color: var(--coral);
}

/* Class Cards */
.class-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.class-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(91, 75, 138, 0.15) !important;
}

.class-card .card-title {
    font-family: 'Quicksand', sans-serif;
    color: var(--purple);
}

.class-card .badge {
    background-color: var(--lime) !important;
    color: var(--purple);
    font-weight: 600;
}

/* Testimonials Carousel */
.testimonials-section .carousel-control-prev,
.testimonials-section .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--purple);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.testimonials-section .carousel-control-prev {
    left: -25px;
}

.testimonials-section .carousel-control-next {
    right: -25px;
}

.testimonials-section .carousel-control-prev:hover,
.testimonials-section .carousel-control-next:hover {
    background-color: var(--coral);
}

.testimonials-section .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
}

.testimonials-section .card {
    transform: none;
}

.testimonials-section .card:hover {
    transform: none;
}

/* Gallery Full-Screen Sections */
.gallery-fullscreen-section {
    height: 80vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.gallery-fullscreen-section .carousel {
    height: 100%;
    width: 100%;
}

.gallery-fullscreen-section .carousel-inner {
    height: 100%;
}

.gallery-fullscreen-section .carousel-item {
    height: 80vh;
}

.gallery-slide-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-slide-content .placeholder-box {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.gallery-slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(91, 75, 138, 0.95) 0%, rgba(91, 75, 138, 0.7) 50%, transparent 100%);
    color: white;
    padding: 4rem 3rem;
    z-index: 10;
}

.gallery-overlay h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Gallery Carousel Controls */
.gallery-fullscreen-section .carousel-control-prev,
.gallery-fullscreen-section .carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: var(--purple);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    z-index: 20;
    transition: all 0.3s ease;
}

.gallery-fullscreen-section .carousel-control-prev:hover,
.gallery-fullscreen-section .carousel-control-next:hover {
    background-color: var(--coral);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.gallery-fullscreen-section .carousel-control-prev {
    left: 30px;
}

.gallery-fullscreen-section .carousel-control-next {
    right: 30px;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-fullscreen-section {
        height: 70vh;
        margin-bottom: 1rem;
    }

    .gallery-fullscreen-section .carousel-item {
        height: 70vh;
    }

    .gallery-overlay {
        padding: 2rem 1.5rem;
    }

    .gallery-overlay h2 {
        font-size: 1.8rem;
    }

    .gallery-overlay p {
        font-size: 1rem;
    }

    .gallery-fullscreen-section .carousel-control-prev,
    .gallery-fullscreen-section .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    .gallery-fullscreen-section .carousel-control-prev {
        left: 15px;
    }

    .gallery-fullscreen-section .carousel-control-next {
        right: 15px;
    }
}

/* Homepage Features Section */
.features-section {
    background-color: var(--white);
}

.feature-item {
    padding: 2rem 1rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--purple) 0%, #7B6BAA 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
}

.feature-item h4 {
    color: var(--purple);
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Workshop Preview Cards */
.workshops-preview {
    background-color: var(--off-white);
}

.workshop-preview-card {
    border: none;
    border-radius: 20px;
    background: var(--white);
    transition: all 0.3s ease;
    border-left: 4px solid var(--purple);
}

.workshop-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(91, 75, 138, 0.15);
    border-left-color: var(--coral);
}

.workshop-preview-card .badge {
    background-color: var(--lime) !important;
    color: var(--purple);
    font-weight: 600;
}

.workshop-preview-card .card-title {
    color: var(--purple);
    font-family: 'Quicksand', sans-serif;
}

/* Hero Image */
.hero-image {
    box-shadow: 0 10px 40px rgba(91, 75, 138, 0.2);
}

/* Testimonial Card */
.testimonial-card {
    border-radius: 20px;
}

/* Responsive Features */
@media (max-width: 768px) {
    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon svg {
        width: 30px;
        height: 30px;
    }

    .feature-item {
        padding: 1.5rem 0.5rem;
    }
}
