@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@900&family=Inter:wght@400;500;600&display=swap');

:root {
    --bg-color: #FAF7F2;
    --primary-color: #D6A699;
    --text-color: #3D2B1F;
    --pill-bg: #3D2B1F;
    --pill-text: #FAF7F2;
    --font-heading: 'Barlow Condensed', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 2rem;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    padding: 8rem 2rem 2rem 2rem; /* Adjusted top padding for nav */
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
}

/* Navigation Bar */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 2rem;
    background-color: rgba(250, 247, 242, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(61, 43, 31, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-bar {
        padding: 1rem;
    }
    .nav-links {
        gap: 1.5rem;
    }
    .nav-links a {
        font-size: 0.75rem;
    }
    .nav-logo {
        font-size: 1.1rem;
    }
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.85;
    color: var(--primary-color);
    letter-spacing: 0.02em;
}

.title-large {
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 0.1em;
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
}

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 10rem;
}

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

.hero-text {
    display: flex;
    flex-direction: column;
}

.hero-image {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    border-radius: var(--border-radius);
    background-color: #eee;
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        height: auto;
    }
    .hero-image {
        height: 50vh;
        order: -1;
    }
}

/* About Section */
.about {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pill {
    background-color: var(--pill-bg);
    color: var(--pill-text);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    display: inline-block;
    width: fit-content;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

.about-text {
    font-size: 1.25rem;
    max-width: 500px;
}

/* Image Grid Layout */
.gallery-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gallery-row {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.gallery-item {
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    background-color: #eee;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .about {
        grid-template-columns: 1fr;
    }
    .gallery-row {
        flex-direction: column;
    }
    .gallery-item {
        height: 300px !important;
    }
}

/* TikTok Section */
.tiktoks {
    margin-bottom: 10rem;
}

.ugc-category {
    margin-top: 4rem;
}

.category-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    text-transform: uppercase;
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.tiktok-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tiktok-item {
    width: 100%;
    min-height: 600px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: white;
    box-shadow: 0 10px 30px rgba(61, 43, 31, 0.05);
}

.tiktok-subtitle {
    text-align: left;
    color: var(--text-color);
    padding: 1rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0;
}

.tiktok-placeholder {
    width: 100%;
    height: 600px;
    background-color: #e0e0e0;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.tiktok-placeholder:hover .play-button {
    transform: scale(1.1);
    background-color: var(--primary-color);
}

.play-button {
    width: 70px;
    height: 70px;
    background-color: rgba(61, 43, 31, 0.85); /* text-color with opacity */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.play-button::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent white;
    margin-left: 6px; /* Offset to visually center the triangle */
}

@media (max-width: 992px) {
    .tiktok-placeholder { height: 500px; }
}

@media (max-width: 768px) {
    .tiktok-placeholder { height: 450px; }
}

@media (max-width: 480px) {
    .tiktok-placeholder { height: 400px; }
}

.tiktok-embed {
    margin: 0 !important;
}

/* Contact Section */
.contact {
    text-align: center;
    padding: 10rem 0;
}

.contact-content {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-content p {
    font-size: 1.5rem;
}

.contact-email {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-email:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .contact-email {
        font-size: 1.5rem;
    }
}

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
    border-top: 1px solid rgba(61, 43, 31, 0.1);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

.js .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

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

/* ========================================
   RESPONSIVE - Tablet (769px - 992px)
   ======================================== */
@media (max-width: 992px) {
    body {
        padding: 6rem 1.5rem 1.5rem 1.5rem;
    }

    section {
        min-height: auto;
        margin-bottom: 6rem;
    }

    .tiktok-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tiktok-item {
        min-height: 500px;
    }

    .tiktok-item iframe {
        height: 500px !important;
    }

    .ugc-category {
        margin-top: 3rem;
    }

    .contact {
        padding: 6rem 0;
    }

    .contact-email {
        font-size: 2rem;
    }
}

/* ========================================
   RESPONSIVE - Celular (max 768px)
   ======================================== */
@media (max-width: 768px) {
    body {
        padding: 5rem 1rem 1rem 1rem;
    }

    section {
        min-height: auto;
        margin-bottom: 4rem;
    }

    /* Hero */
    .hero {
        gap: 2rem;
    }

    .hero-image {
        height: 60vh;
    }

    /* About */
    .about {
        gap: 2rem;
    }

    .about-text {
        font-size: 1rem;
    }

    /* UGC Section */
    .tiktoks {
        margin-bottom: 4rem;
    }

    .ugc-category {
        margin-top: 2.5rem;
    }

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

    .tiktok-item {
        min-height: 450px;
    }

    .tiktok-item iframe {
        height: 450px !important;
    }

    .tiktok-subtitle {
        font-size: 0.75rem;
        padding: 0.75rem 1rem;
    }

    /* Contact */
    .contact {
        padding: 4rem 0;
    }

    .contact-content p {
        font-size: 1.1rem;
    }

    /* Footer */
    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
}

/* ========================================
   RESPONSIVE - Celular chico (max 480px)
   ======================================== */
@media (max-width: 480px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.65rem;
    }

    .nav-logo {
        font-size: 0.95rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .tiktok-item {
        min-height: 400px;
    }

    .tiktok-item iframe {
        height: 400px !important;
    }

    .contact-email {
        font-size: 1.2rem;
        word-break: break-all;
    }

    .social-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}
