/* 
   Aqua Studio Style Architecture
   Light Oceanic Aqua Theme: Soft Aqua, White, Ocean Teal, Marine Blue
*/

:root {
    --bg-primary: #e6faf8;
    --bg-secondary: #ccf2ee;
    --bg-gradient: linear-gradient(135deg, #e6faf8 0%, #d0f5f0 50%, #b8ede6 100%);
    --accent-cyan: #0891b2;
    --accent-blue: #0e7490;
    --accent-glow: #06b6d4;
    --accent-aqua-light: #22d3ee;
    --accent-deep: #155e75;
    --accent-teal: #14b8a6;
    --text-primary: #0c3547;
    --text-secondary: #3d7a8a;
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-border: rgba(8, 145, 178, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(8, 145, 178, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.3);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background: var(--bg-primary);
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(6, 182, 212, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(20, 184, 166, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(34, 211, 238, 0.08) 0%, transparent 60%);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-glow);
    border: 1px solid var(--accent-cyan);
    border-radius: 4px;
}

/* Noise Grain Layer */
.noise {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.015;
    pointer-events: none;
    z-index: 9999;
}

/* Premium Navigation Header */
.header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(230, 250, 248, 0.75);
    border-bottom: 1px solid rgba(8, 145, 178, 0.12);
    box-shadow: 0 2px 20px rgba(8, 145, 178, 0.06);
}

.logo-container {
    display: inline-flex;
    flex-direction: column;
    border: 2px solid var(--accent-cyan);
    background: rgba(255, 255, 255, 0.6);
    padding: 0.2rem 1rem;
    text-transform: uppercase;
    font-family: var(--font-heading);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.15);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.logo-container:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 25px rgba(8, 145, 178, 0.3);
    background: rgba(255, 255, 255, 0.8);
}

.logo-top {
    color: var(--accent-cyan);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 5px;
    text-align: center;
    text-shadow: 0 0 10px rgba(8, 145, 178, 0.2);
}

.logo-bottom {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.6rem;
    letter-spacing: 2px;
    padding: 0.15rem 0.5rem;
    text-align: center;
    border-radius: 2px;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-glow));
    transition: var(--transition-smooth);
}

.nav-item:hover {
    color: var(--accent-deep);
}

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

/* Glassmorphism Panels — Light Frosted */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 2;
}

/* Ensure all card content renders ABOVE the ::before and ::after overlays */
.glass-panel > * {
    position: relative;
    z-index: 5;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(20, 184, 166, 0.04) 30%, transparent 60%);
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}

.glass-panel:hover::before {
    transform: scale(1);
    animation: liquidShimmer 4s infinite linear alternate;
}

@keyframes liquidShimmer {
    0% { transform: scale(1) translate(0, 0) rotate(0deg); }
    50% { transform: scale(1.1) translate(10px, -10px) rotate(10deg); }
    100% { transform: scale(1.05) translate(-10px, 10px) rotate(-10deg); }
}

.glass-panel::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.4), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 3;
    border-radius: inherit;
}

.glass-panel:hover::after {
    opacity: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(8, 145, 178, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.6);
    color: var(--accent-deep);
    border: 1px solid rgba(8, 145, 178, 0.25);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.15);
}

/* Gradients and Layout Defaults */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-teal) 50%, var(--accent-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section {
    padding: 8rem 10% 4rem 10%;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Floating 3D Elements with Rotational Parallax */
.floating-3d {
    animation: floatingAquatic 8s ease-in-out infinite alternate;
    transform-style: preserve-3d;
    perspective: 1000px;
}

@keyframes floatingAquatic {
    0% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translateY(-15px) rotateX(5deg) rotateY(3deg);
    }
    100% {
        transform: translateY(10px) rotateX(-5deg) rotateY(-3deg);
    }
}

.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Background Bubbling Orbs (Underwater style) */
.glow-orb {
    position: absolute;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(20, 184, 166, 0.06));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(8, 145, 178, 0.1);
    box-shadow: 0 8px 32px 0 rgba(8, 145, 178, 0.08), inset 0 0 30px rgba(255, 255, 255, 0.2);
    z-index: 1;
    animation: bubblingBlob 18s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes bubblingBlob {
    0% {
        border-radius: 65% 35% 45% 55% / 55% 45% 55% 45%;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    50% {
        border-radius: 45% 55% 55% 45% / 45% 55% 45% 55%;
        transform: translate(25px, -35px) rotate(180deg) scale(1.08);
    }
    100% {
        border-radius: 65% 35% 45% 55% / 55% 45% 55% 45%;
        transform: translate(-25px, 35px) rotate(360deg) scale(0.92);
    }
}

.orb-1 {
    top: 15%; right: 5%;
    border-top-color: rgba(6, 182, 212, 0.2);
}

.orb-2 {
    bottom: 10%; left: 5%;
    border-bottom-color: rgba(20, 184, 166, 0.2);
    animation-delay: -6s;
    animation-direction: alternate-reverse;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1.2;
    z-index: 2;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 3rem 2rem;
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 12px rgba(8, 145, 178, 0.2);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    padding: 2.5rem 2rem;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Works / Gallery Alternating Layout */
.works-showcase {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: 4rem;
}

.work-item {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.work-item.reverse {
    flex-direction: row-reverse;
}

.work-content {
    flex: 1;
    padding: 3rem;
}

.work-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.work-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.work-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.work-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.parallax-img {
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(8, 145, 178, 0.15);
    transition: var(--transition-smooth);
}

.parallax-img:hover {
    transform: scale(1.03) rotateZ(1deg);
}

/* Process Section */
.process {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

/* Reviews Container */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.review-card {
    padding: 2.5rem 2rem;
}

.stars {
    color: var(--accent-cyan);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.review-author {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
}

/* Contact Module & Forms */
.contact-form {
    padding: 3.5rem;
}

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

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(8, 145, 178, 0.15);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 12px rgba(8, 145, 178, 0.18);
}

select.form-control option {
    background: #fff;
    color: var(--text-primary);
}

/* Footer structure */
.footer {
    padding: 6rem 10% 2rem 10%;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #b3e8e0 100%);
    border-top: 1px solid rgba(8, 145, 178, 0.15);
    z-index: 10;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 1.5rem;
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

.footer-contact a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-contact a:hover {
    text-shadow: 0 0 10px rgba(8, 145, 178, 0.3);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Page Header */
.page-header {
    padding: 12rem 10% 4rem 10%;
    position: relative;
    overflow: hidden;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.team-member {
    padding: 3rem 2rem;
    text-align: center;
}

.team-member-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    margin-top: 1rem;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .header {
        padding: 1rem 5%;
    }
    .nav-links {
        display: none; /* Can be enhanced with mobile slide toggle */
    }
    .hero {
        flex-direction: column;
        padding-top: 10rem;
        text-align: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        margin-top: 4rem;
    }
    .work-item, .work-item.reverse {
        flex-direction: column;
        gap: 3rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .hero-title {
        font-size: 3rem;
    }
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .species-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-header {
        flex-direction: column !important;
        text-align: center !important;
    }
}

/* Stats Counter Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    margin-top: 4rem;
    box-shadow: 0 15px 40px rgba(8, 145, 178, 0.25);
}

.stat-item {
    text-align: center;
    color: #fff;
    padding: 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Species Showcase */
.species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.species-card {
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
}

.species-card:hover {
    transform: translateY(-5px);
}

.species-emoji {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.species-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.species-card .species-tag {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Product Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.category-card {
    padding: 2.5rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.category-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(20, 184, 166, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(8, 145, 178, 0.15);
}

.category-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, var(--accent-deep) 100%);
    padding: 5rem 10%;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0 5%;
    box-shadow: 0 20px 50px rgba(8, 145, 178, 0.25);
}

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.cta-banner .btn {
    background: #fff;
    color: var(--accent-deep);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Water wave divider */
.wave-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -2px;
}

.wave-divider svg {
    width: 100%;
    height: 60px;
    display: block;
}
