/* Variables */
:root {
    --primary-blue: #0A3A82;      /* Deep blue from logo */
    --secondary-blue: #2E86DE;    /* Water blue */
    --cyan-light: #48DBFB;        /* Bright water */
    --accent-yellow: #FDCB6E;     /* Yellow highlights */
    --text-dark: #2D3436;
    --text-light: #F8F9FA;
    --bg-light: #F1F2F6;
    --white: #FFFFFF;
    
    --font-main: 'Outfit', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,162,255,0.15);
    
    --transition: all 0.3s ease;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.text-primary { color: var(--primary-blue); }
.text-water { color: var(--secondary-blue); }
.text-accent { color: var(--accent-yellow); }
.text-warning { color: #E1B12C; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(10, 58, 130, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 58, 130, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Navigation */
.navbar {
    background: var(--primary-blue);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 45px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--cyan-light);
    transition: var(--transition);
}

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

.nav-links a:hover {
    color: var(--cyan-light);
}

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

.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(46, 134, 222, 0.1);
    border-radius: 50%;
    animation: rise infinite ease-in;
}

.bubble:nth-child(1) { width: 40px; height: 40px; left: 10%; animation-duration: 8s; }
.bubble:nth-child(2) { width: 20px; height: 20px; left: 20%; animation-duration: 5s; animation-delay: 1s; }
.bubble:nth-child(3) { width: 50px; height: 50px; left: 35%; animation-duration: 7s; animation-delay: 2s; }
.bubble:nth-child(4) { width: 80px; height: 80px; left: 50%; animation-duration: 11s; animation-delay: 0s; background: rgba(46, 134, 222, 0.05); }
.bubble:nth-child(5) { width: 35px; height: 35px; left: 65%; animation-duration: 6s; animation-delay: 3s; }
.bubble:nth-child(6) { width: 15px; height: 15px; left: 80%; animation-duration: 4s; animation-delay: 1s; }
.bubble:nth-child(7) { width: 90px; height: 90px; left: 90%; animation-duration: 12s; animation-delay: 2s; background: rgba(46, 134, 222, 0.03); }
.bubble:nth-child(8) { width: 25px; height: 25px; left: 25%; animation-duration: 5s; animation-delay: 4s; }

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translateX(0);
    }
    50% {
        transform: translateX(100px);
    }
    100% {
        bottom: 1080px;
        transform: translateX(-200px);
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a52aa 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(72, 219, 251, 0.2) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--cyan-light);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Waves */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.waves {
    position: relative;
    width: 100%;
    height: 100px;
    margin-bottom: -7px; /* Fix for safari gap */
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }

@keyframes move-forever {
    0% { transform: translate3d(-90px,0,0); }
    100% { transform: translate3d(85px,0,0); }
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 1.2rem;
    color: #636e72;
}

/* Residential Section */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.card-icon {
    font-size: 3.5rem;
    color: var(--secondary-blue);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.plus-icon {
    font-size: 2rem;
    color: var(--primary-blue);
}

.generated-service-icon {
    width: 85px;
    height: 85px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-blue);
    line-height: 1;
}

.price span {
    font-size: 1.5rem;
    color: #636e72;
    font-weight: 600;
}

.pricing-card.highlighted {
    background: linear-gradient(135deg, var(--white), #f0f8ff);
    border: 2px solid var(--secondary-blue);
    transform: scale(1.05);
}

.pricing-card.highlighted:hover {
    transform: scale(1.05) translateY(-10px);
}

/* Observations & Extras */
.observations-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.observations-container.single-box {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.extras-section {
    background-color: var(--white);
}

.extras-section .extras-grid {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.obs-box, .extras-box {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.obs-box h4, .extras-box h4 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.obs-box ul {
    list-style: none;
}

.obs-box ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2d3436;
}

.extras-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.extras-grid li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

/* Industrial Section */
.industrial-section {
    background: linear-gradient(135deg, var(--primary-blue), #082d66);
    color: var(--white);
    position: relative;
}

.light-title h2, .light-title p {
    color: var(--white);
}

.subtitle-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    margin-top: 15px;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-header h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
}

.feature-icon-lg {
    font-size: 4rem;
    color: var(--cyan-light);
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

.benefits-banner {
    display: flex;
    justify-content: space-around;
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    color: var(--primary-blue);
    margin-top: 50px;
    box-shadow: var(--shadow-lg);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--secondary-blue);
}

.benefit-item h4 {
    font-size: 1.2rem;
    font-weight: 800;
}

.benefit-item p {
    font-size: 0.9rem;
    color: #636e72;
}

/* Footer */
.footer {
    background-color: #051b3d;
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 15px;
    color: #b2bec3;
    max-width: 300px;
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--cyan-light);
}

.whatsapp-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition);
}

.whatsapp-large:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

.footer-address p {
    display: flex;
    gap: 10px;
    line-height: 1.8;
}

.footer-address i {
    color: var(--secondary-blue);
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b2bec3;
    font-size: 0.9rem;
}

/* Responsive */
.footer-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--cyan-light);
}

@media (max-width: 992px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.highlighted {
        transform: scale(1);
    }
    
    .pricing-card.highlighted:hover {
        transform: translateY(-10px);
    }
    
    .observations-container {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-banner {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-btn {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128c7e;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}
