img { max-width: 100%; height: auto; display: block; }

/*
    PATAGUE AQUINO - Premium Dessert Baking Masterclass
    Cyberpunk Clean Aesthetic: Dark #111 bg with electric blue and magenta neon highlights.
    Theme: Dark
    Typography: Anton (headings) + Nunito (body)
*/

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Nunito:wght@300;400;600;700&display=swap');

/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }
body, html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', system-ui, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    color: var(--text);
    background: var(--bg);
    padding-bottom: 80px; /* Padding for fixed bottom nav */
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* === PREMIUM TOKENS === */
:root {
    --bg: #0a0a0a;
    --bg-darker: #050505;
    --text: #f0f0f0;
    --text-muted: #a0a0a0;
    --accent: #00d2ff; /* Electric Blue */
    --accent-secondary: #ff00ff; /* Magenta */
    --gold: #d4af37;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-neon-blue: 0 0 20px rgba(0, 210, 255, 0.4);
    --shadow-neon-magenta: 0 0 20px rgba(255, 0, 255, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* === STRUCTURAL BASELINES === */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

section {
    padding: 100px 0;
    position: relative;
}

.section-tight {
    padding: 60px 0;
}

@media (max-width: 768px) {
    section { padding: 4rem 0; }
    .glass-panel { padding: 1.5rem; }
}

/* === BACKGROUND BLOBS === */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--accent);
    filter: blur(120px);
    opacity: 0.15;
    border-radius: 50%;
    animation: move 20s infinite alternate linear;
}

.blob-2 {
    background: var(--accent-secondary);
    right: -100px;
    top: 20%;
    animation-delay: -5s;
}

.blob-3 {
    background: var(--gold);
    bottom: -100px;
    left: 20%;
    animation-delay: -10s;
}

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 100px) scale(1.2); }
}

/* === NAVIGATION === */
/* Floating Pill Nav (Top) */
.pill-nav-wrapper {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1001;
    display: flex;
    justify-content: center;
}

.pill-nav {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 12px 30px;
    display: flex;
    gap: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.pill-nav a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pill-nav a.active, .pill-nav a:hover {
    color: var(--accent);
}

/* Bottom Nav Bar (Persistent) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.7rem;
    gap: 5px;
    width: 20%;
}

.nav-item i {
    font-size: 1.5rem;
}

.nav-item.active {
    color: var(--accent-secondary);
}

.nav-item:hover {
    color: var(--accent);
}

/* === HERO SECTION (Vertical Split) === */
.hero {
    height: 100vh;
    display: flex;
    padding: 0;
    overflow: hidden;
}

.hero-strip {
    height: 100%;
    position: relative;
}

.hero-img-strip {
    flex: 1.2;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-img-strip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10,10,10,0.5), transparent);
}

.hero-content-strip {
    flex: 1;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

.hero-accent-strip {
    flex: 0.3;
    background: linear-gradient(180deg, var(--accent-secondary), var(--accent));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 120px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 20px;
    color: var(--text);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

@media (max-width: 1024px) {
    .hero { flex-direction: column; height: auto; min-height: 120vh; }
    .hero-img-strip { height: 50vh; width: 100%; flex: none; }
    .hero-content-strip { height: auto; width: 100%; flex: none; padding: 40px 20px; }
    .hero-accent-strip { height: 150px; width: 100%; flex: none; padding-bottom: 40px; }
}

/* === DUOTONE EFFECTS === */
.duotone-box {
    position: relative;
    overflow: hidden;
}

.duotone-box img {
    filter: grayscale(100%) contrast(120%);
    transition: var(--transition);
}

.duotone-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent));
    mix-blend-mode: screen;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
}

.duotone-box:hover img {
    transform: scale(1.05);
}

/* === MASONRY GRID === */
.masonry-grid {
    columns: 3 300px;
    column-gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 2rem;
}

/* === PAPER TEAR DIVIDER === */
.tear-divider {
    width: 100%;
    height: 60px;
    background: var(--bg);
    clip-path: polygon(100% 0, 97% 12%, 94% 4%, 91% 16%, 88% 8%, 85% 20%, 82% 12%, 79% 24%, 76% 16%, 73% 28%, 70% 20%, 67% 32%, 64% 24%, 61% 36%, 58% 28%, 55% 40%, 52% 32%, 49% 44%, 46% 36%, 43% 48%, 40% 40%, 37% 52%, 34% 44%, 31% 56%, 28% 48%, 25% 60%, 22% 52%, 19% 64%, 16% 56%, 13% 68%, 10% 60%, 7% 72%, 4% 64%, 1% 76%, 0 68%, 0 100%, 100% 100%);
    margin-top: -59px;
    position: relative;
    z-index: 5;
}

.tear-divider.top {
    transform: rotate(180deg);
    margin-top: 0;
    margin-bottom: -59px;
}

/* === UI COMPONENTS === */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.card-lift:hover {
    transform: perspective(1000px) rotateX(2deg) translateY(-10px);
    border-color: var(--accent);
}

.cta-underline {
    display: inline-block;
    font-family: 'Anton', sans-serif;
    font-size: 1.2rem;
    padding-bottom: 5px;
    position: relative;
    text-transform: uppercase;
}

.cta-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.cta-underline:hover::after {
    width: 100%;
    background: var(--accent-secondary);
}

/* === TAB-BASED SHOWCASE === */
.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-headers {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: 1px solid var(--glass-border);
    padding: 10px 25px;
    color: var(--text-muted);
    font-family: 'Anton', sans-serif;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
    box-shadow: var(--shadow-neon-blue);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .tab-panel.active { grid-template-columns: 1fr; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === TESTIMONIALS === */
.testimonial-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.testimonial-row.reverse {
    flex-direction: row-reverse;
}

.testimonial-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    flex-shrink: 0;
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-muted);
    position: relative;
    padding: 20px;
}

@media (max-width: 768px) {
    .testimonial-row, .testimonial-row.reverse { flex-direction: column; text-align: center; }
}

/* === STATS & AWARDS === */
.awards-bar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    opacity: 0.7;
}

.award-item {
    text-align: center;
}

.award-year {
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--gold);
}

@media (max-width: 1024px) {
    .awards-bar { grid-template-columns: repeat(3, 1fr); }
}

/* === SOCIAL FEED === */
.social-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.social-card {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-sm);
}

.social-card:hover .social-overlay {
    opacity: 1;
}

.social-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .social-feed { grid-template-columns: repeat(2, 1fr); }
}

/* === TIMELINE FOOTER === */
.footer-timeline {
    border-top: 1px solid var(--glass-border);
    padding: 60px 0;
}

.timeline-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    position: relative;
}

.timeline-row::after {
    content: '';
    position: absolute;
    top: 50%; left: 0; width: 100%; height: 1px;
    background: var(--glass-border);
    z-index: 1;
}

.timeline-point {
    position: relative;
    z-index: 2;
    background: var(--bg);
    padding: 0 10px;
    text-align: center;
}

.timeline-year {
    font-family: 'Anton', sans-serif;
    color: var(--accent);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--text);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-secondary);
}

@media (max-width: 1024px) {
    .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer-main { grid-template-columns: 1fr; }
    .timeline-row { display: none; }
}

/* === FORM STYLING === */
.contact-form {
    display: grid;
    gap: 20px;
}

.input-field {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 15px;
    color: var(--text);
    width: 100%;
    outline: none;
}

.input-field:focus {
    border-color: var(--accent);
}

.submit-btn {
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

/* === UTILITIES === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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