* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #333;
    background-color: #ffffff;
    line-height: 1.6;
}

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}


/* HEADER */

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #dddddd;
}

.header-content {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: bold;
}

.main-nav {
    display: flex;
    gap: 24px;
}

.main-nav a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
}

.main-nav a:hover {
    text-decoration: underline;
}


/* HERO */

.hero {
    background-color: #f5f5f5;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.hero-subtitle {
    margin: 0 auto;
    max-width: 700px;
    font-size: 1.3rem;
    color: #555555;
}

.hero-description {
    max-width: 800px;
    margin: 32px auto 0;

    font-size: 1.05rem;
    line-height: 1.75;
    color: #555555;
}

.hero-description p {
    margin: 0;
}

.hero-description .hero-tribute {
    margin-top: 22px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-style: italic;

    color: #555555;
}


/* GALLERY */

.gallery {
    margin: 40px auto 0;

    display: flex;
    gap: 22px;

    overflow-x: auto;
    scroll-snap-type: x mandatory;

    padding: 10px 5px 25px;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 320px;

    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 14px;
    overflow: hidden;

    scroll-snap-align: start;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}


/* GALLERY ARROWS */

.gallery-wrapper {
    position: relative;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    z-index: 2;

    width: 44px;
    height: 44px;

    border: 1px solid #dddddd;
    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.92);
    color: #555555;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        opacity 0.25s ease;
}

.gallery-arrow:hover {
    background-color: #ffffff;
    color: #222222;
}

.gallery-arrow-left {
    left: -20px;
}

.gallery-arrow-right {
    right: -20px;
}

.gallery-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

/* DOCUMENTATION */

.documentation-section {
    padding: 80px 0;
    background-color: #f7f7f7;
}

.documentation-header {
    text-align: center;
    margin-bottom: 35px;
}

.documentation-header h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.25rem;
    margin: 0 0 10px;
}

.documentation-header p {
    margin: 0;
    color: #666666;
    font-size: 1.1rem;
}


/* DOCUMENTATION NAVIGATION */

.documentation-links {
    max-width: 850px;
    margin: 0 auto 50px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.documentation-links a {
    display: block;
    padding: 14px 18px;

    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;

    text-align: center;
    text-decoration: none;
    color: #333333;

    font-weight: 500;
}

.documentation-links a:hover {
    background-color: #eeeeee;
}


/* DOCUMENTATION CONTENT */

.documentation-topic {
    max-width: 850px;
    margin: 0 auto 25px;

    background-color: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 12px;

    padding: 30px;
}

.documentation-topic h3 {
    margin: 0 0 15px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
}

.documentation-topic h4 {
    margin-top: 28px;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.documentation-topic p {
    margin-top: 8px;
    color: #444444;
}

/* DOCUMENTATION FEATURE LIST */

.feature-list {
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    padding: 18px 0;
    border-bottom: 1px solid #eeeeee;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    flex: 0 0 36px;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    padding-top: 2px;
}

.feature-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
}

.feature-item strong {
    font-size: 1.05rem;
}

.feature-item p {
    margin: 4px 0 0;
}


/* DOCUMENTATION TIP */

.documentation-note {
    margin-top: 25px;
    padding: 18px 20px;

    background-color: #f7f7f7;
    border-left: 4px solid #999999;
    border-radius: 6px;

    color: #444444;
}


/* DOCUMENTATION PAGE */

.documentation-page {
    padding: 70px 0;
}

.documentation-page-container {
    max-width: 900px;
}

.doc-item {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 10px;

    margin-bottom: 14px;
    overflow: hidden;
}

.doc-item summary {
    cursor: pointer;
    padding: 20px 24px;

    font-size: 1.08rem;
    font-weight: 600;
}

.doc-item summary:hover {
    background-color: #f7f7f7;
}

.doc-content {
    padding: 0 24px 28px;
}

.doc-content > p:first-child {
    margin-top: 0;
}

.doc-content h4 {
    margin-top: 28px;
    margin-bottom: 8px;
}

.documentation-preview {
    padding: 70px 0;
    text-align: center;
    background-color: #f7f7f7;
}

.documentation-preview h2 {
    margin-top: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.25rem;
}

.documentation-preview p {
    max-width: 650px;
    margin: 0 auto 28px;
    color: #555555;
}

/* FOOTER */

.site-footer {
    border-top: 1px solid #dddddd;
    padding: 35px 0;
    text-align: center;
    color: #666666;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #555555;
    text-decoration: none;
}

.footer-nav a:hover {
    text-decoration: underline;
}

/* GENERAL PAGE HERO */

.page-hero {
    background-color: #f5f5f5;
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.page-hero p {
    margin: 0;
    color: #666666;
    font-size: 1.1rem;
}


/* FAQ */

.faq-section {
    padding: 70px 0;
}

.faq-container {
    max-width: 850px;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 10px;

    margin-bottom: 14px;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 20px 24px;

    font-size: 1.05rem;
    font-weight: 600;

    list-style-position: inside;
}

.faq-item summary:hover {
    background-color: #f7f7f7;
}

.faq-answer {
    padding: 0 24px 20px;
    color: #444444;
}

.faq-answer p:first-child {
    margin-top: 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer a {
    color: #333333;
    font-weight: 600;
}


/* CONTACT SUPPORT */

.contact-section {
    padding: 70px 0;
}

.contact-container {
    max-width: 750px;
}

.support-form {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 14px;
    padding: 35px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;

    font: inherit;
    color: #333333;

    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 8px;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid #999999;
    outline-offset: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.support-button {
    width: 100%;
    padding: 14px 22px;

    border: none;
    border-radius: 9px;

    background-color: #333333;
    color: #ffffff;

    font: inherit;
    font-weight: 600;

    cursor: pointer;
}

.support-button:hover {
    background-color: #555555;
}

.form-note {
    margin: 18px 0 0;
    text-align: center;
    color: #777777;
    font-size: 0.9rem;
}


/* THANK YOU PAGE */

.thank-you-section {
    padding: 90px 0;
    background-color: #f7f7f7;
}

.thank-you-container {
    max-width: 700px;
}

.thank-you-card {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 14px;

    padding: 50px 40px;
    text-align: center;
}

.thank-you-icon {
    width: 60px;
    height: 60px;

    margin: 0 auto 25px;

    border: 2px solid #555555;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;
}

.thank-you-card h1 {
    margin: 0 0 15px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
}

.thank-you-message {
    font-size: 1.1rem;
}

.thank-you-actions {
    margin-top: 35px;

    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.primary-link,
.secondary-link {
    display: inline-block;

    padding: 12px 22px;
    border-radius: 8px;

    text-decoration: none;
    font-weight: 600;
}

.primary-link {
    background-color: #333333;
    color: #ffffff;
}

.primary-link:hover {
    background-color: #555555;
}

.secondary-link {
    border: 1px solid #cccccc;
    color: #333333;
    background-color: #ffffff;
}

.secondary-link:hover {
    background-color: #f5f5f5;
}

/* PRIVACY */

.privacy-section {
    padding: 70px 0;
}

.privacy-container {
    max-width: 850px;
}

.privacy-content {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 14px;
    padding: 40px;
}

.privacy-updated {
    color: #777777;
    font-size: 0.9rem;
    margin-top: 0;
    margin-bottom: 35px;
}

.privacy-content h2 {
    margin-top: 35px;
    margin-bottom: 10px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
}

.privacy-content h2:first-of-type {
    margin-top: 0;
}

.privacy-content p {
    color: #444444;
}

.privacy-content a {
    color: #333333;
    font-weight: 600;
}


/* MOBILE */

@media (max-width: 900px) {

    .header-content {
        flex-direction: column;
        padding: 18px 0;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }

    .gallery-arrow {
    display: none;
    }
    
}

@media (max-width: 520px) {

    .gallery-item {
    flex-basis: 280px;
    }
    
    .hero {
        padding: 55px 0;
    }

    .documentation-links {
        grid-template-columns: 1fr;
    }
    
    .documentation-topic {
        padding: 22px;
    }

    .form-row {
    grid-template-columns: 1fr;
    gap: 0;
    }
    
    .support-form {
        padding: 24px;
    }
    
}

