/* =============================================
   Skill Silo — Classic & Elegant Style
   Palette: Terracotta + Sand
   Fonts: Cormorant Garamond + Montserrat
   ============================================= */

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

:root {
    --terracotta: #B85C38;
    --terracotta-dark: #9A4B2C;
    --terracotta-light: #D4845E;
    --sand: #F5EDE3;
    --sand-light: #FAF6F1;
    --sand-dark: #E8DDD0;
    --cream: #FDF9F4;
    --charcoal: #2C2420;
    --charcoal-light: #4A3F38;
    --warm-gray: #7A6E66;
    --warm-gray-light: #A89B93;
    --white: #FFFFFF;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', 'Helvetica Neue', sans-serif;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Typography ---- */
.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.section-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--warm-gray);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 14px 32px;
    border-radius: 4px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
}

.btn-primary:hover {
    background-color: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(184, 92, 56, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--terracotta);
    border-color: var(--terracotta);
}

.btn-outline:hover {
    background-color: var(--terracotta);
    color: var(--white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* ---- Header ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(253, 249, 244, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sand-dark);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(44, 36, 32, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--terracotta);
    border: 1.5px solid var(--terracotta);
    border-radius: 4px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--terracotta);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--terracotta);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: relative;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    content: '';
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--charcoal);
    transition: all var(--transition);
}

.hamburger span {
    width: 60%;
    margin-left: auto;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active .hamburger span {
    opacity: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--charcoal);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 36, 32, 0.82) 0%,
        rgba(74, 63, 56, 0.72) 50%,
        rgba(154, 75, 44, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    padding: 120px 24px 80px;
}

.hero-greeting {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta-light);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 28px;
}

.hero-headline em {
    font-style: italic;
    color: var(--terracotta-light);
}

.hero-sub {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 44px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---- About ---- */
.about {
    padding: 120px 0;
    background-color: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 36, 32, 0.12);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-content p {
    color: var(--warm-gray);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-content p em {
    color: var(--charcoal);
    font-style: italic;
    font-family: var(--font-serif);
    font-size: 1.15em;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--sand-dark);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--terracotta);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
}

/* ---- Services ---- */
.services {
    padding: 120px 0;
    background-color: var(--sand);
}

.section-header {
    margin-bottom: 64px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 48px 36px;
    transition: all var(--transition);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(44, 36, 32, 0.1);
    border-color: var(--sand-dark);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    margin-bottom: 28px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--terracotta);
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 28px;
    flex-grow: 1;
}

.card-link {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--terracotta);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.service-card:hover .card-link {
    gap: 10px;
}

.arrow {
    font-size: 1.1rem;
    transition: transform var(--transition);
}

.service-card:hover .arrow {
    transform: translateX(4px);
}

/* ---- Driving ---- */
.driving {
    padding: 120px 0;
    background-color: var(--cream);
}

.driving-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.driving-content .section-title {
    margin-bottom: 24px;
}

.driving-content p {
    color: var(--warm-gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0 40px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--charcoal-light);
}

.feature-list li svg {
    color: var(--terracotta);
    flex-shrink: 0;
}

.driving-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 36, 32, 0.12);
}

.driving-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* ---- Languages ---- */
.languages {
    padding: 120px 0;
    background-color: var(--sand);
}

.languages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.languages-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 36, 32, 0.12);
}

.languages-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.languages-content .section-title {
    margin-bottom: 24px;
}

.languages-content p {
    color: var(--warm-gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 36px;
}

.tag {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 8px 18px;
    border-radius: 100px;
    background-color: var(--white);
    color: var(--charcoal-light);
    border: 1px solid var(--sand-dark);
}

/* ---- Tutoring ---- */
.tutoring {
    padding: 120px 0;
    background-color: var(--cream);
}

.tutoring-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.tutoring-content .section-title {
    margin-bottom: 24px;
}

.tutoring-content p {
    color: var(--warm-gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.tutoring-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 36, 32, 0.12);
}

.tutoring-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ---- Testimonial Strip ---- */
.testimonial-strip {
    padding: 100px 0;
    background-color: var(--charcoal);
    text-align: center;
}

.testimonial-quote {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

.quote-mark {
    color: var(--terracotta);
    margin-bottom: 24px;
}

.testimonial-quote blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 28px;
}

.testimonial-source {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terracotta-light);
}

/* ---- CTA ---- */
.cta {
    padding: 120px 0;
    background-color: var(--sand);
}

.cta-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-inner .section-title {
    margin-bottom: 20px;
}

.cta-inner > p {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 44px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---- Contact ---- */
.contact {
    padding: 120px 0;
    background-color: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--warm-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item svg {
    color: var(--terracotta);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
    font-size: 1rem;
    color: var(--warm-gray);
}

.contact-item a:hover {
    color: var(--terracotta);
}

/* ---- Form ---- */
.contact-form-wrapper {
    background-color: var(--white);
    border-radius: 8px;
    padding: 48px;
    box-shadow: 0 12px 40px rgba(44, 36, 32, 0.08);
    border: 1px solid var(--sand-dark);
}

.contact-form .form-group {
    margin-bottom: 24px;
}

.contact-form label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--charcoal);
    background-color: var(--sand-light);
    border: 1.5px solid var(--sand-dark);
    border-radius: 4px;
    transition: all var(--transition);
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--terracotta);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--warm-gray-light);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: 48px 24px;
}

.form-success svg {
    color: var(--terracotta);
    margin: 0 auto 20px;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--warm-gray);
    font-size: 1rem;
}

/* ---- Footer ---- */
.site-footer {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand .logo-mark {
    border-color: var(--terracotta-light);
    color: var(--terracotta-light);
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: var(--white);
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--terracotta-light);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--terracotta-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .about-grid,
    .driving-grid,
    .languages-grid,
    .contact-grid {
        gap: 48px;
    }

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

    .tutoring-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .tutoring-image img {
        height: 300px;
    }
}

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

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: rgba(253, 249, 244, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--sand-dark);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .about-grid,
    .driving-grid,
    .languages-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image,
    .driving-image,
    .languages-image {
        order: -1;
    }

    .about-image img,
    .driving-image img,
    .languages-image img {
        height: 320px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .about-stats {
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .about,
    .services,
    .driving,
    .languages,
    .tutoring,
    .cta,
    .contact {
        padding: 80px 0;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
}

/* ---- Accessibility: Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}
