/* =========================================================
   KRAZYTECH - ROYAL VEDIC TEMPLATE
   FINAL PREMIUM RESPONSIVE UI
   ========================================================= */

:root {
    --bg: #08090d;
    --bg-soft: #10121a;
    --surface: rgba(255,255,255,0.06);
    --surface-strong: rgba(255,255,255,0.09);

    --gold: #d6a84f;
    --gold-light: #f5d98b;
    --gold-dark: #9d7026;

    --text: #f7f3ea;
    --text-soft: #c9c4b8;
    --muted: #9b968b;

    --border: rgba(214,168,79,0.22);

    --success: #25d366;

    --shadow:
        0 25px 80px rgba(0,0,0,0.45);

    --radius: 22px;

    --container: 1180px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(214,168,79,0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(214,168,79,0.06),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.7;

    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
}

img {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================================================
   ADMIN / TOP NAVIGATION
   ========================================================= */

.adminbar {
    position: fixed;

    top: 18px;
    left: 50%;

    transform: translateX(-50%);

    width: min(
        calc(100% - 30px),
        1180px
    );

    z-index: 999;

    padding: 12px 18px;

    border:
        1px solid
        rgba(255,255,255,0.1);

    border-radius: 999px;

    background:
        rgba(8,9,13,0.72);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    box-shadow:
        0 12px 40px
        rgba(0,0,0,0.3);
}

.adminbar .container {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.adminbar strong {
    color: var(--gold-light);

    font-size: 15px;

    letter-spacing: 0.4px;

    white-space: nowrap;
}

.adminbar span {
    display: flex;

    align-items: center;

    gap: 6px;
}

.adminbar button {
    border: 1px solid transparent;

    background: transparent;

    color: var(--text-soft);

    padding: 7px 11px;

    border-radius: 999px;

    transition: 0.25s ease;
}

.adminbar button:hover,
.adminbar button.active {
    background:
        rgba(214,168,79,0.12);

    color: var(--gold-light);

    border-color:
        var(--border);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    isolation: isolate;

    background:
        #050609;
}

.hero::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(5,6,9,0.95) 0%,
            rgba(5,6,9,0.72) 45%,
            rgba(5,6,9,0.35) 100%
        );
}

.hero::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.2),
            transparent 45%,
            rgba(8,9,13,1)
        );
}

.hero > iframe,
.hero > video,
.hero > img,
.hero .bg {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;

    border: 0;
}

.hero > iframe {
    width: 100%;
    height: 100%;

    pointer-events: none;

    transform: scale(1.2);
}

.hero > video {
    object-position: center;
}

.hero > img {
    object-position: center;
}

.hero-content {
    position: relative;

    z-index: 5;

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;

    padding-top: 100px;

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;
}

.hero-content img {
    width: 90px;
    height: 90px;

    object-fit: contain;

    margin-bottom: 22px;

    border-radius: 20px;

    border:
        1px solid
        var(--border);

    background:
        rgba(255,255,255,0.06);

    padding: 10px;

    box-shadow:
        0 15px 50px
        rgba(0,0,0,0.35);
}

.hero-content h1 {
    max-width: 850px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(42px, 7vw, 86px);

    line-height: 1.02;

    letter-spacing: -2px;

    color: #fff;

    text-shadow:
        0 5px 30px
        rgba(0,0,0,0.55);
}

.hero-content h1::first-letter {
    color: var(--gold-light);
}

.hero-content p {
    max-width: 680px;

    margin-top: 22px;

    color: var(--text-soft);

    font-size:
        clamp(16px, 2vw, 21px);

    line-height: 1.7;
}

.hero-content .btn {
    margin-top: 32px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 52px;

    padding:
        13px 24px;

    border-radius: 999px;

    border:
        1px solid
        rgba(214,168,79,0.45);

    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
        );

    color: #18120a;

    font-weight: 700;

    letter-spacing: 0.2px;

    box-shadow:
        0 12px 35px
        rgba(214,168,79,0.18);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.btn:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 18px 45px
        rgba(214,168,79,0.28);

    filter:
        brightness(1.08);
}

.btn:active {
    transform:
        translateY(-1px);
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    position: relative;

    padding:
        100px 0;
}

.section:nth-of-type(even) {
    background:
        rgba(255,255,255,0.015);
}

.section h2 {
    position: relative;

    margin-bottom: 45px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(30px, 4vw, 48px);

    line-height: 1.15;

    color: #fff;

    text-align: center;
}

.section h2::after {
    content: "";

    display: block;

    width: 70px;

    height: 3px;

    margin:
        18px auto 0;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold),
            transparent
        );
}


/* =========================================================
   PROFILE / ABOUT
   ========================================================= */

.profile {
    max-width: 1100px;
}

.profile .two {
    align-items: center;
}

.profile img {
    width: 100%;

    max-width: 420px;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    border-radius:
        var(--radius);

    border:
        1px solid
        var(--border);

    box-shadow:
        var(--shadow);
}

.profile h3 {
    color:
        var(--gold-light);

    font-family:
        Georgia,
        serif;

    font-size: 30px;

    margin-bottom: 15px;
}

.profile p {
    color:
        var(--text-soft);

    font-size: 17px;
}


/* =========================================================
   TWO COLUMN
   ========================================================= */

.two {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 40px;
}


/* =========================================================
   GRID
   ========================================================= */

.grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   CARDS
   ========================================================= */

.card {
    position: relative;

    padding: 28px;

    border:
        1px solid
        rgba(255,255,255,0.08);

    border-radius:
        var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.07),
            rgba(255,255,255,0.025)
        );

    box-shadow:
        0 15px 50px
        rgba(0,0,0,0.18);

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.card:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(214,168,79,0.35);

    box-shadow:
        0 25px 60px
        rgba(0,0,0,0.3);
}

.card h3 {
    color:
        var(--gold-light);

    font-family:
        Georgia,
        serif;

    font-size: 23px;

    margin-bottom: 12px;
}

.card p {
    color:
        var(--text-soft);
}


/* =========================================================
   SERVICES
   ========================================================= */

.service {
    overflow: hidden;

    padding: 0 0 28px;
}

.service img {
    width: 100%;

    height: 220px;

    object-fit: cover;

    margin-bottom: 25px;
}

.service h3,
.service p,
.service .btn {
    margin-left: 28px;
    margin-right: 28px;
}

.service p {
    margin-bottom: 20px;
}

.service .btn {
    min-height: 45px;

    padding:
        10px 18px;

    font-size: 14px;
}


/* =========================================================
   GALLERY
   ========================================================= */

.section .grid img {
    width: 100%;

    height: 280px;

    object-fit: cover;

    border-radius:
        16px;

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.section .grid .card {
    overflow: hidden;

    padding: 0;
}

.section .grid .card:hover img {
    transform:
        scale(1.06);

    filter:
        brightness(1.08);
}


/* =========================================================
   TESTIMONIALS
   ========================================================= */

.section .card p:first-child {
    color:
        var(--gold-light);

    letter-spacing:
        3px;

    font-size:
        18px;
}

.section .card strong {
    display: inline-block;

    margin-top: 14px;

    color:
        var(--gold-light);
}


/* =========================================================
   BUSINESS HOURS
   ========================================================= */

.section:nth-last-of-type(2) .card {
    text-align: center;
}

.section:nth-last-of-type(2) .card strong {
    display: block;

    font-family:
        Georgia,
        serif;

    color:
        var(--gold-light);

    font-size:
        20px;

    margin-bottom: 8px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.socials {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 20px;
}

.socials a {
    padding:
        9px 15px;

    border-radius:
        999px;

    border:
        1px solid
        rgba(214,168,79,0.25);

    background:
        rgba(214,168,79,0.06);

    color:
        var(--gold-light);

    transition:
        0.25s ease;
}

.socials a:hover {
    background:
        var(--gold);

    color:
        #15100a;
}

.card iframe {
    width: 100%;

    border-radius:
        15px;

    border: 0;
}


/* =========================================================
   APPOINTMENT FORM
   ========================================================= */

form.card {
    max-width: 900px;

    margin-inline: auto;
}

label {
    display: block;

    margin:
        16px 0 7px;

    color:
        var(--text-soft);

    font-size:
        14px;

    font-weight:
        600;
}

input,
textarea,
select {
    width: 100%;

    padding:
        14px 16px;

    border:
        1px solid
        rgba(255,255,255,0.12);

    border-radius:
        12px;

    background:
        rgba(0,0,0,0.25);

    color:
        var(--text);

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color:
        var(--gold);

    box-shadow:
        0 0 0 4px
        rgba(214,168,79,0.1);
}

textarea {
    min-height:
        140px;

    resize:
        vertical;
}

select option {
    background:
        #11131a;

    color:
        #fff;
}

form .btn {
    margin-top:
        25px;
}


/* =========================================================
   WHATSAPP FLOATING BUTTON
   ========================================================= */

.floating-wa {
    position: fixed;

    right: 22px;

    bottom: 22px;

    z-index: 1000;

    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 64px;

    height: 64px;

    padding:
        0 20px;

    border-radius:
        999px;

    background:
        var(--success);

    color:
        white;

    font-weight:
        700;

    box-shadow:
        0 15px 40px
        rgba(37,211,102,0.35);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.floating-wa:hover {
    transform:
        translateY(-5px)
        scale(1.03);

    box-shadow:
        0 20px 50px
        rgba(37,211,102,0.45);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    border-top:
        1px solid
        rgba(255,255,255,0.07);

    color:
        var(--muted);

    background:
        #050609;
}

footer strong {
    color:
        var(--gold-light);
}


/* =========================================================
   SCROLL REVEAL SUPPORT
   ========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 900px) {

    .grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .two {
        grid-template-columns:
            1fr;
    }

    .hero-content {
        padding-top: 120px;
    }

    .hero-content h1 {
        max-width:
            700px;
    }

    .section {
        padding:
            80px 0;
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .container {
        width:
            min(
                calc(100% - 28px),
                var(--container)
            );
    }

    .adminbar {
        top: 10px;

        width:
            calc(100% - 20px);

        padding:
            10px 12px;
    }

    .adminbar .container {
        flex-direction:
            column;

        gap: 8px;
    }

    .adminbar span {
        width: 100%;

        justify-content:
            center;

        overflow-x:
            auto;
    }

    .adminbar button {
        font-size:
            12px;

        padding:
            6px 8px;
    }

    .hero {
        min-height:
            820px;
    }

    .hero::before {
        background:
            linear-gradient(
                180deg,
                rgba(5,6,9,0.55),
                rgba(5,6,9,0.9)
            );
    }

    .hero-content {
        min-height:
            820px;

        align-items:
            center;

        text-align:
            center;

        padding-top:
            140px;
    }

    .hero-content h1 {
        font-size:
            clamp(
                38px,
                12vw,
                58px
            );

        letter-spacing:
            -1px;
    }

    .hero-content p {
        font-size:
            16px;
    }

    .hero-content .btn {
        width:
            100%;

        max-width:
            300px;

        margin-top:
            25px;
    }

    .grid {
        grid-template-columns:
            1fr;
    }

    .section {
        padding:
            65px 0;
    }

    .section h2 {
        font-size:
            32px;

        margin-bottom:
            32px;
    }

    .card {
        padding:
            22px;
    }

    .service {
        padding-bottom:
            22px;
    }

    .service img {
        height:
            210px;
    }

    .section .grid img {
        height:
            240px;
    }

    .two {
        gap:
            25px;
    }

    .floating-wa {
        right:
            15px;

        bottom:
            15px;

        min-width:
            58px;

        height:
            58px;

        font-size:
            13px;

        padding:
            0 16px;
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline:
        3px solid
        rgba(214,168,79,0.65);

    outline-offset:
        3px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior:
            auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }

}