/* assets/css/style.css

/* Permanent Marker (for the "fast pass" text) */
@font-face {
    font-family: 'PermanentMarker';
    src: url('../fonts/PermanentMarker-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Plus Jakarta Sans - Regular (400) */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Plus Jakarta Sans - Bold (700) */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Optional: If you need italic or other weights, replicate with correct filenames & weights
  @font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
  }
  @font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
  }
  */

/* 
    ========== BASE STYLES & TYPOGRAPHY ==========
    (No references to Google Fonts; we rely solely on local fonts)
  */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Smooth scrolling for anchor links */
}

body {
    /* Use local Plus Jakarta Sans by default (regular) */
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    background: #fff;
    text-align: center;
    /* Center all text by default */
}

/* Headings & logo use Plus Jakarta Sans Bold (700) */
h1,
h2,
h3,
h4,
h5,
h6,
.logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

/* Use Permanent Marker font for the "fast pass" text */
.fast-pass {
    font-family: 'PermanentMarker', cursive;
    font-size: 5rem;
}

.talk {
    color: orange;
    /* or #ffa500, etc. */
}

.meet {
    color: #2ecc71;
    /* or #059000, etc. */
}

.mobile-br {
    display: none;
}

/* Heading styles */
h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.3rem;
    font-weight: 500;
    /* optional: can keep at 700 if you prefer */
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    margin: 0.5rem 0 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Theme Colors */
:root {
    --primary-color: #0286ff;
    /* Brand purple */
    --secondary-color: #0286ff;
    /* Brand blue */
}

/* Header & Navigation */
nav {
    background: #fff;
    padding: 0.5rem 1.5rem;

    /* add this: */
    position: relative;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-align: left;
    /* Keep the logo text left-aligned in the header */
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline-block;
    margin: 0 0.5rem;
}

nav ul li a {
    font-weight: 500;
    /* Medium style look; you can keep 400 or 700 if needed */
    padding: 0.25rem;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Navigation hover effects */
nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 6rem 1rem 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    /* Stack hero text in a column, center it */
    align-items: center;
}

.hero-text {
    max-width: 800px;
}

.hero-text h1 {
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
    margin-bottom: 3rem;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Features Section */
#features {
    background: #fff;
    padding: 4rem 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: #f9f9f9;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.feature-item:nth-child(1) .feature-icon {
    color: var(--primary-color);
}

.feature-item:nth-child(2) .feature-icon {
    color: #f4b400;
}

/* orange-gold */
.feature-item:nth-child(3) .feature-icon {
    color: var(--secondary-color);
}

.feature-item:nth-child(4) .feature-icon {
    color: #2ecc71;
}

/* green */

/* About/Why Pinpot Section */
#about {
    background: #fdf8ff;
    /* very light purple tint */
    padding: 2rem 1rem;
}

#about .container {
    max-width: 1000px;
    margin: 0 auto;
}

#about p {
    max-width: 700px;
    margin: 0.5rem auto 1rem;
    /* center paragraphs in #about */
}

.benefits-list {
    list-style: none;
    margin: 1rem auto 0;
    padding: 0;
    display: inline-block;
    /* center the overall list container */
    text-align: left;
    /* item text left-aligned for better readability */
}

.benefits-list li {
    margin: 0.75rem 0;
    text-align: left;
}

.benefits-list i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Call-to-Action Section */
.cta {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
}

@media (max-width: 768px) {
    .cta {
        background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
        color: #fff;
        text-align: center;
        padding: 1rem 1rem;
    }
}

.cta h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* The key update to fix alignment */
.cta-form {
    display: flex;
    /* instead of inline-flex */
    flex-wrap: wrap;
    justify-content: center;
    /* center horizontally */
    align-items: center;
    /* align input/button on same baseline */
}

.cta-form input[type="email"] {
    padding: 0.8rem 1rem;
    margin: 0.5rem;
    /* uniform margins around each item */
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.cta-form input::placeholder {
    color: #555;
}

.cta-form button {
    padding: 0.8rem 1.5rem;
    margin: 0.5rem;
    font: inherit;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    background: #fff;
    color: var(--primary-color);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.cta-form button:hover {
    opacity: 0.9;
}

/* Footer */
footer {
    background: #111;
    color: #ccc;
    padding: 1rem 1rem;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

footer .social {
    margin-left: 1rem;
}

footer .social a {
    color: #ccc;
    margin-left: 1rem;
    font-size: 1.2rem;
}

footer .social a:hover {
    color: #fff;
}

/* Responsive Design - Media Queries */
/* Mobile menu (for screens <= 768px) */
@media (max-width: 768px) {
    nav .container {
        flex-direction: row;
        align-items: center;
    }

    .fast-pass {
        font-size: 3rem;
    }

    .mobile-br {
        display: inline;
    }



    #hero h1 {
        /* display: none; */
        font-size: 1.5rem;
    }

    nav ul#menu {
        display: none;
        position: absolute;
        top: 60px;
        right: 1.5rem;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 4px;
        width: 200px;
        text-align: right;
        padding: 0.5rem 1rem;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    #hero {
        padding: 2rem 1rem 2rem;
        /* Adjust as needed */
    }

    footer p {
        font-size: 0.8rem;
        /* or however small you want it on mobile */
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    nav ul#menu.open {
        display: block;
    }

    nav ul#menu li {
        display: block;
        margin: 0.5rem 0;
    }

    nav ul#menu li a {
        display: inline-block;
    }

    .hamburger {
        display: block;
        font-size: 1.5rem;
        color: #333;
    }
}

@media (max-width: 768px) {

    /* any language except “en” */
    html:not([lang="en"]) .fast-pass .meet {
        font-size: 0.6em;
    }

}


/* Desktop menu adjustments (screens > 768px) */
@media (min-width: 769px) {
    nav ul#menu {
        display: inline-block;
        position: static;
        width: auto;
        padding: 0;
        border: none;
        background: none;
    }

    nav ul#menu li {
        margin: 0 1rem;
    }

    .hamburger {
        display: none;
    }
}

#contact-section {
    padding: 4rem 1rem;
    background: #fff;
}

#contact-section form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#contact-section label {
    margin-top: 1rem;
    text-align: left;
}

#contact-section input,
#contact-section textarea {
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#contact-form button {
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#contact-form button:hover {
    opacity: 0.9;
}

/* Contact‑page hero re‑uses the brand gradient for consistency */
#contact-hero {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-align: center;
    padding: 5rem 1rem 3rem;
}

#contact-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

#contact-hero p {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 1.5rem;
}

/* ─── Contact‑form tweaks ─────────────────────────────────────────────── */

/* Give every form‑group consistent vertical spacing */
#contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
    /* ↑ more breathing room */
}

/* Make all fields full‑width and identical height */
#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font: inherit;
    /* keep typography consistent */
    transition: border-color 0.25s;
}

#contact-form textarea {
    min-height: 140px;
    /* comfortable writing space */
    resize: vertical;
    /* allow user to stretch if needed */
}

/* Subtle focus state to match brand colour */
#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(2, 134, 255, 0.15);
}

/* ─── Contact‑hero layout ─────────────────────────────────────────────── */
#contact-hero {
    display: flex;
    /* vertical centering */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* keep both lines centred */
    padding: 5rem 1rem 3rem;
    /* already set, but OK to repeat */
}

#contact-hero .container {
    max-width: 760px;
    /* keeps lines nicely wrapped */
    margin: 0 auto;
}

#contact-hero h1 {
    font-size: 2.4rem;
    letter-spacing: -0.5px;
}

#contact-hero p {
    font-size: 1.15rem;
    margin-top: 0.75rem;
    line-height: 1.55;
}

/* FAQ layout */
.faq-item {
    margin-bottom: 1.5rem;
    text-align: left;
}

.faq-item p {
    margin: 0.25rem 0;
}

.faq-item strong {
    display: block;
    font-weight: 700;
}

#contact-section .g-recaptcha {
    display: block;
    margin: auto;
}

/* ───────────────────────────
   REVEAL ANIMATION
   ─────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.show {
    opacity: 1;
    transform: none;
    transition: opacity .6s ease-out, transform .6s ease-out;
}

/* ───────────────────────────
   HERO IMAGE & ABOUT FLEX
   ─────────────────────────── */
.hero-img {
    width: 650px;
    max-width: 45vw;
    margin-top: 0rem;
    margin-bottom: 4rem;
}

.about-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2.5rem;
}

.about-copy {
    flex: 1 1 300px;
    text-align: left;
}

.about-img {
    width: 340px;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .08);
}

/* ───────────────────────────
   STICKY NAV (glass blur)
   ─────────────────────────── */
#main-nav.sticky {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
    transition: background .3s ease, box-shadow .3s ease;
}



#typewriter {
    display: inline-block;
    /* let width/height apply */
    white-space: pre-wrap;
    /* wrap text to 2nd line */
    word-break: break-word;
    /* break long words if needed */
    line-height: 1.6em;
    /* match your body line-height */
    min-height: calc(2 * 1.6em);
    /* two lines tall */
    overflow: hidden;
    /* hide anything beyond 2 lines */
}

/* ─── REMOVE EXTRA GAP BELOW THE TYPEWRITER ───────── */
#hero h1 {
    margin: 0rem;
    /* remove default bottom margin */
    padding-bottom: 0.2em;
    /* optional: tiny breathing room */
}

/* ─── Feature rows – new layout ───────────────────────────── */
.feature-row {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Changed from space-between to center for tighter alignment */
    gap: 10rem;
    /* Reduced gap for closer text-image alignment */
    margin: 3rem 2rem;
    /* Reduced side margins to allow more centering space */
}

.feature-row.reverse {
    flex-direction: row-reverse;
    /* Swaps order for rows 2 & 4 */
}

/* Text “card” */
.feature-text {
    flex: 0 0 45%;
    /* max 45% of the row */
    max-width: 40%;
    background: #fff;
    /* white card */
    padding: 5rem;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* Headings bigger & bold */
.feature-text h3 {
    font-size: 3rem;
    /* ~28px */
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* Body copy larger */
.feature-text p {
    font-size: 1.25rem;
    /* ~18px */
    line-height: 1.6;
}

.feature-img {
    flex: 0 45% 0;
    /* match text width */
    max-width: 20%;
    opacity: 0;
    transition: transform 1s ease-out, opacity .6s ease-out;
}

/* Updated animation starting offsets */
.slide-from-right {
    transform: translateX(300px);
    /* Increased from 80px */
}

.slide-from-left {
    transform: translateX(-300px);
    /* Increased from -80px */
}

/* final state */
.slide-from-right.show,
.slide-from-left.show {
    transform: translateX(0);
    opacity: 1;
}

.features-wrapper {
    /* spans the viewport, regardless of .container’s padding/margins */
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    overflow-x: hidden;
}

/* Mobile: stack text over image */
@media (max-width: 768px) {


    .feature-row {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        /* push items toward center */
        gap: 2rem;
        margin: 3rem 2rem;
    }

    .feature-row.reverse {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 2rem 1rem;
    }

    .feature-text {
        order: 1;
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
        text-align: center;
    }

    .feature-img {
        order: 2;
        width: 90%;
        max-width: 90%;
        margin: 1rem 0 0;
    }

    /* headings & body copy smaller */
    .feature-text h3 {
        font-size: 1.5rem;
        /* instead of 3rem */
    }

    .feature-text p {
        font-size: 1rem;
        /* instead of 1.75rem */
        line-height: 1.5;
    }

    #hero .hero-img {
        width: 75%;
        max-width: 75%;
        height: auto;
        margin: 0 auto 2.5rem;
        margin-top: 1.5rem;
        /* keep it centered and preserve your chosen bottom gap */
    }
}

/* Distinct backgrounds per feature row */
.feature-row:nth-of-type(1) .feature-text {
    background: #fef3c7;
    /* light yellow */
}

.feature-row:nth-of-type(2) .feature-text {
    background: #cffafe;
    /* light cyan */
}

.feature-row:nth-of-type(3) .feature-text {
    background: #fed7aa;
    /* light peach */
}

.feature-row:nth-of-type(4) .feature-text {
    background: #ede9fe;
    /* light lavender */
}

#back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

#back-to-top:hover {
    opacity: 1;
}

/* DOWNLOAD GRID now: title + copy full-width, 2 equal columns below */
.dl-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* badge + qr stacked */
.stores {
    display: flex;
    justify-content: center;
    gap: 16rem;
    flex-wrap: wrap;
}

.store {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.store .qr {
    width: 300px;
    margin-top: 4rem;
}

@media (max-width:480px) {
    .stores {
        flex-direction: column;
        gap: 4rem;
    }

    .store .qr {
        width: 300px;
        margin-top: 2rem;
    }

    /* one under another on tiny screens */
}

/* Wraps your badge <img> so you can size it */
.store-badge {
    display: inline-block;
    width: 300px;
    /* desktop size */
    max-width: 100%;
    /* never overflow its container */
}

/* Make sure the image fills that wrapper */
.store-badge img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {

    /* 1) Heading spans 80% of the viewport width */
    #download h2 {
        display: block;
        /* allow width to take effect */
        width: 80vw;
        /* 80% of the viewport */
        max-width: 80vw;
        margin: 0 auto 1rem;
        /* center + breathing room */
        font-size: clamp(1rem, 8vw, 2rem);
        line-height: 1.2;
        text-align: center;
    }

    /* 2) Only hide the QR codes on phones */
    .store .qr {
        display: none !important;
    }

    /* 3) Resize badges to 80% of the viewport */
    .store-badge {
        display: inline-block;
        /* ensure width applies */
        width: 75vw !important;
        max-width: 75vw !important;
    }

    .store-badge img {
        width: 100%;
        height: auto;
    }

    #download.cta {
        /* shrink the bottom padding under the grid */
        padding-bottom: 1rem;
        /* was 3rem */
    }

    /* 2) If you also want to tighten the gap *inside* the grid
        (between the heading, the copy, and the badges), dial this in */
    .dl-grid {
        gap: 0.5rem;
        /* was 2rem */
    }
}

/* ─── Tweak “Why Pinpot” section ───────────────────────────── */
#about .about-img {
    display: none;
    /* hide the illustration */
}

/* make the flex container stack & center its only child */
#about .about-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* center all of the copy */
#about .about-copy {
    text-align: center;
    max-width: 700px;
    /* or whatever your ideal line-length is */
    margin: 0 auto 2rem;
    /* optional bottom gap */
}

@media (max-width: 480px) {

    /* reduce the space between the two .store blocks */
    .stores {
        gap: 2rem;
        /* instead of 4rem */
    }

    /* bring the QR closer to the badge */
    .store .qr {
        margin-top: 1rem;
        /* or even 0 if you want them snug */
    }
}

.mobile-lang-switch {
    display: none;
}

@media (max-width: 768px) {
    .container {
        position: relative;
    }

    /* hide the in-menu dropdown on mobile */
    nav ul#menu .lang-switch {
        display: none;
    }

    /* show & center the new selector */
    .mobile-lang-switch {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .mobile-lang-switch select {
        font-size: 0.9rem;
        padding: 0.25rem;
    }
}

/* ─── LANGUAGES SECTION ───────────────────────────────────────── */

/* LANGUAGES SECTION */
.languages-section {
    background: #fef3c7;
    padding: 2rem 1rem;
    text-align: center;
}

.languages-section h2 {
    font-size: 3rem;
    /* Desktop font size */
    margin-bottom: 3rem;
    /* Desktop margin */
}

.languages-section .flags-row {
    display: flex;
    justify-content: center;
    gap: 10rem;
    /* Desktop gap between flags */
}

/* Base flag size (used as fallback, but overridden by media queries) */
.languages-section .fi {
    display: inline-block;
}

/* Desktop: larger flags */
@media (min-width: 769px) {
    .languages-section .fi {
        width: 20rem;
        /* Desktop size */
        height: 10rem;
        /* Adjusted to maintain 4:3 aspect ratio */
    }
}

/* Mobile: customize font size, gaps, and flag sizes */
@media (max-width: 768px) {
    .languages-section h2 {
        font-size: 1.5rem;
        /* Smaller font size for mobile */
        margin-bottom: 1rem;
        /* Reduced margin for mobile */
    }

    .languages-section .flags-row {
        gap: 1rem;
        /* Smaller gap between flags for mobile */
    }

    .languages-section .fi {
        width: 4rem;
        /* Smaller flag size for mobile */
        height: 3rem;
        /* Maintains 4:3 aspect ratio */
    }
    .feature-row:last-child {
    margin-bottom: 0rem;
}
}