/*
============================================
CAROL FARIA - PERSONAL ORGANIZER
Design System & Stylesheet

ILLUMINATION THEME PHILOSOPHY:
This stylesheet embodies the concept of 
"light illuminating spaces." The design uses:
- Warm gold tones as primary accents
- Generous whitespace (the "light")
- Soft shadows and glows
- Subtle animations that mimic light reveals
- Grid-based layouts for "organization"
============================================
*/

/* ==========================================
   CSS Custom Properties (Design Tokens)
   ==========================================
   
   ILLUMINATION: These tokens form the core
   color palette. Gold represents warmth and
   light, while neutrals create breathing room.
   ========================================== */

:root {
    /* Primary Colors - "Light & Warmth" */
    --gold-light: #F5E6C8;
    --gold-primary: #D4A853;
    --gold-deep: #B8922E;
    --gold-glow: rgba(212, 168, 83, 0.3);

    /* Neutrals - "Clarity & Space" */
    --white-pure: #FFFFFF;
    --cream: #FFFEF7;
    --gray-light: #F8F7F5;
    --gray-medium: #E8E6E1;
    --gray-text: #5A5A58;
    --charcoal: #2D2D2D;
    --charcoal-deep: #1A1A1A;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows - Soft, diffused for "illumination" effect */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 4px 24px var(--gold-glow);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Layout */
    --container-max: 1200px;
    --header-height: 72px;
}

/* ==========================================
   CSS Reset & Base Styles
   ========================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-text);
    background-color: var(--white-pure);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ==========================================
   Typography
   ========================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
    margin-bottom: var(--space-md);
}

p:last-child {
    margin-bottom: 0;
}

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

strong {
    font-weight: 600;
    color: var(--charcoal);
}

/* ==========================================
   Layout Utilities
   ========================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-4xl) 0;
}

/* 
ILLUMINATION: Alternate sections use a 
subtle cream background to create rhythm
and visual "breathing room" 
*/
.section--alt {
    background-color: var(--gray-light);
}

.section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-3xl);
}

.section__label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-primary);
    margin-bottom: var(--space-sm);
}

.section__title {
    margin-bottom: var(--space-md);
}

.section__description {
    font-size: 1.125rem;
    color: var(--gray-text);
}

/* ==========================================
   Buttons
   
   ILLUMINATION: Primary buttons feature a
   subtle glow effect that expands on hover,
   mimicking light intensifying.
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn--primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-deep));
    color: var(--white-pure);
    box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--gold-glow);
}

.btn--secondary {
    background-color: var(--white-pure);
    color: var(--charcoal);
    border: 2px solid var(--gray-medium);
}

.btn--secondary:hover {
    border-color: var(--gold-primary);
    color: var(--gold-deep);
}

.btn--large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
}

.btn__icon {
    font-size: 1.25em;
}

/* ==========================================
   Header & Navigation
   ========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    background-color: transparent;
    transition: all var(--transition-base);
}

.header--scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
}

/* ILLUMINATION: Logo icon uses the gold accent */
.nav__logo-icon {
    color: var(--gold-primary);
    font-size: 1.5rem;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav__link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-text);
    transition: color var(--transition-fast);
}

.nav__link:hover {
    color: var(--gold-primary);
}

.nav__link--cta {
    background-color: var(--gold-primary);
    color: var(--white-pure);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
}

.nav__link--cta:hover {
    background-color: var(--gold-deep);
    color: var(--white-pure);
}

/* Mobile Navigation Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.nav__toggle-bar {
    width: 24px;
    height: 2px;
    background-color: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.nav__toggle--active .nav__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--active .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav__toggle--active .nav__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   Hero Section
   
   ILLUMINATION: The hero features a radial
   gradient "glow" element that creates the
   illusion of light emanating from the center.
   ========================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
    background: linear-gradient(to bottom, var(--cream), var(--white-pure));
}

/* Illumination effect - soft golden glow */
.hero__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center,
            rgba(245, 230, 200, 0.6) 0%,
            rgba(245, 230, 200, 0.2) 40%,
            transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-2xl) 0;
}

.hero__badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background-color: var(--gold-light);
    color: var(--gold-deep);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xl);
}

.hero__title {
    margin-bottom: var(--space-lg);
}

.hero__title-accent {
    color: var(--gold-primary);
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

/* ==========================================
   About Section
   ========================================== */

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about__image-wrapper {
    position: relative;
}

.about__image {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--gray-light);
}

/* 
ILLUMINATION: Golden decoration element
suggests warmth and professionalism 
*/
.about__image-decoration {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 60%;
    height: 60%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}

.about__image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--gray-text);
}

.about__image-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    opacity: 0.3;
}

.about__image-text {
    font-size: 0.875rem;
    opacity: 0.5;
}

.about__content {
    max-width: 560px;
}

.about__text {
    font-size: 1.0625rem;
    line-height: 1.7;
}

.about__highlights {
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about__highlight-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-weight: 500;
    color: var(--charcoal);
}

.about__highlight-icon {
    color: var(--gold-primary);
    font-size: 1.25rem;
}

/* ==========================================
   Services Section
   
   ILLUMINATION: Service cards have a warm
   gradient that activates on hover, like
   a light turning on.
   ========================================== */

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background-color: var(--white-pure);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

/* Illumination hover glow effect */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold-primary), var(--gold-light));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-light), var(--cream));
    border-radius: var(--radius-md);
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

.service-card__title {
    margin-bottom: var(--space-md);
}

.service-card__description {
    font-size: 0.9375rem;
    margin-bottom: var(--space-lg);
}

.service-card__features {
    margin-bottom: var(--space-xl);
}

.service-card__features li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-size: 0.9375rem;
}

.service-card__features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-size: 0.75rem;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    color: var(--gold-primary);
}

.service-card__link:hover {
    color: var(--gold-deep);
}

.service-card__arrow {
    transition: transform var(--transition-fast);
}

.service-card__link:hover .service-card__arrow {
    transform: translateX(4px);
}

/* ==========================================
   Methodology Section
   
   ILLUMINATION: The step numbers increase
   in brightness/intensity, representing
   the journey from chaos to clarity.
   ========================================== */

.methodology__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.methodology__step {
    display: flex;
    gap: var(--space-xl);
    padding: var(--space-xl);
    background-color: var(--white-pure);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.methodology__step:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

/* 
ILLUMINATION: Step numbers progress from
lighter to more intense gold, representing
the "light growing brighter" as organization
takes shape.
*/
.methodology__step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-deep);
    background: linear-gradient(135deg, var(--gold-light), var(--cream));
    border-radius: var(--radius-md);
}

.methodology__step:nth-child(2) .methodology__step-number {
    background: linear-gradient(135deg, var(--gold-light), rgba(212, 168, 83, 0.3));
}

.methodology__step:nth-child(3) .methodology__step-number {
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.3), rgba(212, 168, 83, 0.5));
}

.methodology__step:nth-child(4) .methodology__step-number {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-deep));
    color: var(--white-pure);
}

.methodology__step-content {
    flex: 1;
}

.methodology__step-title {
    margin-bottom: var(--space-sm);
}

.methodology__step-text {
    font-size: 0.9375rem;
    margin: 0;
}

/* ==========================================
   Portfolio Section
   ========================================== */

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.portfolio-item {
    background-color: var(--white-pure);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.portfolio-item__image {
    aspect-ratio: 4/3;
    background-color: var(--gray-light);
    overflow: hidden;
}

.portfolio-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.portfolio-item:hover .portfolio-item__image img {
    transform: scale(1.05);
}

.portfolio-item__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--gray-text);
}

.portfolio-item__icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    opacity: 0.3;
}

.portfolio-item__text {
    font-size: 0.875rem;
    opacity: 0.5;
}

.portfolio-item__info {
    padding: var(--space-lg);
}

.portfolio-item__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.portfolio-item__category {
    font-size: 0.875rem;
    color: var(--gold-primary);
}

/* ==========================================
   Contact Section
   
   ILLUMINATION: The CTA box features a 
   pulsing glow animation, like a warm
   beacon inviting visitors to reach out.
   ========================================== */

.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.contact__text {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact__method {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background-color: var(--gray-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.contact__method:hover {
    background-color: var(--gold-light);
}

.contact__method--whatsapp {
    background-color: #25D366;
    color: var(--white-pure);
}

.contact__method--whatsapp:hover {
    background-color: #128C7E;
}

.contact__method-icon {
    font-size: 1.5rem;
}

.contact__method-info {
    display: flex;
    flex-direction: column;
}

.contact__method-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.contact__method-value {
    font-weight: 600;
    color: inherit;
}

/* CTA Box with glowing effect */
.contact__cta-box {
    position: relative;
    padding: var(--space-2xl);
    background: linear-gradient(135deg, var(--charcoal), var(--charcoal-deep));
    border-radius: var(--radius-xl);
    text-align: center;
    color: var(--white-pure);
    overflow: hidden;
}

/* Pulsing glow effect */
.contact__cta-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center,
            var(--gold-glow) 0%,
            transparent 50%);
    opacity: 0.5;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

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

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

.contact__cta-title {
    position: relative;
    color: var(--white-pure);
    margin-bottom: var(--space-md);
}

.contact__cta-text {
    position: relative;
    opacity: 0.8;
    margin-bottom: var(--space-xl);
}

.contact__cta-box .btn {
    position: relative;
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    background-color: var(--charcoal-deep);
    color: var(--white-pure);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    text-align: center;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white-pure);
}

.footer__logo-icon {
    color: var(--gold-primary);
    font-size: 1.5rem;
}

.footer__tagline {
    font-size: 0.875rem;
    opacity: 0.6;
    margin-top: var(--space-sm);
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
}

.footer__link {
    font-size: 0.875rem;
    opacity: 0.8;
    transition: all var(--transition-fast);
}

.footer__link:hover {
    opacity: 1;
    color: var(--gold-primary);
}

.footer__social {
    display: flex;
    gap: var(--space-md);
}

.footer__social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.footer__social-link:hover {
    background-color: var(--gold-primary);
}

.footer__copyright {
    font-size: 0.8125rem;
    opacity: 0.5;
    margin-top: var(--space-lg);
}

/* ==========================================
   Responsive Design (Mobile First)
   ========================================== */

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xl);
        background-color: var(--white-pure);
        padding: var(--space-2xl);
        transform: translateX(100%);
        transition: transform var(--transition-base);
    }

    .nav__menu--open {
        transform: translateX(0);
    }

    .nav__link {
        font-size: 1.25rem;
    }

    .nav__link--cta {
        width: fit-content;
        margin: 0 auto;
    }
}

/* Tablet and up */
@media (min-width: 768px) {
    .about__grid {
        grid-template-columns: 1fr 1.2fr;
    }

    .contact__grid {
        grid-template-columns: 1fr 1fr;
    }

    .methodology__steps {
        gap: var(--space-lg);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .container {
        padding: 0 var(--space-2xl);
    }

    .hero__content {
        padding: var(--space-4xl) 0;
    }

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

    .portfolio__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large screens */
@media (min-width: 1280px) {
    :root {
        --container-max: 1280px;
    }
}

/* ==========================================
   Utility Classes
   ========================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Animation utilities for future scroll reveals */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}