/* ===== CSS VARIABLES & RESET ===== */
:root {
    --black: #000000;
    --white: #FFFFFF;
    --accent: #A5927C;
    --accent-light: #C4B5A0;
    --accent-dark: #8B7866;
    --gray-100: #1a1a1a;
    --gray-200: #2a2a2a;
    --gray-300: #3a3a3a;
    --gray-400: rgba(255, 255, 255, 0.1);
    --gray-500: rgba(255, 255, 255, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

::selection {
    background-color: var(--accent);
    color: var(--black);
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    text-align: center;
}

.loader-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 3px solid transparent;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.loader-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    border-top-color: var(--accent-light);
    animation-delay: -0.5s;
}

.loader-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    border-top-color: var(--accent-dark);
    animation-delay: -1s;
}

.loader-text {
    display: block;
    margin-top: 120px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    opacity: 0;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent);
    transition: transform 0.15s ease, opacity 0.3s ease;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: rgba(165, 146, 124, 0.1);
    border: 1px solid rgba(165, 146, 124, 0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--black);
    box-shadow: 0 4px 20px rgba(165, 146, 124, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(165, 146, 124, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary::before {
    background: var(--accent);
}

.btn-secondary:hover {
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(165, 146, 124, 0.3);
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

/* ===== NAVIGATION ===== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(165, 146, 124, 0.1);
}

#navbar.scrolled {
    padding: 0.75rem 0;
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: var(--shadow-lg);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1px;
}

.logo-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(45deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

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

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

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

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 24px 4rem;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(165, 146, 124, 0.08) 0%, transparent 50%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(165, 146, 124, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(165, 146, 124, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: movePattern 20s linear infinite;
}

@keyframes movePattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    max-width: 900px;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1.5rem;
    background-color: rgba(165, 146, 124, 0.1);
    border: 1px solid rgba(165, 146, 124, 0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease 0.2s backwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-greeting {
    display: block;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-weight: 500;
    animation: fadeIn 1s ease 0.4s backwards;
}

.hero-name {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent) 50%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    animation: fadeIn 1s ease 0.6s backwards;
}

.hero-roles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--accent);
    margin-bottom: 2rem;
    min-height: 60px;
    font-weight: 600;
    animation: fadeIn 1s ease 0.8s backwards;
}

.role-cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease 1s backwards;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeIn 1s ease 1.2s backwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(165, 146, 124, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    animation: fadeIn 1s ease 1.4s backwards;
}

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

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(165, 146, 124, 0.5), transparent);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.5);
    animation: float 3s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 8rem 0;
    background-color: var(--black);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-image-wrapper {
    position: relative;
}

.about-image-bg {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 20px;
    z-index: 0;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-image:hover .image-overlay {
    opacity: 1;
}

.about-experience-badge {
    position: absolute;
    bottom: 2rem;
    right: -2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--black);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.badge-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.badge-content h4 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.badge-content p {
    font-size: 0.875rem;
    opacity: 0.9;
}

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

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--accent);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-text p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(165, 146, 124, 0.2);
    border-radius: 15px;
    transition: var(--transition);
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateX(10px);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.highlight-text h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.highlight-text p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Timeline */
.timeline-section {
    margin: 6rem 0;
}

.timeline {
    max-width: 1000px;
    margin: 3rem auto 0;
    position: relative;
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    border: 4px solid var(--black);
    box-shadow: 0 0 0 4px rgba(165, 146, 124, 0.2);
    z-index: 1;
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, var(--accent), transparent);
    margin-top: 0.5rem;
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.timeline-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(165, 146, 124, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
}

.timeline-card::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 1.5rem;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid rgba(165, 146, 124, 0.2);
}

.timeline-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateX(10px);
}

.timeline-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--black);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-card h4 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.timeline-location {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Skills */
.skills-section {
    margin: 6rem 0;
}

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

.skill-category-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(165, 146, 124, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
}

.skill-category-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.skill-category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 1.5rem;
}

.skill-category-header h4 {
    font-size: 1.25rem;
    color: var(--white);
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    font-size: 0.9375rem;
    color: var(--white);
    font-weight: 500;
}

.skill-percentage {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 700;
}

.skill-bar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 50px;
    position: relative;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 8rem 0;
    background: radial-gradient(circle at top, rgba(165, 146, 124, 0.05) 0%, transparent 70%), var(--black);
    position: relative;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(165, 146, 124, 0.2);
    border-radius: 25px;
    padding: 3rem 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(165, 146, 124, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(165, 146, 124, 0.2);
}

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

.service-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(165, 146, 124, 0.1);
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.service-icon-wrapper {
    margin-bottom: 2rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--black);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 30px rgba(165, 146, 124, 0.4);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 700;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover {
    gap: 15px;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
    padding: 8rem 0;
    background-color: var(--black);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(165, 146, 124, 0.3);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--black);
    border-color: var(--accent);
    transform: translateY(-2px);
}

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

.portfolio-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(165, 146, 124, 0.2);
    border-radius: 25px;
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(165, 146, 124, 0.3);
}

.portfolio-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: var(--gray-100);
}

.portfolio-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-image-wrapper img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(165, 146, 124, 0.95), rgba(139, 120, 102, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay-content {
    transform: translateY(0);
}

.portfolio-overlay-content h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.portfolio-overlay-content p {
    font-size: 0.9375rem;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
}

.portfolio-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.portfolio-btn {
    width: 50px;
    height: 50px;
    background-color: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: var(--transition);
}

.portfolio-btn:hover {
    background-color: var(--white);
    color: var(--black);
    transform: scale(1.15) rotate(10deg);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.portfolio-category {
    padding: 0.4rem 1rem;
    background: rgba(165, 146, 124, 0.2);
    border-radius: 50px;
    font-size: 0.8125rem;
    color: var(--accent);
    font-weight: 600;
}

.portfolio-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.portfolio-content h3 {
    font-size: 1.375rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.portfolio-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.portfolio-tags span {
    padding: 0.5rem 1rem;
    background: rgba(165, 146, 124, 0.1);
    border: 1px solid rgba(165, 146, 124, 0.3);
    border-radius: 50px;
    font-size: 0.8125rem;
    color: var(--accent);
    transition: var(--transition);
}

.portfolio-tags span:hover {
    background: var(--accent);
    color: var(--black);
    transform: translateY(-2px);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 8rem 0;
    background: radial-gradient(circle at bottom, rgba(165, 146, 124, 0.05) 0%, transparent 70%), var(--black);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-intro h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.contact-intro p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 1.0625rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(165, 146, 124, 0.2);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-detail-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateX(10px);
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-detail-content h4 {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-detail-content p,
.contact-detail-content a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.contact-detail-content a:hover {
    color: var(--accent);
}

.social-section h4 {
    font-size: 1.125rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(165, 146, 124, 0.1);
    border: 1px solid rgba(165, 146, 124, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent);
    transition: var(--transition);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--black);
    border-color: var(--accent);
    transform: translateY(-5px) rotate(-5deg);
    box-shadow: 0 10px 30px rgba(165, 146, 124, 0.3);
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(165, 146, 124, 0.2);
    border-radius: 25px;
    padding: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--accent);
    font-size: 0.9375rem;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1rem;
    opacity: 0.6;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3.25rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(165, 146, 124, 0.3);
    border-radius: 12px;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.input-wrapper textarea {
    resize: vertical;
    padding-top: 1.25rem;
}

.input-wrapper textarea + i {
    top: 1.5rem;
    transform: none;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(165, 146, 124, 0.1);
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    padding: 4rem 0 2rem;
    background-color: var(--black);
    border-top: 1px solid rgba(165, 146, 124, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 280px;
}

.footer-column h4 {
    font-size: 1.125rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(165, 146, 124, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9375rem;
}

.footer-credits i {
    color: var(--accent);
    margin: 0 0.25rem;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(165, 146, 124, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(165, 146, 124, 0.5);
}

/* ===== RESPONSIVE DESIGN ===== */

@media screen and (max-width: 1200px) {
    .about-grid {
        gap: 3rem;
    }
    
    .contact-wrapper {
        gap: 3rem;
    }
}

@media screen and (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-experience-badge {
        right: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid,
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: var(--shadow-xl);
        border-bottom: 1px solid rgba(165, 146, 124, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-section {
        padding: 7rem 20px 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .stat-divider {
        height: 40px;
    }
    
    .about-image-bg {
        top: 1rem;
        left: 1rem;
    }
    
    .about-experience-badge {
        bottom: 1rem;
        right: 1rem;
        padding: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-item {
        grid-template-columns: auto 1fr;
        gap: 1rem;
    }
    
    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .section-header {
        margin-bottom: 3rem;
    }
    
    .hero-section,
    .about-section,
    .services-section,
    .portfolio-section,
    .contact-section {
        padding: 5rem 0;
    }
    
    .service-card,
    .timeline-card,
    .skill-category-card {
        padding: 2rem 1.5rem;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .section-title {
        font-size: 4.5rem;
    }
    
    .hero-name {
        font-size: 7rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 2560px) {
    .container {
        max-width: 2000px;
    }
    
    body {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 5rem;
    }
}

@media (prefers-contrast: high) {
    .service-card,
    .portfolio-item,
    .contact-form,
    .timeline-card,
    .skill-category-card {
        border-width: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-pattern {
        animation: none;
    }
}