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

:root {
    --bg-dark: #151515;
    --bg-darker: #0d0d0d;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --accent: #007580;
    --font-heading: 'Instrument Serif', Georgia, serif;
    --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 0;
    background: linear-gradient(to bottom, rgba(21, 21, 21, 0.95), rgba(21, 21, 21, 0));
}

.logo {
    display: inline-block;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/susan-wilkinson-3LwLlMsaC4E-unsplash.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.apple-icon {
    flex-shrink: 0;
}

/* Sections */
.section {
    position: relative;
    padding: 120px 24px;
}

.section-texture,
.section-pattern {
    padding: 180px 24px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.section-dark {
    background-color: var(--bg-dark);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.section-text {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
}

/* Pattern Section */
.section-pattern {
    background-color: var(--bg-darker);
    overflow: hidden;
}

.pattern-overlay {
    position: absolute;
    inset: 0;
    background-image: url('assets/semeion texture.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.section-pattern .container {
    position: relative;
    z-index: 1;
}

/* Texture Section */
.section-texture {
    background-color: var(--bg-darker);
    overflow: hidden;
}

.texture-overlay {
    position: absolute;
    inset: 0;
    background-image: url('assets/semeion texture.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.section-texture .container {
    position: relative;
    z-index: 1;
}

/* Contact Section */
.section-contact {
    text-align: center;
}

.section-contact .section-text {
    margin: 0 auto 40px;
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    padding: 60px 24px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    height: 28px;
    width: auto;
    margin-bottom: 20px;
    opacity: 0.6;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-privacy {
    display: inline-block;
    margin-top: 10px;
    line-height: 1.6;
}

.footer-link,
.footer-link:visited {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-link:hover {
    text-decoration-thickness: 2px;
}

.footer-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.35);
    outline-offset: 3px;
    border-radius: 4px;
}

.footer-link:active {
    color: rgba(255, 255, 255, 0.85);
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 20px 0;
    }

    .logo-img {
        height: 28px;
    }

    .hero {
        min-height: auto;
        padding: 140px 24px 80px;
    }

    .section {
        padding: 80px 24px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 20px 60px;
    }

    .section {
        padding: 60px 20px;
    }

    .container {
        padding: 0 20px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hero animation - immediate on load */
.hero-content {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
