/* ========================================
   CSS Variables & Base Styles
   ======================================== */
:root {
    /* Primary Colors */
    --primary-blue: #2563EB;
    --secondary-blue: #1D4ED8;
    --accent-blue: #60A5FA;
    
    /* Neutral Colors */
    --dark-gray: #1F2937;
    --medium-gray: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    
    /* Status Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    
    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    background-color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ========================================
   Container
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -0.025em;
}

.nav-list {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-gray);
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark-gray);
    transition: var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 4rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.025em;
}

.hero-title-line {
    display: block;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--medium-gray);
    margin-bottom: var(--space-sm);
}

.hero-title-name {
    display: block;
    color: var(--primary-blue);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: var(--space-md);
}

.hero-description {
    font-size: 1rem;
    color: var(--medium-gray);
    margin-bottom: var(--space-xl);
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-code-block {
    background: var(--dark-gray);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-xl);
    max-width: 400px;
    width: 100%;
}

.code-header {
    display: flex;
    gap: 6px;
    margin-bottom: var(--space-md);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #FF5F56; }
.code-dot.yellow { background: #FFBD2E; }
.code-dot.green { background: #27CA40; }

.code-content {
    font-family: 'Fira Code', 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #E5E7EB;
    line-height: 1.6;
}

.code-keyword { color: #C792EA; }
.code-variable { color: #82AAFF; }
.code-property { color: #80CBC4; }
.code-string { color: #C3E88D; }

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--medium-gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--medium-gray);
    border-bottom: 2px solid var(--medium-gray);
    transform: rotate(45deg);
    animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    50% {
        transform: rotate(45deg) translateY(8px) translateX(8px);
    }
}

/* ========================================
   Section Styles
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--medium-gray);
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.about-content {
    display: flex;
    justify-content: center;
}

.about-text {
    max-width: 700px;
    text-align: center;
}

/* Water Drop Animation - Realistic */
.water-drop-container {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.water-drop {
    width: 24px;
    height: 32px;
    background: linear-gradient(180deg, rgba(79, 172, 254, 0.9) 0%, rgba(0, 242, 254, 0.9) 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: dropFall 2.5s ease-in infinite;
    box-shadow: 
        inset -3px -3px 8px rgba(0, 100, 200, 0.3),
        inset 3px 3px 8px rgba(255, 255, 255, 0.4),
        0 4px 15px rgba(79, 172, 254, 0.5);
    z-index: 5;
}

.water-drop::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.water-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 3px solid rgba(79, 172, 254, 0.3);
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 
        inset 0 0 30px rgba(79, 172, 254, 0.1),
        0 10px 30px rgba(79, 172, 254, 0.2);
}

.water-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, 
        rgba(79, 172, 254, 0.9) 0%, 
        rgba(0, 242, 254, 0.9) 50%,
        rgba(79, 172, 254, 0.95) 100%);
    animation: fillCircle 2.5s ease-in-out infinite;
    box-shadow: 0 -10px 30px rgba(79, 172, 254, 0.4);
}

.water-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        transparent 100%);
    border-radius: 50%;
}

.water-circle .center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 10;
}

.water-circle .center-icon svg {
    width: 24px;
    height: 24px;
    color: #4facfe;
}

@keyframes dropFall {
    0% {
        top: 0;
        opacity: 1;
        transform: translateX(-50%) scaleX(1) scaleY(1);
    }
    30% {
        top: 80px;
        opacity: 1;
        transform: translateX(-50%) scaleX(1.1) scaleY(0.9);
    }
    60% {
        top: 130px;
        opacity: 1;
        transform: translateX(-50%) scaleX(0.9) scaleY(1.1);
    }
    80% {
        top: 155px;
        opacity: 0.8;
        transform: translateX(-50%) scaleX(0.5) scaleY(0.5);
    }
    81% {
        top: 155px;
        opacity: 0;
        transform: translateX(-50%) scaleX(0.3) scaleY(0.3);
    }
    100% {
        top: 155px;
        opacity: 0;
        transform: translateX(-50%) scaleX(0.3) scaleY(0.3);
    }
}

@keyframes fillCircle {
    0% {
        height: 0%;
    }
    70% {
        height: 0%;
    }
    80% {
        height: 75%;
    }
    90% {
        height: 75%;
    }
    100% {
        height: 0%;
    }
}

.about-text {
    max-width: 600px;
}

.about-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: var(--space-md);
}

.about-paragraph {
    font-size: 1rem;
    color: var(--medium-gray);
    line-height: 1.75;
    margin-bottom: var(--space-md);
}

.about-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--light-gray);
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

/* ========================================
   Skills Section
   ======================================== */
.skills {
    padding: var(--space-4xl) 0;
    background: var(--light-gray);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.skill-category {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
    opacity: 1;
    transform: translateY(0);
}

.skill-category:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.skill-category-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--accent-blue);
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
}

.skill-item:hover {
    background: var(--light-gray);
}

.skill-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon i {
    font-size: 40px;
}

.skill-icon svg {
    width: 40px;
    height: 40px;
}

.skill-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-gray);
    text-align: center;
}

/* ========================================
   Projects Section
   ======================================== */
.projects {
    padding: var(--space-4xl) 0;
    background: var(--white);
    min-height: 100vh;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    max-width: 100%;
}

/* Play Store Button */
.btn-playstore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 16px;
}

.btn-playstore:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #2a2a2a 0%, #444 100%);
}

.btn-playstore .playstore-icon {
    width: 20px;
    height: 20px;
}

.btn-playstore.btn-youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.btn-playstore.btn-youtube:hover {
    background: linear-gradient(135deg, #ff1111 0%, #dd0000 100%);
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--space-lg);
    transition: var(--transition-medium);
    border: 1px solid var(--light-gray);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.project-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.project-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-icon-fallback {
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-blue) 100%);
}

.project-title-wrapper {
    flex: 1;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: var(--space-xs);
}

.project-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.project-description {
    font-size: 0.9375rem;
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.tech-tag {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--dark-gray);
    background: var(--light-gray);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.project-details {
    display: none;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--light-gray);
}

.project-details.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.project-note {
    font-size: 0.875rem;
    color: var(--medium-gray);
    font-style: italic;
    margin-bottom: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(37, 99, 235, 0.05);
    border-left: 3px solid var(--primary-blue);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    display: block;
}

.project-technical {
    font-size: 0.8125rem;
    color: var(--medium-gray);
    line-height: 1.6;
}

.project-technical strong {
    color: var(--dark-gray);
    font-weight: 600;
}

.btn-learn-more {
    display: inline-block;
    margin-top: var(--space-md);
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary-blue);
    background: transparent;
    border: 1px solid var(--primary-blue);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-learn-more:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-learn-more.active {
    background: var(--primary-blue);
    color: var(--white);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 10000;
}

.project-screenshots {
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: var(--radius-lg);
    background: var(--light-gray);
    min-height: 400px;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: var(--space-sm) 0;
    margin-top: var(--space-md);
}

.screenshot-carousel {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: var(--space-sm) var(--space-md);
    width: 100%;
    scroll-behavior: smooth;
}

.screenshot-carousel .screenshot {
    height: 400px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    border-radius: var(--radius-md);
    scroll-snap-align: start;
    flex-shrink: 0;
    background: #e5e7eb;
    cursor: pointer;
    transition: var(--transition-fast);
}

.screenshot-carousel .screenshot:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.screenshot-carousel.landscape .screenshot {
    max-height: 400px;
    max-width: 700px;
    background: #e5e7eb;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-2xl);
}

.contact-form-wrapper {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-label .optional {
    font-weight: 400;
    color: var(--medium-gray);
}

.form-input {
    padding: 0.75rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
    color: #9CA3AF;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-error {
    font-size: 0.75rem;
    color: var(--error);
    min-height: 1rem;
}

.btn-submit {
    position: relative;
    padding: 0.875rem 2rem;
}

.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    visibility: hidden;
}

.btn-submit.loading .btn-loading {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-submit .spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.form-status {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 0.875rem;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-info {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 0.9375rem;
    color: var(--dark-gray);
}

a.contact-value:hover {
    color: var(--primary-blue);
}

.contact-social {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.social-link {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.social-link svg {
    width: 24px;
    height: 24px;
    color: var(--dark-gray);
    transition: var(--transition-fast);
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.social-link:hover svg {
    color: var(--primary-blue);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark-gray);
    padding: var(--space-xl) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    font-size: 0.875rem;
    color: #9CA3AF;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social-link {
    color: #9CA3AF;
    transition: var(--transition-fast);
}

.footer-social-link:hover {
    color: var(--white);
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Tablet */
@media (max-width: 1023px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 767px) {
    html {
        font-size: 14px;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        padding: var(--space-4xl) var(--space-xl);
        transition: var(--transition-medium);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .nav-link {
        font-size: 1.125rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-card {
        padding: var(--space-md);
    }
    
    .screenshot-carousel .screenshot {
        width: 120px;
        height: 240px;
    }
    
    .screenshot-carousel.landscape .screenshot {
        width: 240px;
        height: 140px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}
