@charset "utf-8";

/* Ocean Sports Magazine - Custom CSS */
/* Consolidated styles with solid backgrounds */

:root {
    /* Color scheme with solid colors - no gradients */
    --primary-color: #0077BE;      /* Ocean blue */
    --secondary-color: #00A8CC;    /* Light ocean blue */
    --accent-color: #FFA500;       /* Sunset orange */
    --dark-color: #1a252f;         /* Dark blue-gray */
    --light-color: #f8f9fa;        /* Light gray */
    --text-dark: #2c3e50;          /* Dark text */
    --text-light: #ffffff;         /* Light text */
    
    /* Background colors - solid only */
    --body-background: #e6f3ff;    /* Light blue background from index page */
    --content-background: #ffffff;  /* White content background */
    --theme-color2: #005974;       /* Theme color from index page */
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--body-background);
    margin: 0;
    padding: 0;
}

/* Typography - Using fonts from index page */
h1, h2, h3, h4, h5, h6 {
    font-family: 'adelle-condensed', serif;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 90%;
    color: var(--text-dark);
}

h1 {
    font-family: 'adelle-condensed', serif;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    font-weight: 300;
    color:red;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 25px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 1rem;
}

/* Headline styles from index page */
.headline {
    font-family: 'adelle-condensed', serif;
    font-weight: 500;
    font-size: 2.5rem;
    margin-top: 0;
    padding: 10px 5px;
    line-height: 90%;
}

.subhead {
    font-family: 'adelle-condensed', serif;
    font-weight: 500;
    font-size: 1.75rem;
    margin-top: 0;
}

/* Paragraph styles */
p {
    font-size: 1.25rem;
    font-family: 'proxima-nova', sans-serif;
    font-style: normal;
    font-weight: 300;
    text-indent: 25px;
}

.noIndent {
    text-indent: 0;
}

/* Theme colors - solid backgrounds */
.theme-color {
    background-color: #000;
    color: rgba(255,255,255,1.00);
}

.theme-color2 {
    background-color: #005974;
    color: rgba(255,255,255,1.00);
}

.theme-color3 {
    background-color: #222;
    color: rgba(255,255,255,1.00);
}

.theme-band {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

/* Navigation Styles */
#mainNav {
    background-color: var(--dark-color);
    transition: all 0.3s ease;
    padding: 0.5rem 0;  /* Reduced from 1rem to 0.5rem (10px less) */
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

#mainNav .navbar-brand {
    color: var(--text-light);
    font-family: 'adelle-condensed', serif;
    font-weight: 700;
    font-size: 1.5rem;
}

#mainNav .navbar-brand .logo-img {
    height: 35px;  /* Reduced from 40px to 35px */
    width: auto;
    filter: brightness(0) invert(1);
}

#mainNav .navbar-nav .nav-item .nav-link {
    font-family: 'proxima-nova', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.0625em;
    padding: 0.5rem 1rem;  /* Reduced from 0.75rem to 0.5rem */
    transition: all 0.3s ease;
    text-transform: uppercase;
}

#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link.active {
    color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Dropdown menu styles */
.dropdown-menu {
    background-color: var(--dark-color);
    border: none;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.dropdown-item i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* Shrink navigation on scroll */
#mainNav.navbar-shrink {
    padding: 0.25rem 0;  /* Reduced from 0.5rem to 0.25rem */
    background-color: rgba(26, 37, 47, 0.95);
    backdrop-filter: blur(10px);
}

/* Main Content Area - Account for fixed navbar */
body {
    padding-top: 66px; /* Reduced from 76px to 66px (10px less) */
}

.main-content {
    min-height: calc(100vh - 300px);
}

.content-section {
    padding: 4rem 0;
    background-color: var(--content-background);
}

.content-section:nth-child(even) {
    background-color: var(--light-color);
}

/* Page Headers */
.page-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 3rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.page-header .lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* Links */
a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff8c00;
    text-decoration: underline;
}

/* Cards and Containers */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
    transition: all 0.3s ease;
    background-color: var(--content-background);
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    transform: translateY(-0.25rem);
}

.card-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-bottom: none;
    font-weight: 600;
}

/* Buttons */
.btn {
    font-family: 'proxima-nova', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

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

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

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: #ff8c00;
    transform: translateY(-2px);
}

.btn-warning {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-light);
}

.btn-warning:hover {
    background-color: #ff8c00;
    border-color: #ff8c00;
    color: var(--text-light);
}

/* Forms */
.form-control {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 119, 190, 0.25);
}

/* Tables */
.table {
    background-color: var(--content-background);
}

.table thead th {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-bottom: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 119, 190, 0.05);
}

/* Footer Styles */
.footer {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 3rem 0 2rem;
}

.footer .copyright {
    font-size: 0.875rem;
    line-height: 2.5rem;
}

.footer .social-buttons {
    margin-bottom: 0;
    text-align: center;
}

.footer .social-buttons li {
    margin: 0 0.5rem;
}

.footer .social-buttons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.footer .social-buttons li a:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

.footer .quicklinks {
    margin-bottom: 0;
    font-size: 0.875rem;
    text-align: right;
}

.footer .quicklinks li {
    margin: 0 0.5rem;
}

.footer .quicklinks li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .quicklinks li a:hover {
    color: var(--accent-color);
}

.footer-contact {
    font-size: 0.875rem;
    margin-top: 1rem;
}

.footer-contact a {
    color: var(--accent-color);
}

/* Media Embeds */
.embed-container { 
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden; 
    max-width: 100%; 
} 

.embed-container iframe, 
.embed-container object, 
.embed-container embed { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

/* Spacing utilities */
.topMargin {
    margin-top: 1.875rem;
}

.bottomMargin {
    margin-bottom: 1.25rem;
}

.mainHeadline {
    margin-top: 3.125rem;
    padding-top: 0.625rem;
    padding-bottom: 0.3125rem;
}

.noPadding {
    padding: 0 !important;
}

/* Caption styles */
.caption {
    font-size: 0.875rem;
    font-style: italic;
    color: rgba(108, 117, 125, 1);
    text-align: center;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 56px;  /* Standard Bootstrap mobile navbar height */
    }
    
    h1, .headline {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .content-section {
        padding: 2rem 0;
    }
    
    .page-header {
        padding: 2rem 0;
    }
    
    .footer .copyright,
    .footer .social-buttons,
    .footer .quicklinks {
        text-align: center !important;
        margin-bottom: 1rem;
    }
    
    p {
        font-size: 1rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .no-print {
        display: none !important;
    }
    
    body {
        padding-top: 0 !important;
        background-color: white !important;
    }
    
    .page-header {
        background-color: transparent !important;
        color: #000 !important;
    }
}


/* ===== FITNESS PAGES STYLES ===== */

/* Fitness page specific styles */
.hero-section {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.exercise-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exercise-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.exercise-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
}

.category-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0 1rem 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.safety-alert {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.difficulty-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.difficulty-beginner {
    background: #d4edda;
    color: #155724;
}

.difficulty-intermediate {
    background: #fff3cd;
    color: #856404;
}

.difficulty-advanced {
    background: #f8d7da;
    color: #721c24;
}

.exercise-illustration {
    width: 100%;
    max-width: 300px;
    height: 200px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
    margin: 1rem 0;
}

.btn-ocean {
    background: var(--accent-color);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 25px;
    padding: 0.7rem 2rem;
    transition: all 0.3s ease;
}

.btn-ocean:hover {
    background: #e55a2e;
    color: white;
    transform: translateY(-1px);
}

.author-bio {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    border-left: 5px solid var(--accent-color);
}

/* Fitness Archive specific styles */
.column-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.column-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.column-header {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 1.5rem;
    text-align: center;
}

.column-number {
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.5rem;
    font-weight: bold;
}

.coming-soon {
    opacity: 0.7;
    position: relative;
}

.coming-soon::after {
    content: 'Coming Soon';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.stats-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.schedule-info {
    background-color: #e3f2fd;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    border-left: 5px solid var(--primary-color);
}

/* Exercise Illustrations page styles */
.admin-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.illustration-container {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: white;
    padding: 15px;
    margin: 1rem 0;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-container:hover {
    border-color: var(--primary-color);
}

.illustration-placeholder {
    color: #6c757d;
    text-align: center;
    font-style: italic;
}

/* Override body background for exercise illustrations admin page */
body.admin-gradient {
    background-color: #667eea;
}


/* Sports Articles Navigation Styles */
.dropdown-menu .dropdown-item.small {
    font-size: 0.875rem;
    padding-left: 2.5rem;
}

.dropdown-menu .ps-4 {
    padding-left: 1.5rem !important;
}

.dropdown-menu .dropdown-item.small:before {
    content: '';
    margin-right: 0.25rem;
}

/* Hover effect for sub-items */
.dropdown-menu .dropdown-item.small:hover {
    background-color: rgba(0,0,0,0.05);
    padding-left: 2.75rem;
    transition: padding-left 0.2s ease;
}/* Article Page SEO-Optimized Styles */

/* Article Content Typography */
.article-content {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
}

.article-content p {
    margin-bottom: 1.75rem;
    text-align: justify;
    hyphens: auto;
}

/* First paragraph drop cap */
.article-content .article-body > p:first-child::first-letter {
    float: left;
    font-size: 4.5rem;
    line-height: 0.8;
    margin: 0.1em 0.1em 0 0;
    font-weight: bold;
    color: #0066cc;
}

/* Headings with proper hierarchy */
.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
    color: #1a1a1a;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2.5rem 0 1.25rem;
    color: #2a2a2a;
}

.article-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #3a3a3a;
}

/* Lists */
.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

/* Blockquotes */
.article-content blockquote {
    border-left: 4px solid #0066cc;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    margin: 2rem 0;
    background-color: #f8f9fa;
    font-style: italic;
    position: relative;
}

.article-content blockquote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: 0.5rem;
    top: -0.5rem;
    color: #0066cc;
    opacity: 0.3;
}

/* Images and Figures */
.featured-image-wrapper {
    margin: 2rem 0;
    text-align: center;
}

.featured-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.featured-image-wrapper figcaption {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.75rem;
    font-style: italic;
}

/* Article Metadata */
.article-meta-bar {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #666;
}

.article-meta-bar i {
    margin-right: 0.5rem;
    color: #0066cc;
}

/* Tags */
.article-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.article-tags h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.tag-link {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    margin: 0.25rem;
    background-color: #e9ecef;
    color: #495057;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background-color: #0066cc;
    color: white;
    transform: translateY(-2px);
}

/* Related Articles */
.related-articles {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e0e0e0;
}

.related-articles h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

.related-article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.related-article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-article-content {
    padding: 1.25rem;
}

.related-article-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.related-article-content h4 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-article-content h4 a:hover {
    color: #0066cc;
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .article-content {
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.25rem;
    }
    
    .article-content p {
        text-align: left;
        margin-bottom: 1.5rem;
    }
    
    .article-meta-bar {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-content .article-body > p:first-child::first-letter {
        font-size: 3rem;
    }
}

/* Print Styles */
@media print {
    .article-content {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .related-articles,
    .article-tags,
    .breadcrumb {
        display: none;
    }
}

/* Accessibility Improvements */
.article-content a {
    color: #0066cc;
    text-decoration: underline;
}

.article-content a:hover {
    color: #0052a3;
}

.article-content a:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Strong and Emphasis */
.article-content strong {
    font-weight: 700;
    color: #1a1a1a;
}

.article-content em {
    font-style: italic;
}

/* Code blocks if needed */
.article-content code {
    background-color: #f4f4f4;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.article-content pre {
    background-color: #f4f4f4;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

/* Tables */
.article-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.article-content th,
.article-content td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    text-align: left;
}

.article-content th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.article-content tbody tr:hover {
    background-color: #f8f9fa;
}