/* 
   Daniel Hanna | Personal Website Design System 
   Inspired by Stitch and Alistapart
*/

:root {
    /* Brand Colors */
    --primary: #333333;
    --accent: #055ebe;
    --bg-light: #f7f7f7;
    --bg-dark: #191919;
    --text-muted: rgba(51, 51, 51, 0.7);
    --glass-bg: rgba(247, 247, 247, 0.8);
    --border-light: rgba(51, 51, 51, 0.1);

    /* Typography */
    --font-main: 'Roboto', sans-serif;

    /* Spacing & Borders */
    --radius-lg: 0.25rem;
    --radius-xl: 0.5rem;
    --radius-full: 0.75rem;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Utilities --- */
.font-black {
    font-weight: 700;
}

.tracking-tight-custom {
    letter-spacing: -0.04em;
}

.tracking-tighter-custom {
    letter-spacing: -0.06em;
}

/* --- Navigation --- */
.navbar {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 1.5rem;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--accent)
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--primary) !important;
}

/* --- Hero Section --- */
.hero-section {
    padding: 100px 0;
}

.hero-image {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-xl);
    background-image: url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&q=80&w=1200");
}

.display-large {
    font-size: clamp(3rem, 10vw, 4.5rem);
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.btn-large {
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary-custom {
    background-color: var(--primary);
    color: white;
    border: none;
}

.btn-primary-custom:hover {
    background-color: black;
    transform: translateY(-2px);
}

.btn-outline-custom {
    border: 2px solid var(--border-light);
    background: transparent;
    color: var(--primary);
}

.btn-outline-custom:hover {
    background: rgba(51, 51, 51, 0.05);
}

/* --- Portfolio Grid --- */
.section-tag {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.work-card {
    border: none;
    background: transparent;
    transition: all 0.4s ease;
}

.work-image-container {
    overflow: hidden;
    border-radius: var(--radius-xl);
    aspect-ratio: 16/10;
    margin-bottom: 1rem;
}

.work-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.work-card:hover .work-image {
    transform: scale(1.05);
}

/* --- About Section --- */
.about-section {
    background-color: rgba(5, 94, 190, 0.05);
    padding: 120px 0;
}

.icon-box {
    color: var(--accent);
    margin-bottom: 1rem;
}

/* --- Contact Form --- */
.form-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.form-control {
    background-color: var(--bg-light);
    border: none;
    padding: 1rem;
    border-radius: var(--radius-lg);
}

.form-control:focus {
    box-shadow: 0 0 0 2px var(--accent);
    background-color: white;
}

/* --- Mobile Bottom Nav --- */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-light);
    padding: 0.5rem 0 1.5rem;
}

@media (max-width: 991px) {
    .bottom-nav {
        display: flex;
        justify-content: space-around;
    }

    .main-nav {
        display: none !important;
    }

    body {
        padding-bottom: 80px;
    }
}

.nav-item-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-item-bottom i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.nav-item-bottom.active {
    color: var(--primary);
}

/* --- Animations --- */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}