/* Home Page Styles */

#home {
    overflow: hidden;
    height: 100vh;
    padding: 0;
    /* Override generic .page padding to allow edge flush */
}

.home-container {
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8vw;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding-right: 5vw;
}

.pottery-image {
    position: relative;
    height: 70vh;
    max-height: 800px;
    width: auto;
    aspect-ratio: 0.5 / 1.4;
    overflow: hidden;
}

.pottery-image img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 8px 30px rgba(107, 68, 35, 0.15);
    object-fit: cover;
}

.pottery-image video {
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    -webkit-clip-path: url(#vase-clip);
    clip-path: url(#vase-clip);
}

.home-content {
    position: relative;
    padding: 20px;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 400;
    color: var(--clay-dark);
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.home-message {
    font-size: 20px;
    color: var(--earth-brown);
    line-height: 1.8;
    font-weight: 400;
}

.gallery-button {
    display: inline-block;
    margin-top: 25px;
    padding: 15px 35px;
    font-size: 18px;
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    color: var(--clay-dark);
    background-color: transparent;
    border: 2px solid var(--clay-dark);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.gallery-button:hover {
    background-color: var(--clay-dark);
    color: var(--soft-cream);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 68, 35, 0.2);
}

/* Responsive Home Page */
@media (max-width: 768px) {
    #home {
        padding: 60px 0 0;
    }

    .home-container {
        grid-template-columns: 45vw 1fr;
        gap: 16px;
        padding: 0 20px 20px 0;
        min-height: unset;
        height: calc(100vh - 60px);
        align-items: center;
    }

    .pottery-image {
        height: auto;
        max-height: none;
        width: 100%;
        max-width: none;
    }

    .pottery-image video {
        max-height: none;
    }

    .main-title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .home-message {
        font-size: 16px;
        line-height: 1.6;
    }

    .home-content {
        padding: 0;
    }

    .gallery-button {
        margin-top: 14px;
        padding: 10px 24px;
        font-size: 16px;
    }
}