/* Home page styles - uses coffee theme from places.css */

/* Hero section */
.home-hero {
    background: linear-gradient(
        160deg,
        var(--coffee-foam) 0%,
        var(--coffee-milk) 50%,
        var(--coffee-cream) 100%
    );
    padding: 5rem 1.5rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.home-hero .hero-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(74, 44, 42, 0.15));
}

.home-hero .hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--coffee-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.home-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--coffee-medium);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-ctas .button.is-outlined.is-coffee {
    background-color: transparent;
    border-color: var(--coffee-medium);
    color: var(--coffee-medium);
}

.hero-ctas .button.is-outlined.is-coffee:hover {
    background-color: var(--coffee-medium);
    color: white;
}

/* Section divider */
.section-divider {
    display: flex;
    justify-content: center;
    padding: 0;
    background-color: white;
}

.section-divider span {
    display: block;
    width: 60px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--coffee-milk), var(--coffee-cream), var(--coffee-milk));
}

/* Content sections (Feature, Social, Locations) */
.content-section {
    padding: 5rem 1.5rem;
    background-color: white;
}

.content-section.is-alternate {
    background: linear-gradient(180deg, var(--coffee-foam) 0%, white 100%);
}

.content-columns {
    max-width: 960px;
    margin: 0 auto;
}

.content-title {
    color: var(--coffee-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.content-body {
    color: var(--coffee-medium);
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-body p {
    margin-bottom: 1rem;
}

.content-body p:last-child {
    margin-bottom: 0;
}

/* Section illustrations */
.section-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.section-illustration svg {
    width: 100%;
    max-width: 280px;
    height: auto;
}

/* City tags */
.city-tags {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.city-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--coffee-foam);
    color: var(--coffee-medium);
    border-radius: 20px;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid var(--coffee-milk);
    transition: all 0.2s ease;
}

.city-tag:hover {
    background-color: var(--coffee-medium);
    color: white;
    border-color: var(--coffee-medium);
}

/* Beta / Waitlist section */
.beta-section {
    background: linear-gradient(
        160deg,
        var(--coffee-cream) 0%,
        var(--coffee-medium) 100%
    );
    padding: 5rem 1.5rem;
}

.beta-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.beta-body {
    color: var(--coffee-foam);
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.beta-section .button.is-coffee {
    background-color: white;
    color: var(--coffee-dark);
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.beta-section .button.is-coffee:hover {
    background-color: var(--coffee-foam);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

/* Home footer */
.home-footer {
    background-color: var(--coffee-medium);
    color: white;
    padding: 3rem 1.5rem 2rem;
}

.home-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.home-footer .footer-brand img {
    width: 40px;
    height: auto;
}

.home-footer .footer-brand span {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.home-footer p {
    color: var(--coffee-milk);
}

.home-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-footer .footer-links li {
    margin-bottom: 0.5rem;
}

.home-footer .footer-links a {
    color: var(--coffee-milk);
    text-decoration: none;
    transition: color 0.2s ease;
}

.home-footer .footer-links a:hover {
    color: white;
}

.home-footer .footer-title {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.home-footer .footer-bottom {
    border-top: 1px solid var(--coffee-light);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    color: var(--coffee-milk);
    font-size: 0.9rem;
}

/* Preview signup modal */
.preview-modal-card {
    background: linear-gradient(170deg, white 0%, var(--coffee-foam) 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 24px 64px rgba(74, 44, 42, 0.2);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.preview-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--coffee-cream);
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: color 0.15s;
}

.preview-modal-close:hover {
    color: var(--coffee-dark);
}

.preview-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coffee-medium);
    box-shadow: 0 4px 16px rgba(111, 78, 55, 0.25);
}

.preview-modal-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.preview-modal-title {
    color: var(--coffee-dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.preview-modal-subtitle {
    color: var(--coffee-medium);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.preview-modal-fields {
    text-align: left;
}

.preview-modal-fields .field {
    margin-bottom: 0.75rem;
}

.preview-modal-fields .input,
.preview-modal-fields .textarea {
    border-color: var(--coffee-milk);
    border-radius: 10px;
    box-shadow: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.preview-modal-fields .input:focus,
.preview-modal-fields .textarea:focus {
    border-color: var(--coffee-cream);
    box-shadow: 0 0 0 0.125em rgba(196, 164, 132, 0.25);
}

.preview-modal-fields .textarea {
    resize: none;
    font-size: 0.9rem;
}

.preview-modal-fields .icon svg {
    color: var(--coffee-cream);
}

.preview-modal-submit {
    margin-top: 0.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    padding: 1.25rem;
    height: auto;
    box-shadow: 0 4px 16px rgba(111, 78, 55, 0.2);
    transition: all 0.2s ease;
}

.preview-modal-submit:hover:not([disabled]) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(111, 78, 55, 0.3);
}

.preview-modal-feedback {
    margin-top: 1rem;
    min-height: 1.5rem;
}

.preview-modal-success {
    animation: successFadeIn 0.4s ease-out;
}

.preview-modal-success .success-checkmark {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #48c774;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(72, 199, 116, 0.3);
}

.preview-modal-success .success-checkmark svg {
    width: 28px;
    height: 28px;
    stroke: white;
    stroke-width: 3;
    fill: none;
}

.preview-modal-success p {
    color: var(--coffee-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.preview-modal-success small {
    color: var(--coffee-medium);
    font-size: 0.9rem;
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media screen and (max-width: 768px) {
    .home-hero {
        padding: 3rem 1rem;
        min-height: auto;
    }

    .home-hero .hero-logo {
        max-width: 280px;
        margin-bottom: 1.5rem;
    }

    .home-hero .hero-title {
        font-size: 1.75rem;
    }

    .home-hero .hero-subtitle {
        font-size: 1rem;
    }

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

    .hero-ctas .button {
        width: 100%;
    }

    .content-section,
    .beta-section {
        padding: 3rem 1rem;
    }

    .section-illustration {
        margin-bottom: 1.5rem;
    }

    .section-illustration svg {
        max-width: 200px;
    }

    .content-title,
    .beta-title {
        font-size: 1.5rem;
    }

    .city-tags {
        justify-content: center;
    }
}
