/* Main CSS for AquaHarvest Systems */

/* CSS Variables - 5 primary colors with light/dark shades */
:root {
    --primary-color: #377ae2;
    --primary-light: #5096e4;
    --primary-dark: #2447ad;
    
    --secondary-color: #069f2b;
    --secondary-light: #48ce77;
    --secondary-dark: #0f7027;
    
    --accent-color: #1790f0;
    --accent-light: #259cff;
    --accent-dark: #147bb1;
    
    --warning-color: #ffcb11;
    --warning-light: #ffbd18;
    --warning-dark: #d88000;
    
    --info-color: #9e6ff0;
    --info-light: #9176ff;
    --info-dark: #a847ff;
    
    --text-dark: #161c26;
    --text-light: #6f7887;
    --bg-light: #f8fafc;
    --bg-dark: #232a3d;
}

/* General Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.63rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.64rem;
}

h4 {
    font-size: 1.34rem;
}

h5 {
    font-size: 1.17rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Header Styles */
.navbar-brand {
    font-size: 1.61rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#hero h2 {
    font-size: 1.55rem;
    margin-bottom: 1.88rem;
    opacity: 0.9;
}

#hero p {
    font-size: 1.16rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-buttons .btn {
    margin-right: 1rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 8px 6px -1px rgba(0, 0, 0, 0.1), 0 6px 7px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 11px 15px -3px rgba(0, 0, 0, 0.1), 0 7px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-img-top {
    border-radius: 0.75rem 0.75rem 0 0;
    height: 200px;
    object-fit: cover;
}

/* Price Display */
.price-display {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.price-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-weight: 600;
    text-align: center;
}

/* Process Steps */
.process-step {
    position: relative;
    padding: 2rem 0;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.58rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    width: 50%;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 5px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 2rem;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
}

/* Contact Form */
.form-control {
    border-radius: 0.5rem;
    border: 1px solid #bccbdb;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(21, 72, 251, 0.25);
    outline: 0;
}

/* Contact Info */
.contact-info {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
}

.contact-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: white;
}

footer h5 {
    color: white;
    margin-bottom: 1rem;
}

footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.text-warning {
    color: var(--warning-color);
}

.text-info {
    color: var(--info-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-accent {
    background-color: var(--accent-color);
}

.bg-warning {
    background-color: var(--warning-color);
}

.bg-info {
    background-color: var(--info-color);
}

/* Breadcrumb */
.breadcrumb-nav {
    background: var(--bg-light);
    padding: 1rem 0;
    margin-top: 76px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item img {
    border-radius: 0.25rem;
}

/* Animation Classes for Sal.js */
.sal-animate {
    transition: all 0.3s ease;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .sal-animate {
        animation: none !important;
        transition: none !important;
    }
}

/* Gallery Styles */
#gallery img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Metric Items */
.metric-item {
    padding: 2rem;
    text-align: center;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 8px 6px -1px rgba(0, 0, 0, 0.1);
}

.metric-item .display-4 {
    font-weight: 800;
    margin-bottom: 0.86rem;
}

/* Feature Items */
.feature-item {
    padding: 2rem;
    text-align: center;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 8px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

/* Benefit Items */
.benefit-item {
    padding: 2rem;
    text-align: center;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

/* Info Items */
.info-item {
    padding: 2rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

/* Impact Items */
.impact-item {
    padding: 2rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-5px);
}

/* Standard Items */
.standard-item {
    padding: 2rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.standard-item:hover {
    transform: translateY(-5px);
}

/* Star Ratings */
.fas.fa-star {
    color: #f7ad1d;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Space Page Styles */
#space {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    color: white;
    padding: 5rem 0;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Decorative Elements */
.decorative-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Print Styles */
@media print {
    .navbar, .breadcrumb-nav, footer {
        display: none;
    }
    
    body {
        padding-top: 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #dbdbdb;
    }
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
