/* CSS Reset & Variables */
:root {
    --bg-color: #ffffff;
    --text-primary: #000000;
    --text-secondary: #d1d1d1;
    --text-tertiary: #a0a0a0;
    --border-color: #f0f0f0;
    --accent: #000000;
    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    background: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

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

.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-tertiary);
    text-transform: uppercase;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline {
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
}

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

.btn-solid {
    background-color: var(--text-primary);
    color: white;
}

.btn-solid:hover {
    background-color: #222;
}

.btn-text {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.btn-text:hover {
    color: var(--text-tertiary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 0.75rem;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    margin-top: 0.3rem;
}

.handwriting-hero {
    max-width: 800px;
    width: 100%;
    text-align: center;
    color: var(--text-primary);
    /* Black marker color */
    font-family: 'Kalam', 'Caveat', cursive;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.handwriting-hero .uppercase {
    text-transform: uppercase;
}

.hw-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.hw-huge {
    font-size: 2.25rem;
    line-height: 1.1;
    font-weight: 700;
    transform: rotate(-1deg);
    /* Slight natural tilt */
}

.hw-large {
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 400;
}

.hw-medium {
    font-size: 1.7rem;
    line-height: 1.1;
    font-weight: 400;
    font-family: 'Caveat', cursive;
    /* slightly different texture for variety */
}

.hw-divider {
    border: none;
    height: 2px;
    background-color: var(--text-primary);
    width: 60%;
    margin: 0 auto;
    border-radius: 50%;
    opacity: 0.7;
}

/* Footer Styles */
.footer {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    background-color: white;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-tertiary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-copy {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: max-content;
}

.footer-logo .logo-text {
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.animate-fade {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

/* Responsive */
@media (max-width: 1024px) {

    .header,
    .footer {
        padding: 1.5rem 2rem;
    }

    .nav-links {
        display: none;
    }

    .hero-main-title {
        font-size: 4rem;
    }

    .hero-main-title .serif-light {
        font-size: 3.5rem;
    }
}

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

    .hero-main-title {
        font-size: 2.5rem;
    }

    .hero-main-title .serif-light {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}