/* =============================================
   GLOBAL VARIABLES & SPACING SYSTEM
   ============================================= */
:root {
    /* Colors */
    --color-primary: #ff9100;
    --color-dark: #2b2a2c;
    --color-darker: #1d1b1b;
    --color-text: #5d5d5d;
    --color-text-light: #7a7a7a;
    --color-white: #ffffff;
    --color-black: #000000;

    /* Spacing Scale (8px base) */
    --space-xs: 0.5rem;    /* 8px */
    --space-sm: 1rem;      /* 16px */
    --space-md: 1.5rem;    /* 24px */
    --space-lg: 2rem;      /* 32px */
    --space-xl: 3rem;      /* 48px */
    --space-2xl: 4rem;     /* 64px */
    --space-3xl: 6rem;     /* 96px */
    --space-4xl: 8rem;     /* 128px */

    /* Container widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;
    --container-padding: clamp(1rem, 5vw, 2rem);

    /* Typography Scale */
    --text-xs: clamp(0.75rem, 1.5vw, 0.875rem);
    --text-sm: clamp(0.875rem, 2vw, 1rem);
    --text-base: clamp(1rem, 2.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 3vw, 1.5rem);
    --text-xl: clamp(1.5rem, 4vw, 2rem);
    --text-2xl: clamp(1.75rem, 4.5vw, 2.5rem);
    --text-3xl: clamp(2rem, 5vw, 3rem);
    --text-4xl: clamp(2.5rem, 6vw, 4rem);
    --text-5xl: clamp(3rem, 7vw, 5rem);

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;
    --radius-xl: 3rem;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.26);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease-in-out;
}

/* =============================================
   BASE STYLES
   ============================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: var(--color-text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* =============================================
   SECTION 1 - HERO
   ============================================= */
.active {
    background: var(--color-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbtn {
    font-weight: bold;
    color: var(--color-text);
    transition: var(--transition-base);
}

.navbtn:hover {
    color: var(--color-primary);
}

.hidden-img {
    visibility: hidden;
}

.container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    width: 100%;
    max-width: var(--container-xl);
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    margin-left: auto;
    margin-right: auto;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 150px;
    position: relative;
    mix-blend-mode: multiply;
}

.title-underline {
    width: 90px;
    position: relative;
    mix-blend-mode: multiply;
}

.brand-info {
    margin-top: var(--space-sm);
    gap: var(--space-sm);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.titlebar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}

.nav-home {
    display: flex;
    align-items: self-end;
    justify-content: center;
    flex-direction: column;
    margin-top: var(--space-lg);
}

/* Bar button toggle */
.toggle_btn {
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.dropdown_menu {
    display: none;
    position: absolute;
    top: 4rem;
    right: var(--container-padding);
    width: 200px;
    height: 0;
    background-color: var(--color-white);
    z-index: 100;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open {
    height: 250px;
    padding: var(--space-sm);
    border: var(--color-text) solid 1px;
}

.dropdown_menu li {
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-home img {
    width: 3.5rem;
}

.landing-page header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-page header {
    min-height: 80px;
    display: flex;
}

.landing-page header .title {
    color: var(--color-text);
    font-size: var(--text-base);
}

.landing-page header .links {
    display: flex;
    align-items: center;
}

.landing-page header .links li {
    margin-left: var(--space-lg);
    cursor: pointer;
    transition: var(--transition-base);
}

.gradient-color {
    background: var(--color-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-page header .links li:not(:last-child):hover {
    color: #6c63ff;
}

.landing-page .content .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 80px);
    gap: var(--space-lg);
}

.landing-page .content .info h1 {
    color: var(--color-black);
    font-size: var(--text-5xl);
    margin: 0;
    line-height: 1.1;
}

.inlinetext {
    white-space: nowrap;
    position: relative;
    font-size: larger;
}

.overlayimage {
    width: clamp(200px, 30vw, 352px);
    position: absolute;
    top: 26%;
}

.info h5 {
    font-weight: 300;
    font-size: var(--text-2xl);
    margin: 0;
}

.info p {
    margin: 0;
    line-height: 1.6;
    font-size: var(--text-sm);
    color: var(--color-text);
}

#home-arrow {
    width: 22rem;
    transform: translateX(15rem) translateY(-2rem);
    position: relative;
    z-index: 10;
}

.rainbow-button p {
    color: white;
}

.landing-page .content .image img {
    max-width: 100%;
}

/* Hero Cards */
.card-container {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    min-width: 50%;
    animation: cardAnimation 1s ease-in-out forwards;
}

.card1 {
    background-color: var(--color-primary);
    transform: rotateZ(7deg) translateY(60px) translateX(150px);
}

.card2 {
    background-color: var(--color-primary);
}

.card3 {
    background-color: var(--color-primary);
    transform: rotateZ(-7deg) translateY(-78px) translateX(-150px);
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 20rem;
    height: 32rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.card img {
    width: 19rem;
    height: 26rem;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.card h5 {
    text-align: center;
    margin: 0;
    font-weight: 200;
    font-size: var(--text-xl);
    color: var(--color-white);
    padding: var(--space-sm);
}

@keyframes cardAnimation {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Home Cards Grid */
.homecards {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.img-h {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: 60px;
}

.cards {
    flex: 1;
    background-color: var(--color-white);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.cards img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.cards h4 {
    font-size: var(--text-base);
    margin: 0;
    text-align: left;
    line-height: 1.3;
}

.cards p {
    font-size: var(--text-xs);
    color: #666666;
    text-align: left;
    margin-top: var(--space-xs);
}

/* Dotted Margin Divider */
.dottedmargin {
    height: var(--space-2xl);
}

/* =============================================
   SECTION 2 - FEATURES
   ============================================= */
#secondsection {
    padding: var(--space-2xl) 0;
}

.header-div {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 var(--container-padding);
}

.header-div h1 {
    color: var(--color-text);
    width: min(80%, 1000px);
    font-size: var(--text-4xl);
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

#steak-image {
    float: left;
    position: absolute;
    margin-top: 9rem;
    width: 1.8rem;
}

#arrowimage {
    float: right;
    width: clamp(10rem, 15vw, 20rem);
    transform: translateY(-3rem) translateX(1rem);
    position: relative;
}

#uline {
    float: right;
    width: clamp(15%, 20vw, 22%);
    transform: translateY(30rem) translateX(-1rem);
}

/* Feature Cards */
.features-card {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: var(--space-lg);
    margin: var(--space-3xl) auto;
    padding: 0 var(--container-padding);
    max-width: var(--container-xl);
    flex-wrap: wrap;
}

#fc1,
#fc2,
#fc3 {
    background-color: var(--color-primary);
    display: grid;
}

.fcard {
    position: relative;
    width: clamp(280px, 30%, 22rem);
    min-height: 24rem;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: var(--transition-slow);
}

.fcard:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.fcard h1 {
    color: var(--color-white);
    font-size: var(--text-3xl);
    font-weight: 600;
    text-align: left;
    margin: var(--space-sm) 0;
}

.fcard p {
    font-size: var(--text-sm);
    color: var(--color-white);
    line-height: 1.6;
}

#purpleimg {
    width: 55px;
    padding: 20px;
    border-radius: var(--radius-full);
    background-color: #61216d;
}

#yellowimg {
    width: 90px;
    border-radius: var(--radius-full);
    background-color: #f5b72a;
}

#greenimg {
    width: 90px;
    border-radius: var(--radius-full);
    background-color: #32790b;
}

/* =============================================
   SECTION 3 - ABOUT / FAQ
   ============================================= */
#thirdsection {
    background-color: var(--color-dark);
    width: 100%;
    padding: var(--space-3xl) 0;
    position: relative;
}

.about-card {
    width: min(90%, var(--container-xl));
    margin: auto;
    padding: var(--space-xl) var(--container-padding);
    box-sizing: border-box;
}

.card-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    align-items: flex-start;
}

.card-row h1 {
    color: white;
    font-size: var(--text-4xl);
    flex: 1;
    min-width: 280px;
    margin: 0;
    line-height: 1.2;
}

.card-row p {
    color: var(--color-text-light);
    font-size: var(--text-lg);
    flex: 1;
    min-width: 280px;
    margin: 0;
    line-height: 1.6;
}

/* FAQ Carousel */
.carousel-container {
    position: relative;
    width: min(90%, var(--container-xl));
    overflow: hidden;
    margin: var(--space-xl) auto;
    padding: 0 var(--container-padding);
}

.carousel-slide {
    width: 100%;
    display: none;
}

.carousel-slide.c-active {
    display: block;
}

.cardcomponents {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-md) 0;
}

.cardcomponents > h2 {
    color: var(--color-text-light);
    font-weight: 500;
    font-size: var(--text-xl);
    margin: 0;
    min-width: 50px;
}

.carouselcontent {
    flex: 1;
}

.carouselcontent p {
    color: var(--color-text-light);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-top: var(--space-xs);
}

.carouselcontent h2 {
    color: var(--color-white);
    font-size: var(--text-lg);
    margin: 0;
}

.card-image {
    width: 4rem;
}

.horizontal-line {
    border: none;
    border-top: 1px solid var(--color-text-light);
    margin: var(--space-sm) 0;
}

.carousel-buttons {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: var(--space-lg);
}

#leftarrow {
    width: 5rem;
    border-radius: var(--radius-full);
    rotate: -270deg;
    cursor: pointer;
    transition: transform 0.3s linear;
}

#leftarrow:active {
    transform: scale(0.7);
}

#rightarrow {
    width: 5rem;
    rotate: 270deg;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: transform 0.3s linear;
}

#rightarrow:active {
    transform: scale(0.7);
}

#lsun {
    width: 8rem;
    position: absolute;
    bottom: -8.4rem;
    left: 0;
}

#rsun {
    width: 8rem;
    rotate: 180deg;
    position: absolute;
    right: 0;
    top: -8.4rem;
}

#dottedarrow2 {
    width: clamp(10rem, 15vw, 18rem);
    position: absolute;
    mix-blend-mode: multiply;
    right: 0;
    bottom: -10rem;
}

/* =============================================
   SECTION 4 - REVIEWS (Commented out but styled)
   ============================================= */
#fourthsection {
    width: 100%;
    display: flex;
    margin-top: var(--space-sm);
    margin-bottom: var(--space-4xl);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 var(--container-padding);
}

.rheader {
    display: flex;
    align-items: center;
    width: min(90%, var(--container-xl));
    justify-content: space-between;
}

.rheader h1 {
    font-size: var(--text-4xl);
}

.upper-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.left-corner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: var(--space-sm);
}

.user-details h3 {
    margin: 0;
}

.user-dp {
    width: 60px;
    border-radius: var(--radius-full);
}

.rwrapper {
    width: 100%;
    position: relative;
}

.rwrapper i {
    top: 50%;
    height: 50px;
    width: 50px;
    cursor: pointer;
    font-size: 1.25rem;
    position: absolute;
    text-align: center;
    line-height: 50px;
    background: transparent;
    border: 1px solid var(--color-black);
    border-radius: var(--radius-full);
    transform: translateY(-50%);
    transition: transform 0.3s linear;
}

.rwrapper i:active {
    transform: translateY(-50%) scale(0.5);
}

.rwrapper i:first-child {
    left: 3rem;
}

.rwrapper i:last-child {
    right: 3rem;
}

.rating {
    width: 8rem;
}

.rwrapper ul {
    margin: 0 8rem;
}

.rwrapper .rcarousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(100% / 3);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-md);
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.rcarousel::-webkit-scrollbar {
    display: none;
}

.rcarousel.no-transition {
    scroll-behavior: auto;
}

.rcarousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.rcarousel.dragging .rcard {
    cursor: grab;
    user-select: none;
}

.rcarousel :where(.rcard, .img) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rcarousel .rcard {
    scroll-snap-align: start;
    box-shadow: var(--shadow-sm);
    list-style: none;
    background: var(--color-white);
    cursor: pointer;
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    flex-direction: column;
    border-radius: 25px;
}

.user-details p {
    margin: 0;
}

.rcard p {
    color: var(--color-text-light);
    text-align: justify;
}

/* =============================================
   SECTION 5 - CTA
   ============================================= */
#fifthsection {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: var(--space-3xl) var(--container-padding);
}

.fsecondlast {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: min(90%, var(--container-xl));
    min-height: 50vh;
    background-color: var(--color-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    gap: var(--space-xl);
}

.fdescription {
    flex: 1;
    min-width: 280px;
}

.fdescription h2 {
    color: var(--color-white);
    font-size: var(--text-3xl);
    line-height: 1.2;
    margin: 0 0 var(--space-sm);
}

.fdescription p {
    color: var(--color-text-light);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.fifthsection-cards {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 300px;
    min-height: 350px;
    animation: cardAnimation 1s ease-in-out forwards;
}

.fifthsection-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: clamp(140px, 15vw, 17rem);
    height: clamp(200px, 22vw, 26rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.fifthsection-card img {
    width: calc(100% - 1rem);
    height: calc(100% - 5rem);
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.fifthsection-card1 {
    background-color: var(--color-primary);
    transform: rotateZ(4deg) translateY(40px) translateX(90px);
}

.fifthsection-card2 {
    background-color: var(--color-primary);
    transform: rotateZ(9deg) translateY(-70px) translateX(0px);
}

.fifthsection-card3 {
    background-color: var(--color-primary);
    transform: rotateZ(347deg) translateY(50px) translateX(-70px);
}

.fifthsection-card h5 {
    text-align: center;
    margin: 0;
    font-weight: 200;
    font-size: clamp(0.875rem, 2vw, 2rem);
    color: var(--color-white);
    padding: var(--space-xs);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    display: flex;
    background-image: url(/public/Images/dashed.png);
    justify-content: center;
    align-items: center;
    width: min(90%, var(--container-xl));
    min-height: 400px;
    position: relative;
    border-radius: var(--radius-xl);
    background-color: var(--color-darker);
    margin: 0 auto;
    transform: translateY(-45px);
    padding: var(--space-2xl) var(--container-padding);
}

.fcontainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    width: 100%;
    gap: var(--space-xl);
}

.fcontainer h1 {
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: var(--text-3xl);
    margin: 0;
    line-height: 1.3;
}

.flast-component {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.flast-component p {
    color: var(--color-text-light);
    font-size: var(--text-sm);
    text-align: left;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.footerbtn h3 {
    color: white;
    font-size: var(--text-lg);
    font-weight: 400;
    letter-spacing: 2px;
    margin: 0;
}

.flinks {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.tandc {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.tandc a {
    text-decoration: none;
    color: var(--color-text-light);
    font-size: var(--text-xs);
    transition: var(--transition-base);
}

.tandc a:hover {
    color: var(--color-white);
}

.hlinks {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
}

#fb,
#insta {
    width: 3rem;
    transition: var(--transition-base);
}

#fb:hover,
#insta:hover {
    transform: scale(1.1);
}

#gplay {
    width: clamp(10rem, 12vw, 13rem);
    transition: var(--transition-base);
}

#gplay:hover {
    transform: scale(1.05);
}

/* =============================================
   BACK TO TOP BUTTON
   ============================================= */
#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition-base);
}

#backToTopBtn:hover {
    transform: scale(1.1);
}

#backToTopBtn.show {
    display: block;
}
