/* Geometric Shapes Portfolio - Paul Robello */

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

:root {
    /* Geometric color palette */
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-red: #ff6b6b;
    --accent-blue: #4ecdc4;
    --accent-yellow: #ffe66d;
    --accent-green: #a8e6cf;
    --accent-purple: #dda0dd;
    --accent-orange: #ff9f40;
    
    /* Text colors */
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    
    /* Gradients */
    --gradient-red: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    --gradient-blue: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    --gradient-yellow: linear-gradient(135deg, #ffe66d 0%, #ff9f40 100%);
    --gradient-green: linear-gradient(135deg, #a8e6cf 0%, #88d8a3 100%);
    --gradient-purple: linear-gradient(135deg, #dda0dd 0%, #c8a2c8 100%);
    --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    
    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 20px;
    --border-radius: 20px;
    
    /* Shadows */
    --shadow-light: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-medium: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-heavy: 0 15px 50px rgba(0,0,0,0.15);
    --shadow-colored: 0 10px 40px rgba(255, 107, 107, 0.3);
    
    /* Animations */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Typography */
body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
h2 { font-size: clamp(2rem, 6vw, 3rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2rem); }
h4 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-shapes {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.sec-shape {
    width: 20px;
    height: 20px;
}

.ss-1 { background: var(--gradient-red); clip-path: polygon(50% 0%, 0% 100%, 100% 100%); }
.ss-2 { background: var(--gradient-blue); border-radius: 50%; }
.ss-3 { background: var(--gradient-yellow); }
.ss-4 { background: var(--gradient-green); clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }
.ss-5 { background: var(--gradient-purple); border-radius: 50%; }
.ss-6 { background: var(--gradient-red); transform: rotate(45deg); }
.ss-7 { background: var(--gradient-blue); clip-path: polygon(50% 0%, 0% 100%, 100% 100%); }
.ss-8 { background: var(--gradient-yellow); border-radius: 50%; }
.ss-9 { background: var(--gradient-green); }
.ss-10 { background: var(--gradient-purple); clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }
.ss-11 { background: var(--gradient-red); border-radius: 50%; }
.ss-12 { background: var(--gradient-blue); transform: rotate(45deg); }
.ss-13 { background: var(--gradient-yellow); clip-path: polygon(50% 0%, 0% 100%, 100% 100%); }
.ss-14 { background: var(--gradient-green); border-radius: 50%; }
.ss-15 { background: var(--gradient-purple); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition-slow);
}

.btn:hover .btn-shape {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--white);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Geometric Background */
.geometric-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
}

.shape-1 {
    top: 10%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: var(--gradient-red);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-2 {
    top: 20%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    border-radius: 50%;
}

.shape-3 {
    top: 40%;
    left: 8%;
    width: 100px;
    height: 100px;
    background: var(--gradient-yellow);
}

.shape-4 {
    bottom: 30%;
    right: 5%;
    width: 70px;
    height: 70px;
    background: var(--gradient-green);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.shape-5 {
    bottom: 20%;
    left: 15%;
    width: 90px;
    height: 90px;
    background: var(--gradient-purple);
    border-radius: 50%;
}

.shape-6 {
    top: 60%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: var(--gradient-red);
    transform: rotate(45deg);
}

.shape-7 {
    top: 15%;
    left: 40%;
    width: 65px;
    height: 65px;
    background: var(--gradient-blue);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-8 {
    bottom: 40%;
    right: 30%;
    width: 75px;
    height: 75px;
    background: var(--gradient-yellow);
    border-radius: 50%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-geometric {
    display: flex;
    gap: 5px;
}

.geo-shape {
    width: 15px;
    height: 15px;
    transition: var(--transition);
}

.geo-triangle {
    background: var(--gradient-red);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.geo-circle {
    background: var(--gradient-blue);
    border-radius: 50%;
}

.geo-square {
    background: var(--gradient-yellow);
}

.logo-geometric:hover .geo-shape {
    transform: scale(1.2) rotate(45deg);
}

.logo-text {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
    font-family: var(--font-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-red);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--accent-red);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
}

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

.hero-shape {
    position: absolute;
    width: 150px;
    height: 150px;
    opacity: 0.3;
}

.hero-shape-1 {
    top: 15%;
    left: 10%;
}

.hero-shape-2 {
    top: 25%;
    right: 15%;
}

.hero-shape-3 {
    bottom: 30%;
    left: 20%;
}

.hero-shape-4 {
    bottom: 20%;
    right: 25%;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-text {
    text-align: left;
}

.text-block {
    position: relative;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.title-word {
    display: block;
    position: relative;
}

.title-shapes {
    position: absolute;
    top: 0;
    right: -50px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.title-shape {
    width: 20px;
    height: 20px;
}

.ts-1 {
    background: var(--gradient-red);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.ts-2 {
    background: var(--gradient-blue);
    border-radius: 50%;
}

.ts-3 {
    background: var(--gradient-yellow);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: var(--text-light);
    line-height: 1.8;
    max-width: 500px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 300px;
}

.grid-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.item-1::before { background: var(--gradient-red); }
.item-2::before { background: var(--gradient-blue); }
.item-3::before { background: var(--gradient-yellow); }
.item-4::before { background: var(--gradient-green); }

.item-content i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.item-content span {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-shape {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.stat-triangle {
    background: var(--gradient-red);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.stat-circle {
    background: var(--gradient-blue);
    border-radius: 50%;
}

.stat-hexagon {
    background: var(--gradient-yellow);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--gray-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.info-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-red);
}

.info-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-text {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.contact-shape {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.ci-1 {
    background: var(--gradient-red);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.ci-2 {
    background: var(--gradient-blue);
    border-radius: 50%;
}

.ci-3 {
    background: var(--gradient-yellow);
}

.contact-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-text i {
    color: var(--text-light);
    width: 20px;
}

.contact-text a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--accent-red);
}

.about-visual {
    display: flex;
    justify-content: center;
}

.geometric-portrait {
    position: relative;
    width: 300px;
    height: 400px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portrait-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.p-shape {
    position: absolute;
    opacity: 0.1;
}

.ps-1 {
    top: 20px;
    left: 20px;
    width: 30px;
    height: 30px;
    background: var(--gradient-red);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.ps-2 {
    top: 20px;
    right: 20px;
    width: 25px;
    height: 25px;
    background: var(--gradient-blue);
    border-radius: 50%;
}

.ps-3 {
    bottom: 20px;
    left: 20px;
    width: 35px;
    height: 35px;
    background: var(--gradient-yellow);
}

.ps-4 {
    bottom: 20px;
    right: 20px;
    width: 28px;
    height: 28px;
    background: var(--gradient-green);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.ps-5 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-purple);
    border-radius: 50%;
}

.portrait-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.portrait-icon {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.portrait-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.portrait-content p {
    color: var(--text-light);
    margin: 0;
}

/* Experience Section */
.experience {
    padding: var(--section-padding);
    background: var(--white);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.exp-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.exp-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.exp-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.exp-shapes {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.exp-shape {
    width: 20px;
    height: 20px;
}

.es-1 { background: var(--gradient-red); clip-path: polygon(50% 0%, 0% 100%, 100% 100%); }
.es-2 { background: var(--gradient-blue); border-radius: 50%; }
.es-3 { background: var(--gradient-yellow); }
.es-4 { background: var(--gradient-green); clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }
.es-5 { background: var(--gradient-purple); border-radius: 50%; }
.es-6 { background: var(--gradient-red); transform: rotate(45deg); }

.exp-content {
    position: relative;
    z-index: 2;
}

.exp-date {
    font-size: 0.9rem;
    color: var(--accent-red);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.exp-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.exp-content h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.exp-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.exp-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--accent-red);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Skills Section */
.skills {
    padding: var(--section-padding);
    background: var(--gray-light);
}

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

.skill-category {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.skill-category.animate {
    opacity: 1;
    transform: translateY(0);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.cat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cat-shape {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.cs-1 { background: var(--gradient-red); clip-path: polygon(50% 0%, 0% 100%, 100% 100%); }
.cs-2 { background: var(--gradient-blue); border-radius: 50%; }
.cs-3 { background: var(--gradient-yellow); }
.cs-4 { background: var(--gradient-green); clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }

.cat-header h3 {
    color: var(--text-dark);
    margin: 0;
    font-weight: 700;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.skill-item:hover {
    transform: translateX(10px);
}

.skill-shape {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.si-1, .si-5, .si-9 { background: var(--gradient-red); clip-path: polygon(50% 0%, 0% 100%, 100% 100%); }
.si-2, .si-6, .si-10 { background: var(--gradient-blue); border-radius: 50%; }
.si-3, .si-7, .si-11 { background: var(--gradient-yellow); }
.si-4, .si-8, .si-12 { background: var(--gradient-green); }

.skill-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.certification-badge {
    background: var(--gradient-red);
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cert-shapes {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.cert-shape {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
}

.cert-1 { clip-path: polygon(50% 0%, 0% 100%, 100% 100%); }
.cert-2 { border-radius: 50%; }

.cert-content {
    position: relative;
    z-index: 2;
}

.cert-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cert-title {
    display: block;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cert-subtitle {
    font-weight: 500;
    opacity: 0.9;
}

/* Projects Section */
.projects {
    padding: var(--section-padding);
    background: var(--white);
}

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

.project-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    cursor: pointer;
}

.project-card.animate {
    opacity: 1;
    transform: translateY(0);
}

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

.proj-shapes {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 5px;
}

.proj-shape {
    width: 15px;
    height: 15px;
}

.pjs-1, .pjs-4, .pjs-7, .pjs-10 { background: var(--gradient-red); clip-path: polygon(50% 0%, 0% 100%, 100% 100%); }
.pjs-2, .pjs-5, .pjs-8, .pjs-11 { background: var(--gradient-blue); border-radius: 50%; }
.pjs-3, .pjs-6, .pjs-9, .pjs-12 { background: var(--gradient-yellow); }

.proj-content {
    position: relative;
    z-index: 2;
}

.proj-icon {
    font-size: 3rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.proj-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.proj-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.proj-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: var(--gray-light);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--gray-medium);
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--gray-light);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.contact-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.cc-shapes {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.cc-shape {
    width: 15px;
    height: 15px;
}

.ccs-1, .ccs-3, .ccs-5, .ccs-7 { background: var(--gradient-red); clip-path: polygon(50% 0%, 0% 100%, 100% 100%); }
.ccs-2, .ccs-4, .ccs-6, .ccs-8 { background: var(--gradient-blue); border-radius: 50%; }

.cc-content {
    position: relative;
    z-index: 2;
}

.cc-content i {
    font-size: 2.5rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.cc-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.cc-content a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.cc-content a:hover {
    color: var(--accent-red);
}

.contact-cta {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-medium);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    opacity: 0.1;
}

.cs-main {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--gradient-red);
    border-radius: 50%;
}

.cs-accent-1 {
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--gradient-blue);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.cs-accent-2 {
    bottom: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    background: var(--gradient-yellow);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo .geo-shape {
    background: var(--white);
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-text p {
    margin: 0;
    opacity: 0.8;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.footer-shape {
    position: absolute;
    opacity: 0.1;
}

.fs-1 {
    top: 20px;
    left: 20px;
    width: 30px;
    height: 30px;
    background: var(--white);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.fs-2 {
    top: 20px;
    right: 20px;
    width: 25px;
    height: 25px;
    background: var(--white);
    border-radius: 50%;
}

.fs-3 {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .title-shapes {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 80px 0;
        --container-padding: 0 15px;
    }
    
    .hero {
        padding: 100px 15px 60px;
    }
    
    .visual-grid {
        max-width: 250px;
    }
    
    .stat-card {
        padding: 0.8rem 1.5rem;
    }
    
    .geometric-portrait {
        width: 250px;
        height: 320px;
    }
    
    .exp-card {
        padding: 1.5rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-cta {
        padding: 2rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-shapes,
    .geometric-bg,
    .footer-shapes {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section-title::after {
        background: black;
    }
}