
/* ==============================
   EVENTHIVE - GLOBAL STYLES
================================ */

/* :root {
    --lavender-light: #F7F3FF;
    --lavender: #EDE5FF;
    --lavender-primary: #C4B2F3;
    --lavender-medium: #A88BE8;
    --lavender-dark: #8065BD;
    --purple-dark: #51416F;
    --text-dark: #302744;
    --text-muted: #898394;
    --white: #FEFCFF;
    --border: #EAE2F7;
} */
:root {
    --lavender-light: #F7F3FF;
    --lavender: #EDE5FF;
    --lavender-primary: #C4B2F3;
    --lavender-medium: #A88BE8;
    --lavender-dark: #6D50B0;

    --purple-dark: #3B2D59;
    --text-dark: #15121C;
    --text-muted: #464054;

    --black: #100E15;
    --white: #FEFCFF;
    --border: #EAE2F7;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* ==============================
   NAVIGATION BAR
================================ */

.header {
    width: 100%;
    background: rgba(254, 252, 255, 0.96);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    max-width: 1440px;
    margin: auto;
    padding: 18px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 27px;
    font-weight: 800;
    color: var(--black);
    letter-spacing: -1px;
}

.logo span {
    color: var(--lavender-dark);
}

.nav-links {
    display: flex;
    gap: 34px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--lavender-dark);
}

.nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.login-btn,
.signup-btn {
    padding: 10px 21px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
}

.login-btn {
    color: var(--purple-dark);
}

.signup-btn {
    background: var(--lavender-dark);
    color: white;
    transition: 0.3s;
}

.signup-btn:hover {
    background: var(--purple-dark);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    color: var(--purple-dark);
    font-size: 25px;
    cursor: pointer;
}


/* ==============================
   HERO SECTION
================================ */

.hero {
    max-width: 1440px;
    min-height: 570px;
    margin: auto;
    padding: 75px 35px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 50px;
}

.hero-content {
    max-width: 620px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--lavender-light);
    color: var(--lavender-dark);
    padding: 9px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 25px;
}

.label-dot {
    width: 7px;
    height: 7px;
    background: var(--lavender-medium);
    border-radius: 50%;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(43px, 5vw, 67px);
    line-height: 1.16;
    color: var(--black);
    letter-spacing: -1.5px;
}

.hero h1 span {
    color: var(--lavender-dark);
}

.hero-description {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 530px;
    margin: 23px 0 30px;
    line-height: 1.85;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 23px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    transition: 0.3s;
}

.primary-btn {
    color: white;
    background: var(--lavender-dark);
    box-shadow: 0 7px 18px rgba(128, 101, 189, 0.2);
}

.primary-btn:hover {
    background: var(--purple-dark);
    transform: translateY(-3px);
}

.secondary-btn {
    color: var(--purple-dark);
    border: 1px solid var(--lavender-primary);
    background: white;
}

.secondary-btn:hover {
    background: var(--lavender-light);
    transform: translateY(-3px);
}

.hero-note {
    margin-top: 30px;
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.hero-note span {
    color: var(--lavender-dark);
    margin-right: 7px;
}


/* ==============================
   HERO VISUAL
================================ */

.hero-visual {
    min-height: 390px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-circle {
    position: absolute;
    border-radius: 50%;
}

.circle-one {
    width: 350px;
    height: 350px;
    background: var(--lavender-light);
}

.circle-two {
    width: 270px;
    height: 270px;
    border: 1px solid var(--lavender-primary);
}

.main-visual-card {
    width: 290px;
    min-height: 290px;
    padding: 32px 25px;
    position: relative;
    z-index: 2;
    background: linear-gradient(145deg, #DCD0FA, #BCA5EC);
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(128, 101, 189, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.visual-emoji {
    font-size: 65px;
    margin-bottom: 15px;
}

.main-visual-card h2 {
    color: var(--black);
    font-family: 'Playfair Display', serif;
    font-size: 23px;
    line-height: 1.35;
}

.main-visual-card p {
    font-size: 12px;
    color: var(--purple-dark);
    margin-top: 12px;
}

.visual-decoration {
    position: absolute;
    top: 17px;
    right: 22px;
    font-size: 28px;
    color: white;
}

.visual-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 22px;
    padding-top: 12px;
    border-top: 1px solid rgba(81, 65, 111, 0.2);
    font-size: 9px;
    font-weight: 800;
    color: var(--purple-dark);
}

.floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 13px 17px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(81, 65, 111, 0.12);
}

.floating-card > span {
    font-size: 26px;
}

.floating-card div {
    display: flex;
    flex-direction: column;
}

.floating-card strong {
    font-size: 12px;
    color: var(--purple-dark);
}

.floating-card small {
    font-size: 10px;
    color: var(--text-muted);
}

.card-top {
    top: 20px;
    right: -5px;
}

.card-bottom {
    bottom: 20px;
    left: -5px;
}


/* ==============================
   INTRO STRIP
================================ */

/* ==============================
   INTRO FEATURE STRIP
================================ */

.intro-strip {
    background: var(--lavender-light);
    padding: 65px 8%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 55px;
    text-align: center;
}

.intro-strip > div {
    padding: 10px 20px;
    position: relative;
}

/* Vertical separators */
.intro-strip > div:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -28px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--lavender-primary);
}

.intro-icon {
    display: block;
    font-size: 42px;
    margin-bottom: 15px;
}

.intro-strip strong {
    display: block;
    color: var(--black);
    font-size: 27px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.intro-strip p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    max-width: 280px;
    margin: auto;
}

/* ==============================
   EVENTS SECTION
================================ */

.events-section {
    max-width: 1440px;
    margin: auto;
    padding: 95px 35px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.section-tag {
    display: block;
    color: var(--lavender-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-heading h2,
.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: var(--black);
    line-height: 1.3;
}

.section-heading h2 span,
.about-content h2 span {
    color: var(--lavender-dark);
}

.section-heading p {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 10px;
}

.view-all-btn {
    color: var(--lavender-dark);
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

.view-all-btn:hover,
.event-link:hover {
    color: var(--purple-dark);
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.event-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: white;
    transition: 0.3s;
}

.event-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(81, 65, 111, 0.1);
}

.event-image {
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.event-emoji {
    font-size: 65px;
    transition: 0.3s;
}

.event-card:hover .event-emoji {
    transform: scale(1.15) rotate(-5deg);
}

.image-decoration {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 25px;
}

.farewell {
    background: linear-gradient(135deg, #D9CBF8, #A88BE8);
}

.christmas {
    background: linear-gradient(135deg, #E5DDF8, #B7A5DE);
}

.deepotsav {
    background: linear-gradient(135deg, #F2D9D9, #D9B4D9);
}

.hackathon {
    background: linear-gradient(135deg, #D6D8F8, #A7A8DB);
}

.janmashtami {
    background: linear-gradient(135deg, #E7D9F5, #BBA1D9);
}

.teachers {
    background: linear-gradient(135deg, #F1DDF2, #C6A7D9);
}

.event-details {
    padding: 25px;
} 


.event-category {
    color: var(--lavender-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.event-details h3 {
    font-size: 20px;
    color: var(--black);
    margin: 9px 0;
}

.event-details p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
    min-height: 45px;
}

.event-link {
    display: inline-block;
    color: var(--lavender-dark);
    font-size: 14px;
    font-weight: 800;
    margin-top: 17px;
}

.events-bottom {
    text-align: center;
    margin-top: 45px;
}


/* ==============================
   ABOUT SECTION
================================ */

.about-section {
    background: var(--lavender-light);
    padding: 85px max(calc((100% - 1360px) / 2), 45px);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 80px;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-art {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(145deg, #E1D4FA, #C4B2F3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 15px 35px rgba(128, 101, 189, 0.13);
}

.about-art > span {
    font-size: 110px;
}

.about-sparkle {
    position: absolute;
    color: white;
    font-size: 30px;
}

.sparkle-one {
    top: 30px;
    right: 50px;
}

.sparkle-two {
    bottom: 45px;
    left: 30px;
}

.sparkle-three {
    top: 100px;
    left: 20px;
}

.about-content h2 {
    font-size: 36px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.95;
    color: var(--text-muted);
    margin: 22px 0 27px;
}


/* ==============================
   CALL TO ACTION
================================ */

.cta-section {
    padding: 85px 25px;
    text-align: center;
    background: linear-gradient(120deg, #8065BD, #A88BE8);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section > p {
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 800;
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 43px;
    line-height: 1.3;
    margin: 15px 0 28px;
}

.cta-section h2 span {
    color: #E9DFFF;
}

.cta-btn {
    display: inline-block;
    background: white;
    color: var(--purple-dark);
    padding: 14px 25px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    transition: 0.3s;
}

.cta-btn:hover {
    transform: translateY(-3px);
    background: var(--lavender-light);
}

.cta-decoration {
    position: absolute;
    font-size: 70px;
    opacity: 0.15;
    right: 12%;
    top: 20%;
}


/* ==============================
   FOOTER
================================ */

footer {
    background: #403355;
    color: white;
    padding: 55px max(calc((100% - 1360px) / 2), 45px) 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 45px;
}

.footer-brand .logo {
    color: white;
}

.footer-brand .logo span {
    color: var(--lavender-primary);
}

.footer-brand p {
    font-size: 14px;
    color: #E2DAF0;
    max-width: 280px;
    margin-top: 14px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-size: 15px;
    margin-bottom: 5px;
}

.footer-links a {
    color: #E2DAF0;
    font-size: 14px;
    transition: 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 13px;
    color: #E2DAF0;
}


/* ==============================
   RESPONSIVE DESIGN
================================ */

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-content {
        margin: auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        min-height: 380px;
    }

    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 45px;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 650px) {

    .navbar {
        padding: 18px 45px;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 18px;
        padding: 20px 0;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-buttons {
        display: none;
        width: 100%;
        padding-bottom: 15px;
    }

    .nav-buttons.show {
        display: flex;
    }

    .hero {
        padding: 85px 45px;
        gap: 65px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-visual {
        transform: scale(0.88);
        margin: -20px 0;
    }

    .intro-strip {
        grid-template-columns: 1fr;
        padding: 40px 25px;
        gap: 25px;
    }
    
    .intro-strip > div:not(:last-child)::after {
        display: none;
    }
    
    .intro-strip strong {
        font-size: 24px;
    }
    .events-section {
        padding: 100px 45px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    /* .event-grid {
        grid-template-columns: 1fr;
    }

    .event-image {
        height: 200px;
    } */
    .event-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px;
    }
    
    .event-image {
        height: 210px;
    }

    .about-section {
        padding: 65px 22px;
    }

    .about-art {
        width: 240px;
        height: 240px;
    }

    .about-art > span {
        font-size: 85px;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .cta-section h2 {
        font-size: 34px;
    }

    footer {
        padding: 45px 22px 20px;
    }

    .footer-main {
        gap: 30px 15px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
