/* Film Camera Guide - Styles */

/* CSS Variables */
:root {
    --primary: #2d3436;
    --primary-light: #636e72;
    --accent: #d35400;
    --accent-hover: #e67e22;
    --background: #fafafa;
    --background-alt: #f5f5f5;
    --card-bg: #ffffff;
    --text: #2d3436;
    --text-light: #636e72;
    --border: #dfe6e9;
    --success: #27ae60;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--background);
}

h1, h2, h3, h4 {
    line-height: 1.3;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: #fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    color: #fff;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 20px;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--background-alt);
}

.section-intro {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 700px;
    margin-bottom: 3rem;
}

.intro-text {
    max-width: 800px;
    margin-bottom: 3rem;
}

.intro-text p {
    font-size: 1.15rem;
    color: var(--text-light);
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary);
}

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

/* Camera Types */
.camera-types {
    display: grid;
    gap: 2rem;
}

.camera-type {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.camera-type h3 {
    color: var(--primary);
    font-size: 1.5rem;
}

.difficulty {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.camera-type ul {
    margin: 0.5rem 0 1rem 1.25rem;
    list-style: disc;
}

.camera-type li {
    margin-bottom: 0.35rem;
    color: var(--text-light);
}

.product-recommendation {
    background: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 1.5rem;
    border-left: 4px solid var(--accent);
}

.product-recommendation h4 {
    color: var(--accent);
}

/* Amazon Links */
.amazon-link {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    background: #FF9900;
    color: #111 !important;
    font-weight: 600;
    border-radius: var(--radius);
    margin-top: 1rem;
    transition: var(--transition);
}

.amazon-link:hover {
    background: #e68a00;
    transform: translateY(-2px);
}

/* Film Types */
.film-basics {
    margin-bottom: 3rem;
}

.iso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.iso-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.iso-card h4 {
    color: var(--accent);
    font-size: 1.25rem;
}

.film-stocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.film-stock {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.film-stock h4 {
    color: var(--primary);
    font-size: 1.2rem;
}

.film-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

.film-traits {
    margin: 1rem 0 0 1.25rem;
    list-style: disc;
}

.film-traits li {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.bw-info, .slide-info {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 1.5rem 0;
}

.bw-info ul {
    margin: 1rem 0 0 1.25rem;
    list-style: disc;
}

.bw-info li {
    margin-bottom: 0.5rem;
}

.slide-info {
    border-left: 4px solid var(--accent);
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.tip-card h3 {
    color: var(--primary);
    font-size: 1.1rem;
}

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

.tip-table {
    margin-top: 1rem;
    background: var(--background-alt);
    padding: 1rem;
    border-radius: var(--radius);
}

.tip-table h4 {
    margin-bottom: 0.5rem;
}

.tip-table table {
    width: 100%;
    border-collapse: collapse;
}

.tip-table th, .tip-table td {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.tip-table th {
    font-weight: 600;
}

/* Development Options */
.dev-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.dev-option {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.dev-option h3 {
    color: var(--primary);
    font-size: 1.4rem;
}

.dev-option ul {
    margin: 0.5rem 0 1rem 1.25rem;
    list-style: disc;
}

.dev-option li {
    margin-bottom: 0.35rem;
    color: var(--text-light);
}

.cost-breakdown {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cost-breakdown ul {
    margin: 1rem 0 0 1.25rem;
    list-style: disc;
}

.cost-breakdown li {
    margin-bottom: 0.5rem;
}

/* Scanning Methods */
.scanning-methods {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.scan-method {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.scan-method h3 {
    color: var(--primary);
    font-size: 1.4rem;
}

.scan-method ul {
    margin: 0.5rem 0 1rem 1.25rem;
    list-style: disc;
}

.scan-method li {
    margin-bottom: 0.35rem;
    color: var(--text-light);
}

.scanner-rec {
    background: var(--background-alt);
    padding: 1.25rem;
    border-radius: var(--radius);
    margin: 1rem 0;
    border-left: 3px solid var(--accent);
}

.scanner-rec h4 {
    color: var(--accent);
}

.scanner-rec p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.scanning-tips {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.scanning-tips ul {
    margin: 1rem 0 0 1.25rem;
    list-style: disc;
}

.scanning-tips li {
    margin-bottom: 0.5rem;
}

/* Recommendations */
.recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.rec-category {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.rec-category h3 {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.rec-product h4 {
    color: var(--primary);
    font-size: 1.25rem;
}

.rec-product p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
}

.faq-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.faq-item h3 {
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item p {
    color: var(--text-light);
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: var(--primary);
    color: #fff;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.affiliate-disclosure {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

/* Mobile Styles */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .features-grid,
    .tips-grid,
    .film-stocks,
    .iso-grid,
    .recommendations {
        grid-template-columns: 1fr;
    }

    .dev-options {
        grid-template-columns: 1fr;
    }

    .tip-table {
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }

    .feature-card,
    .camera-type,
    .film-stock,
    .tip-card,
    .dev-option,
    .scan-method,
    .rec-category,
    .faq-item {
        padding: 1.25rem;
    }
}

/* Print Styles */
@media print {
    .nav-container,
    .hero,
    .cta-button,
    .amazon-link,
    .footer {
        display: none;
    }

    .section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}
