:root {
    --primary: #6f42c1;
    --secondary: #ff9f1c;
    --accent: #00c2a8;
    --dark: #0f172a;
    --light: #f8fafc;
    --pink: #ff5fa2;
}

body {
    font-family: Inter, Arial, sans-serif;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    color: #1f2937;
}

/* loader */
#siteLoader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, #6f42c1, #0f172a);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: .5s;
}

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

.loader-ring {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, .2);
    border-top-color: #fff;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

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

/* navbar */
.glass-nav {
    background: rgba(15, 23, 42, .82);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
}

/* hero section */
.hero-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .72), rgba(111, 66, 193, .55)),
        url('https://www.bauddamandiraya.lk/uploads/DSC_4248.JPG-scaled.jpeg') center center/cover no-repeat;
    min-height: 100vh;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
}

.hero-overlay-shape {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    filter: blur(20px);
    z-index: 1;
}

.hero-overlay-shape.one {
    top: -80px;
    left: -80px;
}

.hero-overlay-shape.two {
    bottom: -100px;
    right: -60px;
}

.hero-content-wrap {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 950px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 8px 25px rgba(0, 0, 0, .18);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, .92);
    max-width: 760px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 42px;
}

.hero-slider-box {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .18);
    max-width: 980px;
    margin: 0 auto;
}

#homeSlider {
    border-radius: 22px;
    overflow: hidden;
}

.slider-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 18px;
}

#homeSlider .carousel-caption {
    left: 20px;
    right: 20px;
    bottom: 20px;
    text-align: center;
    background: linear-gradient(180deg, rgba(15, 23, 42, .10), rgba(15, 23, 42, .75));
    border-radius: 18px;
    padding: 16px 20px;
}

#homeSlider .carousel-caption h5 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff;
}

#homeSlider .carousel-caption p {
    font-size: .96rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .92);
}

.hero-slider-btn {
    width: 52px;
    height: 52px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, .20);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(8px);
    opacity: 1;
}

.hero-slider-btn:hover {
    background: rgba(255, 255, 255, .32);
}

.carousel-control-prev.hero-slider-btn {
    left: 18px;
}

.carousel-control-next.hero-slider-btn {
    right: 18px;
}

.hero-slider-indicators {
    margin-bottom: 12px;
}

.hero-slider-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, .55);
}

.hero-slider-indicators .active {
    background-color: #fff;
}

/* common cards */
.hero-card,
.glass-card {
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .15);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--dark);
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--pink), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card,
.news-card,
.product-card,
.admin-card {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(76, 29, 149, .08);
    transition: .35s ease;
    background: #fff;
}

.feature-card:hover,
.news-card:hover,
.product-card:hover {
    transform: translateY(-8px);
}

.news-thumb,
.product-thumb {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

/* buttons */
.badge-soft {
    background: rgba(111, 66, 193, .12);
    color: var(--primary);
    padding: .55rem .9rem;
    border-radius: 999px;
}

.btn-gradient {
    background: linear-gradient(90deg, var(--primary), var(--pink));
    border: 0;
    color: #fff;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(111, 66, 193, .25);
    transition: .3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-gradient:hover {
    color: #fff;
    transform: translateY(-2px);
    opacity: .95;
}

.btn-light-custom {
    background: rgba(255, 255, 255, .95);
    color: #111827;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: .3s ease;
}

.btn-light-custom:hover {
    color: #111827;
    transform: translateY(-2px);
    background: #fff;
}

/* footer */
.footer-gradient {
    background: linear-gradient(135deg, #0f172a, #6f42c1);
}

/* admin */
.admin-sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, #111827, #4c1d95);
    color: #fff;
}

.admin-sidebar a {
    color: #e5e7eb;
    text-decoration: none;
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: rgba(255, 255, 255, .12);
}

.login-wrap {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a, #6f42c1, #00c2a8);
}

.table-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 30px rgba(15, 23, 42, .08);
}

/* responsive */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .slider-img {
        height: 340px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 85px 0 50px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 8px 14px;
    }

    .hero-subtitle {
        line-height: 1.6;
        margin-bottom: 22px;
    }

    .hero-btns {
        gap: 10px;
        margin-bottom: 28px;
    }

    .btn-gradient,
    .btn-light-custom {
        width: 100%;
        max-width: 260px;
        padding: 12px 20px;
    }

    .hero-slider-box {
        padding: 10px;
        border-radius: 20px;
    }

    .slider-img,
    .news-thumb,
    .product-thumb {
        height: 220px;
        border-radius: 14px;
    }

    #homeSlider .carousel-caption {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 10px 12px;
        border-radius: 12px;
    }

    #homeSlider .carousel-caption h5 {
        font-size: .95rem;
    }

    #homeSlider .carousel-caption p {
        font-size: .78rem;
    }

    .hero-slider-btn {
        width: 38px;
        height: 38px;
    }

    .carousel-control-prev.hero-slider-btn {
        left: 8px;
    }

    .carousel-control-next.hero-slider-btn {
        right: 8px;
    }
}



.about-section {
    padding: 80px 0;
    background: #ffffff;
}

.about-box {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
    padding: 40px;
    height: 100%;
}

.about-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #111827;
}

.about-text {
    font-size: 15px;
    line-height: 1.9;
    color: #374151;
    margin-bottom: 25px;
}

.about-img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
}

.btn-about {
    background: linear-gradient(90deg, #6f42c1, #ff5fa2);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 25px rgba(111, 66, 193, .25);
    transition: .3s ease;
}

.btn-about:hover {
    color: #fff;
    transform: translateY(-2px);
    opacity: .95;
}

/* mobile */
@media (max-width: 991px) {
    .about-box {
        padding: 25px;
    }

    .about-title {
        font-size: 22px;
    }

    .about-img {
        max-height: 300px;
        margin-top: 20px;
    }
}


.services-section {
    padding: 80px 0;
    background: #f1ecd9; /* light temple color */
}

.services-title {
    text-align: center;
    margin-bottom: 50px;
}

.services-title h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1f2937;
}

.service-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    transition: .3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    color: #111827;
}

.service-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 15px;
}

.btn-service {
    background: #d49a44;
    color: #fff;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
    transition: .3s;
}

.btn-service:hover {
    background: #c1842f;
    color: #fff;
}

.booking-strip{
    padding:0 0 80px;
    background:linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
}
.booking-box{
    border-radius:30px;
    padding:42px 32px;
    text-align:center;
    color:#fff;
    background:linear-gradient(135deg,#0f172a,#6f42c1);
    box-shadow:0 18px 45px rgba(76,29,149,.18);
}
.booking-box h3{
    font-size:clamp(1.5rem,3vw,2.2rem);
    font-weight:800;
    margin-bottom:14px;
}
.booking-box p{
    max-width:860px;
    margin:0 auto 22px;
    color:rgba(255,255,255,.92);
    line-height:1.9;
}
.btn-light-pill{
    display:inline-block;
    background:#fff;
    color:#111827;
    text-decoration:none;
    border-radius:999px;
    padding:13px 26px;
    font-weight:700;
}
.btn-light-pill:hover{
    color:#111827;
    background:#f8fafc;
}


/* mobile */
@media (max-width: 767px) {
    .services-title h2 {
        font-size: 24px;
    }
}