:root {
    /* Tropical Color Palette - Vibrant Island Paradise */
    --bg-color: #0a1628;
    --bg-gradient: linear-gradient(180deg, #0a1628 0%, #0d2137 50%, #0a1628 100%);
    --surface-color: #0f2847;
    --surface-hover: #153560;
    --primary-color: #ff6b6b;
    /* Coral */
    --secondary-color: #4ecdc4;
    /* Turquoise */
    --accent-lime: #a8e6cf;
    /* Lime/Mint */
    --accent-yellow: #ffd93d;
    /* Sunny Yellow */
    --accent-orange: #ff9f43;
    /* Tropical Orange */
    --accent-pink: #ff85a2;
    /* Hibiscus Pink */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --border-color: rgba(78, 205, 196, 0.3);

    /* Fonts - Playful & Rounded */
    --font-heading: 'Quicksand', sans-serif;
    --font-accent: 'Pacifico', cursive;
    --font-body: 'Nunito', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Effects - Vibrant & Energetic */
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --glow-coral: 0 0 30px rgba(255, 107, 107, 0.4);
    --glow-turquoise: 0 0 30px rgba(78, 205, 196, 0.4);
    --glow-lime: 0 0 25px rgba(168, 230, 207, 0.3);
}

body.day-mode {
    --bg-color: #fefefe;
    --bg-gradient: linear-gradient(180deg, #fefefe 0%, #f4fbff 50%, #fdfdfd 100%);
    --surface-color: #dfd3d3;
    --surface-hover: #f5f9ff;
    --text-primary: #0f1f33;
    --text-secondary: rgba(15, 31, 51, 0.8);
    --border-color: rgba(15, 31, 51, 0.14);
    --shadow-sm: 0 4px 15px rgba(15, 31, 51, 0.08);
    --shadow-md: 0 12px 40px rgba(15, 31, 51, 0.14);
}

.media-card,
.card-photo,
.experience-card-photo {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-sm);
}

.media-card img,
.card-photo img,
.experience-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-photo {
    margin-bottom: var(--spacing-sm);
}

.card-photo img {
    min-height: 220px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Tropical Palm Leaf Pattern Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        /* Palm fronds silhouettes */
        radial-gradient(ellipse 200px 100px at 0% 0%, rgba(78, 205, 196, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 150px 200px at 100% 20%, rgba(255, 107, 107, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 180px 120px at 10% 80%, rgba(168, 230, 207, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 160px 180px at 90% 90%, rgba(255, 159, 67, 0.05) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
    animation: tropical-sway 20s ease-in-out infinite;
}

body.day-mode::before {
    background-image:
        radial-gradient(ellipse 200px 100px at 0% 0%, rgba(78, 205, 196, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 150px 200px at 100% 20%, rgba(255, 159, 67, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 180px 120px at 10% 80%, rgba(168, 230, 207, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 160px 180px at 90% 90%, rgba(255, 213, 157, 0.1) 0%, transparent 70%);
}

@keyframes tropical-sway {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(10px) translateY(-5px); }
    50% { transform: translateX(-5px) translateY(5px); }
    75% { transform: translateX(5px) translateY(-3px); }
}

/* Decorative Wave Pattern */
body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(180deg, transparent, rgba(78, 205, 196, 0.05));
    z-index: -1;
    pointer-events: none;
}

body.day-mode::after {
    background: linear-gradient(180deg, transparent, rgba(78, 205, 196, 0.1));
}

/* Typography - Playful & Rounded */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-family: var(--font-body);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========================================
   NAVBAR - Tropical Beach Bar Style
   ======================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, 
        rgba(10, 22, 40, 0.95) 0%, 
        rgba(15, 40, 71, 0.9) 100%);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 2px solid var(--border-color);
}

body.day-mode .navbar {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.92) 0%,
            rgba(240, 250, 255, 0.9) 100%);
    border-bottom-color: rgba(15, 31, 51, 0.12);
    box-shadow: 0 15px 35px rgba(15, 31, 51, 0.08);
}

/* Colorful gradient top accent */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--primary-color),
        var(--accent-orange),
        var(--accent-yellow),
        var(--accent-lime),
        var(--secondary-color));
}

/* Palm leaf decoration */
.navbar::after {
    content: '🌴';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0.3;
}

.logo {
    font-family: var(--font-accent);
    font-weight: 400;
    font-size: 1.8rem;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.cursor {
    color: var(--secondary-color);
    animation: wave-bounce 1.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes wave-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(5deg); }
    75% { transform: translateY(2px) rotate(-5deg); }
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

/* Wavy underline effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.theme-switch {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: rgba(78, 205, 196, 0.2);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.theme-switch svg {
    width: 22px;
    height: 22px;
}

.theme-switch:hover {
    box-shadow: var(--glow-turquoise);
    transform: translateY(-2px) scale(1.02);
}

.theme-switch:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
}

.theme-switch .icon-sun {
    display: none;
}

body.day-mode .theme-switch {
    background: rgba(15, 31, 51, 0.08);
    border-color: rgba(15, 31, 51, 0.2);
}

body.day-mode .theme-switch .icon-sun {
    display: block;
}

body.day-mode .theme-switch .icon-moon {
    display: none;
}

/* ========================================
   BUTTONS - Tropical Vibrant Style
   ======================================== */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 50px;
}

/* Shimmer effect on hover */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.small {
    padding: 0.7rem 1.4rem;
    font-size: 0.8rem;
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.cta-button.small:hover {
    background: var(--secondary-color);
    color: var(--bg-color);
    box-shadow: var(--glow-turquoise);
    transform: translateY(-3px) scale(1.02);
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-orange));
    color: white;
    box-shadow: var(--shadow-sm);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, var(--accent-orange), var(--primary-color));
    box-shadow: var(--glow-coral), var(--shadow-md);
    transform: translateY(-4px) scale(1.02);
}

.cta-button.secondary {
    background: rgba(78, 205, 196, 0.15);
    border: 2px solid var(--secondary-color);
    color: var(--text-primary);
}

.cta-button.secondary:hover {
    background: rgba(78, 205, 196, 0.3);
    border-color: var(--accent-lime);
    box-shadow: var(--glow-turquoise);
    transform: translateY(-3px);
}

/* ========================================
   SECTIONS - Island Layout
   ======================================== */
.section {
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Decorative wave divider */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--secondary-color), 
        var(--accent-lime), 
        var(--secondary-color));
    border-radius: 10px;
}

.section-header {
    margin-bottom: var(--spacing-lg);
    text-align: center;
    position: relative;
}

/* Tropical flower decoration */
.section-header::before {
    content: '🌺';
    display: block;
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    animation: flower-sway 3s ease-in-out infinite;
}

@keyframes flower-sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.section-number {
    font-family: var(--font-accent);
    color: var(--secondary-color);
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.section-header h2 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--text-primary), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   HERO SECTION - Beach Paradise Entrance
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

/* Floating tropical elements */
.hero-section::before {
    content: '🌊';
    position: absolute;
    bottom: 10%;
    left: 5%;
    font-size: 3rem;
    opacity: 0.2;
    animation: wave-float 4s ease-in-out infinite;
}

.hero-section::after {
    content: '🏝️';
    position: absolute;
    top: 20%;
    right: 5%;
    font-size: 2.5rem;
    opacity: 0.15;
    animation: island-float 5s ease-in-out infinite reverse;
}

@keyframes wave-float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-15px) translateX(10px); }
}

@keyframes island-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
}

.hero-content {
    max-width: 620px;
    z-index: 2;
}

.overline {
    font-family: var(--font-accent);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.overline::before {
    content: '☀️';
    font-size: 1.3rem;
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: var(--spacing-xs);
}

.hero-content h1:first-of-type {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h1:last-of-type {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    margin: var(--spacing-md) 0;
    font-size: 1.25rem;
    max-width: 520px;
    color: var(--text-secondary);
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.hero-gif-card {
    transform: scale(1);
    transform-origin: center;
    z-index: -1;
    pointer-events: none;
}

.media-card {
    position: relative;
    width: 420px;
    max-width: 100%;
    isolation: isolate;
}

.wave-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.wave {
    position: absolute;
    left: -20%;
    width: 140%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 60%);
    opacity: 0.35;
    animation: shoreline 6s linear infinite;
}

.wave-one {
    bottom: 0;
    animation-duration: 7s;
}

.wave-two {
    bottom: 15%;
    animation-duration: 9s;
    animation-delay: -2s;
}

@keyframes shoreline {
    0% { transform: translateX(-10%) translateY(0); }
    50% { transform: translateX(10%) translateY(5%); }
    100% { transform: translateX(-10%) translateY(0); }
}

.floating-card {
    margin-top: var(--spacing-md);
}

.experience-gallery {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: var(--spacing-sm);
    max-width: 90vw;
    margin: 0 auto var(--spacing-lg);
}

.experience-photo {
    display: block;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.section-photo {
    margin-top: var(--spacing-md);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    max-width: 420px;
    box-shadow: var(--shadow-sm);
}

.section-photo img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* ========================================
   CODE BLOCK - Bamboo/Tiki Style Panel
   ======================================== */
.code-block {
    background: linear-gradient(145deg, 
        rgba(15, 40, 71, 0.9), 
        rgba(21, 53, 96, 0.95));
    padding: var(--spacing-md);
    border-radius: 20px;
    border: 3px solid var(--border-color);
    font-family: 'Fira Code', monospace;
    box-shadow:
        var(--shadow-md),
        inset 0 0 40px rgba(78, 205, 196, 0.05);
    transform: rotate(2deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Bamboo texture overlay */
.code-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 20px,
        rgba(78, 205, 196, 0.03) 20px,
        rgba(78, 205, 196, 0.03) 21px
    );
    pointer-events: none;
}

/* Tiki decoration */
.code-block::after {
    content: '🥥';
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 1.5rem;
    opacity: 0.4;
}

.code-block:hover {
    transform: rotate(0deg) scale(1.03);
    border-color: var(--secondary-color);
    box-shadow:
        var(--glow-turquoise),
        var(--shadow-md);
}

.keyword { color: var(--accent-pink); }
.variable { color: var(--accent-yellow); }
.string { color: var(--accent-lime); }
.property { color: var(--secondary-color); }
.boolean { color: var(--primary-color); }
.number { color: var(--accent-orange); }

/* ========================================
   CARDS - Tropical Leaf Cards
   ======================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.card {
    background: linear-gradient(160deg, 
        var(--surface-color), 
        var(--surface-hover));
    padding: var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Gradient corner accent */
.card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(
        circle,
        rgba(78, 205, 196, 0.15) 0%,
        transparent 70%
    );
    transition: all 0.5s ease;
}

/* Bottom gradient line */
.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary-color), 
        var(--secondary-color), 
        var(--accent-lime));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    border-radius: 0 0 25px 25px;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: var(--glow-turquoise), var(--shadow-md);
}

.card:hover::before {
    transform: scale(1.5);
}

.card:hover::after {
    transform: scaleX(1);
}

.card h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    font-size: 1.4rem;
}

.card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* ========================================
   PORTFOLIO - Beach Gallery
   ======================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--spacing-md);
}

.project-card {
    background: linear-gradient(160deg, 
        var(--surface-color), 
        var(--surface-hover));
    border: 2px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
}

/* Colorful top border on hover */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--primary-color), 
        var(--accent-orange),
        var(--accent-yellow),
        var(--accent-lime),
        var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.01);
    border-color: var(--secondary-color);
    box-shadow: var(--glow-turquoise), var(--shadow-md);
}

.project-card:hover::before {
    opacity: 1;
}

.project-image {
    height: 250px;
    background: linear-gradient(160deg, 
        rgba(15, 40, 71, 0.9), 
        rgba(21, 53, 96, 0.95));
    position: relative;
    border-bottom: 2px solid var(--border-color);
    overflow: hidden;
}

/* Tropical overlay effect */
.project-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
}

/* Beach icon decoration */
.project-image::after {
    content: '🏖️';
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

.project-image picture,
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-info {
    padding: var(--spacing-md);
}

.project-extra-photo {
    margin-top: var(--spacing-sm);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.project-extra-photo img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.project-info h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
}

.project-info p {
    font-size: 1rem;
    margin-top: 0.5rem;
}

.tags {
    display: flex;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
    flex-wrap: wrap;
}

.tags span {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, 
        rgba(78, 205, 196, 0.2), 
        rgba(168, 230, 207, 0.2));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--secondary-color);
}

/* ========================================
   SINERGIA SECTION - Island Connection
   ======================================== */
.sinergia-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    background: linear-gradient(160deg, 
        var(--surface-color), 
        var(--surface-hover));
    padding: var(--spacing-lg);
    border-radius: 30px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

/* Decorative palm corners */
.sinergia-container::before {
    content: '🌴';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    opacity: 0.2;
}

.sinergia-container::after {
    content: '🌴';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.2;
    transform: scaleX(-1);
}

.sinergia-text {
    flex: 1;
}

.sinergia-text h3 {
    font-size: 2.2rem;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-list {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.feature-list li {
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-body);
    font-size: 1.05rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

/* Tropical bullet points */
.feature-list li::before {
    content: '🌺';
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.feature-list li:nth-child(2)::before {
    content: '🌊';
}

.feature-list li:nth-child(3)::before {
    content: '☀️';
}

.sinergia-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: var(--spacing-md);
}

.connection-graphic {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Island Node Styling */
.node {
    padding: var(--spacing-md) var(--spacing-sm);
    border-radius: 50%;
    font-weight: 700;
    font-family: var(--font-heading);
    position: relative;
    z-index: 2;
    min-width: 100px;
    text-align: center;
    letter-spacing: 0.05em;
}

.site-node {
    background: linear-gradient(145deg, 
        var(--surface-hover), 
        var(--surface-color));
    border: 3px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow:
        var(--glow-coral),
        inset 0 0 20px rgba(255, 107, 107, 0.1);
}

.gbp-node {
    background: linear-gradient(145deg, 
        var(--surface-hover), 
        var(--surface-color));
    border: 3px solid var(--secondary-color);
    color: var(--secondary-color);
    box-shadow:
        var(--glow-turquoise),
        inset 0 0 20px rgba(78, 205, 196, 0.1);
}

/* Wave Connection Line */
.connection-line {
    height: 4px;
    width: 120px;
    background: linear-gradient(90deg, 
        var(--primary-color), 
        var(--accent-orange),
        var(--accent-yellow),
        var(--accent-lime),
        var(--secondary-color));
    position: relative;
    border-radius: 10px;
}

/* Surfing particle */
.connection-line::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle, 
        var(--accent-yellow), 
        var(--accent-orange));
    border-radius: 50%;
    animation: surf-wave 2.5s infinite ease-in-out;
    box-shadow: 0 0 15px var(--accent-yellow);
}

@keyframes surf-wave {
    0%, 100% {
        left: 0;
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-8px) scale(1.1);
    }
    50% {
        left: 106px;
        transform: translateY(0) scale(1);
    }
    75% {
        transform: translateY(-8px) scale(1.1);
    }
}

/* ========================================
   CONTACT FORM - Beach Hut Style
   ======================================== */
.contact-container {
    max-width: 1000px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.2fr);
    gap: var(--spacing-md);
    align-items: stretch;
}

.contact-map {
    width: 100%;
    min-height: 320px;
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--secondary-color);
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(15, 40, 71, 0.6);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 15px;
    transition: all 0.4s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.2);
    background: rgba(15, 40, 71, 0.8);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

/* ========================================
   FOOTER - Sunset Beach
   ======================================== */
footer {
    padding: var(--spacing-lg) var(--spacing-md);
    border-top: 2px solid var(--border-color);
    margin-top: var(--spacing-xl);
    background: linear-gradient(180deg, 
        transparent, 
        rgba(15, 40, 71, 0.5));
    position: relative;
}

/* Sunset decoration */
footer::before {
    content: '🌅';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8rem;
    background: var(--bg-color);
    padding: 0 1rem;
}

footer p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    text-align: left;
}

.footer-brand h3 {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xs);
    color: var(--secondary-color);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li + li {
    margin-top: 0.3rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   ANIMATIONS - Tropical Energy
   ======================================== */

/* Wave text animation */
.glitch-text {
    position: relative;
    animation: tropical-glow 3s ease-in-out infinite;
}

@keyframes tropical-glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(255, 107, 107, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(78, 205, 196, 0.5));
    }
}

/* Splash Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(78, 205, 196, 0.5), 
        transparent);
    transform: scale(0);
    animation: splash-ripple 0.8s ease-out;
    pointer-events: none;
}

@keyframes splash-ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Scroll Reveal - Wave In */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.card.hidden { transition-delay: 0.1s; }
.card:nth-child(2).hidden { transition-delay: 0.2s; }
.card:nth-child(3).hidden { transition-delay: 0.3s; }
.card:nth-child(4).hidden { transition-delay: 0.4s; }

/* ========================================
   UTILITY CLASSES
   ======================================== */
.section-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.section-actions.center {
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.center-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.text-link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
}

.text-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-lime));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.text-link:hover {
    color: var(--accent-lime);
}

.text-link:hover::after {
    transform: scaleX(1);
}

.project-link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--accent-lime);
}

.full-width {
    width: 100%;
    text-align: center;
}

.card-actions {
    margin-top: var(--spacing-sm);
}

/* ========================================
   RESPONSIVE - Mobile Paradise
   ======================================== */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-section::before,
    .hero-section::after {
        display: none;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .overline::before {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .media-card {
        width: 100%;
    }

    .code-block {
        transform: rotate(0deg);
        margin-top: var(--spacing-md);
    }

    .nav-links {
        display: none;
    }

    .navbar::after {
        display: none;
    }

    .sinergia-container {
        flex-direction: column;
        padding: var(--spacing-md);
    }

    .connection-graphic {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .connection-line {
        width: 4px;
        height: 80px;
    }

    .connection-line::after {
        top: 0;
        left: -5px;
        animation: surf-wave-vertical 2.5s infinite ease-in-out;
    }

    @keyframes surf-wave-vertical {
        0%, 100% {
            top: 0;
            transform: translateX(0) scale(1);
        }
        25% {
            transform: translateX(-8px) scale(1.1);
        }
        50% {
            top: 66px;
            transform: translateX(0) scale(1);
        }
        75% {
            transform: translateX(8px) scale(1.1);
        }
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header::before {
        font-size: 1.5rem;
    }

    .card-photo img {
        height: 200px;
    }

    .experience-gallery {
        grid-template-columns: 1fr;
    }

    .experience-photo.primary,
    .experience-photo.secondary {
        min-height: 220px;
    }
}

/* Large screens - Extra tropical vibes */
@media (min-width: 1400px) {
    .hero-content h1 {
        font-size: 4.5rem;
    }

    .section-header h2 {
        font-size: 3.2rem;
    }
}
