/* ===== KOMPLETTE CSS DATEI - KLAUSI STUDIOS v2.0 ===== */
:root {
    /* HELLERE TROPISCHE FARBPALETTE */
    --ocean-sunrise: #1a5fb4;      /* Morgenblau statt dunkelblau */
    --coral-reef: #26c6da;         /* Helles Korallenblau */
    --sea-foam: #80deea;           /* Heller Meerschaum */
    --tropical-lagoon: #00bcd4;    /* Lebhaftes Türkis */
    --sunshine: #ffca28;           /* Warmes Sonnengelb */
    --coral-blossom: #ff6b8b;      /* Verspieltes Korallenpink */
    --seashell: #fff8e1;           /* Cremiges Muschelweiß */
    --wave-white: #f0f8ff;         /* Helles Wellenweiß */
    
    /* VERBESSERTE GRADIENTE */
    --gradient-primary: linear-gradient(135deg, 
        var(--ocean-sunrise) 0%, 
        var(--coral-reef) 25%, 
        var(--tropical-lagoon) 50%, 
        var(--sea-foam) 75%, 
        rgba(128, 222, 234, 0.8) 100%);
    
    --gradient-sunset: linear-gradient(135deg, 
        #ffca28 0%, 
        #ff6b8b 50%, 
        #26c6da 100%);
    
    --gradient-button: linear-gradient(135deg, 
        var(--tropical-lagoon) 0%, 
        var(--coral-reef) 50%, 
        var(--sea-foam) 100%);
    
    /* SCHATTEN */
    --shadow-soft: 0 8px 30px rgba(38, 198, 218, 0.15);
    --shadow-medium: 0 15px 40px rgba(0, 188, 212, 0.2);
    --shadow-strong: 0 25px 60px rgba(26, 95, 180, 0.25);
    --shadow-glow: 0 0 40px rgba(128, 222, 234, 0.4);
    
    /* ANIMATIONEN */
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', 'Poppins', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, 
        rgba(240, 248, 255, 0.95) 0%,
        rgba(224, 247, 250, 0.9) 50%,
        rgba(200, 230, 255, 0.85) 100%);
    color: #2c3e50;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 202, 40, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(128, 222, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 188, 212, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* ===== TYPOGRAPHIE ===== */
h1, h2, h3, h4 {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    background: var(--gradient-sunset);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(0, 188, 212, 0.1);
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--ocean-sunrise);
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-button);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    color: var(--coral-reef);
}

p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
    max-width: 65ch;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* ===== LOGO & NAVIGATION ===== */
.main-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(128, 222, 234, 0.3);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 25px rgba(128, 222, 234, 0.15);
    transition: all 0.4s var(--transition-smooth);
}

.main-nav.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 35px rgba(26, 95, 180, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.logo-polygon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--transition-bounce);
    box-shadow: var(--shadow-soft);
}

.logo-polygon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 70%);
    animation: shine 3s infinite linear;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.logo-polygon:hover {
    transform: rotate(15deg) scale(1.1);
    box-shadow: var(--shadow-medium), var(--shadow-glow);
}

.logo-polygon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-text {
    font-size: 1.9rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 1rem;
}

.logo-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 70%;
    background: var(--gradient-button);
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    gap: 0.2rem;
    background: rgba(240, 248, 255, 0.8);
    padding: 0.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.nav-link {
    color: var(--ocean-sunrise);
    text-decoration: none;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    transition: all 0.4s var(--transition-smooth);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-button);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link.active {
    background: var(--gradient-button);
    color: white;
    box-shadow: var(--shadow-soft);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.mobile-menu-btn {
    display: none;
    background: var(--gradient-button);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s var(--transition-bounce);
    box-shadow: var(--shadow-soft);
}

.mobile-menu-btn:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: var(--shadow-medium);
}

/* ===== VERBESSERTE BUTTONS ===== */
.btn-waterdrop {
    position: relative;
    background: var(--gradient-button);
    color: white;
    padding: 1.4rem 3.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.6s var(--transition-bounce);
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-soft);
    text-transform: uppercase;
    isolation: isolate;
}

.btn-waterdrop::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
        transparent 20%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 80%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    z-index: -1;
}

.btn-waterdrop::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-sunset);
    border-radius: 53px;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-waterdrop:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-strong), var(--shadow-glow);
    letter-spacing: 1px;
}

.btn-waterdrop:hover::before {
    transform: translateX(100%);
}

.btn-waterdrop:hover::after {
    opacity: 1;
}

.btn-waterdrop:active {
    transform: translateY(-4px) scale(1.02);
    transition: transform 0.2s ease;
}

.btn-coral {
    background: white;
    color: var(--tropical-lagoon);
    padding: 1.3rem 3rem;
    border: 3px solid transparent;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    transition: all 0.5s var(--transition-bounce);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    text-transform: uppercase;
}

.btn-coral::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-button);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: inherit;
}

.btn-coral::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(
        from 0deg at 50% 50%,
        var(--tropical-lagoon),
        var(--coral-reef),
        var(--sea-foam),
        var(--tropical-lagoon)
    );
    border-radius: 52px;
    animation: rotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -2;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-coral:hover {
    color: white;
    transform: translateY(-8px) rotate(-2deg) scale(1.05);
    box-shadow: var(--shadow-strong);
    border-color: transparent;
}

.btn-coral:hover::before {
    opacity: 1;
}

.btn-coral:hover::after {
    opacity: 1;
}

.btn-icon {
    font-size: 1.4rem;
    transition: transform 0.3s var(--transition-bounce);
}

.btn-waterdrop:hover .btn-icon {
    transform: translateX(5px) rotate(15deg);
}

.btn-coral:hover .btn-icon {
    transform: translateX(5px) scale(1.2);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, 
        rgba(255, 248, 225, 0.9) 0%,
        rgba(224, 247, 250, 0.95) 50%,
        rgba(200, 230, 255, 0.9) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    opacity: 0.6;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 150px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%2326c6da" opacity="0.2" d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z"/></svg>');
    animation: waveMove 25s linear infinite;
}

@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.wave-2 {
    animation-delay: -8s;
    opacity: 0.15;
    height: 120px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%2300bcd4" opacity="0.15" d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z"/></svg>');
}

.floating-poly {
    position: absolute;
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(38, 198, 218, 0.2));
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
    }
    33% { 
        transform: translateY(-30px) rotate(5deg) scale(1.05); 
    }
    66% { 
        transform: translateY(15px) rotate(-5deg) scale(0.95); 
    }
}

.poly-1 {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.poly-2 {
    width: 80px;
    height: 80px;
    background: var(--gradient-sunset);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    top: 65%;
    right: 12%;
    animation-delay: 2s;
}

.poly-3 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--sunshine), var(--coral-blossom));
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 
        var(--shadow-soft),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(128, 222, 234, 0.2);
    animation: slideUp 1s var(--transition-bounce);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    margin-bottom: 1.8rem;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-button);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: var(--ocean-sunrise);
    opacity: 0.9;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* ===== SERVICES ===== */
.services {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(240, 248, 255, 0.98) 50%,
        rgba(255, 248, 225, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-title::before {
    content: '✨';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    opacity: 0.5;
}

.services-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(128, 222, 234, 0.3);
    border-radius: 25px;
    padding: 2.8rem;
    text-align: center;
    transition: all 0.6s var(--transition-bounce);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-button);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--transition-smooth);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-strong);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 0.05;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: inline-block;
    padding: 25px;
    background: var(--gradient-primary);
    border-radius: 25px;
    transition: all 0.5s var(--transition-bounce);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg) scale(1.2);
    background: var(--gradient-sunset);
    color: white;
}

.service-card h3 {
    font-size: 1.9rem;
    margin-bottom: 1.2rem;
    color: var(--ocean-sunrise);
}

.service-card p {
    color: #5a6c7d;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ===== ABOUT ===== */
.about {
    padding: 8rem 2rem;
    background: var(--gradient-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.about h2 {
    color: white;
    margin-bottom: 3rem;
}

.about h2::after {
    background: white;
    left: 50%;
    transform: translateX(-50%);
}

.about p {
    max-width: 900px;
    margin: 0 auto 2rem;
    font-size: 1.25rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* ===== CONTACT FORM ===== */
.contact-form-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 248, 225, 0.95) 0%,
        rgba(240, 248, 255, 0.98) 100%);
    position: relative;
}

.contact-form-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: white;
    border-radius: 30px;
    padding: 4rem;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(128, 222, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--gradient-button);
}

.contact-info {
    padding-right: 2rem;
    border-right: 2px solid rgba(128, 222, 234, 0.2);
}

.contact-info h2 {
    margin-bottom: 2.5rem;
    color: var(--ocean-sunrise);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(240, 248, 255, 0.5);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(128, 222, 234, 0.1);
    transform: translateX(10px);
}

.info-icon {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--coral-reef);
}

.info-item p {
    color: #5a6c7d;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form h2 {
    color: var(--ocean-sunrise);
    margin-bottom: 0.5rem;
}

.contact-form > p {
    color: #718096;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-input, textarea {
    width: 100%;
    padding: 1.4rem 1.8rem;
    background: rgba(240, 248, 255, 0.7);
    border: 2px solid rgba(128, 222, 234, 0.3);
    border-radius: 20px;
    color: #2c3e50;
    font-size: 1.05rem;
    font-family: inherit;
    transition: all 0.4s var(--transition-smooth);
    resize: vertical;
}

.form-input:focus, textarea:focus {
    outline: none;
    background: white;
    border-color: var(--tropical-lagoon);
    box-shadow: 
        0 0 0 4px rgba(0, 188, 212, 0.1),
        var(--shadow-soft);
    transform: translateY(-2px);
}

textarea {
    min-height: 180px;
}

.form-label {
    position: absolute;
    left: 1.2rem;
    top: 1.2rem;
    background: white;
    padding: 0 0.8rem;
    color: var(--coral-reef);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    pointer-events: none;
    border-radius: 10px;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -0.8rem;
    font-size: 0.9rem;
    color: var(--tropical-lagoon);
    background: white;
    box-shadow: 0 2px 5px rgba(0, 188, 212, 0.1);
}

.form-message {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-message.success {
    background: rgba(38, 198, 218, 0.1);
    border: 2px solid var(--coral-reef);
    color: var(--ocean-sunrise);
    display: block;
}

.form-message.error {
    background: rgba(255, 107, 139, 0.1);
    border: 2px solid var(--coral-blossom);
    color: #d32f2f;
    display: block;
}

.spinner {
    display: none;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

.form-note {
    font-size: 0.9rem;
    color: #718096;
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(128, 222, 234, 0.3);
}

/* ===== PROJECTS ===== */
.projects-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3.5rem;
    padding: 8rem 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(240, 248, 255, 0.98) 100%);
}

.project-card {
    background: white;
    border: 1px solid rgba(128, 222, 234, 0.3);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.6s var(--transition-bounce);
    position: relative;
    box-shadow: var(--shadow-soft);
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: var(--shadow-strong);
    border-color: transparent;
}

.project-card:hover::before {
    opacity: 0.05;
}

.project-image {
    height: 250px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.project-card:hover .project-image::after {
    transform: translateX(100%);
}

.project-content {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
    background: white;
}

.project-title {
    font-size: 1.9rem;
    color: var(--ocean-sunrise);
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
}

.project-tag {
    background: rgba(128, 222, 234, 0.1);
    color: var(--coral-reef);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(128, 222, 234, 0.3);
}

.project-card:hover .project-tag {
    background: var(--gradient-button);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--tropical-lagoon);
    text-decoration: none;
    font-weight: 700;
    padding: 1rem 2rem;
    border: 2px solid var(--tropical-lagoon);
    border-radius: 25px;
    transition: all 0.4s var(--transition-bounce);
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.project-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-button);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.project-link:hover {
    color: white;
    border-color: transparent;
    transform: translateX(10px);
    padding-right: 2.5rem;
    box-shadow: var(--shadow-soft);
}

.project-link:hover::before {
    opacity: 1;
}

.project-link span:last-child {
    transition: transform 0.3s ease;
}

.project-link:hover span:last-child {
    transform: translateX(5px);
}

/* ===== LEGAL PAGES ===== */
.legal-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10rem 2rem 4rem;
    background: white;
}

.legal-nav {
    background: rgba(240, 248, 255, 0.9);
    padding: 2rem;
    border-radius: 25px;
    margin-bottom: 4rem;
    border: 2px solid rgba(128, 222, 234, 0.3);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 100px;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.legal-nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    list-style: none;
}

.legal-nav a {
    color: var(--ocean-sunrise);
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s var(--transition-smooth);
    border: 2px solid transparent;
}

.legal-nav a:hover {
    background: rgba(128, 222, 234, 0.1);
    border-color: rgba(128, 222, 234, 0.3);
    transform: translateY(-3px);
}

.legal-section {
    background: white;
    padding: 4rem;
    border-radius: 30px;
    margin-bottom: 3rem;
    border: 2px solid rgba(128, 222, 234, 0.2);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.legal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: var(--gradient-button);
}

.legal-section h2 {
    color: var(--ocean-sunrise);
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(128, 222, 234, 0.3);
}

.legal-section h3 {
    color: var(--coral-reef);
    margin: 2rem 0 1.2rem;
    font-size: 1.5rem;
}

.legal-section p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: #4a5568;
    font-size: 1.05rem;
}

.legal-section ul {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: #4a5568;
}

.legal-section li::before {
    content: '🐚';
    position: absolute;
    left: 0;
    top: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, 
        var(--ocean-sunrise) 0%,
        var(--coral-reef) 100%);
    padding: 5rem 2rem 2rem;
    margin-top: 6rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--gradient-sunset);
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.footer-about {
    padding-right: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}

.footer-logo .logo-polygon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

.footer-logo .logo-text {
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 1.8rem;
}

.footer-about > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
}

.footer-links h3, .footer-contact h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    position: relative;
    display: inline-block;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
}

.footer-links a:hover {
    color: white;
    transform: translateX(10px);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.copyright {
    text-align: center;
    padding-top: 4rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .nav-container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    
    .contact-form-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        border-right: none;
        border-bottom: 2px solid rgba(128, 222, 234, 0.2);
        padding-right: 0;
        padding-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .btn-waterdrop, .btn-coral {
        width: 100%;
        justify-content: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 1rem;
        right: 1rem;
        background: white;
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        display: none;
        border-radius: 25px;
        box-shadow: var(--shadow-strong);
        border: 2px solid rgba(128, 222, 234, 0.3);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
        animation: slideDown 0.4s var(--transition-smooth);
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-grid, .projects-grid {
        grid-template-columns: 1fr;
        padding: 4rem 1rem;
    }
    
    .contact-form-container {
        padding: 2.5rem;
    }
    
    .legal-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .legal-section {
        padding: 2.5rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 7rem 1rem 2rem;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .services, .about, .contact-form-section {
        padding: 4rem 1rem;
    }
    
    .service-card, .project-card {
        padding: 2rem;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    .footer {
        padding: 3rem 1rem 1.5rem;
    }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(240, 248, 255, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-button);
    border-radius: 10px;
    border: 3px solid rgba(240, 248, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-sunset);
}

/* ===== SELECTION STYLING ===== */
::selection {
    background: rgba(128, 222, 234, 0.5);
    color: var(--ocean-sunrise);
}

::-moz-selection {
    background: rgba(128, 222, 234, 0.5);
    color: var(--ocean-sunrise);
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
    outline: 3px solid var(--tropical-lagoon);
    outline-offset: 4px;
    border-radius: 8px;
}

/* ===== LOADING ANIMATION ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s var(--transition-smooth) forwards;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.rounded-lg { border-radius: 20px; }
.rounded-full { border-radius: 50%; }
.shadow-lg { box-shadow: var(--shadow-medium); }
.bg-gradient { background: var(--gradient-primary); }
.text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }