/* =======================================
   TYPOGRAPHY SYSTEM – OPTION C (Minimal)
   Font: Montserrat
   Applies to ALL sections & screens
======================================= */

/* Base font + body */
html, body {
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #e2e8f0;           /* slate-200 */
    background-color: #020617; /* slate-950 (dark background) */
    text-rendering: optimizeLegibility;
}

/* ============ HEADINGS ============ */
/* Elegant, slightly lighter, responsive with clamp() */

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 500;
    color: #f9fafb; /* near white */
}

/* Hero / main page title */
h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);  /* ~38px → 54px */
    line-height: 1.15;
    letter-spacing: -0.03em;
}

/* Section titles (About, Services, etc.) */
h2 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);  /* ~30px → 40px */
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Subsection headings */
h3 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);  /* ~24px → 32px */
    line-height: 1.3;
}

/* Smaller headings / cards */
h4 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.35;
}

h5 {
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    line-height: 1.4;
}

h6 {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #94a3b8; /* subtle slate */
}

/* ============ PARAGRAPHS ============ */

p {
    font-size: clamp(0.95rem, 1.1vw, 1.05rem); /* ~15–17px */
    line-height: 1.8;
    color: #cbd5e1; /* slate-300 */
    font-weight: 400;
    margin: 0 0 0.75rem 0;
}

/* More compact paragraphs (footer, meta text) */
p.small,
.small-text {
    font-size: clamp(0.8rem, 0.95vw, 0.9rem);
    line-height: 1.6;
    color: #9ca3af; /* gray-400 */
}

/* Muted / helper text */
.text-muted {
    color: #6b7280; /* gray-500 */
}

/* ============ LINKS ============ */

a {
    color: #e11d48; /* accent rose-600 */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
    color: #fb7185; /* rose-400 */
    opacity: 0.9;
}

/* For navigation links already styled by Tailwind,
   this gives them a subtle consistent feel */
.nav-link {
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ============ BUTTONS ============ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.8rem;
    border-radius: 999px;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    gap: 0.5rem;
}

/* Minimal primary button */
.btn-primary {
    background-color: #e11d48;
    color: #f9fafb;
}

.btn-primary:hover {
    background-color: #be123c;
    transform: translateY(-1px);
}

/* Outline button */
.btn-outline {
    background-color: transparent;
    border-color: #e11d48;
    color: #e11d48;
}

.btn-outline:hover {
    background-color: #e11d48;
    color: #f9fafb;
}

/* Ghost button (no border) */
.btn-ghost {
    background-color: transparent;
    color: #e11d48;
}

.btn-ghost:hover {
    color: #f9fafb;
}

/* ============ ACCENT UTILITIES ============ */

:root {
    --accent: #e11d48;
    --accent-soft: #f43f5e;
    --accent-muted: #9f1239;
}

.accent       { color: var(--accent); }
.accent-soft  { color: var(--accent-soft); }
.accent-muted { color: var(--accent-muted); }
.bg-accent    { background-color: var(--accent); }

/* ============ EMPHASIS ============ */

strong {
    font-weight: 600;
    color: #f9fafb;
}

em {
    font-style: italic;
}

/* ============ SECTION HELPERS (OPTIONAL) ============ */

.section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-title {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    color: #94a3b8;
    max-width: 34rem;
    margin: 0.5rem auto 2rem auto;
}

/* Font end */

/* header css */
.auto-header {
    width: auto;
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
}

.auto-header,
.auto-header img {
    transition: all 0.4s ease;
}

header.shrink .logo-anim {
    transform: scale(0.9);
}

header.shrink .auto-header {
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
}

/* ABOUT – slow bounce for arrow */
@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 1.6s infinite;
}

/* ABOUT 1 – (paragraph opacity controlled by Motion, no extra CSS needed) */


/* ABOUT 2 – IMAGE + HOTSPOTS */

.scroll-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

/* If still used somewhere else */
.scroll-image {
    width: min(70vw, 480px);
    height: auto;
    border-radius: 1.5rem;
    object-fit: cover;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.75);
    transition:
        width 0.6s ease,
        height 0.6s ease,
        border-radius 0.6s ease,
        transform 0.6s ease,
        box-shadow 0.6s ease;
}

.scroll-image.is-circle {
    width: 180px;
    height: 180px;
    border-radius: 999px;
    transform: translateY(-10px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.85);
    object-fit: cover;
}

@media (max-width: 480px) {
    .scroll-image.is-circle {
        width: 140px;
        height: 140px;
    }
}

/* Container around image + pins */
.about-visual-image {
    position: relative;
    display: inline-block;
    margin-top: 2rem;
}

/* Base pin styling */
.about-pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    color: #e5e7eb;
    opacity: 0; /* will be animated in with Motion */
    pointer-events: none;
}

.about-pin-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 2px solid #f97373;
    background: rgba(248, 113, 113, 0.2);
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.15);
}

.about-pin-label {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(6px);
    white-space: nowrap;
}

/* Pin positions */
.about-pin--top {
    top: 10%;
    left: 50%;
}

.about-pin--left-upper {
    top: 30%;
    left: 14%;
}

.about-pin--left-lower {
    top: 70%;
    left: 18%;
}

.about-pin--right-upper {
    top: 28%;
    left: 86%;
}

.about-pin--right-lower {
    top: 72%;
    left: 82%;
}

/* Small tweaks for very small screens */
@media (max-width: 480px) {
    .about-pin-label {
        font-size: 0.6rem;
        padding: 2px 6px;
    }
}
