/* Custom CSS Variables */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #ff6b6b;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --transition: all 0.3s ease;
    /* Hero & nav – same color for seamless header */
    --hero-nav-bg: #121212;
    --hero-nav-bg-bottom: #0d0d0d;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Hero header – nav is part of hero section, no border */
.hero-header {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.hero-header .navbar {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-collapse,
.navbar .container {
    border: none;
}

.navbar-brand {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.navbar-brand-subtitle {
    color: rgba(255, 107, 107, 0.85);
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.navbar-nav .nav-link {
    font-weight: 300;
    letter-spacing: 1px;
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

/* Hero Section – contains nav + content, one composition */
.hero-section {
    background: linear-gradient(
        180deg,
        var(--hero-nav-bg) 0%,
        rgba(18,18,18,1) 6%,
        rgba(26,26,46,0.96) 20%,
        rgba(45,53,97,0.9) 45%,
        rgba(61,75,122,0.82) 75%,
        rgba(74,95,143,0.78) 100%
    );
    color: var(--secondary-color);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background image overlay for modern look */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    /* soft radial brighten toward center to emphasize lighter mid area */
    background: radial-gradient(circle at 50% 38%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.015) 35%, rgba(255,255,255,0.008) 60%, transparent 100%);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

/* Gradient overlay starts below the header so nav area is solid */
.hero-section .hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.36) 0%,
        rgba(0, 0, 0, 0.12) 18%,
        rgba(0, 0, 0, 0.06) 45%,
        rgba(0, 0, 0, 0.14) 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Background: one variant visible at a time */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-variant {
    display: none;
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-section.hero-variant-projector .hero-variant.hero-variant-projector,
.hero-section.hero-variant-filmstrip .hero-variant.hero-variant-filmstrip,
.hero-section.hero-variant-timeline .hero-variant.hero-variant-timeline,
.hero-section.hero-variant-cinematic .hero-variant.hero-variant-cinematic {
    display: block;
}

/* ----- Variant A: Projector beam ----- */
.hero-beam {
    position: absolute;
    top: -30%;
    left: 50%;
    width: 140%;
    height: 100%;
    transform: translateX(-50%) perspective(400px) rotateX(15deg);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.09) 0%,
        rgba(255, 255, 255, 0.04) 28%,
        transparent 58%,
        transparent 100%
    );
    pointer-events: none;
}

.hero-beam-edge {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 65% 55% at 50% 45%,
        transparent 32%,
        rgba(0, 0, 0, 0.4) 78%,
        rgba(0, 0, 0, 0.75) 100%
    );
    pointer-events: none;
}

/* ----- Variant B: Film strip (horizontal frame cells) ----- */
.hero-strip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: min(95vw, 900px);
    pointer-events: none;
}

.hero-strip-cell {
    flex: 1;
    max-width: 220px;
    height: min(50vw, 280px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-right-width: 0;
    background: rgba(255, 255, 255, 0.03);
    transition: opacity 0.3s ease;
}

.hero-strip-cell:last-of-type {
    border-right-width: 1px;
}

.hero-strip-cell-active {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.25);
}

.hero-strip-perfs {
    position: absolute;
    left: 0;
    right: 0;
    height: 12px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0,
        transparent 3px,
        rgba(255, 255, 255, 0.07) 3px,
        rgba(255, 255, 255, 0.07) 5px
    );
    pointer-events: none;
}

.hero-strip-perfs-top {
    top: calc(50% - min(25vw, 154px) - 14px);
}

.hero-strip-perfs-bottom {
    bottom: calc(50% - min(25vw, 154px) - 14px);
    top: auto;
}

/* ----- Variant C: Timeline (track + clips + playhead) ----- */
.hero-timeline-track {
    position: absolute;
    bottom: 22%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0,
        rgba(255, 255, 255, 0.12) 15%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0.12) 85%,
        transparent 100%
    );
    pointer-events: none;
}

.hero-timeline-clips {
    position: absolute;
    bottom: calc(22% - 24px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    align-items: flex-end;
    pointer-events: none;
}

.hero-timeline-clip {
    width: 40px;
    height: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.hero-timeline-clip-active {
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 107, 107, 0.35);
}

.hero-timeline-playhead {
    position: absolute;
    bottom: 22%;
    left: 50%;
    width: 2px;
    height: 60px;
    transform: translateX(-50%) translateY(100%);
    background: linear-gradient(to top, rgba(255, 107, 107, 0.8), transparent);
    border-radius: 1px;
    animation: heroPlayhead 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroPlayhead {
    0%, 100% { left: 48%; opacity: 0.8; }
    50%      { left: 52%; opacity: 1; }
}

/* ----- Variant D: Cinematic (existing) ----- */
/* Letterbox – widescreen cinema bars (implicit) */
.hero-letterbox {
    position: absolute;
    left: 0;
    right: 0;
    height: 12vh;
    pointer-events: none;
}

.hero-letterbox-top {
    top: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
}

.hero-letterbox-bottom {
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

/* Vignette – lens / screen edge falloff */
.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 80% 70% at 50% 50%,
        transparent 42%,
        rgba(0, 0, 0, 0.35) 100%
    );
    pointer-events: none;
}

/* Screen – 16:9 “gate” with rounded inner corners, subtle glow */
.hero-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(88vw, 760px);
    padding-bottom: min(49.5vw, 427px); /* 16:9 */
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 0 60px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.hero-screen-inner {
    position: absolute;
    inset: 3px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.015);
    pointer-events: none;
}

/* Film strip edge – thin track with frame divisions (implicit) */
.hero-film-edge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    overflow: hidden;
    opacity: 0.5;
    pointer-events: none;
}

.hero-film-edge-track {
    display: block;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent 0,
        transparent 2px,
        rgba(255, 255, 255, 0.08) 2px,
        rgba(255, 255, 255, 0.08) 4px
    );
    background-size: 24px 4px;
    width: 200%;
    animation: heroFilmTrack 30s linear infinite;
}

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

/* Scan lines – very subtle projector / CRT feel */
.hero-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0,
        transparent 2px,
        rgba(0, 0, 0, 0.025) 2px,
        rgba(0, 0, 0, 0.025) 4px
    );
    pointer-events: none;
}

/* Subtle film grain texture */
.hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.035;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Content above background – grows to fill hero (nav is part of hero) */
.hero-content {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

.hero-text {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-weight: 200;
    letter-spacing: 6px;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    display: block;
}

.hero-title-line {
    display: block;
}

.hero-title-line-1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    letter-spacing: 0.02em;
    animation: fadeInUp 0.9s ease 0.1s both;
}

.hero-title-line-2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    letter-spacing: 0.05em;
    font-weight: 300;
    animation: fadeInUp 0.9s ease 0.25s both;
}

.hero-tagline {
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.9s ease 0.4s both;
}

/* Hero About Section */
.hero-about {
    max-width: 800px;
    margin: 2rem auto 2.5rem;
    text-align: left;
    animation: fadeInUp 0.9s ease 0.5s both;
}

/* Hero intro section – centers text + image inline */
.hero-intro-section {
    max-width: 900px;
    margin: 0 auto;
}

.hero-intro-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.9s ease 0.5s both;
}

@media (max-width: 768px) {
    .hero-intro-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Hero tools section */
.hero-tools-section {
    margin-top: 3rem;
    animation: fadeInUp 0.9s ease 0.7s both;
}

.tools-title {
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    text-align: center;
}

.tools-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    margin-bottom: 1.75rem;
}

.tools-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 160px;
    transition: transform 0.3s ease;
}

.tool-item:hover {
    transform: translateY(-4px);
}

.tool-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
}

.tool-item h4 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.tool-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    font-weight: 300;
}

.competences-title {
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-competences {
    margin-top: 2rem;
    animation: fadeInUp 0.9s ease 0.6s both;
}

.competence-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 300;
}

.competence-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.competence-item i {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.competence-item span {
    color: rgba(255, 255, 255, 0.85);
}

.hero-text .btn-outline-light {
    animation: fadeInUp 0.9s ease 0.65s both;
    margin-top: 1rem;
    margin-bottom: 2rem;
    display: inline-block;
}

@media (max-width: 768px) {
    .hero-text .btn-outline-light {
        margin-bottom: 1.5rem;
    }
}

.btn-outline-light {
    border: 2px solid rgba(255, 107, 107, 0.8);
    padding: 0.75rem 2rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    color: rgba(255, 107, 107, 1);
}

.btn-outline-light:hover {
    background-color: rgba(255, 107, 107, 1);
    color: var(--secondary-color);
    border-color: rgba(255, 107, 107, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    z-index: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

/* Scroll to top – shown when user has scrolled down (opacity only, no visibility – keeps hover working) */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 18, 18, 0.8);
    color: var(--secondary-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-to-top.visible:hover {
    background: rgba(255, 107, 107, 1);
    border-color: rgba(255, 107, 107, 1);
    color: var(--secondary-color);
    opacity: 1 !important;
}

.scroll-to-top i {
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 2.75rem;
        height: 2.75rem;
    }
}

/* Hero responsive */
@media (max-width: 768px) {
    .hero-title-line-1 { letter-spacing: 2px; }
    .hero-title-line-2 { letter-spacing: 3px; }
    .hero-screen { width: 90vw; padding-bottom: 50.6vw; }
    .hero-strip { width: 98vw; }
    .hero-strip-cell { max-width: none; height: min(45vw, 200px); }
    .hero-timeline-track { bottom: 18%; left: 5%; right: 5%; }
    .hero-timeline-playhead { bottom: 18%; }

    .hero-about {
        text-align: left;
        margin: 1.5rem auto 2rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .competences-title {
        font-size: 1.1rem;
    }

    .competence-item {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }

    .competence-item i {
        font-size: 1.1rem;
    }
}

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

.section-title {
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* About Section */
.skills-list {
    list-style: none;
    padding: 0;
}

.skills-list li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: var(--text-light);
    transition: var(--transition);
}

.skills-list li:hover {
    color: var(--text-dark);
    padding-left: 10px;
}

.skills-list i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Category breadcrumbs / filters */
.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.breadcrumb-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.breadcrumb-filters li {
    display: inline-flex;
    align-items: center;
}

.category-crumb {
    background: none;
    border: none;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.category-crumb:hover {
    color: var(--primary-color);
}

.category-crumb.active {
    color: var(--primary-color);
    font-weight: 500;
}

.breadcrumb-sep {
    color: var(--text-light);
    opacity: 0.5;
    font-weight: 300;
    padding: 0 0.25rem;
    user-select: none;
}

@media (max-width: 768px) {
    .breadcrumb-filters {
        justify-content: center;
    }
    .category-crumb {
        font-size: 0.8rem;
        padding: 0.4rem 0.5rem;
    }
}

/* Profile image (circular) and cinematic decor */
.profile-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.profile-img:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.50);
}

@media (min-width: 1200px) {
    .profile-img { width: 260px; height: 260px; }
    .hero-text { text-align: left; max-width: 1120px; margin: 0; }
}

@media (max-width: 768px) {
    .profile-img { width: 140px; height: 140px; margin-top: -0.5rem; }
}

/* Decorative cinematic image placed in the lighter gradient area */
.hero-section .cinematic-decor {
    position: absolute;
    inset: 0;
    background-image: url("img/movie-background-collage.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    opacity: 0.14;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
    filter: saturate(0.98) contrast(0.98);
}
@media (max-width: 480px) { .hero-section .cinematic-decor { opacity: 0.08; } }

/* Portfolio item visibility when filtering */
.portfolio-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.portfolio-item.hidden {
    display: none !important;
}

/* Portfolio Section */
.video-card {
    background: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-info h4 {
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.video-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact-item {
    padding: 2rem;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-item h5 {
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    transform: translateY(-5px) scale(1.1);
}

/* Footer */
.footer {
    background-color: var(--hero-nav-bg);
    color: var(--secondary-color);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin: 0;
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section .display-1 {
        font-size: 3rem;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .social-links {
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section .display-1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .contact-item {
        padding: 1.5rem;
    }
}

/* Very narrow screens (Galaxy Z, etc) */
@media (max-width: 360px) {
    .navbar-brand {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }

    .navbar-brand-subtitle {
        font-size: 0.65rem;
        letter-spacing: 1px;
        margin-left: 0.25rem;
    }
}
