/* ============================================
   ARTSANDINKSS - Main Stylesheet
   Color Scheme: Black, White, Deep Red
   ============================================ */

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --black: #050505;
    --dark-grey: #111111;
    --mid-grey: #1a1a1a;
    --white: #fdfdfd;
    --red: #9e0000;
    --red-bright: #ff1a1a;
    --red-glow: rgba(255, 26, 26, 0.25);
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);

    /* Fonts */
    --font-title: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;

    /* Spacing */
    --section-padding: 100px 20px;
    --section-padding-mobile: 60px 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========== SECTION TITLE ========== */
.section-title {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: clamp(24px, 5vw, 40px);
    color: var(--white);
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
}

/* Red underline accent on titles */
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--red);
    margin: 12px auto 0;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    background-color: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);
    position: relative;
    text-align: center;
}

@media (max-width: 768px) {
    .hero {
        padding: var(--section-padding-mobile);
        min-height: auto;
    }
}

/* Subtle red glow background effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top,
            var(--red-glow) 0%,
            transparent 60%);
    pointer-events: none;
}

/* ========== HERO BRAND ========== */
.hero__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: clamp(30px, 8vw, 40px);
    margin-top: -5vh;
}

.hero__title {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 8vw, 5rem);
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--white);
    text-shadow:
        0 0 20px var(--red-glow),
        0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero__logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--red);
    padding: 8px;
    /* Glowing red border effect */
    box-shadow:
        0 0 15px var(--red-glow),
        0 0 30px var(--red-glow);
}

/* ========== HERO CONTENT (Bio + Photo) ========== */
.hero__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    max-width: 800px;
    width: 100%;
}

@media (max-width: 768px) {
    .hero__content {
        flex-direction: column;
        gap: 40px;
    }
}

.hero__bio {
    flex: 1;
    text-align: left;
}

.hero__bio p {
    font-size: clamp(1rem, 3vw, 1.1rem);
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

/* Book Button */
.hero__book-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, rgba(158, 0, 0, 0.1), transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--red);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero__book-btn:hover {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 10px 25px var(--red-glow);
    transform: translateY(-4px);
}

/* Artist Photo */
.hero__photo {
    flex: 1;
    max-width: 280px;
    width: 100%;
}

.hero__photo img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Slightly rotated like in the sketch */
    transform: rotate(3deg);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.5),
        10px 10px 0px var(--red);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (max-width: 768px) {
    .hero__photo img {
        height: auto;
        aspect-ratio: 4/5;
        max-height: 400px;
        transform: rotate(2deg);
    }
}

.hero__photo img:hover {
    transform: rotate(0deg) scale(1.05);
}

/* ========== SOCIAL BUTTONS ========== */
.hero__socials {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--glass-border);
}

.social-btn i {
    font-size: 1.3rem;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    color: white;
    border: none;
}

.social-btn.tiktok {
    background: linear-gradient(135deg, #25f4ee, #000000, #fe2c55);
    color: white;
    border: none;
}

.social-btn.facebook {
    background: #1877f2;
    color: white;
    border: none;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* ========== INSTAGRAM FEED SECTION ========== */
.instagram-feed {
    padding: var(--section-padding);
    background-color: var(--dark-grey);
    width: 100%;
}

@media (max-width: 768px) {
    .instagram-feed {
        padding: var(--section-padding-mobile);
    }
}

.feed-placeholder {
    text-align: center;
    padding: 60px;
    border: 1px dashed var(--red);
    color: #888;
    font-style: italic;
}

/* ========== REVIEWS SECTION ========== */
.reviews {
    padding: var(--section-padding);
    background-color: var(--black);
    width: 100%;
}

@media (max-width: 768px) {
    .reviews {
        padding: var(--section-padding-mobile);
    }
}

/* Review Cards Container */
.reviews__display {
    max-width: 1000px;
    margin: 0 auto 60px;
    text-align: center;
    position: relative;
    padding: 0 50px;
}

.reviews__carousel {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.reviews__carousel::-webkit-scrollbar {
    display: none;
}

/* Carousel Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glass-bg);
    border: 1px solid var(--red);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.carousel-nav:hover {
    background: var(--red);
    box-shadow: 0 0 15px var(--red-glow);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav {
    display: none !important;
    /* Hide buttons entirely as requested */
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

.carousel-nav i {
    font-size: 1.2rem;
}


@media (max-width: 768px) {
    .carousel-nav {
        display: none;
    }

    .reviews__display {
        padding: 0;
    }
}

/* Individual Review Card */
.review-card {
    position: relative;
    flex: 0 0 320px;
    scroll-snap-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-top: 2px solid rgba(158, 0, 0, 0.2); 
    padding: 32px 28px;
    border-radius: 8px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.6; /* Slight fade for inactive cards */
}

.review-card.is-active {
    border-top: 2px solid var(--red-bright);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px var(--red-glow);
    transform: scale(1.05); /* Increased scale for better "clarification" */
    opacity: 1; /* Full opacity when centered */
    z-index: 2;
}

.review-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 26, 26, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--red-glow);
}

.review-card__stars {
    color: var(--red-bright);
    font-size: 1.2rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.review-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card__image:hover {
    transform: scale(1.02);
    border-color: var(--red);
}

.review-card__text {
    font-size: 0.95rem;
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.review-card__author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.review-card__style {
    font-size: 0.8rem;
    color: var(--red-bright);
    margin-top: 4px;
}

.review-card.loading {
    text-align: center;
    color: #666;
    font-style: italic;
    min-width: 100%;
    border-top-color: #333;
}




/* ========== REVIEW FORM ========== */
.reviews__form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 48px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    border-top: 2px solid var(--red);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.reviews__form-container h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 32px;
    color: var(--white);
    text-align: center;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #bbbbbb;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 6px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--red);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 15px var(--red-glow);
}

/* Custom File Upload Button Styling */
.form-group input[type="file"] {
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    color: #bbbbbb;
    cursor: pointer;
}

.form-group input[type="file"]::file-selector-button {
    padding: 8px 16px;
    margin-right: 16px;
    background: var(--red);
    border: 1px solid var(--red-bright);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group input[type="file"]::file-selector-button:hover {
    background: var(--red-bright);
    box-shadow: 0 0 10px var(--red-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 8px;
    cursor: pointer;
}

.star {
    font-size: 2rem;
    color: #444;
    transition: color 0.2s ease, transform 0.2s ease;
}

.star:hover,
.star.active {
    color: var(--red-bright);
    transform: scale(1.2);
}

/* Submit Button */
.review-form__submit {
    width: 100%;
    padding: 16px;
    background: var(--red);
    border: none;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.review-form__submit:hover {
    background: var(--red-bright);
    box-shadow: 0 0 20px var(--red-glow);
    transform: translateY(-2px);
}

/* Form Success/Error Message */
.form-message {
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
    min-height: 24px;
}

.form-message.success {
    color: #4caf50;
}

.form-message.error {
    color: var(--red-bright);
}

/* ========== IMAGE MODAL (LIGHTBOX) ========== */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.image-modal__content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), 0 0 15px var(--red-glow);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-modal.show .image-modal__content {
    transform: scale(1);
}

.image-modal__close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 1001;
    line-height: 1;
}

.image-modal__close:hover,
.image-modal__close:focus {
    color: var(--red-bright);
    text-decoration: none;
    transform: scale(1.2);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark-grey);
    border-top: 1px solid var(--mid-grey);
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer__socials {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer__socials a {
    color: #666;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.footer__socials a:hover {
    color: var(--red-bright);
}

/* ========== RESPONSIVE - TABLET ========== */
@media (max-width: 768px) {

    .hero__content {
        flex-direction: column;
        gap: 30px;
    }

    .hero__bio {
        text-align: center;
    }

    .hero__photo {
        max-width: 220px;
    }

    .reviews__carousel {
        padding-left: 20px;
        padding-right: 20px;
        gap: 16px;
    }

    .review-card {
        flex: 0 0 85%;
        /* Show partial cards on the sides */
        padding: 24px 20px;
    }

    .reviews__form-container {
        padding: 28px 20px;
    }
}

/* ========== RESPONSIVE - MOBILE ========== */
@media (max-width: 480px) {

    .hero__title {
        letter-spacing: 4px;
    }

    .hero__socials {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .reviews__form-container {
        padding: 20px 16px;
    }
}