/* 
* Omnirelios Water Landing Page 
* Main Stylesheet
*/

/* =========== Base Styles =========== */
:root {
    --primary-dark: #1a4d7a;
    --primary: #3da9fc;
    --primary-light: #7ec8ff;
    --secondary: #00c2cb;
    --secondary-light: #b3f0f3;
    --white: #ffffff;
    --off-white: #f8fbff;
    --light-gray: #f0f7ff;
    --gray: #d0dff0;
    --dark-gray: #5b6c7d;
    --black: #222222;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--off-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--primary-dark);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--dark-gray);
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

/* Buttons */
.btn-outline,
.btn-filled,
.cta-button,
.btn-submit {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-filled,
.cta-button,
.btn-submit {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-filled:hover,
.cta-button:hover,
.btn-submit:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn-submit {
    background-color: var(--secondary);
}

.btn-submit:hover {
    background-color: var(--primary);
}

.btn-cookie {
    padding: 8px 16px;
    background-color: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Form Elements */
input, textarea, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(61, 169, 252, 0.2);
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group.checkbox input {
    width: auto;
}

/* =========== Header Styles =========== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: var(--dark-gray);
    font-weight: 500;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: var(--primary-dark);
    transition: var(--transition);
}

/* =========== Intro Section =========== */
.intro-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f9ff 0%, #e0f0ff 100%);
    overflow: hidden;
}

.intro-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.intro-section h1 {
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.intro-section .subtitle {
    text-align: left;
    margin: 0 0 40px;
    font-size: 1.5rem;
}

.water-animation {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("images/ani.jpg") no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    animation: wave 20s infinite linear;
}

@keyframes wave {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* =========== Why Water Section =========== */
.why-water-section {
    background-color: var(--white);
    padding: 100px 0;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.fact-card {
    background-color: var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--primary-light);
    border-radius: 50%;
    color: var(--primary-dark);
    font-size: 1.8rem;
}

.fact-card p {
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0;
}

/* =========== Daily Impact Section =========== */
.daily-impact-section {
    background-color: var(--off-white);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.impact-card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.impact-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.impact-card h3 {
    padding: 15px 20px 0;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-dark);
}

.impact-card p {
    padding: 0 20px 20px;
    font-size: 0.95rem;
    color: var(--dark-gray);
}

.impact-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.impact-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* =========== Benefits Section =========== */
.benefits-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

.benefits-container {
    display: flex;
    position: relative;
}

.water-level-animation {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(61, 169, 252, 0.2) 0%, rgba(0, 194, 203, 0.3) 100%);
    transition: height 0.5s ease;
    z-index: 1;
    border-top-left-radius: 100%;
    border-top-right-radius: 100%;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.benefit-item {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.drop-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.benefit-item h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.benefit-item p {
    color: var(--dark-gray);
    margin: 0;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
}

/* =========== Products Section =========== */
.products-section {
    background-color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--light-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    pointer-events: none;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    margin-bottom: 10px;
    font-weight: 600;
}

.product-info p {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.price {
    font-weight: 700;
    color: var(--primary-dark) !important;
    font-size: 1.2rem;
    margin-bottom: 20px !important;
}

.product-actions {
    display: flex;
    gap: 10px;
}

/* Hover wave effect */
.product-card::before {
    content: '';
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--primary-light), transparent);
    transition: bottom 0.5s ease;
    z-index: 1;
    opacity: 0.3;
}

.product-card:hover::before {
    bottom: 0;
}

/* =========== Testimonials Section =========== */
.testimonials-section {
    background: url("images/test.jpg") var(--off-white);
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial {
    flex: 0 1 calc(33.33% - 20px);
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quote {
    position: relative;
    margin-bottom: 20px;
}

.quote p {
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    color: var(--dark-gray);
    margin: 0;
}

.quote::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: -10px;
    font-size: 5rem;
    color: var(--primary-light);
    opacity: 0.5;
    font-family: serif;
}

.author p {
    font-weight: 600;
    color: var(--primary-dark);
    text-align: right;
    margin: 0;
}

/* Animated bubbles */
@keyframes float {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

.testimonial::before,
.testimonial::after {
    content: '';
    position: absolute;
    bottom: -10px;
    border-radius: 50%;
    background-color: var(--primary-light);
    opacity: 0;
    z-index: -1;
}

.testimonial::before {
    left: 10%;
    width: 20px;
    height: 20px;
    animation: float 7s infinite ease-in-out;
}

.testimonial::after {
    left: 70%;
    width: 15px;
    height: 15px;
    animation: float 5s infinite ease-in-out 1s;
}

.testimonial:hover::before,
.testimonial:hover::after {
    opacity: 0.6;
}

/* =========== How It Works Section =========== */
.how-it-works-section {
    background-color: var(--white);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background-color: var(--white);
    border-radius: 50%;
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.step:hover .step-icon {
    transform: scale(1.1);
    color: var(--secondary);
}

.step-icon::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 2px dashed var(--primary-light);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.step h3 {
    margin-bottom: 15px;
}

.step p {
    color: var(--dark-gray);
}

.steps-container::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary-light));
    z-index: 1;
}

/* =========== Subscription Section =========== */
.subscription-section {
    background: linear-gradient(rgba(61, 169, 252, 0.1), rgba(0, 194, 203, 0.2)), 
                url("images/subs.jpg");
    padding: 100px 0;
    text-align: center;
}

.subscription-form {
    max-width: 600px;
    margin: 0 auto;
}

.subscription-form .form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.subscription-form input[type="email"] {
    flex: 1;
    min-width: 300px;
}

.subscription-form .btn-submit {
    min-width: 200px;
}

.subscription-form .checkbox {
    justify-content: center;
    margin-top: 15px;
}

/* =========== Contact Section =========== */
.contact-section {
    background-color: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-container,
.map-container {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.contact-form-container h2 {
    text-align: left;
    margin-bottom: 30px;
}

#map {
    height: 300px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.contact-info h3 {
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary);
    width: 20px;
}

/* =========== Footer =========== */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-links h3,
.footer-newsletter h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--light-gray);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-light);
}

.footer-newsletter .form-group {
    display: flex;
    position: relative;
}

.footer-newsletter input {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    padding-right: 50px;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background-color: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    color: var(--secondary-light);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--gray);
}

/* =========== Cookie Consent =========== */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 20px;
    z-index: 1000;
    display: none;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
}

/* =========== Responsive Styles =========== */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .facts-grid {
        gap: 20px;
    }
    
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container::after {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    .intro-section {
        height: auto;
        padding: 120px 0 60px;
    }
    
    .water-animation {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        flex: 0 1 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .subscription-form .btn-submit {
        width: 100%;
    }
}