/* BlueSeasFishing.com - Modern Redesign CSS */
/* Ocean-inspired professional theme */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Lato:wght@300;400;700&display=swap');

/* CSS Variables - Color Palette */
:root {
    /* Primary Colors */
    --deep-ocean-blue: #1a365d;
    --mid-ocean-blue: #2c5282;
    --marine-teal: #4a90a4;
    --seafoam-green: #68d391;
    
    /* Neutral Colors */
    --crisp-white: #ffffff;
    --light-slate: #f8fafc;
    --dark-slate: #4a5568;
    --neutral-border: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Lato', sans-serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;
    --spacing-xxl: 96px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-slate);
    background-color: var(--crisp-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--deep-ocean-blue);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.2;
    letter-spacing: -1.5px;
}

h2 {
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -1px;
}

h3 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 500;
    line-height: 1.4;
    color: var(--mid-ocean-blue);
    letter-spacing: -0.5px;
}

p {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(26, 54, 93, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--crisp-white);
    text-decoration: none;
}

.logo-accent {
    color: var(--seafoam-green);
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    margin: 0;
}

.nav-link {
    color: var(--crisp-white);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--seafoam-green);
    background: rgba(74, 144, 164, 0.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--crisp-white);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--marine-teal);
    color: var(--crisp-white);
}

.btn-primary:hover {
    background: #3b7383;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--mid-ocean-blue);
    border: 2px solid var(--mid-ocean-blue);
}

.btn-secondary:hover {
    background: var(--mid-ocean-blue);
    color: var(--crisp-white);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* Cards */
.card {
    background: var(--crisp-white);
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--deep-ocean-blue) 0%, var(--mid-ocean-blue) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero_banner.png') center/cover no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--crisp-white);
    text-align: left;
}

.hero h1 {
    color: var(--crisp-white);
    margin-bottom: var(--spacing-md);
}

.hero .lead {
    font-size: clamp(18px, 2.5vw, 22px);
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--seafoam-green);
}

.stat-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Section Spacing */
.section {
    padding: var(--spacing-xxl) 0;
}

.section-alt {
    background: var(--light-slate);
}

/* How It Works Section */
.how-it-works {
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.step {
    padding: var(--spacing-lg);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--marine-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--crisp-white);
    font-size: 32px;
}

/* AI Identification Section */
.ai-identification {
    background: var(--light-slate);
}

.upload-area {
    border: 3px dashed var(--marine-teal);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--mid-ocean-blue);
    background: rgba(74, 144, 164, 0.05);
}

.upload-icon {
    font-size: 48px;
    color: var(--marine-teal);
    margin-bottom: var(--spacing-md);
}

/* Form Styles */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--deep-ocean-blue);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--neutral-border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--marine-teal);
    box-shadow: 0 0 0 3px rgba(74, 144, 164, 0.2);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Gallery Styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(26, 54, 93, 0.8) 0%, transparent 50%);
    color: var(--crisp-white);
    padding: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Newsletter Section */
.newsletter {
    background: var(--deep-ocean-blue);
    color: var(--crisp-white);
    text-align: center;
}

.newsletter h2 {
    color: var(--crisp-white);
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: var(--spacing-lg) auto 0;
    gap: var(--spacing-sm);
}

.newsletter-form input {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
}

.newsletter-form button {
    background: var(--seafoam-green);
    color: var(--deep-ocean-blue);
}

/* Footer */
.footer {
    background: var(--deep-ocean-blue);
    color: var(--crisp-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

.footer-section h4 {
    color: var(--seafoam-green);
    margin-bottom: var(--spacing-md);
}

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

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--crisp-white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--seafoam-green);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--mid-ocean-blue);
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--deep-ocean-blue);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
    }
    
    .navbar-nav.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    .hero {
        padding: var(--spacing-xxl) 0;
    }
    
    .section {
        padding: 128px 0;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-lg); }
.py-5 { padding: var(--spacing-xl) 0; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.gap-2 { gap: var(--spacing-sm); }
.gap-3 { gap: var(--spacing-md); }

/* Success/Error Messages */
.alert {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
}

.alert-success {
    background: rgba(104, 211, 145, 0.1);
    color: #2d7d32;
    border: 1px solid var(--seafoam-green);
}

.alert-error {
    background: rgba(244, 67, 54, 0.1);
    color: #c62828;
    border: 1px solid #f44336;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--marine-teal);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
