/*
   TouristPads - Est. 2012
   A simple site for honest work.
*/

:root {
    --paper: #faf8f5;
    --ink: #1a1a1a;
    --ink-light: #4a4a4a;
    --ink-faint: #6a6a6a;
    --rule: #d4d0c8;
    --accent: #8b4513;
    --max-width: 680px;
    --space: 1.5rem;
    --space-lg: 3rem;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--ink);
    color: var(--paper);
}

/* Typography */
h1, h2, h3 {
    font-weight: normal;
    line-height: 1.3;
}

h1 {
    font-size: 2rem;
    margin-bottom: var(--space);
}

h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

a:hover {
    text-decoration: none;
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space);
}

/* Header */
.header {
    padding: var(--space) 0;
    border-bottom: 1px solid var(--rule);
    margin-bottom: var(--space-lg);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1rem;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    font-size: 0.9rem;
}

.nav-links a {
    color: var(--ink-light);
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--ink);
}

/* Hero */
.hero {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--rule);
    margin-bottom: var(--space-lg);
}

.hero h1 {
    font-size: 1.75rem;
    max-width: 500px;
}

.hero p {
    color: var(--ink-light);
    max-width: 500px;
}

.hero-meta {
    margin-top: var(--space);
    font-size: 0.85rem;
    color: var(--ink-faint);
}

/* Sections */
section {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--rule);
}

section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-faint);
    margin-bottom: var(--space);
}

/* Products List */
.products-list {
    list-style: none;
}

.products-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
}

.products-list li:last-child {
    border-bottom: none;
}

.product-name {
    color: var(--ink);
}

.product-type {
    color: var(--ink-faint);
    font-size: 0.9rem;
}

/* Benefits */
.benefits-list {
    list-style: none;
}

.benefits-list li {
    margin-bottom: 1.5rem;
}

.benefits-list h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.benefits-list p {
    color: var(--ink-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Testimonials */
.testimonials-list {
    list-style: none;
}

.testimonials-list li {
    margin-bottom: var(--space);
    padding-bottom: var(--space);
    border-bottom: 1px solid var(--rule);
}

.testimonials-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.testimonial-author {
    font-size: 0.85rem;
    color: var(--ink-faint);
}

/* Blockquote Testimonials */
.testimonial {
    border-left: 3px solid var(--accent);
    padding-left: var(--space);
    margin-bottom: var(--space);
    font-style: italic;
}

.testimonial p {
    margin-bottom: 0.5rem;
}

.testimonial cite {
    display: block;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--ink-faint);
}

/* Contact */
.contact-info {
    margin-bottom: var(--space);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--ink);
}

/* Form Container (Cognito) */
.form-container {
    margin-top: var(--space);
    padding: var(--space);
    background: #fff;
    border: 1px solid var(--rule);
}

/* Footer AI Section */
.footer-ai {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rule);
    text-align: center;
}

.footer-ai p {
    font-size: 0.8rem;
    color: var(--ink-faint);
    margin-bottom: 0.75rem;
}

.ai-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.ai-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--rule);
    border-radius: 50%;
    color: var(--ink-faint);
    text-decoration: none;
    transition: all 0.2s ease;
}

.ai-icons a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(139, 69, 19, 0.05);
}

.ai-icons img {
    width: 18px;
    height: 18px;
}

/* Footer */
.footer {
    padding: var(--space-lg) 0 var(--space);
    border-top: 1px solid var(--rule);
    font-size: 0.85rem;
    color: var(--ink-faint);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-info p {
    margin-bottom: 0.25rem;
}

.footer-links {
    margin: 0.5rem 0;
}

.footer-legal {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer a {
    color: var(--ink-faint);
}

.footer a:hover {
    color: var(--ink);
}

/* Page Styles (for sub-pages) */
.page-content {
    padding-top: var(--space-lg);
    padding-bottom: 0;
}

.page-content h1 {
    margin-bottom: var(--space);
}

.page-content section {
    margin-bottom: var(--space);
}

/* Intro Copy Section */
.intro-copy {
    border-bottom: 1px solid var(--rule);
}

.intro-copy ul {
    margin: 1rem 0;
    padding-left: 1.25rem;
}

.intro-copy li {
    margin-bottom: 0.5rem;
}

/* Venues Grid */
.venues-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.venue-group h3 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--ink);
}

.venue-group ul {
    list-style: none;
}

.venue-group li {
    margin-bottom: 0.5rem;
}

.venue-group a {
    font-size: 0.95rem;
}

/* Events List */
.events-list {
    list-style: none;
}

.events-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--rule);
}

.events-list li:last-child {
    border-bottom: none;
}

/* Featured Section */
.featured {
    font-size: 0.85rem;
    color: var(--ink-faint);
}

.featured-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin-top: 0.5rem;
}

/* Client Logos */
.client-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
}

.client-logos img {
    max-height: 40px;
    max-width: 100px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.2s ease;
}

.client-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Photo Gallery */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.photo-grid figure {
    margin: 0;
}

.photo-grid img {
    width: 100%;
    height: auto;
    display: block;
}

.photo-grid figcaption {
    font-size: 0.85rem;
    color: var(--ink-faint);
    margin-top: 0.5rem;
}

/* FAQ Section - Elegant Accordion */
.faq-list {
    margin: 0;
}

.faq-item {
    border-bottom: 1px solid var(--rule);
}

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

.faq-item summary {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 1.25rem 0;
    cursor: pointer;
    list-style: none;
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    margin-left: auto;
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--ink-faint);
    transition: transform 0.3s ease, color 0.2s ease;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: '−';
    color: var(--accent);
}

.faq-item summary:hover {
    color: var(--accent);
}

.faq-item summary:hover::after {
    color: var(--accent);
}

.faq-num {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--ink-faint);
    min-width: 1.5rem;
    transition: color 0.2s ease;
}

.faq-item[open] .faq-num,
.faq-item summary:hover .faq-num {
    color: var(--accent);
}

.faq-item p {
    margin: 0;
    padding: 0 0 1.25rem 2.5rem;
    color: var(--ink-light);
    font-size: 0.95rem;
    line-height: 1.7;
    animation: faq-reveal 0.3s ease;
}

@keyframes faq-reveal {
    from {
        opacity: 0;
        transform: translateY(-0.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rule);
    font-size: 0.9rem;
    color: var(--ink-faint);
}

/* Stats */
.stats {
    display: flex;
    gap: 2rem;
    margin-top: var(--space);
    font-size: 0.9rem;
}

.stat strong {
    display: block;
    font-size: 1.25rem;
    font-weight: normal;
}

/* Button */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--ink);
    color: var(--paper);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: var(--space);
}

.btn:hover {
    background: var(--ink-light);
    color: var(--paper);
}

.btn-header {
    margin-top: 0;
    padding: 0.5rem 1rem;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 0.85rem;
    margin-bottom: var(--space);
    color: var(--ink-faint);
}

.breadcrumb a {
    color: var(--ink-faint);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
}

/* Back link (deprecated, use breadcrumb) */
.back-link {
    display: inline-block;
    font-size: 0.9rem;
    margin-bottom: var(--space);
}

/* Responsive */
@media (max-width: 600px) {
    html {
        font-size: 16px;
    }

    .header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        gap: 1rem;
    }

    .stats {
        flex-direction: column;
        gap: 1rem;
    }

    .venues-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
    }
}

/* Checklist (with checkmarks) */
.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Guide List (for hub pages) */
.guide-list {
    list-style: none;
    padding: 0;
}

.guide-list li {
    border-bottom: 1px solid var(--rule);
}

.guide-list li:last-child {
    border-bottom: none;
}

.guide-list a {
    display: block;
    padding: 1.25rem 0;
    text-decoration: none;
    transition: background 0.2s ease;
}

.guide-list a:hover {
    background: rgba(139, 69, 19, 0.03);
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.guide-list strong {
    display: block;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.guide-list span {
    display: block;
    color: var(--ink-light);
    font-size: 0.9rem;
}

/* Print styles - because trust means you can print the page */
@media print {
    body {
        font-size: 12pt;
    }

    .header, .footer {
        border: none;
    }

    a {
        color: var(--ink);
    }
}
