/* 
  Ponto de Partida Design - Stylesheet
  Focus: Minimalist, Premium, Professional, Faith-based (Subtle)
*/

:root {
    /* Palette */
    --color-primary: #0F172A;
    /* Deep Navy / Azul Profundo */
    --color-secondary: #C5A059;
    /* Muted Gold / Dourado Muted */
    --color-bg: #F9F9F7;
    /* Off-white warm / Papel */
    --color-bg-alt: #EAEAEA;
    /* Light Gray for sections */
    --color-text: #334155;
    /* Slate Gray / Cinza Ardósia */
    --color-text-light: #64748B;
    /* Lighter text */
    --color-white: #ffffff;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-container: 1200px;
    --spacing-section: 6rem;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--spacing-section) 0;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 500;
    border-radius: 4px;
    letter-spacing: 0.5px;
    border: 1px solid var(--color-primary);
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

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

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* ... Utilities ... */
.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Header */
.site-header {
    padding: 2rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
    display: flex;
    flex-direction: column;
    line-height: 0.8;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-left: 2px;
    margin-top: 4px;
}

.main-nav a {
    margin-left: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
}

.main-nav a:hover {
    color: var(--color-secondary);
}

.main-nav .btn-sm {
    padding: 0.5rem 1.5rem;
    background-color: var(--color-primary);
    color: white;
    border-radius: 4px;
    border: 1px solid transparent;
    /* Prevent layout shift on hover */
    transition: all 0.3s ease;
}

.main-nav .btn-sm:hover {
    background-color: transparent;
    color: var(--color-primary);
    box-shadow: none;
    border: 1px solid var(--color-primary);
}


/* Hero Section */
.hero-section {
    min-height: 90vh;
    /* Almost full screen but showing a peek of next section */
    display: flex;
    align-items: center;
    position: relative;
    /* Subtle gradient - more professional */
    background: radial-gradient(circle at 85% 15%, rgba(247, 247, 240, 0.4) 0%, var(--color-bg) 50%);
}

.hero-content {
    max-width: 800px;
    padding-top: 4rem;
    /* Offset for header */
}

.overline {
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.85rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 600;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.link-secondary {
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 0.95rem;
    color: var(--color-primary);
}

/* Philosophy Section */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: var(--color-secondary);
    border-bottom: 1px solid var(--color-secondary);
    padding-bottom: 0.2rem;
    margin-bottom: 1rem;
}

.philosophy-text p {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

.quote-box {
    border-left: 3px solid var(--color-secondary);
    padding-left: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-primary);
    margin-top: 2rem;
}

/* Abstract Visuals */
.philosophy-visual {
    position: relative;
    height: 500px;
    background-color: #E2E2E2;
    /* Placeholder gray */
    border-radius: 8px;
    /* Soft rounding */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.visual-abstract {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
}

.shape {
    position: absolute;
    z-index: 1;
}

.shape-circle {
    width: 200px;
    height: 200px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    top: 10%;
    right: -50px;
    opacity: 0.2;
}

.shape-rect {
    width: 150px;
    height: 300px;
    background-color: var(--color-primary);
    bottom: -50px;
    left: 10%;
    opacity: 0.1;
}

.img-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-size: 4rem;
    color: #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Reveal Animation Class */
/* Reveal Animation Class - Default Visible for Safety */
.animate-on-scroll {
    opacity: 1;
    /* Changed from 0 to 1 to prevent invisible content */
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

/* Optional: JS can handle adding hidden state if needed, or we keep it simple */
.animate-on-scroll.hidden {
    opacity: 0;
    transform: translateY(30px);
}


.mb-5 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 2rem;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-light);
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

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

/* Portfolio Section - Premium Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 1rem 0;
}

.project-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft premium shadow */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    top: 0;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 380px;
    /* Taller, more elegant aspect ratio */
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
}

/* Mockups with gradient backgrounds for a premium feel */
.img-mockup {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.mockup-book {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}

.mockup-magazine {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.mockup-brand {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.project-card:hover .img-mockup {
    transform: scale(1.05);
}

.card-info {
    padding: 1.5rem;
    text-align: left;
    /* More formal/clean alignment */
}

.card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-weight: 600;
}

.project-cat {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-secondary);
    font-weight: 500;
}

/* Cleanup unused carousel styles */
.portfolio-track-container,
.portfolio-track,
.carousel-btn,
.carousel-indicators {
    display: none;
}

.project-card {
    cursor: pointer;
}

.card-image {
    background-color: #e0e0e0;
    height: 300px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease;
}

.project-card:hover .card-image {
    transform: translateY(-8px);
    /* Increased from -5px for more premium feel */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    /* Enhanced shadow */
}

.card-info {
    padding-top: 1.5rem;
}

.card-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.project-cat {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: var(--color-secondary);
}

/* Mockups (CSS only placeholders) */
.img-mockup {
    width: 100%;
    height: 100%;
    position: relative;
}

.mockup-book {
    background: linear-gradient(45deg, #d4d4d4 0%, #f0f0f0 100%);
}

.mockup-magazine {
    background: linear-gradient(135deg, #ccc 0%, #e6e6e6 100%);
}

.mockup-brand {
    background: linear-gradient(25deg, #ddd 0%, #f4f4f4 100%);
}

/* Differentiators */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.diff-item {
    padding: 2rem;
    background-color: var(--color-bg);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.diff-item:hover {
    transform: translateY(-8px);
    /* Increased for consistency */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.diff-icon {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.diff-item h4 {
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 8rem 0;
}

.contact-text {
    max-width: 500px;
    margin: 1.5rem auto 0;
    color: rgba(255, 255, 255, 0.8);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-white);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-slogan {
    margin-top: 4rem;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    opacity: 0.6;
}

/* Footer (Site) */
.site-footer {
    background-color: #0b1120;
    /* Darker than primary */
    color: #64748B;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive Diff */
@media (max-width: 768px) {
    .diff-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsiveness adjustments */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .header-container {
        flex-direction: column;
        gap: 1.5rem;
        /* Increased from 1rem for better spacing */
    }

    .main-nav {
        margin-top: 0.5rem;
        display: flex;
        gap: 1rem;
        /* Better spacing between nav items */
    }

    .main-nav a {
        margin: 0;
        padding: 0.5rem 1rem;
        /* Better touch targets */
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Portfolio grid on mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}