/*
Theme Name: Ask the PhD
Theme URI: https://askthephd.com
Author: Dr. Alison Green
Author URI: https://askthephd.com
Description: AI Literacy for Higher Education - Custom landing page theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: askthephd
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* === VARIABLES === */
:root {
    --primary: #256A6A;
    --primary-light: #2d8282;
    --secondary: #C4963C;
    --background: #F7F4EF;
    --foreground: #263040;
    --muted: #5C6670;
    --border: #E4DFD6;
    --card: #FFFFFF;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Source Sans 3', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--foreground);
    background: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.15;
}

/* === HEADER === */
.site-header {
    background: var(--background);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background-color: rgba(247, 244, 239, 0.85);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--foreground);
    font-style: italic;
}

.site-logo span {
    font-style: italic;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav a {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--foreground);
    transition: color 0.3s;
    letter-spacing: 0.01em;
}

.header-nav a:hover {
    color: var(--primary);
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--primary) !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid var(--primary);
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff !important;
}

/* === MOBILE MENU === */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--foreground);
    margin: 5px 0;
    transition: 0.3s;
}

/* === HERO === */
.hero-section {
    background: var(--background);
    padding: 80px 24px 100px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.08;
    margin-bottom: 24px;
}

.hero-title em {
    color: var(--primary);
    font-style: italic;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.hero-subdesc {
    font-size: 0.9rem;
    color: var(--muted);
    opacity: 0.8;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* === CREDIBILITY STRIP === */
.credibility-strip {
    background: var(--primary);
    color: rgba(247, 244, 239, 0.85);
    text-align: center;
    padding: 20px 24px;
    font-family: var(--font-body);
    font-size: 16px;
    letter-spacing: 0.02em;
}

.credibility-strip strong {
    color: #fff;
    font-weight: 700;
}

/* === SECTION SHARED === */
.section {
    padding: 80px 24px;
}

.section-alt {
    background: #fff;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 20px;
    line-height: 1.15;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 700px;
}

/* === WHY THIS SITE === */
.why-section .section-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.why-points {
    margin-top: 32px;
}

.why-point {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.why-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(37, 106, 106, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
}

.why-point h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--foreground);
}

.why-point p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
}

/* === WHAT YOU'LL GET === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 28px;
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 106, 106, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 22px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--foreground);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
}


/* === MY APPROACH === */
.approach-section .section-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: center;
}

.approach-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.approach-points {
    margin-top: 24px;
}

.approach-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.approach-check {
    color: var(--primary);
    font-size: 18px;
    margin-top: 2px;
}

.approach-point p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.6;
}

/* === SUBSCRIBE CTA === */
.subscribe-section {
    background: var(--primary);
    padding: 80px 24px;
    text-align: center;
}

.subscribe-inner {
    max-width: 640px;
    margin: 0 auto;
}

.subscribe-section .section-label {
    color: rgba(247, 244, 239, 0.65);
}

.subscribe-section .section-title {
    color: #fff;
    margin-bottom: 16px;
}

.subscribe-section .section-desc {
    color: rgba(247, 244, 239, 0.8);
    margin: 0 auto 32px;
    text-align: center;
}

.subscribe-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.subscribe-input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid rgba(247, 244, 239, 0.2);
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 15px;
    font-family: var(--font-body);
}

.subscribe-input::placeholder {
    color: rgba(247, 244, 239, 0.4);
}

.btn-subscribe {
    background: #fff;
    color: var(--primary) !important;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.btn-subscribe:hover {
    background: var(--background);
    transform: translateY(-1px);
}

/* === FOOTER CTA === */
.footer-cta {
    background: var(--foreground);
    padding: 64px 24px;
    text-align: center;
}

.footer-cta .section-title {
    color: #fff;
    margin-bottom: 12px;
}

.footer-cta .section-desc {
    color: rgba(247, 244, 239, 0.7);
    margin: 0 auto 32px;
    text-align: center;
}

.footer-cta .btn-primary {
    background: var(--secondary);
    border-color: var(--secondary);
}

.footer-cta .btn-primary:hover {
    background: #d4a64c;
    border-color: #d4a64c;
}

/* === FOOTER === */
.site-footer {
    background: var(--foreground);
    border-top: 1px solid rgba(247, 244, 239, 0.1);
    padding: 40px 24px 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    color: rgba(247, 244, 239, 0.7);
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    color: rgba(247, 244, 239, 0.6);
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-copyright {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(247, 244, 239, 0.1);
    color: rgba(247, 244, 239, 0.4);
    font-size: 13px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        order: -1;
    }
    
    .hero-image {
        max-width: 300px;
    }

    .why-section .section-inner {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-section .section-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .approach-image {
        margin: 0 auto;
    }

    .speaking-section .section-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background);
        padding: 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    .hero-title {
        font-size: 2rem;
    }

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

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

    .section-title {
        font-size: 1.75rem;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
