/* ==========================================
   SAIMON RINXHI
   PERSONAL WEBSITE
   CSS
========================================== */


/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #070707;
    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;
}

body::selection {
    background: #ff4500;
    color: white;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* ==========================================
   CUSTOM CURSOR
========================================== */

.cursor-dot {
    position: fixed;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #ffffff;

    pointer-events: none;

    z-index: 10001;

    transform:
        translate(-50%, -50%);
}

.cursor-glow {
    position: fixed;

    width: 35px;
    height: 35px;

    border-radius: 50%;

    background: #ff4500;

    pointer-events: none;

    z-index: 10000;

    transform:
        translate(-50%, -50%);

    filter: blur(10px);

    opacity: 0.5;

    transition:
        width 0.2s ease,
        height 0.2s ease;
}


/* ==========================================
   PARTICLES
========================================== */

.particles {
    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: 0;

    overflow: hidden;
}

.particle {
    position: absolute;

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: #ff4500;

    opacity: 0;

    animation:
        particleFloat
        linear
        infinite;
}

@keyframes particleFloat {

    0% {
        opacity: 0;

        transform:
            translateY(30px)
            scale(0.5);
    }

    25% {
        opacity: 0.6;
    }

    70% {
        opacity: 0.2;
    }

    100% {
        opacity: 0;

        transform:
            translateY(-180px)
            scale(1.2);
    }
}


/* ==========================================
   NAVBAR
========================================== */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 80px;

    padding: 0 8%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background:
        rgba(7, 7, 7, 0.75);

    backdrop-filter: blur(18px);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);

    z-index: 1000;
}

.logo {
    font-size: 24px;

    font-weight: 900;

    letter-spacing: 3px;
}

.logo span {
    color: #ff4500;
}

nav {
    display: flex;

    gap: 35px;
}

nav a {
    position: relative;

    color: #777;

    font-size: 12px;

    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition:
        color 0.3s ease;
}

nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -9px;

    width: 0;
    height: 2px;

    background: #ff4500;

    transition:
        width 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #ffffff;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}


/* ==========================================
   MOBILE MENU BUTTON
========================================== */

.menu-button {
    display: none;

    width: 40px;
    height: 40px;

    background: transparent;

    border: 0;

    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 5px auto;

    background: white;

    transition:
        transform 0.3s,
        opacity 0.3s;
}

.menu-button.open span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.menu-button.open span:nth-child(2) {
    opacity: 0;
}

.menu-button.open span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* ==========================================
   MOBILE MENU
========================================== */

.mobile-menu {
    position: fixed;

    top: 80px;
    left: 0;

    width: 100%;

    padding: 30px;

    display: flex;

    flex-direction: column;

    gap: 25px;

    background:
        rgba(7, 7, 7, 0.97);

    backdrop-filter: blur(20px);

    border-bottom:
        1px solid #222;

    transform:
        translateY(-120%);

    transition:
        transform 0.4s ease;

    z-index: 999;
}

.mobile-menu.open {
    transform:
        translateY(0);
}

.mobile-menu a {
    color: white;

    font-size: 20px;

    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: 2px;
}


/* ==========================================
   HERO
========================================== */

.hero {
    min-height: 100vh;

    position: relative;

    padding:
        140px 8%
        80px;

    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    align-items: center;

    gap: 80px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(255, 69, 0, 0.16),
            transparent 32%
        );
}

.hero-background-text {
    position: absolute;

    right: -100px;
    bottom: -80px;

    color:
        rgba(255, 255, 255, 0.025);

    font-size:
        clamp(120px, 20vw, 300px);

    font-weight: 900;

    line-height: 1;

    pointer-events: none;

    user-select: none;
}

.hero-text {
    position: relative;

    z-index: 5;

    opacity: 0;

    transform:
        translateY(50px);

    transition:
        opacity 1s ease,
        transform 1s ease;
}

.hero-text.show {
    opacity: 1;

    transform:
        translateY(0);
}

.small-title {
    min-height: 20px;

    margin-bottom: 25px;

    color: #ff4500;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 4px;
}

.hero h1 {
    font-size:
        clamp(55px, 8vw, 110px);

    line-height: 0.9;

    letter-spacing: -6px;

    font-weight: 900;
}

.hero h1 span {
    display: block;

    color: transparent;

    -webkit-text-stroke:
        2px #ffffff;

    transition:
        color 0.4s ease,
        -webkit-text-stroke 0.4s ease;
}

.hero h1 span:hover {
    color: #ff4500;

    -webkit-text-stroke:
        0 transparent;
}

.description {
    max-width: 570px;

    margin-top: 35px;

    color: #888;

    font-size: 18px;
}


/* ==========================================
   BUTTONS
========================================== */

.buttons {
    margin-top: 40px;

    display: flex;

    gap: 15px;
}

.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 170px;

    padding:
        16px 25px;

    font-size: 11px;

    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: 1px;

    border: 0;

    transition:
        background 0.3s,
        color 0.3s,
        border 0.3s,
        transform 0.2s;
}

.primary {
    background: #ff4500;

    color: white;

    box-shadow:
        0 15px 40px
        rgba(255, 69, 0, 0.15);
}

.primary:hover {
    background: #ff6125;
}

.secondary {
    border:
        1px solid #444;

    color: white;

    background: transparent;
}

.secondary:hover {
    border-color: #ff4500;

    color: #ff4500;
}


/* ==========================================
   HERO STATS
========================================== */

.hero-stats {
    display: flex;

    gap: 45px;

    margin-top: 55px;
}

.hero-stats div {
    display: flex;

    flex-direction: column;
}

.hero-stats strong {
    color: white;

    font-size: 28px;

    line-height: 1;
}

.hero-stats span {
    margin-top: 7px;

    color: #555;

    font-size: 9px;

    font-weight: bold;

    letter-spacing: 2px;
}


/* ==========================================
   HERO CARD
========================================== */

.hero-card {
    height: 520px;

    position: relative;

    z-index: 3;

    padding: 1px;

    background:
        linear-gradient(
            135deg,
            #333,
            #111,
            #ff4500
        );

    transform:
        rotate(3deg);

    box-shadow:
        0 40px 100px
        rgba(0, 0, 0, 0.7);

    transition:
        transform 0.2s ease;
}

.hero-card-inner {
    width: 100%;
    height: 100%;

    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 30px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #191919,
            #080808
        );
}

.hero-card-inner::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background: #ff4500;

    filter: blur(120px);

    opacity: 0.18;
}

.card-top,
.card-bottom {
    position: relative;

    z-index: 2;

    display: flex;

    justify-content: space-between;

    color: #555;

    font-size: 9px;

    font-weight: bold;

    letter-spacing: 3px;
}

.card-center {
    position: relative;

    z-index: 2;

    text-align: center;
}

.orange-circle {
    width: 190px;
    height: 190px;

    margin: auto;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #ff9a70,
            #ff4500 40%,
            #701f00 75%,
            #111 76%
        );

    box-shadow:
        0 0 100px
        rgba(255, 69, 0, 0.35);

    animation:
        pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform:
            scale(1);
    }

    50% {
        transform:
            scale(1.05);
    }
}

.card-center h2 {
    margin-top: 35px;

    font-size: 48px;

    line-height: 1;

    font-weight: 900;

    letter-spacing: -2px;
}

.card-center p {
    margin-top: 15px;

    color: #666;

    font-size: 9px;

    letter-spacing: 3px;
}

.card-bottom i {
    display: inline-block;

    width: 6px;
    height: 6px;

    margin-right: 5px;

    border-radius: 50%;

    background: #00ff66;

    box-shadow:
        0 0 10px #00ff66;
}


/* ==========================================
   GENERAL SECTION
========================================== */

.section {
    position: relative;

    padding:
        140px 8%;
}

.dark-section {
    background: #0c0c0c;
}

.section-title {
    margin-bottom: 75px;
}

.section-title p {
    color: #ff4500;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 4px;
}

.section-title h2 {
    margin-top: 12px;

    font-size:
        clamp(40px, 6vw, 80px);

    line-height: 1;

    letter-spacing: -4px;
}


/* ==========================================
   REVEAL
========================================== */

.reveal {
    opacity: 0;

    transform:
        translateY(60px);

    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.reveal-active {
    opacity: 1;

    transform:
        translateY(0);
}


/* ==========================================
   ABOUT
========================================== */

.about-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 100px;
}

.about-text p {
    margin-bottom: 25px;

    color: #999;

    font-size: 18px;
}

.about-text strong {
    color: white;
}

.info-box {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    border:
        1px solid #292929;
}

.info-box div {
    min-height: 150px;

    padding: 35px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    border:
        1px solid #202020;

    transition:
        background 0.3s;
}

.info-box div:hover {
    background:
        rgba(255, 69, 0, 0.05);
}

.info-box span {
    color: #555;

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 2px;
}

.info-box strong {
    margin-top: 10px;

    color: white;

    font-size: 20px;
}


/* ==========================================
   PASSION CARDS
========================================== */

.cards {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}

.passion-card {
    min-height: 370px;

    position: relative;

    padding: 35px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #151515,
            #0f0f0f
        );

    border:
        1px solid #242424;

    transition:
        transform 0.4s ease,
        border 0.4s ease,
        box-shadow 0.4s ease;
}

.passion-card::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at var(--mouse-x, 50%)
            var(--mouse-y, 50%),
            rgba(255, 69, 0, 0.16),
            transparent 35%
        );

    opacity: 0;

    transition:
        opacity 0.3s;

    pointer-events: none;
}

.passion-card:hover::before {
    opacity: 1;
}

.passion-card:hover {
    transform:
        translateY(-12px);

    border-color:
        rgba(255, 69, 0, 0.6);

    box-shadow:
        0 25px 70px
        rgba(255, 69, 0, 0.08);
}

.number {
    position: absolute;

    top: 20px;
    right: 25px;

    color: #444;

    font-size: 11px;

    font-weight: bold;
}

.icon {
    position: relative;

    margin-top: 40px;

    font-size: 42px;
}

.passion-card h3 {
    position: relative;

    margin:
        25px 0 15px;

    font-size: 25px;
}

.passion-card p {
    position: relative;

    color: #777;

    font-size: 14px;
}

.card-arrow {
    position: absolute;

    right: 30px;
    bottom: 25px;

    color: #ff4500;

    font-size: 20px;

    transition:
        transform 0.3s;
}

.passion-card:hover .card-arrow {
    transform:
        translateX(8px);
}


/* ==========================================
   GOALS
========================================== */

.goal-main {
    display: grid;

    grid-template-columns:
        150px 1fr;

    gap: 50px;

    padding: 65px;

    background:
        linear-gradient(
            120deg,
            #171717,
            #0c0c0c
        );

    border:
        1px solid #292929;

    overflow: hidden;

    position: relative;
}

.goal-main::after {
    content: "PRO";

    position: absolute;

    right: -20px;
    bottom: -80px;

    color:
        rgba(255, 255, 255, 0.025);

    font-size: 250px;

    font-weight: 900;

    line-height: 1;
}

.goal-number {
    position: relative;

    z-index: 2;

    color: #ff4500;

    font-size: 100px;

    font-weight: 900;

    line-height: 1;
}

.goal-content {
    position: relative;

    z-index: 3;
}

.goal-label {
    color: #666;

    font-size: 11px;

    letter-spacing: 4px;
}

.goal-content h3 {
    margin:
        15px 0 30px;

    font-size:
        clamp(50px, 8vw, 110px);

    line-height: 0.9;

    letter-spacing: -5px;
}

.goal-content h3 span {
    color: #ff4500;
}

.goal-content > p {
    max-width: 700px;

    color: #999;

    font-size: 18px;
}

.progress {
    width: 100%;

    height: 4px;

    margin-top: 45px;

    background: #282828;

    overflow: hidden;
}

.progress-bar {
    width: 0%;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            #ff4500,
            #ff8a00
        );

    box-shadow:
        0 0 15px
        rgba(255, 69, 0, 0.5);

    transition:
        width 1.8s cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}

.progress-text {
    display: block;

    margin-top: 12px;

    color: #555;

    font-size: 9px;

    letter-spacing: 3px;
}


/* ==========================================
   SECOND GOAL
========================================== */

.second-goal {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    margin-top: 30px;

    padding: 50px;

    border:
        1px solid #292929;

    background:
        rgba(255, 255, 255, 0.01);
}

.second-goal span {
    color: #ff4500;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 3px;
}

.second-goal h3 {
    margin-top: 10px;

    font-size: 35px;

    line-height: 1.1;
}

.second-goal p {
    color: #777;

    font-size: 16px;
}


/* ==========================================
   QUOTE
========================================== */

.quote {
    padding:
        170px 10%;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(255, 69, 0, 0.12),
            transparent 50%
        );
}

.quote-line {
    width: 60px;
    height: 3px;

    margin:
        0 auto 40px;

    background: #ff4500;
}

.quote p {
    max-width: 1000px;

    margin: auto;

    font-size:
        clamp(30px, 5vw, 65px);

    font-weight: 900;

    line-height: 1.05;

    letter-spacing: -3px;
}

.quote span {
    display: block;

    margin-top: 30px;

    color: #ff4500;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 4px;
}


/* ==========================================
   FOOTER
========================================== */

footer {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        35px 8%;

    border-top:
        1px solid #222;

    color: #555;

    font-size: 11px;
}

.footer-logo {
    color: white;

    font-size: 20px;

    font-weight: 900;

    letter-spacing: 2px;
}

.footer-logo span {
    color: #ff4500;
}


/* ==========================================
   RESPONSIVE TABLET
========================================== */

@media (max-width: 1000px) {

    nav {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .hero-card {
        width: 80%;

        margin:
            0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .cards {
        grid-template-columns:
            1fr 1fr;
    }

    .goal-main {
        grid-template-columns:
            1fr;

        padding: 45px;
    }

    .goal-number {
        font-size: 65px;
    }
}


/* ==========================================
   RESPONSIVE MOBILE
========================================== */

@media (max-width: 600px) {

    .cursor-dot,
    .cursor-glow {
        display: none;
    }

    .navbar {
        height: 70px;

        padding:
            0 6%;
    }

    .mobile-menu {
        top: 70px;
    }

    .hero {
        padding:
            120px 6% 80px;
    }

    .hero h1 {
        font-size: 58px;

        letter-spacing: -4px;
    }

    .description {
        font-size: 16px;
    }

    .buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-card {
        width: 100%;

        height: 400px;
    }

    .orange-circle {
        width: 130px;
        height: 130px;
    }

    .card-center h2 {
        font-size: 35px;
    }

    .section {
        padding:
            90px 6%;
    }

    .section-title {
        margin-bottom: 50px;
    }

    .section-title h2 {
        letter-spacing: -2px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .passion-card {
        min-height: 320px;
    }

    .info-box {
        grid-template-columns:
            1fr;
    }

    .goal-main {
        padding: 30px;
    }

    .goal-content h3 {
        font-size: 55px;

        letter-spacing: -3px;
    }

    .goal-content > p {
        font-size: 16px;
    }

    .second-goal {
        grid-template-columns:
            1fr;

        gap: 30px;

        padding: 30px;
    }

    .second-goal h3 {
        font-size: 28px;
    }

    .quote {
        padding:
            110px 6%;
    }

    .quote p {
        font-size: 38px;

        letter-spacing: -2px;
    }

    footer {
        flex-direction: column;

        gap: 15px;

        text-align: center;
    }

}
/* ==========================================
   NUOVI EFFETTI VISIVI (Glassmorphism & Glow)
   ========================================== */

/* Effetto Vetro Sfumato sulle Card */
.passion-card {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
}

/* Alone Arancione al passaggio del mouse */
.passion-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 102, 0, 0.6);
    box-shadow: 0 10px 30px -10px rgba(255, 102, 0, 0.35),
                0 0 20px 0 rgba(255, 102, 0, 0.15);
}

/* Badge / Pillole Tecnologiche */
.card-arrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ff6600;
    background: rgba(255, 102, 0, 0.1);
    border: 1px solid rgba(255, 102, 0, 0.3);
    margin-top: 15px;
    width: fit-content;
}

/* Animazione di Scorrimento Lucido sulla Barra Obiettivi */
.progress-bar {
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}