/* SIFA - Swan's Island First Aid - Stylesheet */
/* Style matching Swan's Island Yacht Club website */

:root {
    /* Brand Colors - Navy & Red nautical theme */
    --color-navy: #1a3a5c;
    --color-navy-dark: #0f2540;
    --color-navy-light: #2c5282;
    --color-red-accent: #c53030;
    --color-red-accent-dark: #9b2c2c;

    /* UI Feedback Colors */
    --color-warning-border: #d69e2e;
    --color-warning-background: #fefcbf;
    --color-warning-text: #744210;
    --color-success-background: #c6f6d5;
    --color-success-text: #276749;
    --color-success-border: #48bb78;
    --color-info-background: #bee3f8;
    --color-info-border: #3182ce;

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-background: #f7fafc;
    --color-background-alt: #edf2f7;
    --color-border: #e2e8f0;
    --color-text-light: #718096;
    --color-text-medium: #4a5568;
    --color-text-dark: #2d3748;

    /* Typography */
    --font-family-base: 'Helvetica Neue', Helvetica, Arial, sans-serif;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --border-radius: 4px;
}

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

/* Background */
#background {
    background-image: url(assets/island-pics/DSCF0444.JPG);
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center center;
    position: fixed;
    top: 0;
    z-index: -1;
}
/* Body */
body {
    font-family: var(--font-family-base);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-dark);
    background: var(--color-background);
    min-height: 100vh;
    margin: 0;
}

/* Links */

a:link, a:visited {
    color: var(--color-navy);
    text-decoration: none;
}
a:hover, a:active {
    color: var(--color-navy-dark);
    text-decoration: underline;
}

/* Layout */
.container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    opacity: 95%;
}
.container.wide { max-width: 1100px; }

/* Header */
header {
    background: var(--color-white);
    padding: cover;
    text-align: center;
    border-bottom: 3px solid var(--color-navy);
}

.logo {
    max-width: 100%;
    width: 380px;
    height: auto;
    display: block;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .logo { width: 280px; }
    header { padding: 20px; }
}

/* Navigation */
nav {
    background: var(--color-navy);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
}
nav a,
nav a:link,
nav a:visited {
    color: var(--color-white);
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s ease;
    border-bottom: 3px solid transparent;
}
nav a:hover,
nav a:active {
    background: var(--color-navy-dark);
    text-decoration: none;
    color: var(--color-white);
}
nav a.active {
    background: var(--color-navy-dark);
    border-bottom: 3px solid var(--color-red-accent);
}

@media (max-width: 768px) {
    nav a {
        padding: 12px 14px;
        font-size: 13px;
    }
}

/* Main Content */
main {
    padding: 50px 60px;
    background: var(--color-white);
}
@media (max-width: 768px) {
    main { padding: 30px 20px; }
}

/* Footer */
footer {
    background: var(--color-navy);
    color: var(--color-white);
    text-align: center;
    padding: 25px;
    font-size: 14px;
}
footer a { color: var(--color-white); }
footer a:hover { color: var(--color-background); }

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
}
.page-header h2 {
    color: var(--color-navy);
    font-size: 2.2em;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}
.page-header p {
    color: var(--color-text-medium);
    font-size: 1.1em;
    font-weight: 300;
}

/* Section Headings */
h2, h3 {
    color: var(--color-navy);
    font-weight: 400;
}

/* Cards */
.card {
    padding: 25px 30px;
    margin-bottom: 25px;
    background: var(--color-info-background);
    border: 1px solid var(--color-border);
}
.card h3 {
    color: var(--color-navy);
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: 500;
}
.card p {
    color: var(--color-text-medium);
    font-size: 1em;
    margin-bottom: 15px;
    line-height: 1.8;
}
.card p:last-child { margin-bottom: 0; }

.card.elevated {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-navy);
    padding: 30px;
}
.card.elevated h3 {
    color: var(--color-navy);
    font-size: 1.4em;
    font-weight: 500;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 12px;
    margin-bottom: 20px;
}
.card.elevated h4 {
    color: var(--color-navy-light);
    font-size: 1.1em;
    font-weight: 600;
    margin: 25px 0 10px;
}
.card.elevated p {
    color: var(--color-text-medium);
    line-height: 1.8;
}

.card.warning {
    background: var(--color-warning-background);
    border-color: var(--color-warning-border);
    border-left-color: var(--color-warning-border);
    text-align: center;
}
.card.warning p { color: var(--color-warning-text); }
.card.warning a { color: var(--color-warning-text); font-weight: 600; }

.card.success {
    background: var(--color-success-background);
    border-color: var(--color-success-border);
    border-left-color: var(--color-success-border);
    text-align: center;
}
.card.success h3 { color: var(--color-success-text); }
.card.success p { color: var(--color-success-text); }

.card.info {
    background: var(--color-info-background);
    border-color: var(--color-info-border);
    border-left-color: var(--color-info-border);
    text-align: center;
}

.card ul {
    list-style: none;
    list-style-type: none;
    margin-top: 15px;
}
.card li {
    color: var(--color-text-medium);
    font-size: 1em;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}
.card li:last-child { border-bottom: none; }

/* Checklist style - add class="checklist" to ul */
.card ul.checklist li {
    padding-left: 30px;
    position: relative;
}
.card ul.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success-border);
    font-weight: 600;
}


/* Highlight Box */
.highlight {
    background: var(--color-navy);
    padding: 35px 40px;
    text-align: center;
    margin: 40px 0;
    color: var(--color-white);
}
.highlight h3 {
    color: var(--color-white);
    font-size: 1.6em;
    font-weight: 400;
    margin-bottom: 12px;
}
.highlight p {
    font-size: 1.1em;
    opacity: 0.95;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}
.feature {
    background: var(--color-white);
    padding: 25px;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-navy);
    transition: box-shadow 0.2s ease;
}
.feature:hover {
    box-shadow: var(--shadow-md);
}
.feature h3 {
    color: var(--color-navy);
    margin-bottom: 12px;
    font-size: 1.15em;
    font-weight: 600;
}
.feature p {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 0.95em;
}

/* CTA Box */
.cta {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 45px 50px;
    text-align: center;
    margin: 40px 0;
}
.cta h3 {
    color: var(--color-white);
    font-size: 1.7em;
    font-weight: 400;
    margin-bottom: 20px;
}
.cta p {
    font-size: 1.05em;
    margin-bottom: 15px;
    opacity: 0.95;
}
.cta p:last-child { margin-bottom: 0; }
.cta a { color: var(--color-white); }

.cta.foot {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 20px 25px;
    text-align: center;
    margin: 40px 0;
}

.cta.foot p {
    font-size: .85em;
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--color-red-accent);
    color: var(--color-white);
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 10px 8px;
    transition: background 0.2s ease;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background: var(--color-red-accent-dark);
    text-decoration: none;
}
.btn.white {
    background: var(--color-white);
    color: var(--color-navy);
}
.btn.white:hover {
    background: var(--color-background);
}

/* Section Title */
.section-title {
    color: var(--color-navy);
    font-size: 1.5em;
    font-weight: 400;
    margin: 40px 0 30px;
    text-align: center;
    letter-spacing: -0.3px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .highlight, .cta {
        padding: 30px 25px;
    }
    .card.elevated {
        padding: 20px;
    }
}

/* Photo Carousel */
