/* Import Samo-style font - using Playfair Display for elegant serif look */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+Pro:wght@300;400;600&display=swap');

#home {
    overflow: hidden;
    text-align: center;
    background-color: #14a78c;
    color: rgba(255,255,255,0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    height: 100vh;
    width: 100%;
    padding-bottom: 1rem;
    position: relative;
}

#home::before {
    content: '';
    position: absolute;
    inset: -10px;
    background-image: url('../../image/collage-05.jpg');
    background-size: cover;
    background-position: center 0%;
    background-repeat: no-repeat;
    filter: blur(2px);
    z-index: 0;
}

#home::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 0;
}

#home .container {
    margin: auto;
    width: 1400px;
    max-width: 95%;
    padding: 1.5em 1rem;
    position: relative;
    z-index: 2;
}

.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    text-align: center;
}

/* ── Badge ── */
.home-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    padding: 0.4em 1.1em;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.4px;
    backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeSlideUp 1.2s ease forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7CB342;
    box-shadow: 0 0 6px #7CB342;
    animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.6; transform: scale(1.3); }
}

/* ── Title ── */
.home-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.7);
    line-height: 1.2;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 1.2s ease forwards 0.3s;
}

/* ── Tagline — stacked lines ── */
.home-tagline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    font-weight: 700;
    font-style: italic;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
    letter-spacing: 0.3px;
}

/* Each line slides up with a delay */
.home-tagline .line {
    opacity: 0;
    transform: translateY(22px);
    display: block;
}

.home-tagline .line:nth-child(1) { animation: fadeSlideUp 1.0s ease forwards 0.6s; }
.home-tagline .line:nth-child(2) { animation: fadeSlideUp 1.0s ease forwards 0.9s; }
.home-tagline .line:nth-child(3) { animation: fadeSlideUp 1.0s ease forwards 1.2s; }

/* ── Footer / CTA ── */
#home footer {
    opacity: 0;
    animation: fadeSlideUp 1.0s ease forwards 1.5s;
}

#home .button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
    border-radius: 8px;
    color: #fff !important;
    text-decoration: none;
    padding: 0.7em 1.5em;
    background: linear-gradient(135deg, #6B9932 0%, #4D7326 100%);
    border: 0;
    cursor: pointer;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.75em;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
    animation: buttonWobble 3s ease-in-out infinite 0.6s;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.3em;
    height: 1.3em;
    flex-shrink: 0;
}
.btn-icon svg { width: 100%; height: 100%; fill: currentColor; }

@keyframes buttonWobble {
    0%,100% { transform: rotate(0deg) translateY(0); }
    15%      { transform: rotate(-2deg) translateY(-2px); }
    30%      { transform: rotate(2deg) translateY(-3px); }
    45%      { transform: rotate(-1.5deg) translateY(-2px); }
    60%      { transform: rotate(1.5deg) translateY(-1px); }
    75%      { transform: rotate(-1deg) translateY(0); }
}

#home .button:hover {
    background: linear-gradient(135deg, #7CB342 0%, #558B2F 100%);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 6px 22px rgba(0,0,0,0.5);
    animation: none;
}

#home .button:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

/* ── Shared keyframes ── */
@keyframes fadeSlideDown {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ── Mobile ── */
@media (max-width: 479px) {
    .home-title   { font-size: clamp(1.2rem, 5vw, 1.8rem); }
    .home-tagline { font-size: clamp(0.85rem, 3.5vw, 1.1rem); }
    .home-content { gap: 0.9rem; }
}
@media (max-width: 359px) {
    .home-title   { font-size: 1.1rem; }
    .home-tagline { font-size: 0.8rem; }
}