/* Psychic Tarot Reading - Custom Styles */
/* Using Milligram-inspired minimal design for uniqueness */

:root {
    --deep-purple: #4A1C6B;
    --mystic-gold: #D4AF37;
    --cream-white: #FDF6E3;
    --soft-lavender: #E6D8F5;
    --dark-text: #2D2D2D;
    --light-purple: #8B5FBF;
    --shadow-purple: rgba(74, 28, 107, 0.15);
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.7rem;
    line-height: 1.7;
    color: var(--dark-text);
    background-color: var(--cream-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--deep-purple);
    margin-bottom: 1.5rem;
}

h1 { font-size: 4.2rem; }
h2 { font-size: 3.2rem; }
h3 { font-size: 2.6rem; }
h4 { font-size: 2.2rem; }

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--light-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--mystic-gold);
}

/* Layout */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1.5rem;
}

.col {
    flex: 1;
    padding: 0 1.5rem;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 1.5rem;
}

.col-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--deep-purple) 0%, #2A0D40 100%);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-purple);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 2.4rem;
    color: var(--mystic-gold);
    text-decoration: none;
}

.site-logo:hover {
    color: #fff;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--cream-white);
    font-size: 1.5rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--mystic-gold);
    color: var(--deep-purple);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
}

.menu-toggle span {
    display: block;
    width: 2.5rem;
    height: 3px;
    background: var(--mystic-gold);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 28, 107, 0.85) 0%, rgba(42, 13, 64, 0.75) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 6rem 2rem;
}

.hero h1 {
    color: #fff;
    font-size: 4.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    color: var(--mystic-gold);
    font-size: 2rem;
    font-family: 'DM Serif Display', serif;
    font-style: italic;
}

/* Main Content */
.main-content {
    padding: 5rem 0;
}

.content-section {
    margin-bottom: 4rem;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px var(--shadow-purple);
}

/* Cards */
.card {
    background: #fff;
    border-radius: 8px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px var(--shadow-purple);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-purple);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 2rem;
}

/* Reader Profiles */
.reader-card {
    text-align: center;
}

.reader-card .card-image {
    height: 300px;
}

.reader-card h3 {
    color: var(--deep-purple);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--mystic-gold);
    color: var(--deep-purple);
    font-weight: 600;
    font-size: 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background: var(--deep-purple);
    color: var(--mystic-gold);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--deep-purple);
    color: var(--deep-purple);
}

.btn-outline:hover {
    background: var(--deep-purple);
    color: #fff;
}

/* Decorative Elements */
.divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--mystic-gold), transparent);
    margin: 3rem auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--mystic-gold);
}

/* Blockquotes */
blockquote {
    border-left: 4px solid var(--mystic-gold);
    padding: 2rem;
    margin: 2rem 0;
    background: var(--soft-lavender);
    font-style: italic;
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--deep-purple);
}

/* Lists */
ul, ol {
    margin: 1.5rem 0;
    padding-left: 2.5rem;
}

li {
    margin-bottom: 0.8rem;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--deep-purple) 0%, #2A0D40 100%);
    color: var(--cream-white);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--mystic-gold);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

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

.footer-section a {
    color: var(--soft-lavender);
    font-size: 1.5rem;
}

.footer-section a:hover {
    color: var(--mystic-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 1.4rem;
    color: var(--soft-lavender);
}

/* Page Specific - My Story */
.story-intro {
    font-size: 2rem;
    color: var(--deep-purple);
    font-family: 'DM Serif Display', serif;
    line-height: 1.6;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1.5rem 0;
    font-size: 1.4rem;
    color: var(--light-purple);
}

.breadcrumbs a {
    color: var(--deep-purple);
}

.breadcrumbs span {
    margin: 0 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    html { font-size: 55%; }

    .menu-toggle { display: block; }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--deep-purple);
        padding: 2rem;
        display: none;
    }

    .main-nav.active { display: block; }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

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

    .col-6, .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .row { flex-direction: column; }
}

/* Strong text */
strong {
    font-weight: 600;
    color: var(--deep-purple);
}

/* Content links */
.main-content a {
    color: var(--light-purple);
    border-bottom: 1px solid var(--mystic-gold);
}

.main-content a:hover {
    color: var(--deep-purple);
    border-bottom-color: var(--deep-purple);
}

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

/* Table of Contents for Major Arcana */
.toc {
    background: var(--soft-lavender);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.toc h4 {
    margin-bottom: 1rem;
}

.toc ul {
    columns: 2;
    list-style: none;
    padding: 0;
}

.toc li {
    padding: 0.3rem 0;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.6s ease-out;
}

/* Skip to main content - accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--mystic-gold);
    color: var(--deep-purple);
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}
