/* ============================================
   ColorStack UMN — Stylesheet
   Brand Colors: UMN Maroon (#7a0019) & Gold (#ffcc33)
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700&family=Playfair+Display:wght@700;800&display=swap');

/* --- Variables --- */
:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f8f5f6;
    --color-surface: #ffffff;
    --color-surface-hover: #faf7f8;
    --color-maroon: #7a0019;
    --color-maroon-light: #9b1a35;
    --color-maroon-dark: #5a0013;
    --color-gold: #ffcc33;
    --color-gold-dim: #e6b800;
    --color-text: #2d2026;
    --color-text-muted: #6b5a60;
    --color-white: #ffffff;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --max-width: 1100px;
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-maroon);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-maroon-light);
}

h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.2;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(122, 0, 25, 0.1);
    border-top: 3px solid var(--color-maroon);
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-maroon);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-cta {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--color-maroon);
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(122, 0, 25, 0.3);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(122, 0, 25, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 204, 51, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 800;
    color: var(--color-maroon);
    letter-spacing: -0.03em;
    position: relative;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(122, 0, 25, 0.12);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--color-maroon-light);
    font-weight: 500;
    margin-top: 0.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-muted);
    max-width: 520px;
    margin-top: 1.5rem;
}

.btn-primary {
    display: inline-block;
    margin-top: 2.5rem;
    padding: 1rem 2.5rem;
    background: var(--color-maroon);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(122, 0, 25, 0.3);
}

/* --- Section Shared --- */
section {
    padding: 5rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-maroon);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.75rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--color-gold);
    border-radius: 2px;
}

/* --- Mission / About Us --- */
.mission {
    text-align: center;
    border-top: 1px solid rgba(122, 0, 25, 0.2);
}

.mission-text {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--color-maroon);
    max-width: 750px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    font-style: italic;
}

.about-us {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.about-us p {
    color: var(--color-text-muted);
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.btn-learn-more {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.7rem 2rem;
    background: transparent;
    color: var(--color-maroon);
    border: 2px solid var(--color-maroon);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, transform 0.2s;
}

.btn-learn-more:hover {
    background: var(--color-maroon);
    color: var(--color-white);
    transform: translateY(-1px);
}

/* --- Statistics --- */
.stats {
    border-top: 1px solid rgba(122, 0, 25, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--color-bg-alt);
    border: 1px solid rgba(122, 0, 25, 0.1);
    border-top: 3px solid var(--color-gold);
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: transform 0.2s, border-color 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-maroon);
    box-shadow: 0 8px 24px rgba(122, 0, 25, 0.08);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-maroon);
    line-height: 1;
}

.stat-label {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* --- What We Offer --- */
.offerings {
    border-top: 1px solid rgba(122, 0, 25, 0.2);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.offering-card {
    background: var(--color-bg-alt);
    border: 1px solid rgba(122, 0, 25, 0.1);
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    transition: transform 0.2s, border-color 0.3s, box-shadow 0.3s;
}

.offering-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-gold);
    box-shadow: 0 8px 24px rgba(255, 204, 51, 0.12);
}

.offering-card h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-maroon);
    margin-bottom: 0.75rem;
}

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

/* --- Testimonial --- */
.testimonial {
    text-align: center;
    border-top: 1px solid rgba(122, 0, 25, 0.2);
}

.testimonial-card {
    max-width: 720px;
    margin: 2rem auto 0;
    background: var(--color-bg-alt);
    border: 1px solid rgba(122, 0, 25, 0.1);
    border-left: 4px solid var(--color-gold);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: left;
    position: relative;
}

.testimonial-card blockquote {
    margin: 0;
}

.testimonial-card blockquote::before {
    content: '\201C';
    position: absolute;
    top: 0.75rem;
    left: 1.5rem;
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--color-gold);
    opacity: 0.4;
    line-height: 1;
}

.testimonial-card blockquote p {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.75;
    font-style: italic;
    padding-left: 0.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(122, 0, 25, 0.08);
}

.testimonial-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-gold);
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-maroon);
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* --- Contact --- */
.contact {
    text-align: center;
    border-top: 1px solid rgba(122, 0, 25, 0.2);
}

.contact > p {
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
}

/* Email Widget */
.email-widget {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 560px;
    margin: 0 auto 3rem;
    padding: 1.25rem 1.75rem;
    background: var(--color-bg-alt);
    border: 1px solid rgba(122, 0, 25, 0.1);
    border-radius: var(--radius);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.email-widget:hover {
    border-color: var(--color-maroon);
    box-shadow: 0 4px 24px rgba(122, 0, 25, 0.06);
}

.email-icon {
    font-size: 1.6rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(122, 0, 25, 0.08);
    border-radius: 10px;
    flex-shrink: 0;
}

.email-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
    min-width: 0;
}

.email-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

.email-address {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-maroon);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.email-btn {
    flex-shrink: 0;
    padding: 0.55rem 1.3rem;
    background: var(--color-maroon);
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform 0.2s, box-shadow 0.2s;
}

.email-btn:hover {
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(122, 0, 25, 0.25);
}

/* Contact Cards Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.8rem 1.2rem;
    background: var(--color-bg-alt);
    border: 1px solid rgba(122, 0, 25, 0.1);
    border-radius: var(--radius);
    transition: transform 0.2s, border-color 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.contact-card:hover {
    transform: translateY(-4px);
}

.contact-card--linkedin:hover {
    border-color: #0a66c2;
    box-shadow: 0 6px 24px rgba(10, 102, 194, 0.15);
}

.contact-card--email:hover {
    border-color: var(--color-maroon);
    box-shadow: 0 6px 24px rgba(122, 0, 25, 0.1);
}

.contact-card--instagram:hover {
    border-color: #e1306c;
    box-shadow: 0 6px 24px rgba(225, 48, 108, 0.15);
}

.contact-card-icon {
    width: 32px;
    height: 32px;
    color: var(--color-text-muted);
    transition: color 0.3s;
}

.contact-card--linkedin:hover .contact-card-icon { color: #0a66c2; }
.contact-card--email:hover .contact-card-icon { color: var(--color-maroon); }
.contact-card--instagram:hover .contact-card-icon { color: #e1306c; }

.contact-card-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text);
}

.contact-card-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 2.5rem 2rem;
    border-top: 1px solid rgba(122, 0, 25, 0.2);
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    nav {
        padding: 1rem 1.25rem;
    }

    .nav-brand {
        font-size: 1.05rem;
    }

    .nav-cta {
        padding: 0.5rem 1.1rem;
        font-size: 0.75rem;
    }

    section {
        padding: 3.5rem 1.25rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.8rem 1.2rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .offerings-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .email-widget {
        flex-wrap: wrap;
        padding: 1.1rem 1.25rem;
        gap: 1rem;
    }

    .email-btn {
        width: 100%;
        text-align: center;
        padding: 0.65rem 1.3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .contact-card {
        flex-direction: row;
        padding: 1.2rem 1.5rem;
        gap: 1rem;
    }

    .contact-card-icon {
        width: 28px;
        height: 28px;
    }
}
