/*
 Theme Name: Professor Oldtimer
 Theme URI: https://professoroldtimer.com
 Author: Greg R. & Zippy (AI Assistant)
 Author URI: https://professoroldtimer.com
 Description: A clean, senior-friendly theme for the Professor Oldtimer brand. High-contrast, large-type, fast-loading, and built specifically for AI education content.
 Version: 1.0.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: professor-oldtimer
*/

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #12212f;
    background-color: #f5f7fb;
}

/* Layout */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* Header */
.site-header {
    background-color: #0b314f;
    color: #ffffff;
}

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

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: #ffffff;
    text-decoration: none;
}

.site-description {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Nav */
.main-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 1rem;
}

.main-navigation a {
    color: #e6f0ff;
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a {
    background-color: #ffffff;
    color: #0b314f;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0b314f 0%, #145f82 73%, #f5f7fb 40%, #f5f7fb 100%);
    color: #ffffff;
    padding: 3rem 0 2rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: center;
}

.hero-title {
    font-size: 2.4rem;
    margin: 0 0 0.5rem;
}

.hero-tagline {
    font-size: 1.4rem;
    margin: 0 0 1.25rem;
}

.hero-text p {
    margin-top: 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.button,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.button {
    background-color: #ffd259;
    color: #12212f;
}

.button:hover,
.button:focus {
    background-color: #ffbf1f;
}

.button-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.8);
}

.button-secondary:hover,
.button-secondary:focus {
    background-color: rgba(255,255,255,0.1);
}

.hero-illustration {
    background-color: #ffffff;
    color: #0b314f;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    text-align: center;
	
	/* Right-side drop shadow */
   box-shadow: 16px 0 32px rgba(0,0,0,0,45);
}

/* ⭐ ADDED: Perfect bottom-right 15px drop shadow */
.hero-illustration.oldtimer-shadow-card {
    box-shadow: 15px 15px 28px rgba(0,0,0,0.18);
}

/* Inside the white card */
.hero-illustration .professor-badge {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #145f82;
    margin-bottom: 0.5rem;
}

.hero-illustration .professor-name {
    font-size: 1.3rem;
    margin: 0.25rem 0 0.5rem;
}

.hero-illustration p {
    margin: 0;
    font-size: 0.95rem;
}

/* Sections */
.section {
    padding: 2.5rem 0;
    background-color: #f5f7fb;
}

.section.alt {
    background-color: #ffffff;
}

.section-title {
    font-size: 1.6rem;
    margin: 0 0 0.75rem;
}

.section-intro {
    max-width: 640px;
    margin: 0 0 2rem;
    font-size: 1rem;
    color: #42566a;
}

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

.feature-card {
    background-color: #ffffff;
    border-radius: 0.9rem;
    padding: 1.25rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.feature-card h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 0.98rem;
}

/* Two Column */
.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
    gap: 2rem;
    align-items: start;
}

.bio-card {
    background-color: #ffffff;
    border-radius: 0.9rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.bio-card h3 {
    margin-top: 0;
}

/* CTA Section */
.section-cta {
    text-align: center;
}

.section-cta .section-title {
    margin-bottom: 0.5rem;
}

.section-cta p {
    margin: 0 0 1.5rem;
}

/* Footer */
.site-footer {
    margin-top: auto;
    background-color: #0b314f;
    color: #dbe7f5;
    padding: 1.5rem 0;
    font-size: 0.95rem;
}

.site-footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.footer-links a {
    color: #dbe7f5;
    text-decoration: none;
    margin-right: 0.75rem;
}

.footer-links a:hover,
.footer-links a:focus {
    text-decoration: underline;
}

/* Content styles */
main {
    padding-bottom: 2rem;
}

.entry-content {
    max-width: 720px;
    margin: 0 auto;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
    color: #12212f;
}

.entry-content a {
    color: #145f82;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .hero {
        background: linear-gradient(150deg, #0b314f 0%, #145f82 65%, #f5f7fb 65%, #f5f7fb 100%);
    }
    .two-column {
        grid-template-columns: 1fr;
    }
    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

