@import url('https://fonts.googleapis.com/css2?family=Aboreto&display=swap');

@font-face {
    font-family: 'KAP002';
    src: url('./fonts/KAP002.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Brown Sugar';
    src: url('./fonts/Brown-Sugar-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    /* Fallback font */
    overflow: hidden;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    opacity: 1;
    padding: 0;
    background-color: #2D463199;
    background-image: url('./assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

/* Add an overlay to darken the background image if needed */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Adjust opacity for better text readability */
    z-index: 1;
}

/* Ensure content sits above the overlay */
.hero-header,
.hero-content,
.hero-watermark {
    z-index: 2;
}

/* Typography & Layout (Basic Setup) */
.hero-header {
    position: absolute;
    top: 40px;
    display: flex;
    width: 754px;
    max-width: 100%;
    height: 25px;
    justify-content: space-between;
}

.hashtag {
    font-family: 'Circular Std', sans-serif;
    font-weight: 450;
    font-size: 20px;
    line-height: 100%;
    text-align: center;
    color: #FFFFFF66;
    /* 40% opacity white text */
}

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

.heading-gujarati {
    font-family: 'KAP002', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 72px;
    line-height: 80px;
    letter-spacing: 0%;
    text-align: center;
}

.heading-english {
    font-family: 'Brown Sugar', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 52px;
    line-height: 80px;
    letter-spacing: 0;
    text-align: center;
}

.text-orange {
    color: #FFB125;
}

.subheading {
    font-family: 'Circular Std', sans-serif;
    font-weight: 450;
    font-style: normal;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    color: #FFFFFF;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.cta-button {
    min-width: 216px;
    height: 52px;
    padding: 16px 24px;
    border-radius: 100px;
    background-color: #1D4C3A;
    font-family: 'Circular Std', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #123023;
}

.hero-watermark {
    position: absolute;
    bottom: -50px;
    /* Adjust this slightly if it clips or needs to be closer */
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 1400px;
    max-width: 100%;
    text-align: center;
    z-index: 1;
    pointer-events: none;
}

.hero-watermark span {
    font-family: 'Brown Sugar', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 250px;
    line-height: 100%;
    letter-spacing: 0.2em;
    color: #FFFFFF26;
}

/* --- Animation Styles --- */
.animate-on-load {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.animate-on-load.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {

    .hero-header {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    .heading-gujarati {
        font-size: 56px;
        line-height: 64px;
    }

    .heading-english {
        font-size: 36px;
        line-height: 48px;
    }

    .hero-content {
        gap: 1rem;
    }

    .subheading {
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }

    .hero-watermark{
        bottom: -25px;
    }

    .hero-watermark span {
        font-size: 14vw;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
    }

    .hero-header {
        top: 25px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: 100%;
        height: auto;
        flex-wrap: nowrap;
    }

    .hashtag {
        font-size: 12px;
    }

    .heading-gujarati {
        font-size: 32px;
        line-height: 44px;
    }

    .heading-english {
        font-size: 22px;
        line-height: 34px;
        padding: 0 10px;
    }

    .subheading {
        font-size: 14px;
        margin-top: 0.3rem;
        margin-bottom: 0.8rem;
    }

    .hero-content {
        gap: 0.6rem;
    }

    .cta-button {
        width: 100%;
        max-width: 260px;
        height: 48px;
        font-size: 14px;
    }

    .hero-watermark {
        bottom: 10px;
    }

    .hero-watermark span {
        font-size: 18vw;
        letter-spacing: 0.1em;
        color: #FFFFFF40;
    }
}