:root {
    --primary-color: #4ecdc4;
    --secondary-color: #ff6b6b;
    --dark-color: #2d3436;
    --light-color: #ffffff;
    --text-color: #333;
    --font-family: 'Arial', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Animation */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.water-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 50%, #00b894 100%);
}

.waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,60 C200,100 400,20 600,60 C800,100 1000,20 1200,60 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.1)"/></svg>') repeat-x;
    animation: wave 20s linear infinite;
    z-index: -1;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1200px); }
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    color: var(--light-color);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    z-index: 10;
}

.logo-image {
    width: 80px;
    height: 80px;
    margin-right: 10px;
    object-fit: contain;
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(6, 82, 161, 0.3);
}

/* Fallback fish icon - remove this section if you don't need it anymore */
.fish-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    border-radius: 50% 10px 50% 10px;
    animation: swim 3s ease-in-out infinite;
}

@keyframes swim {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(5px) rotate(2deg); }
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    z-index: 10;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: white;
    height: 3px;
    width: 25px;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before {
    top: -8px;
}

.nav-toggle-label span::after {
    bottom: -8px;
}

.nav-toggle:checked ~ .nav-links {
    transform: translateX(0);
}

.nav-toggle:checked ~ .nav-toggle-label span {
    background: transparent;
}

.nav-toggle:checked ~ .nav-toggle-label span::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle:checked ~ .nav-toggle-label span::after {
    transform: rotate(-45deg);
    top: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

/* Hero Section with Background Image */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    position: relative;
    padding: 0 1rem;
    overflow: hidden;

    /* Background image - will show once you add example_hero.jpg to assets folder */
    background-image: url('assets/example_hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Deep ocean overlay - subdues the background image */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(9, 132, 227, 0.85) 0%, 
        rgba(0, 102, 153, 0.9) 50%, 
        rgba(0, 77, 128, 0.95) 100%);
    z-index: 1;
}

/* Animated water caustics effect */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(78, 205, 196, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(116, 185, 255, 0.1) 0%, transparent 50%);
    animation: caustics 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes caustics {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Text content */
.hero-content {
    max-width: 800px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(78, 205, 196, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 2rem;
}

/* NEW: Hero Bubbles Container */
.hero-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Enhanced bubble styling for hero section */
.hero-bubbles .bubble {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), rgba(78, 205, 196, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    bottom: -100px;
    animation: bubbleFloat linear infinite;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.hero-bubbles .bubble:nth-child(1) { 
    left: 10%; 
    width: 80px; 
    height: 80px; 
    animation-duration: 15s; 
    animation-delay: 0s; 
}

.hero-bubbles .bubble:nth-child(2) { 
    left: 25%; 
    width: 50px; 
    height: 50px; 
    animation-duration: 12s; 
    animation-delay: 2s; 
}

.hero-bubbles .bubble:nth-child(3) { 
    left: 45%; 
    width: 30px; 
    height: 30px; 
    animation-duration: 10s; 
    animation-delay: 4s; 
}

.hero-bubbles .bubble:nth-child(4) { 
    left: 60%; 
    width: 65px; 
    height: 65px; 
    animation-duration: 18s; 
    animation-delay: 1s; 
}

.hero-bubbles .bubble:nth-child(5) { 
    left: 75%; 
    width: 40px; 
    height: 40px; 
    animation-duration: 14s; 
    animation-delay: 3s; 
}

.hero-bubbles .bubble:nth-child(6) { 
    left: 85%; 
    width: 55px; 
    height: 55px; 
    animation-duration: 16s; 
    animation-delay: 5s; 
}

.hero-bubbles .bubble:nth-child(7) { 
    left: 15%; 
    width: 35px; 
    height: 35px; 
    animation-duration: 11s; 
    animation-delay: 6s; 
}

.hero-bubbles .bubble:nth-child(8) { 
    left: 92%; 
    width: 45px; 
    height: 45px; 
    animation-duration: 13s; 
    animation-delay: 2.5s; 
}

@keyframes bubbleFloat {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-110vh) translateX(20px) scale(0.8);
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.95);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--dark-color);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.8);
    color: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 25%;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Placeholder styling for missing image */
.image-placeholder {
    max-width: 300px;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border-radius: 50%;
    border: 5px dashed var(--primary-color);
    background: rgba(78, 205, 196, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.95);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.contact-info, .quote-form {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: var(--light-color);
    border-radius: 50%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

#form-message {
    margin-top: 1rem;
    font-weight: bold;
}

.cta-button {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: var(--light-color);
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 250px;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
}

@media (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .about-content, .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Bubble animation */
.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: bubbleUp 8s linear infinite;
    bottom: -100px;
}

.bubble:nth-child(2) { left: 20%; width: 40px; height: 40px; animation-duration: 9s; animation-delay: 0s; }
.bubble:nth-child(3) { left: 40%; width: 20px; height: 20px; animation-duration: 7s; animation-delay: 2s; }
.bubble:nth-child(4) { left: 70%; width: 60px; height: 60px; animation-duration: 12s; animation-delay: 4s; }
.bubble:nth-child(5) { left: 90%; width: 30px; height: 30px; animation-duration: 6s; animation-delay: 6s; }

@keyframes bubbleUp {
    to {
        transform: translateY(-100vh);
        opacity: 0;
    }
}

/* Mobile Hero Section Enhancements */
@media (max-width: 768px) {
    .hero {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.3rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 14px 35px;
        font-size: 1rem;
    }
}