/* ========================================
   MODERN GRAPHIC DESIGNER PORTFOLIO
   ======================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Sophisticated Color Palette */
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #0f3460;
    --highlight: #e94560;
    --gold: #f4a261;
    --teal: #2a9d8f;
    --cream: #f8f9fa;
    --light-gray: #e9ecef;
    --mid-gray: #6c757d;
    --white: #ffffff;

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--primary);
    background-color: var(--cream);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Decoration */
.bg-decoration {
    position: fixed;
    top: 0;
    right: -200px;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--accent) 100%);
    opacity: 0.03;
    border-radius: 50%;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-50px) rotate(180deg); }
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 24px;
    position: relative;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

/* Hamburger Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hamburger animation when active */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.2px;
    line-height: 1;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--highlight), var(--gold));
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--highlight);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    color: var(--white);
    padding: 6rem 24px 5rem;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--highlight);
    top: -100px;
    right: -100px;
    animation: pulse 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--gold);
    bottom: -50px;
    left: -50px;
    animation: pulse 10s ease-in-out infinite 2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--teal);
    top: 50%;
    left: 50%;
    animation: pulse 12s ease-in-out infinite 4s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.2) translate(20px, 20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-text {
    width: 100%;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 1.25rem 3rem;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: var(--gold);
    color: var(--white);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1.25rem 3rem;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--white);
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--highlight) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ========================================
   CLIENT LOGOS SECTION
   ======================================== */

.clients-section {
    padding: 3rem 24px;
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
}

.clients-label {
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--mid-gray);
    margin-bottom: 2rem;
    font-weight: 600;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
}

.client-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--accent);
    opacity: 0.7;
    transition: var(--transition);
    padding: 1rem;
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .client-logo {
        font-size: 1.1rem;
    }
}

/* ========================================
   SECTIONS
   ======================================== */

.about-section,
.portfolio-section {
    padding: 6rem 24px;
}

/* ========================================
   FEATURED WORK SECTION
   ======================================== */

.featured-section {
    padding: 6rem 24px;
    background: linear-gradient(135deg, #fdfbf7 0%, var(--cream) 100%);
}

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

.featured-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-decoration: none;
    display: block;
    background: var(--light-gray);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.featured-item:nth-child(1) { animation-delay: 0.1s; }
.featured-item:nth-child(2) { animation-delay: 0.2s; }
.featured-item:nth-child(3) { animation-delay: 0.3s; }
.featured-item:nth-child(4) { animation-delay: 0.4s; }
.featured-item:nth-child(5) { animation-delay: 0.5s; }
.featured-item:nth-child(6) { animation-delay: 0.6s; }
.featured-item:nth-child(7) { animation-delay: 0.7s; }
.featured-item:nth-child(8) { animation-delay: 0.8s; }
.featured-item:nth-child(9) { animation-delay: 0.9s; }

.featured-item.no-image {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--cream) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-item.no-image::before {
    content: '📷';
    font-size: 4rem;
    opacity: 0.3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.featured-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.featured-item:hover .featured-image {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.95) 0%, rgba(26, 26, 46, 0.7) 70%, transparent 100%);
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(0);
    transition: var(--transition);
}

.featured-item:hover .featured-overlay {
    background: linear-gradient(to top, rgba(26, 26, 46, 0.98) 0%, rgba(26, 26, 46, 0.85) 70%, transparent 100%);
}

.featured-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--white);
}

.featured-overlay p {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.9;
}

.featured-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-view-all:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-overlay h3 {
        font-size: 1.25rem;
    }

    .btn-view-all {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
}

.portfolio-section.alt-bg {
    background-color: var(--white);
}

section h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.05;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--highlight), var(--gold));
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--mid-gray);
    margin: 3rem auto 4rem;
    max-width: 800px;
    line-height: 1.8;
}

.subsection-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    color: var(--secondary);
    margin: 4rem 0 2.5rem;
    text-align: center;
    font-weight: 600;
    line-height: 1.15;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.about-lead {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    color: var(--accent) !important;
    margin-bottom: 2.5rem !important;
}

.about-content p {
    margin-bottom: 1.75rem;
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--primary);
}

.about-content h3 {
    font-family: var(--font-display);
    color: var(--accent);
    margin: 2.5rem 0 1.25rem;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.about-content ul {
    margin-left: 2rem;
    margin-bottom: 1.75rem;
}

.about-content li {
    margin-bottom: 1rem;
    font-size: 1.075rem;
    color: var(--primary);
    position: relative;
    padding-left: 1rem;
}

.about-content li::before {
    content: '→';
    position: absolute;
    left: -1.5rem;
    color: var(--highlight);
    font-weight: bold;
}

.portfolio-note {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.08) 0%, rgba(42, 157, 143, 0.08) 100%);
    border-left: 4px solid var(--highlight);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.portfolio-note p {
    margin-bottom: 0;
    font-size: 1.05rem;
    color: var(--primary);
}

.portfolio-note strong {
    color: var(--highlight);
}

/* ========================================
   IMAGE GALLERIES
   ======================================== */

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: var(--light-gray);
    aspect-ratio: 4/3;
}

.gallery-item.no-image {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--cream) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item.no-image::before {
    content: '📷';
    font-size: 3rem;
    opacity: 0.3;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover .portfolio-image {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .image-caption {
    transform: translateY(0);
}

/* Lightbox effect on click */
.portfolio-image:hover {
    cursor: zoom-in;
}

/* PDF linked images */
.gallery-item a[href$=".pdf"] {
    display: block;
    text-decoration: none;
}

.gallery-item a[href$=".pdf"] .portfolio-image {
    cursor: pointer;
}

.gallery-item a[href$=".pdf"]:hover .portfolio-image {
    opacity: 0.9;
}

/* Single large image display */
.project-image-large {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
    transition: var(--transition);
}

.project-image-large:hover {
    box-shadow: var(--shadow-xl);
    transform: scale(1.02);
}

/* PDF Viewer Buttons */
.pdf-viewer {
    margin-top: 2rem;
    text-align: center;
}

.btn-pdf {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--highlight) 0%, var(--gold) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-pdf:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--gold) 0%, var(--highlight) 100%);
}

.btn-pdf svg {
    stroke-width: 2;
}

/* Alternative: Simple PDF link style */
.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--highlight);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--highlight);
    border-radius: 8px;
    transition: var(--transition);
    margin-top: 1rem;
}

.pdf-link:hover {
    background: var(--highlight);
    color: var(--white);
    transform: translateX(5px);
}

/* ========================================
   PROJECT CARDS
   ======================================== */

.project-showcase {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.project-showcase:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.project-showcase h3 {
    font-family: var(--font-display);
    color: var(--highlight);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.15;
}

.project-showcase p {
    margin-bottom: 1.25rem;
    line-height: 1.9;
    font-size: 1.075rem;
}

.project-showcase strong {
    color: var(--accent);
    font-weight: 600;
}

.project-description {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

.project-description ul {
    margin-left: 2rem;
    margin-top: 1.25rem;
}

.project-description li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--highlight), var(--gold), var(--teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-card h3 {
    font-family: var(--font-display);
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
}

.project-card p {
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.025rem;
}

.project-card ul {
    margin-left: 1.75rem;
    margin-top: 1rem;
}

.project-card li {
    margin-bottom: 0.75rem;
    color: var(--mid-gray);
    font-size: 0.975rem;
    position: relative;
}

.project-card li::marker {
    color: var(--highlight);
}

/* ========================================
   BEFORE AND AFTER SECTION
   ======================================== */

.before-after-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.before-after-item {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.before-after-item h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
}

.before-after-item > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.before-after-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.comparison-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.comparison-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.comparison-image img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.image-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(30, 58, 95, 0.9);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ========================================
   PERSONAL SECTION
   ======================================== */

.personal-section {
    padding: 6rem 24px;
    background: linear-gradient(135deg, #fdf8f3 0%, #f8f4ef 100%);
}

.personal-content {
    max-width: 1000px;
    margin: 0 auto;
}

.personal-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    text-align: center;
    color: var(--primary);
    margin-bottom: 3rem;
    font-style: italic;
}

.personal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.personal-item {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.personal-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.personal-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    line-height: 1;
}

.personal-item h3 {
    font-family: var(--font-display);
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.personal-item p {
    color: var(--primary);
    line-height: 1.7;
    font-size: 1.05rem;
}

.social-links {
    text-align: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.social-links h3 {
    font-family: var(--font-display);
    color: var(--accent);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.2;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.linkedin-btn {
    background: linear-gradient(135deg, #0077b5 0%, #005582 100%);
    color: var(--white);
}

.linkedin-btn:hover {
    background: linear-gradient(135deg, #005582 0%, #0077b5 100%);
}

.etsy-btn {
    background: linear-gradient(135deg, #f1641e 0%, #d84315 100%);
    color: var(--white);
}

.etsy-btn:hover {
    background: linear-gradient(135deg, #d84315 0%, #f1641e 100%);
}

.instagram-btn {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: var(--white);
}

.instagram-btn:hover {
    background: linear-gradient(135deg, #fcb045 0%, #fd1d1d 50%, #833ab4 100%);
}

.social-btn svg {
    flex-shrink: 0;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    padding: 6rem 24px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-section h2::after {
    background: linear-gradient(90deg, var(--gold), var(--highlight));
}

.contact-section > p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.contact-details {
    font-size: 1.2rem;
}

.contact-details p {
    margin-bottom: 1.25rem;
}

.contact-details strong {
    color: var(--gold);
    font-weight: 600;
}

.contact-details a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 2.5rem 24px;
    opacity: 0.9;
}

footer p {
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.footer-note {
    margin-top: 0.5rem !important;
    font-size: 0.75rem !important;
    opacity: 0.7;
    font-style: italic;
}

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

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .navbar .container {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        text-align: center;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
        padding: 0;
    }

    .nav-menu.active {
        max-height: 600px;
        padding: 1rem 0;
    }

    .nav-menu li {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    .hero {
        padding: 6rem 24px 5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    section h2 {
        font-size: 2.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .subsection-title {
        font-size: 1.75rem;
    }

    .about-content,
    .project-card,
    .project-showcase {
        padding: 2rem;
    }

    .before-after-item {
        padding: 1.5rem;
    }

    .before-after-images {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .about-content,
    .project-card,
    .project-showcase {
        padding: 1.5rem;
    }

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

    .btn-primary,
    .btn-secondary {
        font-size: 1rem;
        padding: 1rem 2rem;
    }

    .image-gallery {
        gap: 1.5rem;
    }

    .btn-pdf {
        font-size: 0.95rem;
        padding: 0.8rem 1.5rem;
    }
}

/* iPhone and Mobile Specific Improvements */
@media (max-width: 414px) {
    body {
        font-size: 16px; /* Prevents iOS zoom on input focus */
    }

    .navbar {
        position: sticky;
    }

    .nav-menu {
        font-size: 0.9rem;
        gap: 1rem;
    }

    .nav-menu a {
        padding: 0.5rem 0;
        display: block;
    }

    .hero {
        padding: 4rem 16px 3rem;
    }

    .hero h1 {
        font-size: 2.25rem;
        line-height: 1;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    section {
        padding: 3rem 16px;
    }

    section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .section-intro {
        font-size: 1rem;
    }

    .image-gallery {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .gallery-item {
        min-height: 200px;
    }

    .image-caption {
        font-size: 0.85rem;
        padding: 0.75rem;
    }

    .project-card h3,
    .before-after-item h3 {
        font-size: 1.35rem;
    }

    .project-card,
    .before-after-item {
        padding: 1.25rem;
    }

    .personal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .personal-icon {
        font-size: 2.5rem;
    }

    .social-btn {
        font-size: 0.9rem;
        padding: 0.85rem 1.5rem;
    }

    /* Better touch targets */
    a, button {
        min-height: 44px;
        min-width: 44px;
    }

    /* Prevent horizontal scroll */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Make lightbox work better on mobile */
    .lightbox-content img {
        max-width: 95%;
        max-height: 80vh;
    }

    .lightbox-close {
        width: 50px;
        height: 50px;
        font-size: 2.5rem;
    }
}

/* ========================================
   PDF LIGHTBOX
   ======================================== */

.pdf-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.pdf-lightbox.active {
    display: flex;
}

.pdf-lightbox-content {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    animation: zoomIn 0.3s ease;
}

.pdf-lightbox-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: var(--white);
}

.pdf-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-weight: 300;
}

.pdf-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .pdf-lightbox-content {
        width: 95%;
        height: 85%;
    }

    .pdf-lightbox-close {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

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

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ========================================
   STICKY CONTACT BUTTON
   ======================================== */

.sticky-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--highlight) 0%, var(--gold) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    z-index: 9999;
    border: 2px solid transparent;
    animation: pulseButton 2s ease-in-out infinite;
}

.sticky-contact-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 60px rgba(233, 69, 96, 0.4);
    background: linear-gradient(135deg, var(--gold) 0%, var(--highlight) 100%);
}

.sticky-contact-btn svg {
    stroke: currentColor;
}

@keyframes pulseButton {
    0%, 100% {
        box-shadow: var(--shadow-xl);
    }
    50% {
        box-shadow: 0 12px 40px rgba(233, 69, 96, 0.5);
    }
}

@media (max-width: 768px) {
    .sticky-contact-btn {
        bottom: 20px;
        right: 20px;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ========================================
   CONTACT POPUP MODAL
   ======================================== */

.contact-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.contact-popup.active {
    display: flex;
}

.contact-popup-content {
    position: relative;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    animation: zoomIn 0.3s ease;
}

.contact-popup-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-popup-content h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--highlight), var(--gold));
    border-radius: 2px;
}

.contact-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--mid-gray);
    font-size: 2.5rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-weight: 300;
    line-height: 1;
}

.contact-popup-close:hover {
    color: var(--highlight);
    transform: rotate(90deg);
}

.contact-popup-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-popup-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-gray) 100%);
    border-radius: 12px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-popup-item:hover {
    transform: translateX(8px);
    border-color: var(--highlight);
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--cream) 100%);
}

.contact-popup-item.linkedin:hover {
    border-color: #0077b5;
}

.contact-popup-item.email:hover {
    border-color: var(--gold);
}

.contact-popup-item.phone:hover {
    border-color: var(--teal);
}

.contact-popup-item svg {
    flex-shrink: 0;
    color: var(--accent);
}

.contact-popup-item.linkedin svg {
    fill: #0077b5;
}

.contact-popup-item.email svg {
    stroke: var(--gold);
}

.contact-popup-item.phone svg {
    stroke: var(--teal);
}

@media (max-width: 768px) {
    .contact-popup-content {
        padding: 2.5rem 2rem;
        width: 95%;
    }

    .contact-popup-content h2 {
        font-size: 2rem;
    }

    .contact-popup-item {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-gradient {
    background: linear-gradient(135deg, var(--highlight) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .hero-shapes,
    .bg-decoration {
        display: none;
    }

    .hero {
        padding: 2rem 0;
        background: var(--white);
        color: var(--primary);
    }

    section {
        page-break-inside: avoid;
    }
}

/* ========================================
   IMAGE LIGHTBOX
   ======================================== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-weight: 300;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--white);
    font-size: 1.1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-caption {
        position: fixed;
        bottom: 0;
        font-size: 0.9rem;
    }
}
