/* 
   Project: ketchikanwhalewatching.org
   Theme: Glacier & Misty Fjord (Rugged, Clean, Alaskan)
*/

:root {
    --glacier-white: #edeff2;
    --ice-blue: #a5d8ff;
    --deep-ocean: #1e3a5f;
    --forest-green: #2d5a27;
    --slate-grey: #333333;
    --accent-gold: #d4af37;
    /* For cruise/premium highlights */
    --text-dark: #222222;
    --text-light: #fefefe;
    --nav-bg: rgba(255, 255, 255, 0.98);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Roboto', 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--glacier-white);
}

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--deep-ocean);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

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

a:hover {
    color: var(--deep-ocean);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Navigation --- */

nav {
    background: var(--nav-bg);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--deep-ocean);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--forest-green);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--slate-grey);
}

.nav-links a:hover {
    color: var(--forest-green);
}

/* --- Hero --- */

.hero {
    padding: 120px 0;
    background: linear-gradient(rgba(30, 58, 95, 0.7), rgba(30, 58, 95, 0.7)), url('images/ketchikan-whale-watching-hero.webp');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
}

.card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid var(--ice-blue);
    margin: -2.5rem -2.5rem 1.5rem -2.5rem;
}

.hero h1 {
    color: var(--glacier-white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: #23481e;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

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

/* --- Section Layouts --- */

section {
    padding: 100px 0;
}

.bg-light {
    background: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
}

/* --- Content Cards --- */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border-bottom: 4px solid var(--ice-blue);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.05);
}

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

/* --- Tables --- */

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 3rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.comparison-table th {
    background: var(--deep-ocean);
    color: white;
    padding: 1.5rem;
    text-align: left;
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* --- Footer --- */

footer {
    background: var(--deep-ocean);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

footer h4 {
    color: white;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

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

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* --- Utilities --- */

.text-accent {
    color: var(--forest-green);
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* --- Responsive --- */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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