/* =====================================================
   LIMA CLEAN STYLE.CSS
   Replace wwwroot/assets/css/style.css with this file
===================================================== */
:root {
    --primary-color: #d4a017;
    --primary-dark: #b8890e;
    --dark-color: #212529;
    --text-color: #333;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Inter', sans-serif;
    --box-shadow: 0 10px 30px rgba(0,0,0,.1);
    --box-shadow-hover: 0 15px 40px rgba(0,0,0,.15);
}

* {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background: #f8f9fa;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--dark-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: .3s;
}

    a:hover {
        color: var(--primary-dark);
    }

section {
    padding: 80px 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1400px;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary, .bg-lima-gold {
    background-color: var(--primary-color) !important;
}

.text-muted {
    color: #6c757d !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
}

.btn {
    font-family: var(--body-font);
    font-weight: 700;
    transition: .3s;
    letter-spacing: .3px;
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--box-shadow-hover);
    }

.btn-primary, .btn-lima {
    background: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    color: #fff !important;
}

    .btn-primary:hover, .btn-lima:hover {
        background: var(--primary-dark) !important;
        border-color: var(--primary-dark) !important;
        color: #fff !important;
    }

.btn-outline-primary, .btn-outline-lima {
    background: transparent !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
}

    .btn-outline-primary:hover, .btn-outline-lima:hover {
        background: var(--primary-color) !important;
        color: #fff !important;
    }

.btn-gradient {
    background: linear-gradient(90deg,#72631e,var(--primary-color));
    color: #fff;
    border: 0;
}

    .btn-gradient:hover {
        color: #fff;
    }

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: .5s;
}

    #preloader.hidden {
        opacity: 0;
        visibility: hidden;
    }

/* Top header */
.top-header {
    background: linear-gradient(90deg,#d69f12,#e7ba31);
    color: #fff;
    font-size: 15px;
    z-index: 1050;
    width: 100%;
}

.header-text, .header-info {
    font-size: 15px;
    font-weight: 600;
}

.divider {
    margin: 0 8px;
    opacity: .75;
}

.icon {
    font-size: 18px;
    margin-right: 5px;
}

.location {
    color: #5900ff;
}

.phone {
    color: #00e676;
}

.email {
    color: #ee1616;
}

.social-icons a {
    font-size: 20px;
    margin-left: 10px;
    display: inline-block;
}

    .social-icons a:nth-child(1) i {
        color: #1877f2;
    }

    .social-icons a:nth-child(2) i {
        color: #ff0000;
    }

    .social-icons a:nth-child(3) i {
        color: #e1306c;
    }

    .social-icons a:hover i {
        transform: scale(1.2);
    }

/* Navbar */
.navbar {
    padding: .75rem 0;
    background: #fff !important;
    border-bottom: 1px solid rgba(212,160,23,.35);
    z-index: 1040;
    width: 100%;
    transition: .3s;
}

    .navbar.scrolled {
        box-shadow: 0 5px 20px rgba(0,0,0,.1);
    }

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.main-logo {
    height: 90px;
    width: auto;
}

.brand-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color) !important;
}

.brand-subtitle {
    display: block;
    font-size: 13px;
    color: #777;
    line-height: 1.1;
    font-weight: 700;
}

.malayalee-wrapper {
    position: relative;
    display: inline-block;
}

.extra-logo {
    height: 50px;
    width: auto;
}

.navbar-nav {
    align-items: center;
    gap: 6px;
}

    .navbar-nav .nav-link, .nav-custom {
        font-weight: 600;
        color: #333 !important;
        position: relative;
        padding: 8px 10px !important;
    }

        .navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
            color: var(--primary-color) !important;
        }

        .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: .3s;
            transform: translateX(-50%);
        }

        .navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after {
            width: 60%;
        }

.dropdown-menu {
    border: 0;
    box-shadow: var(--box-shadow);
    border-radius: 10px;
    padding: 10px 0;
}

.dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
}

    .dropdown-item:hover {
        background: #fff4d6;
        color: var(--primary-color);
    }

.cart-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f8f9fa;
    position: relative;
    text-decoration: none;
}

.cart-badge, #cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    background: var(--primary-color) !important;
    color: #fff;
    font-size: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/* Announcement ticker */
.ticker-section {
    padding: 0 !important;
    margin: 0 !important;
    background: linear-gradient(90deg,#2b1418 0%,#7a0000 100%) !important;
    color: #fff !important;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    overflow: hidden !important;
    position: relative;
    z-index: 2;
}

.ticker-container {
    width: 100%;
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    padding: 7px 0 !important;
    overflow: hidden !important;
}

.ticker-label {
    flex: 0 0 auto;
    background: var(--primary-color) !important;
    color: #000 !important;
    padding: 5px 12px !important;
    border-radius: 18px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    box-shadow: 0 0 10px rgba(212,160,23,.45);
}

.ticker {
    flex: 1 1 auto;
    overflow: hidden !important;
    min-width: 0;
}

.ticker-track {
    display: inline-flex !important;
    align-items: center;
    gap: 42px !important;
    white-space: nowrap !important;
    color: #fff !important;
    animation: limaTickerScroll 24s linear infinite !important;
    will-change: transform;
}

    .ticker-track span, .ticker-track i {
        color: #fff !important;
        font-size: 15px;
    }

    .ticker-track i {
        color: var(--primary-color) !important;
    }

.ticker:hover .ticker-track {
    animation-play-state: paused !important;
}

@keyframes limaTickerScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Hero carousel */
.hero-section, #heroCarousel, #heroCarousel .carousel-inner, #heroCarousel .carousel-item {
    height: 620px !important;
    min-height: 620px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #000 !important;
}

    #heroCarousel .carousel-item img {
        width: 100% !important;
        height: 620px !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        filter: brightness(.55) !important;
        transform: none !important;
    }

    #heroCarousel .carousel-caption {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 0 20px !important;
        z-index: 5 !important;
    }

        #heroCarousel .carousel-caption h1 {
            color: #fff !important;
            font-size: clamp(2.5rem,5vw,5rem) !important;
            text-shadow: 0 4px 16px rgba(0,0,0,.45);
        }

        #heroCarousel .carousel-caption p {
            color: #fff !important;
            text-shadow: 0 2px 10px rgba(0,0,0,.45);
        }

    #heroCarousel .carousel-control-prev, #heroCarousel .carousel-control-next {
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        width: 58px !important;
        height: 58px !important;
        background: rgba(0,0,0,.45) !important;
        border: 1px solid rgba(255,255,255,.35) !important;
        border-radius: 50% !important;
        opacity: 1 !important;
        z-index: 20 !important;
    }

    #heroCarousel .carousel-control-prev {
        left: 25px !important;
    }

    #heroCarousel .carousel-control-next {
        right: 25px !important;
    }

/* About */
/*.about-image {
    position: relative;
    z-index: 1;
}*/

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

    .about-image img {
        width: 100%;
        display: block;
        border-radius: 12px;
        transform: scale(1.08);
        transition: transform .8s ease;
    }
    .about-image:hover img {
        transform: scale(1.12) translateY(-12px);
    }

    .about-image::before {
        content: '';
        position: absolute;
        top: 20px;
        left: 20px;
        width: 100%;
        height: 100%;
        background: var(--primary-color);
        opacity: .12;
        z-index: -1;
        border-radius: 12px;
    }

.about-badge {
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    background: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: var(--box-shadow);
    border-radius: 8px !important;
    max-width: 210px;
}

    .about-badge h4 {
        color: #1f2933;
    }

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--primary-color) !important;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cards */
.card, .event-card, .club-card, .sponsor-card, .gallery-item, .product-card, .category-card {
    transition: .3s;
    border: 0;
}

    .card:hover, .event-card:hover, .club-card:hover, .sponsor-card:hover, .product-card:hover, .category-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--box-shadow-hover);
    }

/* Events */
.event-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.event-image {
    position: relative;
    overflow: hidden;
}

    .event-image img {
        height: 230px;
        width: 100%;
        object-fit: cover;
        display: block;
        transition: .3s;
    }

.event-card:hover .event-image img {
    transform: scale(1.06);
}

.event-date {
    position: absolute !important;
    top: 18px !important;
    left: 18px !important;
    bottom: auto !important;
    background: var(--primary-color) !important;
    color: #fff !important;
    z-index: 3;
    min-width: 70px;
    text-align: center;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

    .event-date h4, .event-date p {
        color: #fff !important;
    }

.event-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

    .event-content .btn {
        margin-top: auto;
    }

.event-meta i {
    color: var(--primary-color) !important;
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
}

    .gallery-item img {
        height: 250px;
        width: 100%;
        object-fit: cover;
        transition: .4s;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

.gallery-overlay {
    transition: .3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1 !important;
}

/* Sponsors */
.sponsors-section {
    background: #212529 !important;
}

.sponsor-large img {
    max-height: 120px;
    object-fit: contain;
}

.sponsor-medium img {
    max-height: 80px;
    object-fit: contain;
}

.sponsor-small img {
    max-height: 50px;
    object-fit: contain;
}

/* Forms */
.form-control {
    border-radius: 50px;
    border: 1px solid #e9ecef;
    padding: 12px 18px;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 .15rem rgba(212,160,23,.2);
    }

/* Footer */
.footer-section {
    background: linear-gradient(135deg,#1f2529,#2f4558) !important;
    color: #d7dee6;
}

.footer-widget h5, .footer-widget h6 {
    color: #fff;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

    .footer-links a:hover {
        color: #fff;
        padding-left: 10px;
    }

.footer-title::after {
    content: '';
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    display: block;
    margin-top: 6px;
    border-radius: 5px;
}

.footer-main-logo {
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
}

.footer-newsletter-logo img {
    width: 250px;
    max-width: 100%;
}

.social-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,160,23,.15);
    color: var(--primary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: .3s;
}

    .social-icon:hover {
        background: var(--primary-color);
        color: #fff;
        transform: translateY(-4px);
    }

.newsletter-form .form-control {
    border-radius: 50px 0 0 50px;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
}

/* Popup */
.ad-popup {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0,0,0,.65) !important;
    backdrop-filter: blur(6px);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    padding: 20px !important;
    overflow: hidden !important;
}

    .ad-popup.hidden {
        display: none !important;
    }

.ad-loader {
    position: absolute !important;
    z-index: 2 !important;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,.3);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.ad-content {
    position: relative !important;
    width: min(92vw,520px) !important;
    max-height: 90vh !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 25px 80px rgba(0,0,0,.45) !important;
    background: #fff !important;
    transform: scale(.95);
    opacity: 0;
    transition: .35s;
}

    .ad-content.show {
        transform: scale(1);
        opacity: 1;
    }

    .ad-content img {
        width: 100% !important;
        height: auto !important;
        max-height: 90vh !important;
        display: block !important;
        object-fit: contain !important;
        border: 0 !important;
    }

.close-ad {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 42px !important;
    height: 42px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(0,0,0,.75) !important;
    color: #fff !important;
    font-size: 30px !important;
    line-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 5 !important;
}

body.no-scroll {
    overflow: hidden !important;
}

.committee-photo {
    width: 120px;
    height: 150px;
    object-fit: cover;
    object-position: center;
    border: 3px solid var(--primary-color);
    border-radius: 12px;
}

/* Helpdesk table */
.helpdesk-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
}

.helpdesk-table {
    min-width: 900px;
    margin-bottom: 0;
    white-space: nowrap;
    background: #fff;
}

    .helpdesk-table thead {
        background: var(--primary-color);
        color: #fff;
    }

        .helpdesk-table thead th {
            padding: 20px;
            border: 0;
            font-weight: 700;
        }

    .helpdesk-table tbody td {
        padding: 18px;
        vertical-align: middle;
    }

@media (max-width: 991px) {
    section {
        padding: 60px 0;
    }

    .main-logo {
        height: 55px;
    }

    .extra-logo {
        height: 35px;
    }

    .brand-title {
        font-size: 16px;
    }

    .brand-subtitle {
        font-size: 10px;
    }

    .navbar .container {
        flex-wrap: wrap;
    }

    .navbar-collapse {
        width: 100%;
        order: 3;
    }

    .navbar-nav {
        text-align: center;
        width: 100%;
        padding-top: 15px;
    }

        .navbar-nav .nav-item {
            width: 100%;
        }

    .dropdown-menu {
        box-shadow: none;
        position: static !important;
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }

    .hero-section, #heroCarousel, #heroCarousel .carousel-inner, #heroCarousel .carousel-item, #heroCarousel .carousel-item img {
        height: 430px !important;
        min-height: 430px !important;
    }

        #heroCarousel .carousel-control-prev, #heroCarousel .carousel-control-next {
            width: 44px !important;
            height: 44px !important;
        }

        #heroCarousel .carousel-control-prev {
            left: 12px !important;
        }

        #heroCarousel .carousel-control-next {
            right: 12px !important;
        }

    .ticker-label {
        font-size: 13px;
    }

    .ticker-track span {
        font-size: 14px !important;
    }

    .about-image {
        margin-bottom: 30px;
    }

    .footer-widget {
        margin-bottom: 30px;
        text-align: center;
    }

    .helpdesk-table {
        min-width: 0;
        white-space: normal;
    }
}
/* ABOUT PAGE 25 YEARS BADGE FIX */
.about-image {
    position: relative !important;
}

.about-badge {
    position: absolute !important;
    top: -25px !important;
    left: -25px !important;
    background: #d4a017 !important;
    color: #ffffff !important;
    z-index: 10 !important;
    padding: 22px 26px !important;
    border-radius: 8px !important;
    max-width: 240px !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18) !important;
}

    .about-badge h4,
    .about-badge small {
        color: #ffffff !important;
    }

    .about-badge h4 {
        font-size: 1.5rem !important;
        font-weight: 700 !important;
        margin-bottom: 4px !important;
    }

    .about-badge small {
        display: block !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
    }

.home-about-image {
    position: relative !important;
    overflow: visible !important;
    border-radius: 12px;
}

    .home-about-image img {
        width: 100%;
        display: block;
        border-radius: 12px;
    }

.home-about-badge {
    position: absolute !important;
    top: -22px !important;
    left: -22px !important;
    width: 235px;
    background: #d4a017 !important;
    color: #ffffff !important;
    padding: 20px 24px;
    border-radius: 8px;
    z-index: 30;
    box-shadow: 0 15px 35px rgba(0,0,0,0.20);
}

    .home-about-badge h4 {
        color: #1f2933 !important;
        font-size: 1.55rem;
        font-weight: 800;
        line-height: 1.1;
    }

    .home-about-badge small {
        display: block;
        color: #ffffff !important;
        font-weight: 700;
        line-height: 1.35;
        margin-top: 4px;
    }

@media (max-width: 767px) {
    .home-about-badge {
        top: -12px !important;
        left: 12px !important;
        width: 215px;
    }
}