/* 
   Project: ketchikanattractions.com
   Theme: Totem & Rainforest (Rugged, Earthy, Alaskan)
*/

:root {
    --cedar-wood: #d2b48c;
    --misty-grey: #708090;
    --rainforest-green: #1b4d3e;
    --slate-dark: #2c3e50;
    --soft-beige: #f5f5dc;
    --bark-brown: #3e2723;
    --text-dark: #212121;
    --text-light: #fefefe;
    --nav-bg: #ffffff;
    --transition: all 0.3s ease-in-out;
}

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

body {
    font-family: 'Open Sans', system-ui, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--soft-beige);
}

h1,
h2,
h3,
h4 {
    font-family: 'Roboto Slab', serif;
    color: var(--bark-brown);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

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

a:hover {
    color: var(--bark-brown);
}

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

/* --- Navigation --- */

nav {
    background: var(--nav-bg);
    border-bottom: 3px solid var(--cedar-wood);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bark-brown);
}

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

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

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

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

/* --- Hero --- */

.hero {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/ketchikan-attractions-hero.webp') center/cover;
    background-color: var(--slate-dark);
    color: var(--text-light);
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* --- Buttons --- */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--bark-brown);
    transform: scale(1.02);
}

.btn-outline {
    border: 2px solid var(--cedar-wood);
    color: var(--bark-brown);
}

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

/* --- Sections --- */

section {
    padding: 80px 0;
}

.bg-white {
    background: #ffffff;
}

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

.section-title h2 {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--cedar-wood);
}

/* --- Grid & Cards --- */

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

.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--misty-grey);
    transition: var(--transition);
    overflow: hidden;
}

.card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid var(--cedar-wood);
    margin-bottom: 1.5rem;
}

.card h3,
.card p,
.card a {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.card a {
    display: inline-block;
    padding-bottom: 1.5rem;
}

.card:hover {
    border-top-color: var(--rainforest-green);
    transform: translateY(-5px);
}

.card.highlight {
    border-top-color: var(--cedar-wood);
}

/* --- Info Boxes --- */

.info-box {
    background: #e8f5e9;
    border-left: 5px solid var(--rainforest-green);
    padding: 1.5rem;
    margin: 2rem 0;
}

.alert-box {
    background: #fff3e0;
    border-left: 5px solid #ff9800;
    padding: 1.5rem;
    margin: 2rem 0;
}

/* --- Itinerary Tables --- */

.itinerary-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
}

.itinerary-table th {
    background: var(--slate-dark);
    color: white;
    padding: 1rem;
    text-align: left;
}

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

/* --- Footer --- */

footer {
    background: var(--bark-brown);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
}

footer h4 {
    color: var(--cedar-wood);
    margin-bottom: 1.5rem;
}

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

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

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

.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: 1.5rem;
    font-size: 0.85rem;
}

/* --- Responsive --- */

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

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

    .hero p {
        font-size: 1.1rem;
    }
}