/* ============================================
   PORTFOLIO - RIZKY MAULANA ZEIN
   CSS UTAMA — Tema Elegan & Minimalis
   ============================================ */

:root {
    --bg-color: #ffffff;
    --bg-secondary: #fcfcfa;
    --bg-dark: #111111;
    --text-dark: #1a1a1a;
    --text-muted: #737373;
    --text-light: #b0b0b0;
    --accent-gold: #c5a880;
    --accent-gold-light: #e8d5bb;
    --accent-gold-dark: #9a7d5a;
    --border-light: #ebebeb;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Poppins', sans-serif;
    --transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.06);
    --shadow-hover: 0 20px 60px rgba(197,168,128,0.15);
}

*, *::before, *::after {
    margin: 0; padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none;
}

/* ---- CURSOR CUSTOM ---- */
.cursor {
    width: 10px; height: 10px;
    background: var(--accent-gold);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
}
.cursor-follower {
    width: 35px; height: 35px;
    border: 1.5px solid var(--accent-gold);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s, height 0.3s, opacity 0.3s;
    opacity: 0.6;
}
.cursor.expand { width: 20px; height: 20px; }
.cursor-follower.expand { width: 60px; height: 60px; opacity: 0.2; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #fafafa; }
::-webkit-scrollbar-thumb { background: var(--accent-gold-light); border-radius: 2px; }

/* ---- NAVBAR ---- */
nav {
    position: fixed; top: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 28px 8%;
    background: rgba(255,255,255,0.93);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}
nav.scrolled {
    padding: 14px 8%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    border-bottom: 1px solid var(--border-light);
}
.logo {
    font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
    color: var(--text-dark); text-decoration: none; letter-spacing: 1px;
}
.logo span { color: var(--accent-gold); font-style: italic; }
.nav-links { display: flex; list-style: none; gap: 40px; }
.nav-links a {
    color: var(--text-dark); text-decoration: none;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px;
    transition: color 0.3s; position: relative; padding-bottom: 4px;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 1px; background: var(--accent-gold);
    transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--accent-gold); }
.nav-links a:hover::after { width: 100%; }
.hamburger { display: none; cursor: pointer; font-size: 1.2rem; color: var(--text-dark); }

/* ---- HERO SECTION ---- */
header#home {
    height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 0 5%;
    background-color: var(--bg-secondary);
    position: relative; overflow: hidden;
}
/* Dekorasi background hero */
header#home::before {
    content: '';
    position: absolute; top: -100px; right: -100px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197,168,128,0.08) 0%, transparent 70%);
    pointer-events: none;
}
header#home::after {
    content: '';
    position: absolute; bottom: -80px; left: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197,168,128,0.06) 0%, transparent 70%);
    pointer-events: none;
}
/* Bintang / partikel dekorasi */
.hero-particles {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none; overflow: hidden;
}
.particle {
    position: absolute; background: var(--accent-gold);
    border-radius: 50%; opacity: 0;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.4; }
    90% { opacity: 0.2; }
    100% { opacity: 0; transform: translateY(-100px) scale(1.2); }
}

.hero-content { max-width: 900px; position: relative; z-index: 2; }
.greeting {
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 5px;
    color: var(--accent-gold); margin-bottom: 20px; font-weight: 500;
}
.name {
    font-family: var(--font-serif); font-size: 5.5rem; font-weight: 600;
    line-height: 1.1; margin-bottom: 20px; color: var(--text-dark);
}
.name .highlight { color: var(--accent-gold); font-style: italic; }
.title {
    font-family: var(--font-serif); font-size: 1.8rem;
    color: var(--text-muted); font-style: italic; font-weight: 400;
    margin-bottom: 15px;
}
.hero-tagline {
    font-size: 0.9rem; color: var(--text-light); letter-spacing: 1px;
    margin-bottom: 45px; font-weight: 300;
}
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* Tombol Elegan */
.btn {
    display: inline-block; padding: 14px 38px;
    border: 1px solid var(--text-dark);
    color: var(--text-dark); text-decoration: none;
    font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 2px; transition: var(--transition);
    background: transparent; cursor: none;
}
.btn:hover { background: var(--text-dark); color: #fff; }
.btn-gold {
    background: var(--accent-gold); color: #fff; border-color: var(--accent-gold);
}
.btn-gold:hover { background: var(--accent-gold-dark); border-color: var(--accent-gold-dark); color: #fff; }

/* ---- PROFILE INTRO SECTION (bawah hero) ---- */
#profile-intro {
    padding: 100px 8%;
    background: var(--bg-color);
    display: flex; align-items: center;
    gap: 80px; overflow: hidden;
}
.profile-intro-photo {
    flex: 0 0 340px;
    position: relative;
}
.photo-frame {
    width: 300px; height: 370px;
    position: relative;
    margin: 0 auto;
}
.photo-placeholder {
    width: 100%; height: 100%;
    background: transparent;
    border: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    cursor: default; transition: var(--transition);
    position: relative; overflow: hidden;
    border-radius: 0;
    z-index: 2;
}
.photo-placeholder img#profilePhotoMain {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    border-radius: 0;
}
.photo-placeholder .upload-hint {
    text-align: center; color: var(--text-muted); font-size: 0.85rem;
    font-style: italic; padding: 20px;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.photo-placeholder .upload-hint i { font-size: 2rem; color: var(--accent-gold-light); }

/* Tech logos floating around photo */
.tech-orbit {
    position: absolute;
    width: 140%; height: 128%;
    top: -14%; left: -20%;
    pointer-events: none;
    z-index: 3;
}
.tech-badge {
    position: absolute;
    width: var(--badge-size, 68px); height: var(--badge-size, 68px);
    background: rgba(255,255,255,0.86);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(195, 154, 93, 0.26);
    box-shadow: 0 18px 40px rgba(30, 22, 15, 0.16), inset 0 1px 0 rgba(255,255,255,0.85);
    font-size: 1.5rem;
    backdrop-filter: blur(8px);
    animation: orbitFloat var(--float-speed, 4s) ease-in-out infinite;
    opacity: 0; /* akan di-set visible via JS */
    overflow: hidden;
    padding: 8px;
}
.tech-badge img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}
@keyframes orbitFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--rotate, 0deg)); }
    50% { transform: translate3d(var(--float-x, 8px), var(--float-y, -18px), 0) rotate(calc(var(--rotate, 0deg) + 8deg)); }
}

.profile-intro-text { flex: 1; }
.profile-intro-text .section-subtitle {
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 4px; color: var(--accent-gold); margin-bottom: 15px;
    display: block;
}
.profile-intro-text h2 {
    font-family: var(--font-serif); font-size: 2.8rem;
    font-weight: 400; margin-bottom: 20px; line-height: 1.2;
}
.profile-intro-text p {
    color: var(--text-muted); font-size: 1rem; font-weight: 300;
    margin-bottom: 16px; line-height: 1.8;
}
.profile-stats {
    display: flex; gap: 40px; margin: 35px 0;
    padding: 30px 0; border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.stat-item { text-align: center; }
.stat-number {
    font-family: var(--font-serif); font-size: 2.2rem;
    color: var(--accent-gold); font-weight: 600; display: block;
}
.stat-label {
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 2px; color: var(--text-muted);
}

/* ---- GLOBAL SECTION ---- */
section { padding: 110px 8%; background-color: var(--bg-color); }
.section-header { text-align: center; margin-bottom: 75px; }
.section-subtitle {
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 4px; color: var(--accent-gold);
}
.section-title {
    font-family: var(--font-serif); font-size: 2.8rem;
    font-weight: 400; color: var(--text-dark); margin-top: 10px;
}
.section-desc {
    font-size: 0.95rem; color: var(--text-muted);
    max-width: 500px; margin: 15px auto 0;
    font-weight: 300; line-height: 1.8;
}

/* ---- SKILLS / KODE SECTION ---- */
#skills { background: var(--bg-secondary); }
.skills-categories { display: flex; flex-direction: column; gap: 50px; }
.skill-category-title {
    font-family: var(--font-serif); font-size: 1.2rem;
    color: var(--text-dark); margin-bottom: 25px;
    padding-bottom: 10px; border-bottom: 1px solid var(--border-light);
    display: flex; align-items: center; gap: 12px;
}
.skill-category-title i { color: var(--accent-gold); font-size: 1rem; }
.skills-grid {
    display: flex; flex-wrap: wrap; gap: 14px;
}
.skill-tag {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--border-light);
    background: white;
    font-size: 0.82rem; color: var(--text-dark);
    letter-spacing: 0.5px;
    transition: var(--transition);
    border-radius: 2px;
    cursor: default;
}
.skill-tag:hover {
    border-color: var(--accent-gold);
    background: var(--accent-gold-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.skill-tag .skill-icon { font-size: 1.1rem; }
.skill-bar-wrap { margin-top: 5px; }
.skill-bar-bg {
    height: 2px; background: var(--border-light);
    width: 100%; border-radius: 2px; overflow: hidden;
}
.skill-bar-fill {
    height: 100%; background: var(--accent-gold);
    border-radius: 2px; width: 0;
    transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---- PROJECTS / KARYA SECTION ---- */
.project-filters {
    display: flex; justify-content: center;
    gap: 10px; margin-bottom: 50px; flex-wrap: wrap;
}
.filter-btn {
    padding: 8px 22px; border: 1px solid var(--border-light);
    background: transparent; color: var(--text-muted);
    font-family: var(--font-sans); font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 2px;
    cursor: pointer; transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
    background: var(--text-dark); color: white;
    border-color: var(--text-dark);
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 50px;
}
.project-card { cursor: pointer; transition: var(--transition); }
.project-img-wrapper {
    overflow: hidden; margin-bottom: 22px;
    aspect-ratio: 4/3; background-color: #f0f0f0;
    position: relative;
}
.project-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s ease, filter 0.7s ease;
    filter: grayscale(15%);
}
.project-card:hover .project-img { transform: scale(1.04); filter: grayscale(0%); }
.project-overlay {
    position: absolute; inset: 0;
    background: rgba(26,26,26,0); 
    display: flex; align-items: center; justify-content: center;
    transition: background 0.5s ease;
}
.project-card:hover .project-overlay { background: rgba(26,26,26,0.55); }
.overlay-content {
    opacity: 0; transform: translateY(15px);
    transition: all 0.4s ease; color: white; text-align: center;
}
.project-card:hover .overlay-content { opacity: 1; transform: translateY(0); }
.overlay-content .view-btn {
    display: inline-block; padding: 10px 28px;
    border: 1px solid white; color: white;
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 2px; text-decoration: none;
    transition: var(--transition); cursor: none;
}
.overlay-content .view-btn:hover { background: white; color: var(--text-dark); }
.project-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.project-tag {
    font-size: 0.7rem; text-transform: uppercase;
    letter-spacing: 1px; color: var(--accent-gold);
    padding: 3px 10px; border: 1px solid var(--accent-gold-light);
}
.project-info h3 {
    font-family: var(--font-serif); font-size: 1.4rem;
    font-weight: 600; margin-bottom: 8px; color: var(--text-dark);
}
.project-info p {
    font-size: 0.88rem; color: var(--text-muted);
    font-weight: 300; margin-bottom: 15px; line-height: 1.7;
}
.project-link {
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 2px; color: var(--accent-gold);
    text-decoration: none; border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}
.project-link:hover { border-color: var(--accent-gold); }

/* ---- MODAL DETAIL KARYA ---- */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(10,10,10,0.85);
    z-index: 9000; display: none;
    align-items: center; justify-content: center;
    padding: 30px; backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal-box {
    background: white; max-width: 800px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    padding: 60px; position: relative;
    animation: modalIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(40px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
    position: absolute; top: 25px; right: 30px;
    font-size: 1.2rem; cursor: pointer; color: var(--text-muted);
    transition: color 0.3s; background: none; border: none;
}
.modal-close:hover { color: var(--text-dark); }
.modal-tag {
    font-size: 0.72rem; text-transform: uppercase;
    letter-spacing: 3px; color: var(--accent-gold); margin-bottom: 12px;
}
.modal-title {
    font-family: var(--font-serif); font-size: 2.2rem;
    font-weight: 600; margin-bottom: 20px; line-height: 1.2;
}
.modal-img {
    width: 100%; aspect-ratio: 16/9; object-fit: cover;
    margin-bottom: 30px; background: #f0f0f0;
    display: block;
}

/* ---- MODAL SLIDER ---- */
.modal-slider {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 8px;
}
.slider-container {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
}
.slider-container img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(197, 168, 128, 0.9);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10;
}
.slider-btn:hover {
    background: var(--accent-gold);
}
.slider-btn.prev {
    left: 15px;
}
.slider-btn.next {
    right: 15px;
}
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}
.slider-dot.active {
    background: var(--accent-gold);
}

.modal-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.9; margin-bottom: 25px; }
.modal-tech-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.modal-tech {
    font-size: 0.75rem; padding: 6px 16px;
    border: 1px solid var(--border-light); color: var(--text-dark);
    text-transform: uppercase; letter-spacing: 1px;
}
.modal-links { display: flex; gap: 15px; flex-wrap: wrap; }

/* ---- SERVICES / PRODUK DIGITAL ---- */
#services { background: var(--bg-secondary); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.service-card {
    background: white; padding: 45px 35px;
    border: 1px solid var(--border-light);
    transition: var(--transition); position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 3px; height: 0;
    background: var(--accent-gold);
    transition: height 0.4s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.service-card:hover::before { height: 100%; }
.service-icon {
    font-size: 2rem; margin-bottom: 25px;
    color: var(--accent-gold); display: block;
}
.service-card h3 {
    font-family: var(--font-serif); font-size: 1.25rem;
    font-weight: 600; margin-bottom: 12px;
}
.service-card p {
    font-size: 0.85rem; color: var(--text-muted);
    font-weight: 300; line-height: 1.8; margin-bottom: 20px;
}
.service-features { list-style: none; }
.service-features li {
    font-size: 0.8rem; color: var(--text-muted);
    padding: 5px 0; display: flex; align-items: center; gap: 8px;
}
.service-features li::before {
    content: '—'; color: var(--accent-gold); font-size: 0.7rem;
}
.service-price {
    margin-top: 25px; padding-top: 20px;
    border-top: 1px solid var(--border-light);
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 2px; color: var(--accent-gold);
}

/* ---- ABOUT SECTION ---- */
#about { background: var(--bg-color); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-text p { font-size: 1rem; color: var(--text-muted); margin-bottom: 18px; font-weight: 300; line-height: 1.9; }

/* ---- TESTIMONIAL / QUOTE SECTION ---- */
#testimonial {
    background: var(--bg-dark); padding: 100px 8%;
    text-align: center; position: relative; overflow: hidden;
}
#testimonial::before {
    content: '"';
    position: absolute; top: -30px; left: 8%;
    font-family: var(--font-serif); font-size: 20rem;
    color: rgba(197,168,128,0.05); line-height: 1;
    pointer-events: none;
}
.testimonial-quote {
    font-family: var(--font-serif); font-size: 2rem;
    color: white; font-style: italic; font-weight: 400;
    max-width: 800px; margin: 0 auto 30px;
    line-height: 1.5; position: relative; z-index: 1;
}
.testimonial-author { color: var(--accent-gold); font-size: 0.85rem; letter-spacing: 3px; text-transform: uppercase; }

/* ---- CONTACT SECTION ---- */
#contact { background-color: var(--bg-secondary); text-align: center; }
.contact-text {
    max-width: 600px; margin: 0 auto 40px auto;
    color: var(--text-muted); font-size: 1rem;
    font-weight: 300; line-height: 1.9;
}
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; text-align: left; max-width: 900px;
    margin: 60px auto 0;
}
.contact-info-item { display: flex; flex-direction: column; gap: 5px; }
.contact-label {
    font-size: 0.72rem; text-transform: uppercase;
    letter-spacing: 3px; color: var(--accent-gold);
}
.contact-value {
    font-family: var(--font-serif); font-size: 1.1rem;
    color: var(--text-dark); text-decoration: none;
    transition: color 0.3s;
}
.contact-value:hover { color: var(--accent-gold); }
.social-links { display: flex; justify-content: center; gap: 25px; margin-top: 55px; }
.social-links a {
    width: 46px; height: 46px; border: 1px solid var(--border-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--text-dark);
    transition: var(--transition); text-decoration: none;
}
.social-links a:hover {
    border-color: var(--accent-gold); color: var(--accent-gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(197,168,128,0.2);
}

/* ---- FOOTER ---- */
footer {
    background: var(--text-dark); color: rgba(255,255,255,0.3);
    text-align: center; padding: 35px;
    font-size: 0.78rem; letter-spacing: 1px;
}
footer span { color: var(--accent-gold); }

/* ---- DECORATIVE ELEMENTS ---- */
.ornament-line {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; margin: 20px 0;
}
.ornament-line span { width: 60px; height: 1px; background: var(--border-light); }
.ornament-line i { color: var(--accent-gold-light); font-size: 0.7rem; }

/* ---- FADE ANIMATIONS ---- */
.fade-up {
    opacity: 0; transform: translateY(35px);
    transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.15s; }
.fade-up.delay-2 { transition-delay: 0.3s; }
.fade-up.delay-3 { transition-delay: 0.45s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    nav { padding: 18px 5%; }
    .hamburger { display: block; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 100vw; height: 100vh;
        background: white; flex-direction: column;
        justify-content: center; align-items: center;
        transition: right 0.4s ease; gap: 40px;
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.1rem; }
    .name { font-size: 2.8rem; }
    .title { font-size: 1.3rem; }
    #profile-intro { flex-direction: column; gap: 40px; text-align: center; }
    .photo-frame { margin: 0 auto; }
    .profile-stats { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .project-grid {
        display: flex; flex-wrap: nowrap; overflow-x: auto;
        scroll-snap-type: x mandatory; gap: 20px; padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }
    .project-grid::-webkit-scrollbar { display: none; }
    .project-card { min-width: 85%; scroll-snap-align: center; }
    .services-grid { grid-template-columns: 1fr; }
    .modal-box { padding: 35px 25px; }
    body { cursor: auto; }
    .cursor, .cursor-follower { display: none; }
}

/* ---- LOADING SCREEN ---- */
#loading-screen {
    position: fixed; inset: 0; background: white;
    display: flex; align-items: center; justify-content: center;
    z-index: 99999; flex-direction: column; gap: 20px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-logo {
    font-family: var(--font-serif); font-size: 2rem;
    color: var(--text-dark); letter-spacing: 2px;
}
.loading-logo span { color: var(--accent-gold); font-style: italic; }
.loading-bar-bg {
    width: 200px; height: 1px; background: var(--border-light);
    position: relative; overflow: hidden;
}
.loading-bar-fill {
    position: absolute; top: 0; left: -100%; 
    width: 100%; height: 100%;
    background: var(--accent-gold);
    animation: loadingAnim 1.8s ease forwards;
}
@keyframes loadingAnim {
    to { left: 0; }
}
