/* Main Section */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #fff;
    background-color: #05020e;
}

.section-image-dynamicImage {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.first-section {
    margin-top: -40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
    width: 100%;
    position: relative;
    background-color: #05020e;
    background-image: url('https://ai-tattoo-website-images.s3.us-east-1.amazonaws.com/newhomeBackground01_small_desktop.jpg');
    background-position: center;
    overflow: hidden;
    background-size: cover;
}

.first-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.section-children {
    z-index: 2;
    color: #fff;
    text-align: left;
    margin-left: 100px;
    padding: 10px;
}

.section-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-content h2 {
    font-size: 1.7rem;
    margin-top: 0;
}

.main-section-benefits {
    list-style: none;
    padding: 0;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.get-started-button {
    background-color: #8a3ab9;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

.new-user-note {
    font-size: 0.9rem;
    color: #f8f5f5;
    display: block;
    margin-top: 2px;
    margin-bottom: -17px;
}

.section-image-container {
    display: flex;
    justify-content: center;
    margin-top: -10px;
    position: relative;
    z-index: 2;
}

.section-image {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .first-section {
        flex-direction: column;
        background-image: url('https://ai-tattoo-website-images.s3.us-east-1.amazonaws.com/newhomeBackground02_small_mobile.jpg');
        text-align: center;
        min-height: auto;
        padding-bottom: 80px;
    }

    .section-children {
        margin-top: 180px;
        margin-left: 0;
        padding: 20px;
    }

    .section-content h1 {
        font-size: 1.8rem;
        margin-top: 40px;
        margin-bottom: 15px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #ffffff !important;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
        position: relative;
        z-index: 3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .section-content h2 {
        font-size: 1.3rem;
        margin-top: 0;
        margin-bottom: 20px;
        display: block;
        visibility: visible;
        opacity: 1;
        color: #f0f0f0 !important;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
        position: relative;
        z-index: 3;
    }

    .main-section-benefits {
        font-size: 16px;
    }

    .get-started-button {
        font-size: 1.1rem;
    }

    .section-image-container {
        margin-top: 30px;
        width: 100%;
        padding-bottom: 20px;
    }

    .section-image-dynamicImage {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .first-section {
        padding-bottom: 70px;
    }
    
    .section-children {
        margin-top: 170px;
        padding: 15px;
    }
    
    .section-content h1 {
        font-size: 1.6rem;
        margin-top: 35px;
        padding: 0 5px;
    }
    
    .section-content h2 {
        font-size: 1.1rem;
        padding: 0 5px;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 40px;
    background-color: #111;
    color: #fff;
    text-align: center;
}

.gallery-header {
    font-size: 28px;
    color: #f39c12;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-image {
    width: 100%;
    border-radius: 10px;
}

/* Mobile gallery grid */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        padding: 10px;
        gap: 10px;
    }

    .gallery-image {
        border-radius: 8px;
    }
}

/* FAQ Section */
.shortFAQ-container {
    margin-top: 70px;
    padding: 20px;
    background-color: #000;
    color: #fff;
    text-align: center;
}

.shortFAQ-header {
    font-size: 28px;
    margin-bottom: 20px;
    color: #f39c12;
}

.shortFAQ-intro {
    font-size: 24px;
    margin-bottom: 40px;
    width: 40%;
    margin: 0 auto;
}

.shortFAQ-section {
    max-width: 800px;
    margin: 20px auto;
}

.shortFAQ-item {
    background-color: #333;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.shortFAQ-item-title {
    font-size: 22px;
    color: #f39c12;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shortFAQ-item-content {
    font-size: 18px;
    color: #fff;
    line-height: 1.6;
    margin-top: 10px;
    display: none;
}

.shortFAQ-item.open .shortFAQ-item-content {
    display: block;
}

.shortFAQ-arrow {
    transition: transform 0.3s ease;
}

.shortFAQ-arrow.open {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .shortFAQ-header {
        font-size: 24px;
    }

    .shortFAQ-intro {
        font-size: 20px;
        width: 80%;
    }

    .shortFAQ-item-title {
        font-size: 20px;
    }

    .shortFAQ-item-content {
        font-size: 16px;
    }
}

/* Accessibility Button */
.accessibility-button {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.accessibility-button i {
    pointer-events: none;
}

@media (max-width: 768px) {
    .accessibility-button {
        top: 15px;
        right: 15px;
        padding: 10px;
    }
}

/* SEO Links */
.seo-links {
    background-color: #070606;
    padding: 20px;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.seo-links h2 {
    font-size: 24px;
    font-weight: bold;
    color: #f39c12;
    margin-bottom: 15px;
    text-align: center;
}

.seo-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.seo-links ul li a {
    text-decoration: none;
    color: #5a75d5;
    font-size: 18px;
    transition: color 0.3s ease;
}

.seo-links ul li a:hover {
    color: #f39c12;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .seo-links ul {
        flex-direction: row;
        justify-content: center;
    }

    .seo-links ul li {
        margin: 0 15px;
    }
}

/* FAQ Section Styling */
.faq-section {
    max-width: 700px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
    color: #f0e9ff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: #d19fff;
    text-align: center;
    font-weight: 600;
}

/* Style the <details> container */
.faq-section details {
    background-color: #1a1a2e;
    border-radius: 10px;
    margin-bottom: 16px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
    padding: 14px 20px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

/* Change background when open */
.faq-section details[open] {
    background-color: #3a2f5a;
}

/* Style the summary text */
.faq-section summary {
    font-size: 1.15rem;
    font-weight: 600;
    list-style: none; /* Remove default arrow */
    position: relative;
    padding-left: 28px;
    user-select: none;
    color: #d1bbff;
}

/* Custom arrow using ::before */
.faq-section summary::before {
    content: "▶";
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease;
    color: #b599ff;
    font-size: 1rem;
}

/* Rotate arrow when open */
.faq-section details[open] > summary::before {
    transform: translateY(-50%) rotate(90deg);
    color: #f3eaff;
}

/* Style the answer text */
.faq-section details p {
    margin-top: 12px;
    line-height: 1.5;
    color: #c7c2ff;
    font-weight: 400;
    font-size: 1rem;
    padding-left: 28px;
}

/* Hover effect on summary */
.faq-section summary:hover {
    color: #e3d1ff;
}

/* Responsive */
@media (max-width: 480px) {
    .faq-section {
        padding: 0 12px;
    }

    .faq-section h2 {
        font-size: 1.6rem;
    }

    .faq-section summary {
        font-size: 1rem;
        padding-left: 24px;
    }

    .faq-section details p {
        font-size: 0.95rem;
        padding-left: 24px;
    }
}

