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

:root {
    /* Color Palette */
    --primary-color: #0077be;
    --primary-dark: #005a94;
    --primary-light: #4da6e0;
    --secondary-color: #ff6b35;
    --secondary-dark: #e55525;
    --accent-color: #00c9a7;
    
    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-white: #ffffff;
    
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.5);
    
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* =====================================================
   Container and Layout
   ===================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* =====================================================
   Header and Navigation
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.nav {
    padding: var(--spacing-sm) 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav-logo {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.nav-brand h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.nav-brand .tagline {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--spacing-xs);
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    padding: var(--spacing-xxl) var(--spacing-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.nav-menu.active {
    right: 0;
}

.nav-menu li a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: var(--spacing-sm) 0;
    display: block;
    border-bottom: 2px solid transparent;
}

.nav-menu li a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/cliftonBanner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 119, 190, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--spacing-lg);
    color: var(--text-white);
    max-width: 800px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
}

.hero-scroll {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll span {
    font-size: 2rem;
    color: var(--text-white);
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    transition: var(--transition);
    min-width: 160px;
}

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

.btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

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

.btn-small {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.9rem;
    min-width: 120px;
}

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

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.update-time {
    display: inline-block;
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* =====================================================
   Featured Fish Section
   ===================================================== */
.featured {
    background-color: var(--bg-light);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.featured-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.card-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background-color: var(--secondary-color);
    color: var(--text-white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-content {
    padding: var(--spacing-md);
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.card-origin {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.card-description {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

.card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* =====================================================
   Today's Catch Section
   ===================================================== */
.todays-catch {
    background-color: var(--bg-white);
}

.catch-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.catch-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.catch-item:hover {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
}

.catch-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.catch-details {
    flex: 1;
}

.catch-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.catch-details p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.catch-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* =====================================================
   About Section
   ===================================================== */
.about {
    background-color: var(--bg-light);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.about-features li {
    font-size: 1.1rem;
    color: var(--text-dark);
    padding: var(--spacing-sm);
    background-color: var(--bg-white);
    border-radius: 8px;
}

.about-image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

/* =====================================================
   Recipes Section
   ===================================================== */
.recipes {
    background-color: var(--bg-white);
}

.recipes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.recipe-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.recipe-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    overflow: hidden;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-content {
    padding: var(--spacing-md);
}

.recipe-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.recipe-meta {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.recipe-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

/* =====================================================
   Shop/Order Section
   ===================================================== */
.shop {
    background-color: var(--bg-light);
}

.shop-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.shop-info {
    padding: var(--spacing-lg);
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.shop-info h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.order-steps {
    margin-bottom: var(--spacing-lg);
}

.order-steps li {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    background-color: var(--bg-light);
    border-radius: 8px;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.shop-note {
    padding: var(--spacing-md);
    background-color: var(--primary-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.shop-note p {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.shop-form-container {
    background-color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 119, 190, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    margin-top: var(--spacing-sm);
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* =====================================================
   Contact Section
   ===================================================== */
.contact {
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.contact-item {
    padding: var(--spacing-lg);
    background-color: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.contact-map {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    display: block;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background-color: var(--text-dark);
    color: var(--text-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-contact {
    margin-top: var(--spacing-xs);
    font-size: 0.9rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: var(--primary-light);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

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

.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* =====================================================
   Responsive Design - Tablet (min-width: 768px)
   ===================================================== */
@media (min-width: 768px) {
    /* Container */
    .container {
        padding: 0 var(--spacing-lg);
    }

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

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        max-width: none;
        padding: 0;
        flex-direction: row;
        box-shadow: none;
        background-color: transparent;
    }

    .nav-menu li a {
        font-size: 1rem;
    }

    /* Hero */
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }

    /* Featured Grid */
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Today's Catch */
    .catch-list {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About Section */
    .about-content {
        flex-direction: row;
        align-items: center;
    }

    .about-text,
    .about-image {
        flex: 1;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Recipes */
    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Shop */
    .shop-content {
        grid-template-columns: 1fr 1fr;
    }

    /* Contact */
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }

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

    /* Footer */
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        align-items: flex-start;
    }

    .footer-links {
        align-items: flex-start;
    }

    .social-icons {
        justify-content: flex-start;
    }
}

/* =====================================================
   Responsive Design - Desktop (min-width: 1024px)
   ===================================================== */
@media (min-width: 1024px) {
    /* Typography */
    :root {
        --font-size-base: 18px;
    }

    /* Hero */
    .hero-title {
        font-size: 4rem;
    }

    /* Featured Grid */
    .featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Today's Catch */
    .catch-list {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Recipes */
    .recipes-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Contact */
    .contact-info {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
        align-items: start;
    }
}

/* =====================================================
   Utility Classes
   ===================================================== */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: var(--spacing-lg);
}
