/* Legacy Styles for Hero and Credits Sections */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap");

:root {
    /* Restoring Original Variables for these sections */
    --color-cream: #fbfaf8;
    --color-greige-100: #f2f1ee;
    --color-greige-200: #e5e3de;
    --color-greige-500: #8c8881;
    --color-obsidian: #1a1a1a;
    --color-gold: #c9b38c;
    --color-gold-light: #dfd3bd;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Typography used in Legacy Sections */
.heading-xl {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--color-obsidian);
}

.heading-lg {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-obsidian);
}

.heading-sm {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.3rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-obsidian);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-cream);
    overflow: hidden;
    color: var(--color-obsidian);
    padding: 0;
    /* Reset section padding for hero */
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
    z-index: 2;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.hero-text-content {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.hero-subtitle {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 2rem;
    display: block;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-greige-500);
    margin-top: 2rem;
    margin-bottom: 3.5rem;
    max-width: 480px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.btn-premium {
    padding: 1.2rem 2.8rem;
    background-color: var(--color-obsidian);
    color: var(--color-cream);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-obsidian);
    display: inline-block;
}

.btn-premium:hover {
    background-color: transparent;
    color: var(--color-obsidian);
}

.btn-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-obsidian);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: opacity 0.3s ease;
}

.btn-text:hover {
    opacity: 0.7;
}

.hero-visual {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-image-wrapper {
    width: 90%;
    height: 80%;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: zoomOut 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes zoomOut {
    to {
        transform: scale(1);
        /* Reset transform */
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 5vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    text-decoration: none;
}

.scroll-text {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-greige-500);
    writing-mode: vertical-lr;
    transform: rotate(180deg);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: var(--color-greige-200);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--color-gold);
    animation: scrollLine 2s infinite cubic-bezier(0.76, 0, 0.24, 1);
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(200%);
    }
}

/* Mobile Adjustments for Hero */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 6rem;
        text-align: center;
    }

    .hero-text-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        margin-bottom: 1rem;
    }

    .hero-description {
        margin: 1.5rem auto 2.5rem;
        font-size: 1.1rem;
    }

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

    .hero-visual {
        height: 40vh;
        padding-top: 0;
        align-items: flex-start;
        justify-content: center;
    }

    .hero-image {
        transform: scale(1);
        animation: none;
    }

    .hero-image-wrapper {
        width: 100%;
        height: 100%;
    }

    .hero-scroll-indicator {
        display: none;
    }
}


/* Credits Section - Legacy */
.credits-section {
    padding: 6rem 0;
    background-color: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.credits-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    text-align: center;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.credits-image-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: rotate(-3deg);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: grab;
}

.credits-image-wrapper:hover {
    transform: rotate(3deg) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.credits-image-wrapper::after {
    content: "Woof! 🐾";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    color: var(--color-obsidian);
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.credits-image-wrapper:active {
    cursor: grabbing;
}

.credits-image-wrapper:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.credits-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.credits-content {
    max-width: 600px;
    margin: 0 auto;
}

.credits-content .heading-sm {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.credits-content .section-text {
    font-size: 1rem;
    color: var(--color-greige-500);
    margin-bottom: 2rem;
    text-align: center;
    font-family: var(--font-body);
}

.credits-note {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: #fff;
    border: 1px solid var(--color-greige-200);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    font-family: var(--font-body);
}

.credits-note:hover {
    transform: translateY(-2px);
    color: var(--color-obsidian);
}

@media (max-width: 1024px) {
    .credits-container {
        text-align: center;
        gap: 4rem;
    }

    .credits-image-wrapper {
        margin: 0 auto;
    }
}