/* =====================================================
   TEAM UDAY
   Classic • Elegant • Minimal • Animated
===================================================== */


/* ================= ROOT ================= */

:root {
    --background: #f7f4ee;
    --background-dark: #eee9df;

    --text: #25231f;
    --muted: #716d64;

    --accent: #a47742;
    --accent-dark: #805b2f;

    --white: #ffffff;

    --border: rgba(37, 35, 31, 0.15);

    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Inter", Arial, sans-serif;
}


/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* ================= CONTAINER ================= */

.container {
    width: min(1120px, 90%);
    margin: auto;
}


/* ================= HEADER ================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    padding: 22px 0;

    transition: 0.3s ease;
}

.header.scrolled {
    background: rgba(247, 244, 238, 0.94);

    backdrop-filter: blur(12px);

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);

    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* ================= LOGO ================= */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 38px;
    height: 38px;

    border: 1px solid var(--accent);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: var(--serif);
    font-size: 22px;

    color: var(--accent);

    transition: 0.4s ease;
}

.logo:hover .logo-mark {
    transform: rotate(180deg);
}

.logo-text {
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 500;
}

.logo-text strong {
    color: var(--accent);
    font-weight: 600;
}


/* ================= NAVIGATION ================= */

.nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

.nav a {
    position: relative;

    font-size: 13px;
    letter-spacing: 1px;

    color: var(--text);

    transition: 0.3s ease;
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--accent);

    transition: 0.3s ease;
}

.nav a:hover {
    color: var(--accent);
}

.nav a:hover::after {
    width: 100%;
}


/* APP NAV BUTTON */

.nav-app {
    color: var(--accent) !important;
}

.nav-app::before {
    content: "NEW";

    position: absolute;

    top: -18px;
    right: -10px;

    font-size: 7px;

    letter-spacing: 1px;

    color: var(--accent);
}


/* ================= MENU BUTTON ================= */

.menu-btn {
    display: none;

    background: none;

    border: none;

    cursor: pointer;

    padding: 5px;
}

.menu-btn span {
    display: block;

    width: 26px;
    height: 1px;

    background: var(--text);

    margin: 7px 0;

    transition: 0.3s ease;
}

.menu-btn:hover span {
    background: var(--accent);
}


/* ================= HERO ================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    position: relative;

    overflow: hidden;
}

.hero-content {
    position: relative;

    z-index: 2;

    padding-top: 80px;
}

.eyebrow {
    color: var(--accent);

    font-size: 11px;

    letter-spacing: 4px;

    font-weight: 600;

    margin-bottom: 22px;
}

.hero h1 {
    font-family: var(--serif);

    font-size: clamp(70px, 10vw, 135px);

    font-weight: 500;

    line-height: 0.85;

    letter-spacing: -3px;

    max-width: 900px;
}

.hero h1 span {
    display: block;

    color: var(--accent);

    font-style: italic;

    margin-left: 100px;
}

.hero-text {
    max-width: 560px;

    margin-top: 42px;

    color: var(--muted);

    font-size: 16px;
}

.hero-buttons {
    display: flex;

    gap: 14px;

    margin-top: 35px;
}


/* ================= BUTTONS ================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 14px 26px;

    font-size: 12px;

    letter-spacing: 1px;

    transition: 0.3s ease;

    cursor: pointer;
}

.btn-primary {
    background: var(--text);

    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent);

    transform: translateY(-3px);

    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.btn-outline {
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);

    color: var(--accent);

    transform: translateY(-3px);
}


/* ================= HERO DECORATIONS ================= */

.hero-decoration {
    position: absolute;

    border: 1px solid rgba(164, 119, 66, 0.22);

    border-radius: 50%;

    pointer-events: none;
}

.decoration-one {
    width: 560px;
    height: 560px;

    right: -190px;
    top: 12%;

    animation: float 7s ease-in-out infinite;
}

.decoration-two {
    width: 280px;
    height: 280px;

    right: 70px;
    top: 30%;

    animation: float 9s ease-in-out infinite reverse;
}


/* ================= SCROLL INDICATOR ================= */

.scroll-indicator {
    position: absolute;

    bottom: 35px;
    left: 5%;

    font-size: 9px;

    letter-spacing: 3px;

    color: var(--muted);

    display: flex;

    align-items: center;

    gap: 12px;
}

.scroll-indicator span {
    width: 35px;
    height: 1px;

    background: var(--accent);

    animation: scrollLine 2s ease-in-out infinite;
}


/* ================= SECTIONS ================= */

.section {
    padding: 130px 0;
}

.section-heading {
    max-width: 700px;
}

.section-heading h2 {
    font-family: var(--serif);

    font-size: clamp(50px, 6vw, 78px);

    font-weight: 500;

    line-height: 0.95;

    letter-spacing: -1px;
}

.section-heading h2 span {
    color: var(--accent);

    font-style: italic;
}

.centered {
    text-align: center;

    margin: auto;
}


/* ================= ABOUT ================= */

.about {
    background: var(--white);
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;

    margin-top: 90px;
}

.about-image {
    transition: 0.5s ease;
}

.about-image:hover {
    transform: translateY(-8px);
}

.image-frame {
    padding: 18px;

    border: 1px solid var(--border);
}

.image-placeholder {
    min-height: 470px;

    background:
        linear-gradient(
            135deg,
            #ddd5c7,
            #f4efe6
        );

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    font-family: var(--serif);

    letter-spacing: 8px;

    color: var(--accent);

    font-size: 38px;

    position: relative;

    overflow: hidden;
}

.image-placeholder::before {
    content: "";

    position: absolute;

    inset: 25px;

    border: 1px solid rgba(164, 119, 66, 0.3);

    transition: 0.5s ease;
}

.image-placeholder:hover::before {
    inset: 15px;
}

.about-content {
    color: var(--muted);

    max-width: 520px;
}

.about-content .large-text {
    font-family: var(--serif);

    font-size: 29px;

    line-height: 1.25;

    color: var(--text);

    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 20px;
}

.text-link {
    display: inline-block;

    margin-top: 12px;

    color: var(--accent);

    border-bottom: 1px solid var(--accent);

    padding-bottom: 4px;

    font-size: 13px;

    transition: 0.3s ease;
}

.text-link:hover {
    letter-spacing: 1px;
}


/* ================= VALUES ================= */

.values {
    background: var(--background);
}

.values-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    margin-top: 80px;
}

.value-card {
    padding: 45px 35px;

    border: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.45);

    transition: 0.4s ease;

    position: relative;
}

.value-card:hover {
    transform: translateY(-8px);

    background: var(--white);

    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06);
}

.number {
    font-size: 11px;

    color: var(--accent);

    letter-spacing: 2px;

    margin-bottom: 35px;
}

.value-card h3 {
    font-family: var(--serif);

    font-size: 40px;

    font-weight: 600;

    margin-bottom: 12px;
}

.value-card p {
    color: var(--muted);

    font-size: 14px;
}


/* ================= APP SECTION ================= */

.app-section {
    background: var(--background-dark);
}

.app-card {
    display: grid;

    grid-template-columns: 1.3fr 0.7fr;

    align-items: center;

    gap: 60px;

    padding: 75px;

    background: var(--white);

    border: 1px solid var(--border);

    position: relative;

    overflow: hidden;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.05);
}

.app-card::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    border: 1px solid rgba(164, 119, 66, 0.15);

    right: -120px;
    top: -150px;

    pointer-events: none;
}

.app-card::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    border-radius: 50%;

    border: 1px solid rgba(164, 119, 66, 0.10);

    left: -70px;
    bottom: -70px;

    pointer-events: none;
}

.app-card h2 {
    font-family: var(--serif);

    font-size: clamp(50px, 6vw, 75px);

    line-height: 0.95;

    font-weight: 500;

    max-width: 650px;
}

.app-card h2 span {
    color: var(--accent);

    font-style: italic;

    display: block;
}

.app-description {
    color: var(--muted);

    max-width: 500px;

    margin: 30px 0;
}

.app-download {
    position: relative;

    z-index: 2;
}

.apk-note {
    color: var(--muted);

    font-size: 10px;

    letter-spacing: 1px;

    margin-top: 14px;
}


/* ================= APP PHONE ================= */

.app-icon {
    display: flex;

    justify-content: center;

    align-items: center;

    position: relative;

    z-index: 2;
}

.phone {
    width: 190px;

    height: 360px;

    border: 8px solid var(--text);

    border-radius: 30px;

    padding: 10px;

    transform: rotate(5deg);

    box-shadow:
        20px 25px 50px rgba(0, 0, 0, 0.12);

    animation: phoneFloat 5s ease-in-out infinite;

    background: var(--text);
}

.phone-screen {
    height: 100%;

    background: var(--background);

    border-radius: 20px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    font-family: var(--serif);

    color: var(--accent);

    position: relative;

    overflow: hidden;
}

.phone-screen::before {
    content: "";

    position: absolute;

    width: 110px;
    height: 110px;

    border-radius: 50%;

    border: 1px solid rgba(164, 119, 66, 0.2);
}

.phone-screen strong {
    letter-spacing: 3px;

    font-size: 17px;

    position: relative;
}

.phone-logo {
    width: 55px;
    height: 55px;

    border: 1px solid var(--accent);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 32px;

    margin-bottom: 15px;

    position: relative;
}


/* ================= QUOTE ================= */

.quote-section {
    background: var(--text);

    color: var(--white);

    padding: 130px 0;
}

.quote {
    text-align: center;

    max-width: 800px;

    margin: auto;
}

.quote-mark {
    font-family: var(--serif);

    font-size: 100px;

    line-height: 0.5;

    color: var(--accent);
}

.quote p {
    font-family: var(--serif);

    font-size: clamp(38px, 5vw, 65px);

    line-height: 1;

    margin: 35px 0;
}

.quote span {
    font-size: 10px;

    letter-spacing: 4px;

    color: #bcb6ab;
}


/* ================= CONTACT ================= */

.contact {
    background: var(--white);
}

.contact-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}

.contact-description {
    color: var(--muted);

    margin-top: 30px;

    max-width: 480px;
}

.contact-box {
    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);
}

.contact-item {
    padding: 30px 0;

    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-label {
    display: block;

    color: var(--accent);

    font-size: 10px;

    letter-spacing: 3px;

    margin-bottom: 7px;
}

.contact-item a {
    font-family: var(--serif);

    font-size: 24px;

    transition: 0.3s;
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-item span:last-child {
    color: var(--muted);

    font-size: 14px;
}


/* ================= FOOTER ================= */

.footer {
    background: var(--background);

    border-top: 1px solid var(--border);

    padding: 30px 0;
}

.footer-inner {
    display: flex;

    justify-content: space-between;

    align-items: center;
}

.footer-logo {
    letter-spacing: 3px;

    font-size: 12px;
}

.footer-logo strong {
    color: var(--accent);
}

.footer p {
    color: var(--muted);

    font-size: 11px;
}

.back-top {
    width: 38px;
    height: 38px;

    border: 1px solid var(--border);

    display: flex;

    justify-content: center;

    align-items: center;

    transition: 0.3s;
}

.back-top:hover {
    background: var(--text);

    color: white;

    transform: translateY(-3px);
}


/* ================= SCROLL REVEAL ================= */

.reveal {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* ================= ANIMATIONS ================= */

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes phoneFloat {

    0%,
    100% {
        transform: rotate(5deg) translateY(0);
    }

    50% {
        transform: rotate(2deg) translateY(-12px);
    }
}

@keyframes scrollLine {

    0% {
        width: 15px;
        opacity: 0.4;
    }

    50% {
        width: 40px;
        opacity: 1;
    }

    100% {
        width: 15px;
        opacity: 0.4;
    }
}


/* ================= TABLET ================= */

@media (max-width: 900px) {

    .nav {
        gap: 22px;
    }

    .about-grid {
        gap: 50px;
    }

    .app-card {
        gap: 35px;

        padding: 55px;
    }

}


/* ================= MOBILE ================= */

@media (max-width: 800px) {

    /* Navigation */

    .nav {
        position: fixed;

        top: 0;
        right: -100%;

        width: 75%;

        height: 100vh;

        background: var(--white);

        flex-direction: column;

        justify-content: center;

        align-items: center;

        gap: 30px;

        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);

        transition: 0.4s ease;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        font-size: 15px;
    }

    .menu-btn {
        display: block;

        position: relative;

        z-index: 1001;
    }

    /* Hero */

    .hero h1 {
        font-size: 75px;
    }

    .hero h1 span {
        margin-left: 40px;
    }

    .hero-text {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    /* About */

    .about-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    /* Values */

    .values-grid {
        grid-template-columns: 1fr;
    }

    /* App */

    .app-card {
        grid-template-columns: 1fr;

        padding: 45px 30px;

        text-align: center;
    }

    .app-description {
        margin-left: auto;

        margin-right: auto;
    }

    .app-icon {
        order: -1;
    }

    .phone {
        width: 150px;

        height: 285px;
    }

    /* Contact */

    .contact-container {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    /* Footer */

    .footer-inner {
        flex-direction: column;

        gap: 20px;

        text-align: center;
    }

    /* Hero decoration */

    .decoration-one {
        width: 350px;
        height: 350px;

        right: -200px;
    }

    .decoration-two {
        width: 200px;
        height: 200px;

        right: -40px;
    }

}


/* ================= SMALL MOBILE ================= */

@media (max-width: 480px) {

    .container {
        width: 88%;
    }

    .hero h1 {
        font-size: 60px;

        letter-spacing: -2px;
    }

    .hero h1 span {
        margin-left: 20px;
    }

    .section {
        padding: 90px 0;
    }

    .section-heading h2 {
        font-size: 50px;
    }

    .image-placeholder {
        min-height: 330px;

        font-size: 30px;
    }

    .quote-section {
        padding: 90px 0;
    }

    .quote p {
        font-size: 40px;
    }

    .app-card h2 {
        font-size: 50px;
    }

    .app-download {
        width: 100%;
    }

    .contact-item a {
        font-size: 20px;
        word-break: break-word;
    }

}


/* ================= ACCESSIBILITY ================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }

}