/* FishingAndDiving.com - Mobile First CSS */
:root {
    --primary: #1e3a5f;
    --secondary: #2d5a87;
    --accent: #3498db;
    --accent2: #27ae60;
    --bg: #f0f7fa;
    --card: #ffffff;
    --text: #1e3a5f;
    --muted: #5d7a94;
    --shadow: 0 4px 20px rgba(30, 58, 95, 0.1);
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    min-height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    list-style: none;
    padding: 1rem;
    box-shadow: var(--shadow);
}

.nav-menu.active { display: block; }

.nav-menu li { padding: 0.75rem 0; }

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover { color: var(--accent); }

/* Hero */
.hero {
    position: relative;
    min-height: 50vh;
    max-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    color: white;
    padding-top: 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='0.5'/%3E%3C/svg%3E");
    background-size: 100px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem 1rem 3rem;
}

.hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.hero p {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 40px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    background: var(--accent);
    color: white;
}

.btn-small:hover {
    background: var(--primary);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: white;
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    margin-bottom: 2.5rem;
}

.section-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Grid */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

/* Cards */
.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(30, 58, 95, 0.15);
}

.card-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-badge {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.card-body {
    padding: 1.25rem;
}

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.card-meta {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: var(--bg);
    color: var(--secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Calendar */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.calendar-card {
    background: var(--bg);
    padding: 1.25rem;
    border-radius: var(--radius);
    text-align: center;
}

.calendar-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.calendar-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.calendar-card p {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-good {
    background: rgba(39, 174, 96, 0.15);
    color: var(--accent2);
}

.status-moderate {
    background: rgba(52, 152, 219, 0.15);
    color: var(--accent);
}

/* Gear */
.gear-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    color: white;
}

.gear-card {
    padding: 1.5rem;
    text-align: center;
}

.gear-rating {
    color: #f39c12;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.gear-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.gear-category {
    font-size: 0.875rem;
    color: var(--muted);
}

.gear-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent2);
    margin: 0.75rem 0;
}

.gear-pros {
    list-style: none;
    text-align: left;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.gear-pros li {
    padding: 0.25rem 0;
    color: var(--muted);
}

/* Species */
.species-card {
    padding: 1.5rem;
    text-align: center;
}

.species-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.species-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.species-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Regulations */
.regulations-grid {
    display: grid;
    gap: 1.5rem;
}

.reg-card {
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.reg-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.reg-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

.reg-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9375rem;
}

.reg-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.link:hover {
    text-decoration: underline;
}

/* About */
.about-grid {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--muted);
}

.about-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bg);
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted);
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.newsletter h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.newsletter p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    text-align: center;
}

.newsletter-form input:focus {
    outline: 2px solid var(--accent);
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 0.9375rem;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

.footer-links li {
    padding: 0.375rem 0;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Tablet+ */
@media (min-width: 640px) {
    .container { padding: 0 2rem; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .calendar-grid { grid-template-columns: repeat(4, 1fr); }
    .regulations-grid { grid-template-columns: repeat(2, 1fr); }
    .newsletter-form { flex-direction: row; }
    .newsletter-form input { text-align: left; flex: 1; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop */
@media (min-width: 1024px) {
    .nav-toggle { display: none; }
    .nav-menu {
        display: flex;
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
        gap: 2rem;
    }
    .nav-menu li { padding: 0; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .regulations-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* Focus states */
a:focus, button:focus, input:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 9999;
}

.skip-link:focus {
    top: 0;
}