﻿/* =========================================================
   Photopalooza – Global Design Tokens
   ========================================================= */

:root {
    /* Backgrounds */
    --pp-bg: #F4F5F7;
    --pp-surface: #FFFFFF;
    /* Text */
    --pp-text-primary: #1F2933;
    --pp-text-body: #3E4C59;
    --pp-text-muted: #7B8794;
    /* Brand */
    --pp-brand-primary: #E63946;
    --pp-accent: #F4A261;
    /* UI */
    --pp-radius-sm: 8px;
    --pp-radius-md: 14px;
    --pp-radius-lg: 20px;
    --pp-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --pp-shadow-md: 0 6px 20px rgba(0, 0, 0, 0.06);
    /* Layout */
    --pp-max-width: 1100px;
}

/* =========================================================
   Global Reset & Base Styles
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--pp-bg);
    color: var(--pp-text-body);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

/* =========================================================
   Layout
   ========================================================= */

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================================================
   Sections
   ========================================================= */

.pp-section {
    width: 100%;
    max-width: var(--pp-max-width);
    padding: 4rem 2rem;
    opacity: 0;
    animation: pp-fade-up 0.6s ease-out forwards;
}

    .pp-section:nth-of-type(1) {
        animation-delay: 0.05s;
    }

    .pp-section:nth-of-type(2) {
        animation-delay: 0.15s;
    }

    .pp-section:nth-of-type(3) {
        animation-delay: 0.25s;
    }

    .pp-section:nth-of-type(4) {
        animation-delay: 0.35s;
    }

    .pp-section:nth-of-type(5) {
        animation-delay: 0.45s;
    }

.pp-surface {
    background: var(--pp-surface);
    border-radius: var(--pp-radius-lg);
    box-shadow: var(--pp-shadow-sm);
}

/* =========================================================
   Hero
   ========================================================= */

.pp-hero {
    max-width: var(--pp-max-width);
    padding: 4.5rem 2rem 3.5rem;
    text-align: center;
}

.pp-logo {
    max-width: 360px;
    height: auto;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .pp-logo {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .pp-logo {
        max-width: 240px;
    }
}

.pp-hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--pp-text-primary);
}

.pp-hero-sub {
    max-width: 720px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
    color: var(--pp-text-body);
}

.pp-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pp-brand-primary);
    background: linear-gradient( 135deg, rgba(244, 162, 97, 0.18), rgba(230, 57, 70, 0.18) );
    border-radius: var(--pp-radius-sm);
}

/* =========================================================
   Typography
   ========================================================= */

h2 {
    margin-top: 0;
    font-size: 1.75rem;
    color: var(--pp-text-primary);
}

p {
    margin: 0.75rem 0 0;
    max-width: 720px;
}

/* =========================================================
   Use Case List
   ========================================================= */

.pp-use-cases {
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

    .pp-use-cases li {
        background: var(--pp-surface);
        padding: 1rem 1.25rem;
        border-radius: var(--pp-radius-md);
        box-shadow: var(--pp-shadow-sm);
        font-weight: 500;
    }

/* =========================================================
   Footer
   ========================================================= */

.pp-footer {
    width: 100%;
    margin-top: 6rem;
    background: linear-gradient( to bottom, rgba(244, 245, 247, 0), rgba(244, 245, 247, 1) );
}

.pp-footer-inner {
    max-width: var(--pp-max-width);
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
    text-align: center;
}

.pp-footer-cta h2 {
    margin-bottom: 1.25rem;
}

.pp-footer-divider {
    width: 100%;
    max-width: 480px;
    height: 1px;
    margin: 3rem auto;
    background: linear-gradient( to right, transparent, rgba(0, 0, 0, 0.12), transparent );
}

.pp-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pp-univexx-badge {
    width: 200px;
    height: auto;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

    .pp-univexx-badge:hover {
        opacity: 1;
    }

.pp-footer-copy {
    font-size: 0.85rem;
    color: var(--pp-text-muted);
}

/* =========================================================
   Contact
   ========================================================= */

.pp-contact {
    font-size: 1.05rem;
    color: var(--pp-text-body);
}

.pp-email {
    display: inline-block;
    margin-top: 0.25rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--pp-text-primary);
    letter-spacing: 0.02em;
}

/* =========================================================
   Fade-In Animation
   ========================================================= */

@keyframes pp-fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pp-section {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   Responsive Tweaks
   ========================================================= */

@media (max-width: 640px) {
    .pp-section {
        padding: 3rem 1.5rem;
    }

    .pp-hero {
        padding: 4rem 1.5rem 3rem;
    }
}
