/* Minimalist Portfolio Styles */

:root {
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --bg-color: #ffffff;
    --accent: #000000;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    color: var(--accent);
}

.tracking-widest {
    letter-spacing: 0.2em;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.line {
    width: 100px;
    height: 2px;
    background: #000;
    animation: grow 1.5s ease-in-out infinite;
}

@keyframes grow {
    0% { width: 0; opacity: 0; }
    50% { width: 100px; opacity: 1; }
    100% { width: 0; opacity: 0; margin-left: 100px; }
}

/* Navbar */
.navbar {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    color: var(--text-primary) !important;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    margin-left: 2rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 80px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.2;
}

/* Section Common */
.section-padding {
    padding: 8rem 0;
}

/* Project Item */
.project-item {
    margin-bottom: 6rem;
}

.project-image {
    overflow: hidden;
    cursor: pointer;
}

.project-image img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
}

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

.arrow-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: padding-left 0.3s ease;
}

.arrow-link:hover {
    padding-left: 10px;
    color: var(--text-primary);
}

/* Contact/Footer */
.email-link {
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.email-link:hover {
    border-color: var(--text-primary);
}

.social-icon {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--text-primary);
}

/* Utilities */
.bg-light {
    background-color: #f9f9f9 !important;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
    
    .navbar {
        padding: 1rem 0;
    }
}

/* Minimalist Contact Form Control */
.form-control-custom {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--text-primary);
    border-radius: 0;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control-custom::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.form-control-custom:focus {
    outline: none;
    border-bottom-color: var(--text-primary);
    box-shadow: none;
}

textarea.form-control-custom {
    resize: none;
}

