/* Swiss Plomberie - Ultra Premium CSS */
:root {
    /* Colors - Swiss Precision */
    --swiss-red: #D52B1E;
    --swiss-dark-red: #A31D14;
    --bg-dark: #0A0A0A;
    --bg-light: #FFFFFF;
    --text-dark: #FFFFFF;
    --text-light: #1A1A1A;
    --accent: var(--swiss-red);
    --glass-bg: rgba(15, 15, 15, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    /* Layout */
    --max-width: 1400px;
    --space-sm: 1rem;
    --space-md: 2.5rem;
    --space-lg: 5rem;
    --space-xl: 10rem;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

[data-theme="light"] {
    --bg-dark: #F5F5F5;
    --text-dark: #1A1A1A;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.05);
}

/* Discreet Tooltip */
.hover-tooltip {
    position: fixed;
    top: 0; left: 0;
    background: var(--swiss-red);
    color: #FFF;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hover-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fluid Canvas */
#fluid-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

/* Base resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Removed cursor: none */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}
.site-logo {
    height: 50px;
    transition: transform 0.3s ease;
}
.site-logo:hover {
    transform: scale(1.05);
}

/* Controls */
.nav-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.theme-toggle, .btn-login {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.theme-toggle:hover, .btn-login:hover {
    background: var(--text-dark);
    color: var(--bg-dark);
}

/* Hero Section */
.hero {
    min-height: 85vh; /* Reduced so marquee is visible at bottom */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    padding-top: 80px;
}
.hero-content {
    max-width: 1000px;
    text-align: center;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}
.text-accent {
    color: var(--swiss-red);
}
.hero p {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}
[data-theme="light"] .hero p { color: rgba(0, 0, 0, 0.7); }

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--swiss-red);
    color: #FFF;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}
.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(213, 43, 30, 0.3);
}

/* Marquee - Sober & Pro */
.marquee-container {
    width: 100vw;
    overflow: hidden;
    background: var(--swiss-red);
    color: #FFF;
    padding: 0.8rem 0;
    margin: 4rem 0;
    position: relative;
    z-index: 10;
}
.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: scroll 25s linear infinite;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.marquee-content span {
    padding: 0 3rem;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Bento Premium (Syntra Style) */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    padding: var(--space-xl) 5%;
    max-width: var(--max-width);
    margin: 0 auto;
}
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
}
.card:hover {
    transform: translateY(-10px);
}
.card-large { grid-column: span 8; }
.card-medium { grid-column: span 4; }
.card-full { grid-column: span 12; }

@media (max-width: 1024px) {
    .card-large, .card-medium { grid-column: span 12; }
}

.card h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}
[data-theme="light"] .card p { color: rgba(0, 0, 0, 0.7); }

/* Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Image Integration inside Cards */
.card-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.4;
    transition: opacity 0.5s ease, transform 0.8s ease;
}
[data-theme="light"] .card-bg-image { opacity: 0.15; }
.card:hover .card-bg-image {
    opacity: 0.6;
    transform: scale(1.05);
}
[data-theme="light"] .card:hover .card-bg-image { opacity: 0.3; }

/* Image gallery row */
.gallery-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}
.gallery-item {
    flex: 1;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact SVG Icons */
.contact-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-right: 20px;
}
.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
    transition: all 0.3s ease;
}
[data-theme="light"] .icon-link { background: rgba(0, 0, 0, 0.05); }
.icon-link:hover {
    background: var(--swiss-red);
    color: #FFF;
    transform: translateY(-2px);
}
.icon-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Contact Form */
.contact-section {
    padding: var(--space-xl) 5%;
    max-width: 800px;
    margin: 0 auto;
}
.contact-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}
.contact-form h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
[data-theme="light"] .form-group label { color: rgba(0, 0, 0, 0.7); }

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}
[data-theme="light"] .form-control { 
    background: rgba(0, 0, 0, 0.03); 
    border: 1px solid rgba(0, 0, 0, 0.1); 
}
.form-control:focus {
    outline: none;
    border-color: var(--swiss-red);
    background: rgba(255, 255, 255, 0.1);
}
textarea.form-control {
    min-height: 150px;
    resize: vertical;
}
.btn-submit {
    width: 100%;
    background: var(--swiss-red);
    color: #FFF;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}
.btn-submit:hover {
    background: var(--swiss-dark-red);
}
