/* =============================================
   HONTORIA PRINTING SERVICES — HomePage.css
   Contains styles for Hero, Why Us, and Mission/Vision
   ============================================= */

:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --ink: #111827;
    --gray-dark: #1f2937;
    --gray-mid: #6b7280;
    --gray-light: #f3f4f6;
    --accent: #e63946;
    --accent-2: #f4a261;
    --accent-dark: #c1121f;
    --blue-fb: #1877f2;
    --border: #e5e7eb;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.18);
    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --header-h: 72px;
    --orderbar-h: 36px;
    --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   1. HERO SECTION & CAROUSEL
   ============================================= */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h) - var(--orderbar-h));
    min-height: calc(100dvh - var(--header-h) - var(--orderbar-h));
    display: flex;
    align-items: center;
    padding: 60px 32px 80px;
    gap: 40px;
    overflow: hidden;
    max-width: 100%;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--gray-light);
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    animation: floatBlob 8s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #ff6b6b, transparent);
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #f4a261, transparent);
    bottom: -100px;
    left: -80px;
    animation-delay: -3s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #74b9ff, transparent);
    top: 50%;
    left: 40%;
    animation-delay: -5s;
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

@keyframes floatBlob {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(20px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-15px, 20px) scale(0.95);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    max-width: 480px;
    animation: fadeSlideUp 0.8s ease both;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
    background: rgba(230, 57, 70, 0.08);
    border: 1px solid rgba(230, 57, 70, 0.25);
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }
}

.hero-title {
    font-weight: 900;
    font-size: clamp(44px, 6.5vw, 80px);
    font-size: clamp(44px, 6.5dvw, 80px);
    line-height: 1.0;
    letter-spacing: -1.5px;
    color: var(--black);
    margin-bottom: 24px;
}

.title-line {
    display: block;
    animation: fadeSlideUp 0.8s ease both;
}

.line-1 {
    animation-delay: 0.1s;
}

.line-2 {
    animation-delay: 0.2s;
}

.accent-text {
    color: var(--accent);
}

.hero-desc {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-mid);
    margin-bottom: 36px;
    max-width: 460px;
    animation: fadeSlideUp 0.8s 0.3s ease both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
    animation: fadeSlideUp 0.8s 0.4s ease both;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-primary {
    background: var(--black);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(230, 57, 70, 0.35);
}

.btn-secondary {
    background: var(--blue-fb);
}

.btn-secondary:hover {
    background: #0e5fcf;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(24, 119, 242, 0.35);
}

.hero-photo {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    width: 100%;
    min-width: 340px;
    animation: fadeSlideUp 0.8s 0.2s ease both;
}

.photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 2.17 / 1;
    border: 3px solid var(--black);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 8px 8px 0 var(--black);
}

.pc-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.pc-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.pc-slide.active {
    opacity: 1;
    visibility: visible;
}

.pc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.50);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, transform 0.25s;
}

.pc-arrow:hover {
    background: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.pc-prev {
    left: 10px;
}

.pc-next {
    right: 10px;
}

.pc-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.pc-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}

.pc-dot.active {
    background: var(--black);
    border-color: var(--black);
    transform: scale(1.35);
}

.float-badge {
    position: absolute;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-md);
    animation: floatBadge 3s ease-in-out infinite;
    z-index: 20;
}

.badge-sublim {
    background: var(--black);
    color: var(--white);
    bottom: -16px;
    left: 20px;
    animation-delay: 0s;
}

.badge-tarp {
    background: var(--accent);
    color: var(--white);
    top: -16px;
    right: 20px;
    animation-delay: -1.5s;
}

/* =============================================
   2. WHY US — BLACK BACKGROUND
   ============================================= */
.why-us {
    position: relative;
    padding: 100px 32px;
    overflow: hidden;
}

.why-bg {
    position: absolute;
    inset: 0;
    background: #000000 !important;
    z-index: 0;
}

.why-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.why-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.why-item {
    text-align: center;
    padding: 36px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    transition: background var(--transition), transform var(--transition);
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-4px);
}

.why-icon {
    width: 56px;
    height: 56px;
    background: #CC1A00;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    font-size: 22px;
    color: #ffffff;
    margin: 0 auto 18px;
}

.why-item h4 {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.3px;
    color: #ffffff;
    margin-bottom: 10px;
}

.why-item p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

/* =============================================
   3. MISSION & VISION
   ============================================= */
.mv-section {
    position: relative;
    padding: 100px 32px;
    background: #0a0a0a;
    overflow: hidden;
}

.mv-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.mv-bg-line {
    position: absolute;
    background: rgba(204, 26, 0, 0.12);
    border-radius: 2px;
}

.mv-line-1 {
    width: 2px;
    height: 70%;
    top: 15%;
    left: 8%;
}

.mv-line-2 {
    width: 2px;
    height: 50%;
    bottom: 10%;
    right: 8%;
}

.mv-bg-circle {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.04);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mv-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.mv-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
}

.mv-eyebrow-line {
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.mv-eyebrow-text {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #CC1A00;
    white-space: nowrap;
}

.mv-cards {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.mv-card {
    flex: 1;
    padding: 48px 44px;
    position: relative;
    transition: transform 0.3s ease;
}

.mv-card--mission {
    background: linear-gradient(135deg, #111, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px 0 0 16px;
}

.mv-card--vision {
    background: linear-gradient(135deg, #1a0800, #220a00);
    border: 1px solid rgba(204, 26, 0, 0.2);
    border-radius: 0 16px 16px 0;
}

.mv-card:hover {
    transform: translateY(-4px);
}

.mv-card-number {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 64px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    letter-spacing: -2px;
    font-family: Georgia, serif;
}

.mv-card--vision .mv-card-number {
    color: rgba(204, 26, 0, 0.08);
}

.mv-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 24px;
}

.mv-card--mission .mv-card-icon {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.mv-card--vision .mv-card-icon {
    background: rgba(204, 26, 0, 0.2);
    color: #CC1A00;
}

.mv-card-title {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    font-family: Georgia, serif;
}

.mv-card--mission .mv-card-title {
    color: #ffffff;
}

.mv-card--vision .mv-card-title {
    color: #FF4422;
}

.mv-card-line {
    width: 40px;
    height: 3px;
    border-radius: 2px;
    margin-bottom: 20px;
}

.mv-card--mission .mv-card-line {
    background: rgba(255, 255, 255, 0.2);
}

.mv-card--vision .mv-card-line {
    background: #CC1A00;
}

.mv-card-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 28px;
}

.mv-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 99px;
}

.mv-card--mission .mv-card-tag {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mv-card--vision .mv-card-tag {
    background: rgba(204, 26, 0, 0.12);
    color: #CC1A00;
    border: 1px solid rgba(204, 26, 0, 0.25);
}

.mv-divider {
    width: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
}

.mv-divider-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #CC1A00;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 0 30px rgba(204, 26, 0, 0.4);
}

.mv-quote {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-top: 56px;
    padding: 36px 48px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.mv-quote-mark {
    font-size: 48px;
    font-weight: 900;
    color: #CC1A00;
    line-height: 1;
    font-family: Georgia, serif;
    opacity: 0.6;
}

.mv-quote-text {
    font-size: 17px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    line-height: 1.6;
    font-family: Georgia, serif;
}

/* =============================================
   4. RESPONSIVE (MOBILE SUPPORT)
   ============================================= */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 48px 24px 64px;
        gap: 48px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-photo {
        max-width: 100%;
        width: 100%;
        min-width: unset;
    }

    .photo-frame {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 640px) {
    :root {
        --header-h: 60px;
        --orderbar-h: 32px;
    }

    .hero {
        padding: 36px 16px 52px;
        gap: 36px;
    }

    .hero-title {
        font-size: clamp(44px, 13vw, 72px);
    }

    .hero-title {
        font-size: clamp(44px, 13dvw, 72px);
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .why-us,
    .mv-section {
        padding: 60px 16px;
    }

    .mv-cards {
        flex-direction: column;
    }

    .mv-divider {
        display: none;
    }

    .mv-card {
        padding: 32px 24px;
    }

    .mv-card--mission {
        border-radius: 16px 16px 0 0;
    }

    .mv-card--vision {
        border-radius: 0 0 16px 16px;
    }

    .mv-quote {
        padding: 28px 20px;
        flex-direction: column;
        gap: 4px;
    }
}