/* ==================================================
   PREMIUM TEMPLE WEBSITE UI
   PART 1 - GLOBAL + NAVBAR + HERO
================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root{

    --primary:#8b0000;
    --secondary:#c89b3c;
    --gold:#f5c542;
    --dark:#0f172a;
    --dark2:#111827;
    --light:#ffffff;
    --text:#e5e7eb;
    --body:#f8fafc;

    --glass:
    rgba(255,255,255,0.08);

    --shadow:
    0 20px 50px rgba(0,0,0,0.15);

    --radius:24px;

}

/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

html,
body{
    overflow-x:hidden;
}

body{

    font-family:'Poppins',sans-serif;

    background:
    linear-gradient(
    180deg,
    #fafafa,
    #f3f4f6
    );

    color:#222;
}

/* ==========================
   CUSTOM SCROLLBAR
========================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#e5e7eb;
}

::-webkit-scrollbar-thumb{

    background:
    linear-gradient(
    180deg,
    var(--primary),
    var(--secondary)
    );

    border-radius:20px;
}

/* ==========================
   COMMON SECTION
========================== */

section{
    padding:100px 8%;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h3{

    font-size:2px;
    font-weight:600;

    color:var(--primary);

    margin-bottom:15px;
}

.section-title p{

    font-size:18px;
    color:#666;
}

/* ==========================
   GLASS NAVBAR
========================== */

.navbar{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    display:flex;

    justify-content:space-between;
    align-items:center;

    padding:18px 7%;

    background:
    rgba(10,10,10,0.35);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:
    blur(18px);

    border-bottom:
    1px solid rgba(255,255,255,0.1);

    z-index:99999;

    transition:0.4s;
}

.logo{

    display:flex;
    align-items:center;
    gap:10px;

    color:white;

    font-size:24px;
    font-weight:700;
}

.logo span{

    font-size:20px;
    font-weight:700;
}

#navMenu{

    display:flex;
    list-style:none;
    gap:35px;
}

#navMenu li a{

    color:white;

    text-decoration:none;

    font-size:16px;
    font-weight:500;

    transition:0.3s;

    position:relative;
}

#navMenu li a:hover{
    color:var(--gold);
}

#navMenu li a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-6px;

    width:0%;
    height:2px;

    background:var(--gold);

    transition:0.4s;
}

#navMenu li a:hover::after{
    width:100%;
}

.menu-toggle{

    display:none;

    color:white;

    font-size:32px;

    cursor:pointer;
}

/* ==========================
   HERO SECTION
========================== */

.hero-section{

    position:relative;

    min-height:100vh;

    display:flex;

    justify-content:center;
    align-items:center;

    text-align:center;

    overflow:hidden;

    background:
    linear-gradient(
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.75)
    ),
    url("uploads/1780118425_fpic.jpeg");

    background-size:cover;
    background-position:center;
    background-attachment:fixed;
}

.hero-overlay{

    position:absolute;

    inset:0;

    background:
    radial-gradient(
    circle at center,
    rgba(255,215,0,0.08),
    transparent 70%
    );
}

.hero-content{

    position:relative;

    z-index:2;

    max-width:900px;

    padding:20px;
}

.hero-badge{

    display:inline-block;

    padding:12px 24px;

    border-radius:999px;

    background:
    rgba(255,255,255,0.1);

    backdrop-filter:blur(10px);

    color:#fff;

    font-size:14px;
    font-weight:600;

    margin-bottom:25px;

    border:
    1px solid rgba(255,255,255,0.15);
}

.hero-content h1{

    font-size:72px;

    line-height:1.2;

    color:white;

    margin-bottom:20px;

    font-weight:800;

    text-shadow:
    0 10px 40px rgba(0,0,0,0.4);
}

.hero-content p{

    font-size:22px;

    color:#f3f4f6;

    line-height:1.8;

    margin-bottom:40px;
}

/* ==========================
   HERO BUTTONS
========================== */

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;
}

.btn-primary{

    text-decoration:none;

    padding:16px 34px;

    border-radius:14px;

    background:
    linear-gradient(
    135deg,
    var(--gold),
    #f59e0b
    );

    color:#111;

    font-weight:700;

    transition:0.4s;

    box-shadow:
    0 10px 25px rgba(245,197,66,0.4);
}

.btn-primary:hover{

    transform:
    translateY(-4px);

    box-shadow:
    0 20px 40px rgba(245,197,66,0.5);
}

.btn-secondary{

    text-decoration:none;

    padding:16px 34px;

    border-radius:14px;

    border:1px solid rgba(255,255,255,0.2);

    background:
    rgba(255,255,255,0.08);

    backdrop-filter:blur(10px);

    color:white;

    font-weight:600;

    transition:0.4s;
}

.btn-secondary:hover{

    background:
    rgba(255,255,255,0.15);

    transform:
    translateY(-4px);
}

/* ==========================
   ANNOUNCEMENT BAR
========================== */

.announcement-bar{

    background:
    linear-gradient(
    90deg,
    var(--primary),
    var(--secondary)
    );

    color:white;

    padding:18px;

    font-size:18px;
    font-weight:600;

    box-shadow:
    0 10px 25px rgba(0,0,0,0.1);
}

.announcement-bar marquee{
    letter-spacing:0.5px;
}
/* ==================================================
   PREMIUM TEMPLE WEBSITE UI
   PART 2 - OVERVIEW + STATS + GALLERY + TABLE
================================================== */

/* ==========================
   GLASS CARD
========================== */

.glass-card{

    background:
    rgba(255,255,255,0.75);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border:
    1px solid rgba(255,255,255,0.4);

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:all 0.4s ease;
}

.glass-card:hover{

    transform:
    translateY(-10px);

    box-shadow:
    0 25px 60px rgba(0,0,0,0.18);
}

/* ==========================
   OVERVIEW SECTION
========================== */

.overview-section{

    background:
    linear-gradient(
    180deg,
    #ffffff,
    #f8fafc
    );
}

.overview-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;
}

.overview-card{

    background:#fff;

    border-radius:28px;

    padding:40px 30px;

    text-align:center;

    box-shadow:
    0 15px 40px rgba(0,0,0,0.08);

    transition:all .4s ease;

    position:relative;

    overflow:hidden;
}

.overview-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:5px;

    background:
    linear-gradient(
    90deg,
    var(--primary),
    var(--gold)
    );
}

.overview-card:hover{

    transform:
    translateY(-12px);

    box-shadow:
    0 25px 60px rgba(0,0,0,.15);
}

.overview-card .icon{

    width:90px;
    height:90px;

    margin:0 auto 25px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    font-size:42px;

    background:
    linear-gradient(
    135deg,
    var(--primary),
    var(--secondary)
    );

    color:#fff;
}

.overview-card h3{

    font-size:24px;

    color:var(--primary);

    margin-bottom:15px;

    font-weight:700;
}

.overview-card p{

    color:#666;

    line-height:1.9;

    font-size:16px;
}

/* ==========================
   STATS SECTION
========================== */

.stats-section{

    background:
    linear-gradient(
    180deg,
    #f8fafc,
    #ffffff
    );
}

.stats-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;
}

.stat-card{

    padding:40px 30px;

    text-align:center;
}

.stat-icon{

    width:90px;
    height:90px;

    margin:0 auto 25px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    font-size:42px;

    color:#fff;

    background:
    linear-gradient(
    135deg,
    #b91c1c,
    #f59e0b
    );

    box-shadow:
    0 15px 30px rgba(185,28,28,.25);
}

.stat-card h3{

    font-size:24px;

    margin-bottom:15px;

    color:var(--primary);
}

.stat-card p{

    color:#555;

    line-height:1.8;

    font-size:17px;
}

/* ==========================
   PREMIUM GALLERY
========================== */

.gallery-section{

    background:
    linear-gradient(
    180deg,
    #ffffff,
    #f9fafb
    );
}

.gallery-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:30px;
}

.gallery-card{

    position:relative;

    overflow:hidden;

    border-radius:24px;

    background:#fff;

    box-shadow:
    0 15px 40px rgba(0,0,0,.10);

    transition:all .5s ease;
}

.gallery-card:hover{

    transform:
    translateY(-12px);

    box-shadow:
    0 25px 60px rgba(0,0,0,.18);
}

.gallery-card img{

    width:100%;

    height:320px;

    object-fit:cover;

    display:block;

    transition:transform .8s ease;
}

.gallery-card:hover img{

    transform:scale(1.08);
}

.gallery-card::after{

    content:"🛕 Temple View";

    position:absolute;

    left:0;
    bottom:-100%;

    width:100%;

    padding:18px;

    text-align:center;

    color:#fff;

    font-weight:600;

    background:
    linear-gradient(
    180deg,
    transparent,
    rgba(0,0,0,.85)
    );

    transition:.4s ease;
}

.gallery-card:hover::after{
    bottom:0;
}

/* ==========================
   PREMIUM TABLE
========================== */

.table-wrapper{
    overflow-x:auto;
}

.premium-table{

    width:100%;

    border-collapse:collapse;

    overflow:hidden;

    border-radius:24px;

    background:#fff;

    box-shadow:
    0 15px 40px rgba(0,0,0,.08);
}

.premium-table thead{

    background:
    linear-gradient(
    90deg,
    var(--primary),
    var(--secondary)
    );
}

.premium-table th{

    color:#fff;

    padding:22px;

    font-size:18px;

    font-weight:700;

    text-align:center;
}

.premium-table td{

    padding:20px;

    text-align:center;

    font-size:16px;

    border-bottom:
    1px solid #ececec;

    transition:.3s;
}

.premium-table tbody tr:nth-child(even){
    background:#fafafa;
}

.premium-table tbody tr:hover{

    background:
    rgba(245,197,66,.12);
}

/* ==========================
   EXTRA HOVER UTILITIES
========================== */

.overview-card,
.stat-card,
.gallery-card,
.glass-card{

    will-change:
    transform;
}

.overview-card:hover .icon,
.stat-card:hover .stat-icon{

    transform:
    rotate(8deg)
    scale(1.08);

    transition:.4s;
}

/* ==========================
   TABLET
========================== */

@media (max-width:992px){

    .gallery-grid{

        grid-template-columns:
        repeat(2,1fr);
    }
}

/* ==========================
   MOBILE
========================== */

@media (max-width:768px){

    .overview-grid,
    .stats-grid{

        grid-template-columns:1fr;
    }

    .gallery-grid{

        grid-template-columns:1fr;
    }

    .gallery-card img{

        height:250px;
    }

    .overview-card,
    .stat-card{

        padding:30px 22px;
    }

    .overview-card h3,
    .stat-card h3{

        font-size:22px;
    }
}
/* ==================================================
   PREMIUM TEMPLE WEBSITE UI
   PART 3 - FESTIVAL + CONTACT + MAP + FOOTER
================================================== */

/* ==========================
   FESTIVAL SECTION
========================== */

.festival-section{

    background:
    linear-gradient(
    135deg,
    #fff7ed,
    #ffffff
    );
}

.festival-card{

    max-width:900px;

    margin:auto;

    text-align:center;

    padding:60px 40px;

    border-radius:30px;

    position:relative;

    overflow:hidden;
}

.festival-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:6px;

    background:
    linear-gradient(
    90deg,
    #dc2626,
    #f59e0b
    );
}

.festival-icon{

    width:110px;
    height:110px;

    margin:0 auto 25px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    font-size:55px;

    color:white;

    background:
    linear-gradient(
    135deg,
    #dc2626,
    #f59e0b
    );

    box-shadow:
    0 20px 40px rgba(220,38,38,.25);
}

.festival-card h3{

    font-size:36px;

    color:var(--primary);

    margin-bottom:20px;
}

.festival-card p{

    font-size:20px;

    color:#555;

    line-height:1.8;
}

/* ==========================
   CONTACT SECTION
========================== */

.contact-section{

    background:
    linear-gradient(
    180deg,
    #ffffff,
    #f8fafc
    );
}

.contact-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:30px;
}

.contact-card{

    text-align:center;

    padding:40px 30px;
}

.contact-icon{

    width:90px;
    height:90px;

    margin:0 auto 25px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;

    font-size:40px;

    color:white;

    background:
    linear-gradient(
    135deg,
    var(--primary),
    var(--secondary)
    );
}

.contact-card h3{

    color:var(--primary);

    margin-bottom:15px;

    font-size:24px;
}

.contact-card p{

    color:#555;

    line-height:1.8;
}

/* ==========================
   GOOGLE MAP
========================== */

.map-section{

    background:#fff;
}

.map-container{

    overflow:hidden;

    border-radius:30px;

    box-shadow:
    0 20px 50px rgba(0,0,0,.15);
}

.map-container iframe{

    display:block;

    width:100%;
}

/* ==========================
   PREMIUM FOOTER
========================== */

.premium-footer{

    background:
    linear-gradient(
    135deg,
    #0f172a,
    #111827
    );

    color:white;

    text-align:center;

    padding:80px 20px;
}

.footer-content{

    max-width:1000px;

    margin:auto;
}

.footer-content h3{

    font-size:34px;

    margin-bottom:20px;

    color:var(--gold);
}

.footer-content p{

    color:#d1d5db;

    font-size:16px;

    line-height:1.8;
}

.footer-line{

    width:150px;
    height:3px;

    margin:25px auto;

    border-radius:20px;

    background:
    linear-gradient(
    90deg,
    transparent,
    var(--gold),
    transparent
    );
}

/* ==========================
   WHATSAPP BUTTON
========================== */

.whatsapp{

    position:fixed;

    right:25px;
    bottom:25px;

    width:65px;
    height:65px;

    display:flex;
    justify-content:center;
    align-items:center;

    text-decoration:none;

    font-size:30px;

    border-radius:50%;

    color:white;

    z-index:9999;

    transition:.4s;
}

.whatsapp:hover{

    transform:
    translateY(-5px)
    scale(1.08);
}

/* ==========================
   BACK TO TOP BUTTON
========================== */

#topBtn{

    display:none;

    position:fixed;

    left:25px;
    bottom:25px;

    width:60px;
    height:60px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    font-size:26px;

    color:white;

    background:
    linear-gradient(
    135deg,
    var(--primary),
    var(--secondary)
    );

    box-shadow:
    0 10px 30px rgba(0,0,0,.25);

    z-index:9999;

    transition:.4s;
    align-items: center;
    justify-content: center;
}

#topBtn:hover{

    transform:
    translateY(-5px);
}

/* ==========================
   MOBILE NAVIGATION
========================== */

@media (max-width:768px){

    .menu-toggle{
        display:block;
    }

    #navMenu{

        position:absolute;

        top:100%;
        left:0;

        width:100%;

        background:
        rgba(15,23,42,.98);

        backdrop-filter:blur(20px);

        flex-direction:column;

        gap:0;

        overflow:hidden;

        max-height:0;

        transition:max-height .4s ease;
    }

    #navMenu.active{
        max-height:500px;
    }

    #navMenu li{

        width:100%;

        text-align:center;

        border-top:
        1px solid rgba(255,255,255,.08);
    }

    #navMenu li a{

        display:block;

        padding:18px;
    }
}

/* ==========================
   TABLET
========================== */

@media (max-width:992px){

    .contact-grid{

        grid-template-columns:
        repeat(2,1fr);
    }

    .hero-content h1{

        font-size:56px;
    }
}

/* ==========================
   MOBILE
========================== */

@media (max-width:768px){

    section{

        padding:70px 5%;
    }

    .section-title h3{

        font-size:26px;
    }

    .section-title p{

        font-size:16px;
    }

    .hero-content h1{

        font-size:38px;
    }

    .hero-content p{

        font-size:18px;
    }

    .hero-buttons{

        flex-direction:column;
    }

    .btn-primary,
    .btn-secondary{

        width:100%;
    }

    .festival-card{

        padding:35px 25px;
    }

    .festival-card h3{

        font-size:26px;
    }

    .festival-card p{

        font-size:17px;
    }

    .contact-grid{

        grid-template-columns:1fr;
    }

    .logo span{

        display:none;
    }

    .navbar{

        padding:15px 20px;
    }

    .premium-footer{

        padding:60px 20px;
    }

    .footer-content h3{

        font-size:26px;
    }

    .whatsapp{

        width:58px;
        height:58px;

        font-size:26px;
    }

    #topBtn{

        width:55px;
        height:55px;

        font-size:22px;
    }
}

/* ==========================
   FADE ANIMATIONS
========================== */

@keyframes floatUp{

    from{

        opacity:0;

        transform:
        translateY(40px);
    }

    to{

        opacity:1;

        transform:
        translateY(0);
    }
}

.hero-content{

    animation:
    floatUp 1s ease;
}

.overview-card,
.stat-card,
.gallery-card,
.contact-card,
.festival-card{

    animation:
    floatUp .8s ease;
}