/* =======================================================
   GOOGLE FONTS
======================================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');


/* =======================================================
   ROOT VARIABLES
======================================================= */
:root {

    /* =======================================================
       BRAND COLORS
    ======================================================= */

    --primary: #18B7AE;
    --primary-light: #2FD0C7;
    --primary-dark: #11928A;

    --accent: #F28A1A;
    --accent-light: #FFAA42;
    --accent-dark: #D97100;

    --danger: #D7262E;

    /* =======================================================
       BACKGROUNDS
    ======================================================= */

    --dark: #050505;
    --dark-light: #0D1117;
    --dark-card: #121212;
    --dark-elevated: #181818;

    /* =======================================================
       TEXT
    ======================================================= */

    --white: #FFFFFF;
    --text-light: #D6D6D6;
    --text-muted: #8B8B8B;
    --text-dark: #1A1A1A;

    /* =======================================================
       GLASSMORPHISM
    ======================================================= */

    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-bg-strong: rgba(255, 255, 255, 0.10);

    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-strong: rgba(255, 255, 255, 0.18);

    --glass-shadow:
        0 8px 32px rgba(0, 0, 0, 0.30);

    /* =======================================================
       BRAND GLOWS
    ======================================================= */

    --glow-primary:
        0 0 30px rgba(24, 183, 174, 0.35);

    --glow-accent:
        0 0 30px rgba(242, 138, 26, 0.30);

    --glow-danger:
        0 0 20px rgba(215, 38, 46, 0.25);

    /* =======================================================
       SHADOWS
    ======================================================= */

    --shadow-primary:
        0 0 40px rgba(24, 183, 174, 0.25);

    --shadow-accent:
        0 0 40px rgba(242, 138, 26, 0.25);

    --shadow-card:
        0 15px 40px rgba(0, 0, 0, 0.35);

    --shadow-navbar:
        0 10px 50px rgba(0, 0, 0, 0.40);

    /* =======================================================
       GRADIENTS
    ======================================================= */

    --gradient-primary:
        linear-gradient(
            135deg,
            #18B7AE,
            #2FD0C7
        );

    --gradient-accent:
        linear-gradient(
            135deg,
            #F28A1A,
            #FFAA42
        );

    --gradient-brand:
        linear-gradient(
            135deg,
            #18B7AE,
            #2FD0C7,
            #F28A1A
        );

    /* =======================================================
       UI
    ======================================================= */

    --blur: blur(20px);

    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-xl: 40px;
    --radius-pill: 999px;

    /* =======================================================
       LAYOUT
    ======================================================= */

    --container-width: 1320px;

    /* =======================================================
       TRANSITIONS
    ======================================================= */

    --transition:
        all .4s ease;

    --transition-fast:
        all .25s ease;

}


/* =======================================================
   RESET
======================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
    position: relative;
}


/* =======================================================
   SELECTION
======================================================= */
::selection {
    background: var(--primary);
    color: var(--white);
}


/* =======================================================
   SCROLLBAR
======================================================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}


/* =======================================================
   TYPOGRAPHY
======================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.15;
}

h1 {
    font-size: clamp(3rem, 7vw, 7rem);
}

h2 {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
}

h3 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

p {
    color: var(--text-light);
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}


/* =======================================================
   GLOBAL CONTAINER
======================================================= */
.container {
    width: min(92%, var(--container-width));
    margin-inline: auto;
}


/* =======================================================
   GLOBAL SECTION
======================================================= */
section {
    position: relative;
    padding: 120px 0;
}


/* =======================================================
   SECTION HEADER
======================================================= */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
}

.section-tag {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 100px;

    background: rgba(255, 107, 0, .15);
    border: 1px solid rgba(255, 107, 0, .25);

    color: var(--primary);
    font-size: .85rem;
    font-weight: 600;

    margin-bottom: 20px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    max-width: 650px;
    margin-inline: auto;
}


/* =======================================================
   BUTTONS
======================================================= */
.btn-primary,
.btn-secondary {

    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 16px 32px;
    border-radius: 100px;

    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );

    color: var(--white);

    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-4px);
}

.btn-secondary {

    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);

    background: var(--glass-bg);

    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    transform: translateY(-4px);
}


/* =======================================================
   GLASS CARD
======================================================= */
.glass-card {

    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);

    background: var(--glass-bg);

    border: 1px solid var(--glass-border);

    box-shadow: var(--glass-shadow);

    border-radius: var(--radius-md);
}


/* =======================================================
   BACKGROUND GLOW
======================================================= */
body::before {

    content: "";

    position: fixed;

    top: -300px;
    left: -200px;

    width: 600px;
    height: 600px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 107, 0, .20),
            transparent 70%
        );

    pointer-events: none;
    z-index: -2;
}

body::after {

    content: "";

    position: fixed;

    right: -300px;
    bottom: -300px;

    width: 700px;
    height: 700px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 200, 87, .12),
            transparent 70%
        );

    pointer-events: none;
    z-index: -2;
}


/* =======================================================
   PARTICLES
======================================================= */
#particles-js {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: -1;
}


/* =======================================================
   PLACEHOLDER SECTIONS
======================================================= */
#home,
#story,
#why-kristoz,
#pizzas,
#experience,
#gallery,
#reviews,
#locations,
#franchise,
#faq,
#contact {

    min-height: 100vh;
}


/* =======================================================
   RESPONSIVE
======================================================= */

@media (max-width: 992px) {

    section {
        padding: 100px 0;
    }

}

@media (max-width: 768px) {

    section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }

}

@media (max-width: 576px) {

    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
        font-size: .9rem;
    }

}






/* =======================================================
   LOADER
======================================================= */

#loader {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;

    background: #050505;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 99999;

    overflow: hidden;
}

.loader-content {
    text-align: center;
}

.pizza-loader {
    width: 160px;
    height: 160px;

    margin: 0 auto 30px;

    border-radius: 50%;
    overflow: hidden;

    border: 3px solid rgba(255,255,255,.15);

    box-shadow:
        0 0 30px rgba(255,107,0,.25);

    animation: rotatePizza 4s linear infinite;
}

.pizza-loader img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loader-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.loader-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.loader-line {
    width: 240px;
    height: 5px;

    margin: auto;

    border-radius: 100px;

    overflow: hidden;

    background: rgba(255,255,255,.08);
}

.loader-line span {
    display: block;

    width: 0%;
    height: 100%;

    border-radius: inherit;

    background: linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

    animation: loadingBar 2.8s ease forwards;
}

@keyframes rotatePizza {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes loadingBar {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}




/* =======================================================
   NAVBAR
======================================================= */

#header {

    position: fixed;

    top: 20px;
    left: 0;

    width: 100%;

    z-index: 1000;
}

.navbar {

    height: 80px;

    padding: 0 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 20px;

    box-shadow:
        0 10px 40px rgba(0,0,0,.20);
}


/* Logo */

.logo {

    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {

    width: 55px;
    height: 55px;

    border-radius: 50%;
    overflow: hidden;
}

.logo-icon img {

    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text h3 {

    font-size: 1.2rem;
    line-height: 1;
}

.logo-text span {

    font-size: .85rem;
    color: var(--primary);
}


/* Menu */

.nav-links {

    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {

    color: white;

    font-size: .95rem;
    font-weight: 500;

    transition: .3s;
}

.nav-links a:hover {

    color: var(--primary);
}


/* Right */

.nav-right {

    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {

    display: none;

    width: 50px;
    height: 50px;

    border: none;
    cursor: pointer;

    border-radius: 14px;

    color: white;

    font-size: 1.4rem;

    background: rgba(255,255,255,.08);
}


/* =======================================================
   MOBILE MENU
======================================================= */

.mobile-menu {

    position: fixed;

    top: 0;
    right: -100%;

    width: 320px;
    height: 100vh;

    z-index: 9999;

    padding: 30px;

    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);

    background: rgba(10,10,10,.95);

    transition: .5s ease;
}

.mobile-menu.active {

    right: 0;
}

.mobile-menu-header {

    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 50px;
}

.close-menu {

    width: 45px;
    height: 45px;

    border: none;
    cursor: pointer;

    border-radius: 12px;

    background: rgba(255,255,255,.08);

    color: white;
}

.mobile-menu ul {

    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-menu ul a {

    font-size: 1.1rem;
    font-weight: 500;
}


/* =======================================================
   SCROLLED NAVBAR
======================================================= */

#header.scrolled .navbar {

    background: rgba(10,10,10,.75);

    border-color: rgba(255,255,255,.12);
}


/* =======================================================
   RESPONSIVE
======================================================= */

@media(max-width:1024px){

    .nav-links{
        display:none;
    }

    .menu-toggle{
        display:flex;
        align-items:center;
        justify-content:center;
    }
}

@media(max-width:768px){

    .navbar{

        height:75px;

        padding:0 18px;
    }

    .logo-text{
        display:none;
    }

    .btn-primary{
        display:none;
    }

    .mobile-menu{
        width:100%;
    }
}


/* =======================================================
   HERO
======================================================= */

#home {

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding-top: 180px;
}

.hero-wrapper {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Left */

.hero-tag {

    display: inline-block;

    padding: 12px 22px;

    border-radius: 100px;

    background: rgba(255,107,0,.12);

    border: 1px solid rgba(255,107,0,.2);

    color: var(--primary);

    margin-bottom: 25px;
}

.hero-content p {

    max-width: 650px;

    margin: 25px 0 40px;
}

.hero-buttons {

    display: flex;
    gap: 20px;

    flex-wrap: wrap;

    margin-bottom: 50px;
}

/* Stats */

.hero-stats {

    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-card {

    padding: 20px 25px;
    text-align: center;
}

.stat-card h3 {

    font-size: 1.8rem;
    color: var(--primary);

    font-family: Poppins;
}

.stat-card span {

    color: var(--text-muted);
    font-size: .9rem;
}

/* Right */

.hero-image-area {

    position: relative;
}

.hero-image {

    width: 100%;
    max-width: 550px;

    margin-left: auto;

    border-radius: 40px;

    overflow: hidden;

    box-shadow:
        0 0 80px rgba(255,107,0,.15);
}

.hero-image img {

    width: 100%;
    aspect-ratio: 1/1;
}

/* Floating Cards */

.floating-card {

    position: absolute;

    padding: 18px;

    display: flex;
    align-items: center;
    gap: 15px;

    min-width: 220px;
}

.floating-card i {

    color: var(--primary);
    font-size: 1.5rem;
}

.floating-card h4 {

    font-size: .95rem;

    font-family: Poppins;
}

.floating-card p {

    font-size: .8rem;
}

.card-1 {

    top: 8%;
    left: -50px;
}

.card-2 {

    bottom: 20%;
    left: -80px;
}

.card-3 {

    right: -50px;
    bottom: 5%;
}

/* Floating Animation */

.card-1,
.card-3 {

    animation: floatOne 4s ease-in-out infinite;
}

.card-2 {

    animation: floatTwo 5s ease-in-out infinite;
}

@keyframes floatOne {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes floatTwo {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(15px);
    }
}

/* Responsive */

@media(max-width:1100px){

    .hero-wrapper{

        grid-template-columns:1fr;
        text-align:center;
    }

    .hero-content p{
        margin-inline:auto;
    }

    .hero-buttons,
    .hero-stats{
        justify-content:center;
    }

    .hero-image{
        margin:auto;
    }

    .card-1{
        left:0;
    }

    .card-2{
        left:0;
    }

    .card-3{
        right:0;
    }
}

@media(max-width:768px){

    #home{
        padding-top:140px;
    }

    .floating-card{

        position:relative;

        inset:auto;

        margin:15px auto;

        width:100%;
    }

    .hero-image-area{
        display:flex;
        flex-direction:column;
    }
}