/* ========================================
   Lara Hendrian — Professional Website
   Corporate Tech + Creative Professional
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    /* Colors */
    --color-navy: #0F1B2D;
    --color-navy-light: #162A46;
    --color-navy-dark: #0A1220;
    --color-gold: #C9A96E;
    --color-gold-light: #D4BA85;
    --color-gold-dark: #B08D4F;
    --color-white: #FFFFFF;
    --color-off-white: #F7F8FA;
    --color-gray-100: #F0F2F5;
    --color-gray-200: #E1E5EB;
    --color-gray-300: #C4CAD4;
    --color-gray-500: #6B7280;
    --color-gray-700: #3D4450;
    --color-text: #2D3142;
    --color-text-light: #5A6070;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1100px;

    /* Transitions */
    --transition-fast: 200ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(15, 27, 45, 0.06);
    --shadow-md: 0 4px 20px rgba(15, 27, 45, 0.08);
    --shadow-lg: 0 10px 40px rgba(15, 27, 45, 0.12);
    --shadow-gold: 0 4px 20px rgba(201, 169, 110, 0.25);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Section Base --- */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.2;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-navy-dark);
}

.btn-primary:hover {
    background: var(--color-gold-light);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-icon {
    flex-shrink: 0;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(15, 27, 45, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

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

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.5px;
}

.nav-logo span {
    color: var(--color-gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--color-white);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 8px 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    color: var(--color-white) !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    border-color: var(--color-gold);
    background: rgba(201, 169, 110, 0.1);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-navy);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

.hero-greeting {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-gold);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.hero-name {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-title {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image-frame {
    width: 340px;
    height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(201, 169, 110, 0.25);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-scroll-indicator a {
    color: rgba(255, 255, 255, 0.35);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--color-navy);
    font-weight: 600;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-card {
    background: var(--color-off-white);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-left: 3px solid var(--color-gold);
    transition: all var(--transition-base);
}

.highlight-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.highlight-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1;
}

.highlight-label {
    font-size: 14px;
    color: var(--color-text-light);
    font-weight: 500;
}

/* ========================================
   Experience Section
   ======================================== */
.experience {
    background: var(--color-off-white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-gold), var(--color-gray-200));
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 12px;
    top: 24px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-white);
    border: 3px solid var(--color-gold);
    z-index: 1;
}

.timeline-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.timeline-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.timeline-role {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.3;
}

.timeline-company {
    font-size: 15px;
    color: var(--color-gold-dark);
    font-weight: 500;
}

.timeline-date {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray-500);
    white-space: nowrap;
    background: var(--color-gray-100);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.timeline-description {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-navy);
    background: rgba(201, 169, 110, 0.12);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

/* ========================================
   Education Section
   ======================================== */
.education {
    background: var(--color-white);
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 60px;
}

.education-card {
    background: var(--color-off-white);
    border-radius: var(--radius-md);
    padding: 40px 36px;
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.education-card:hover {
    border-color: rgba(201, 169, 110, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.education-icon {
    color: var(--color-gold);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.education-degree {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.education-school {
    font-size: 15px;
    color: var(--color-gold-dark);
    font-weight: 500;
    margin-bottom: 4px;
}

.education-date {
    font-size: 14px;
    color: var(--color-gray-500);
    margin-bottom: 20px;
}

.education-activities {
    text-align: left;
}

.education-activities li {
    font-size: 14px;
    color: var(--color-text-light);
    padding: 6px 0;
    border-bottom: 1px solid var(--color-gray-200);
    padding-left: 16px;
    position: relative;
}

.education-activities li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
    transform: translateY(-50%);
}

.education-activities li:last-child {
    border-bottom: none;
}

/* Certifications */
.certifications {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cert-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 24px;
}

.cert-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cert-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-off-white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--color-text-light);
    justify-content: center;
}

.cert-item svg {
    color: var(--color-gold);
    flex-shrink: 0;
}

/* ========================================
   Skills Section
   ======================================== */
.skills {
    background: var(--color-off-white);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 50px;
}

.skill-category-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-gold);
}

.skill-list li {
    font-size: 15px;
    color: var(--color-text-light);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.skill-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: 600;
}

/* Tools */
.tools {
    text-align: center;
    margin-bottom: 40px;
}

.tools-title, .languages-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 20px;
}

.tools-list, .language-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tool-badge {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-navy);
    background: var(--color-white);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.tool-badge:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.language-badge {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-navy);
    background: rgba(201, 169, 110, 0.15);
    padding: 8px 20px;
    border-radius: var(--radius-full);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: var(--color-navy);
    color: var(--color-white);
}

.contact .section-label {
    color: var(--color-gold);
}

.contact .section-title {
    color: var(--color-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-text p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
}

.contact-link:hover {
    color: var(--color-gold);
}

.contact-link svg {
    flex-shrink: 0;
}

.contact-location {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    font-family: var(--font-family);
    font-size: 15px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    transition: all var(--transition-base);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    margin-top: 8px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-navy-dark);
    padding: 32px 0;
}

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

.footer-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
}

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-social a {
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: var(--color-gold);
}

/* ========================================
   Scroll Reveal Animations
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 320px;
        gap: 40px;
    }

    .hero-image-frame {
        width: 280px;
        height: 360px;
    }

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    /* Nav */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-navy);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        transition: right var(--transition-base);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.7);
    }

    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-top: 100px;
    }

    .hero-image {
        order: -1;
    }

    .hero-image-frame {
        width: 220px;
        height: 280px;
        margin: 0 auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Timeline */
    .timeline::before {
        left: 16px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-marker {
        left: 8px;
    }

    .timeline-card {
        padding: 24px;
    }

    .timeline-header {
        flex-direction: column;
    }

    /* Education */
    .education-grid {
        grid-template-columns: 1fr;
    }

    /* Skills */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-name {
        font-size: 36px;
    }

    .hero-title {
        font-size: 15px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .section-title {
        font-size: 26px;
    }

    .highlight-number {
        font-size: 28px;
    }

    .tools-list, .language-list {
        justify-content: center;
    }
}
