@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Great+Vibes&display=swap");

/* =========================
   Basic Reset
========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    overflow: hidden;
    font-family: "Cinzel", serif;
    color: #541f14;
    background: #f9f4e9;
    cursor: pointer;
}

/* =========================
   Main Page Background
========================= */
.page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.82)),
        url("../images/ummed-bhawan-background.jpg");
    background-size: cover;
    background-position: center;
    filter: saturate(0.65);
    transform: scale(1.03);
}

.page::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.05),
        rgba(250, 244, 230, 0.4) 55%,
        rgba(96, 39, 24, 0.14)
    );
    pointer-events: none;
}

.royal-border {
    position: absolute;
    inset: 18px;
    z-index: 1;
    border: 2px solid rgba(166, 106, 39, 0.45);
    border-radius: 24px;
    pointer-events: none;
}

/* =========================
   Main Selection Area
========================= */
.stage {
    position: relative;
    z-index: 2;
    width: min(1100px, 95vw);
    height: min(760px, 90vh);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   Center Logo and Welcome
========================= */
.center-card {
    position: absolute;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    transition: transform 0.75s ease, opacity 0.5s ease;
}

.main-logo {
    width: clamp(220px, 28vw, 390px);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow:
        0 18px 55px rgba(73, 30, 15, 0.28),
        0 0 0 8px rgba(255, 255, 255, 0.62);
    transition: transform 0.35s ease;
    user-select: none;
}

.main-logo:hover {
    transform: scale(1.035);
}

.welcome {
    font-size: clamp(23px, 3vw, 42px);
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 0 2px 0 #ffffff;
}

.hint {
    font-family: "Great Vibes", cursive;
    font-size: clamp(24px, 2.3vw, 34px);
    color: #8b5a2b;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    50% {
        opacity: 0.5;
        transform: translateY(3px);
    }
}

/* =========================
   Business Options
========================= */
.option {
    position: absolute;
    z-index: 4;
    width: clamp(210px, 24vw, 310px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.6s ease;
}

.option.left,
.option.right {
    transform: translateX(0) scale(0.18);
}

.stage.open .option {
    opacity: 1;
    pointer-events: auto;
}

.stage.open .option.left {
    transform: translateX(clamp(-360px, -31vw, -245px)) scale(1);
}

.stage.open .option.right {
    transform: translateX(clamp(245px, 31vw, 360px)) scale(1);
}

.stage.open .center-card {
    transform: translateY(-210px) scale(0.58);
}

.stage.open .center-card .welcome,
.stage.open .center-card .hint {
    opacity: 0;
    pointer-events: none;
}

.mini-logo {
    position: relative;
    width: clamp(175px, 20vw, 260px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    text-align: center;
    background: rgba(255, 251, 240, 0.92);
    border: 5px solid #b47a2d;
    border-radius: 50%;
    box-shadow:
        0 14px 38px rgba(75, 34, 17, 0.23),
        inset 0 0 0 4px #651f16;
}

.mini-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
}

.mini-logo::before {
    content: "";
    position: absolute;
    inset: 10px;
    z-index: 2;
    border: 1px solid rgba(180, 122, 45, 0.55);
    border-radius: 50%;
    pointer-events: none;
}

/* =========================
   Explore Buttons
========================= */
.explore {
    padding: 13px 34px;
    font-family: "Cinzel", serif;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    background: linear-gradient(135deg, #6d2117, #a35728);
    border: none;
    border-radius: 999px;
    box-shadow: 0 9px 22px rgba(88, 34, 20, 0.25);
    cursor: pointer;
    transition: 0.25s;
}

.explore:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 28px rgba(88, 34, 20, 0.35);
}

/* =========================
   Mobile Responsive Design
========================= */
@media (max-width: 760px) {
    body {
        overflow: auto;
    }

    .page {
        min-height: 100svh;
        padding: 20px;
    }

    .stage {
        height: 900px;
        align-items: flex-start;
        padding-top: 65px;
    }

    .stage.open .center-card {
        transform: translateY(-25px) scale(0.55);
    }

    .stage.open .option.left {
        transform: translateY(315px) translateX(-25vw) scale(0.82);
    }

    .stage.open .option.right {
        transform: translateY(610px) translateX(25vw) scale(0.82);
    }

    .main-logo {
        width: 270px;
    }

    .welcome {
        font-size: 26px;
    }
}
