/* Tom Dean - Personal Landing Page Styles */

:root {
    --black: #000000;
    --gray-dark: #141414;
    --gray-mid: #1c1c1c;
    --gray-border: #2a2a2a;
    --teal: #0d9488;
    --teal-dark: #0f766e;
    --teal-light: #14b8a6;
    --text: #e2e8f0;
    --text-light: #9ca3af;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--black);
}

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

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

a:hover {
    text-decoration: underline;
}

/* Navigation */
.site-nav {
    background: var(--black);
    padding: 0.75rem 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-inner a {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.nav-inner a:hover {
    background: rgba(255, 255, 255, 0.15);
    text-decoration: none;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/holeshot-banner.jpg');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    color: var(--text);
    text-align: center;
    padding: 3rem 1.5rem;
}

.hero-photo {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 4px solid var(--teal);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.hero .title {
    font-size: 1.1rem;
    color: var(--teal-light);
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.hero .tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.25rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cert-badges {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cert-badge {
    background: rgba(13, 148, 136, 0.2);
    color: var(--teal-light);
    border: 1px solid rgba(13, 148, 136, 0.4);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Sections */
.section {
    padding: 3rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

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

.section-alt .section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section h2 {
    font-size: 1.6rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--teal);
    display: inline-block;
}

.section-intro {
    color: var(--text-light);
    margin-top: 0.75rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
}

/* About */
.about-text {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-text strong {
    color: var(--teal-light);
}

/* Connect Cards */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.card {
    background: var(--gray-mid);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--gray-border);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    border-color: var(--teal);
}

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

.card-qr {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 6px;
    padding: 4px;
}

.card-qr img,
.card-qr canvas,
.card-qr svg {
    width: 120px;
    height: 120px;
}

.card-info {
    text-align: left;
}

.card-info h3 {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.card-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.card-info a.card-link {
    display: inline-block;
    color: var(--teal);
    font-weight: 600;
    font-size: 0.9rem;
}

.card-info a.card-link:hover {
    color: var(--teal-light);
}

/* Footer */
.site-footer {
    background: var(--black);
    border-top: 1px solid var(--gray-border);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.9rem;
}

.site-footer a {
    color: var(--teal-light);
}

.site-footer p {
    margin-bottom: 0.35rem;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Responsive */
@media (min-width: 600px) {
    .hero {
        padding: 4rem 2rem;
    }

    .hero-photo {
        width: 480px;
        height: 480px;
    }

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

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

@media (min-width: 900px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
