/* Variables & Reset */
:root {
    --primary-yellow: #fed000;
    --dark-blue: #00011f;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #888888;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-blue);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 1, 31, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--primary-yellow);
}

.btn-nav {
    background: var(--primary-yellow);
    color: var(--dark-blue) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 700 !important;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(254, 208, 0, 0.4);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 1, 31, 0.85) 0%, rgba(0, 1, 31, 0.6) 100%);
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 2rem;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(254, 208, 0, 0.3);
    }
    to {
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5), 0 0 40px rgba(254, 208, 0, 0.6);
    }
}

.slide-content p {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Water Drop Animations */
.water-drop {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-yellow);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    opacity: 0.6;
    animation: dropFall 3s infinite;
}

.drop-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.drop-2 {
    top: 60%;
    left: 80%;
    animation-delay: 1s;
}

.drop-3 {
    top: 80%;
    left: 30%;
    animation-delay: 2s;
}

@keyframes dropFall {
    0%, 100% {
        transform: rotate(-45deg) translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    90% {
        transform: rotate(-45deg) translateY(100px);
        opacity: 0;
    }
}

.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-container svg {
    width: 100%;
    height: 120px;
}

.wave {
    fill: var(--white);
    animation: waveMove 10s linear infinite;
}

@keyframes waveMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 10;
}

.slider-btn {
    background: var(--primary-yellow);
    color: var(--dark-blue);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: bold;
}

.slider-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(254, 208, 0, 0.5);
}

.slider-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-yellow);
    transform: scale(1.3);
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-blue);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-yellow);
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--medium-gray);
}

/* Intro Section */
.intro-section {
    background: var(--dark-blue);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.electrolyte-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.intro-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-yellow);
}

.intro-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Benefits Section */
.benefits-section {
    background: var(--light-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-bottom-color: var(--primary-yellow);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.water-animation path {
    animation: waterPulse 2s ease-in-out infinite;
}

@keyframes waterPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.energy-animation {
    animation: energyPulse 1.5s ease-in-out infinite;
}

@keyframes energyPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(10deg);
    }
}

.refresh-animation path,
.refresh-animation polygon {
    animation: refreshRotate 3s linear infinite;
    transform-origin: center;
}

@keyframes refreshRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.benefit-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.transition-text {
    text-align: center;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--medium-gray);
    margin-top: 3rem;
    padding: 2rem;
    border-left: 4px solid var(--primary-yellow);
    border-right: 4px solid var(--primary-yellow);
}

/* Formula Section */
.formula-list {
    max-width: 900px;
    margin: 3rem auto;
}

.formula-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.formula-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 25px rgba(254, 208, 0, 0.2);
}

.formula-icon {
    background: var(--primary-yellow);
    color: var(--dark-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.formula-content h4 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.formula-content p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.transparent-note {
    background: var(--dark-blue);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 3rem;
    font-style: italic;
}

/* Flavors Section */
.flavors-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #001 100%);
    color: var(--white);
}

.flavors-section .section-title {
    color: var(--white);
}

.flavors-section .intro-text {
    color: rgba(255, 255, 255, 0.8);
}

.flavors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.flavor-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    color: var(--dark-blue);
}

.flavor-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(254, 208, 0, 0.3);
}

.flavor-card.featured {
    border: 3px solid var(--primary-yellow);
    transform: scale(1.05);
}

.flavor-card.featured:hover {
    transform: translateY(-10px) scale(1.07);
}

.flavor-header {
    padding: 2rem;
    text-align: center;
    position: relative;
}

.flavor-header.lemon {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.flavor-header.redfruit {
    background: linear-gradient(135deg, #DC143C, #FF6347);
}

.flavor-header.mango {
    background: linear-gradient(135deg, #FF8C00, #FFA500);
}

.flavor-header.apple {
    background: linear-gradient(135deg, #90EE90, #32CD32);
}

.flavor-header.hydroflame {
    background: linear-gradient(135deg, #FF4500, #FF6347);
}

.flavor-header h3 {
    color: var(--white);
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-yellow);
    color: var(--dark-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
}

.flavor-body {
    padding: 1.5rem;
}

.flavor-body h4 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.flavor-body p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.micro-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(254, 208, 0, 0.1);
    border-radius: 10px;
    border: 2px solid var(--primary-yellow);
}

.micro-cta p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

/* Vending Section */
.vending-section {
    background: var(--light-gray);
}

.b2b-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.vending-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.vending-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 4px solid var(--primary-yellow);
}

.vending-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.vending-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.vending-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.vending-conclusion {
    background: var(--dark-blue);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
    font-size: 1.2rem;
    font-style: italic;
}

.cta-container {
    text-align: center;
    margin-top: 3rem;
}

/* Tips Section */
.tips-section {
    background: var(--white);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.tip-card {
    background: linear-gradient(135deg, var(--dark-blue), #001);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.tip-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(254, 208, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.tip-card:hover::before {
    opacity: 1;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.tip-number {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-yellow);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    right: 20px;
}

.tip-card h3 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.practical-note {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    font-style: italic;
    border-left: 4px solid var(--primary-yellow);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #001 100%);
    color: var(--white);
}

.contact-section .section-title {
    color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-info > p {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(254, 208, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    color: var(--primary-yellow);
    margin-bottom: 0.3rem;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(254, 208, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.send-icon {
    width: 20px;
    height: 20px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
    background: #d4edda;
    border-radius: 10px;
    margin-top: 1rem;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #28a745;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.form-success h3 {
    color: #155724;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: #155724;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 2rem;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.6);
}

.dotma-credit a {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 600;
}

.dotma-credit a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--dark-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(254, 208, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-yellow);
}

.btn-secondary:hover {
    background: var(--primary-yellow);
    color: var(--dark-blue);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-blue);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .slider-controls {
        bottom: 30px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Animations on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
