﻿* {
    box-sizing: border-box;
}

:root {
    --bg: #0d253f;
    --accent: #1e90ff;
    --muted: #f2f6fb;
    --ink: #0e1a24;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.45;
}

.tartan-header {
    background-image: url("../img/tartan.png"); /* your tartan PNG */
    background-size: cover; /* fills header area */
    background-position: center; /* centers pattern */
    background-repeat: no-repeat;
    height: 200px; /* adjust height */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

    .tartan-header h1 {
        margin: 0;
        font-size: 2.5em;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    }

    .tartan-header p {
        margin: 5px 0 0;
        font-size: 1.2em;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
        border-bottom: 6px solid #b38b59;
    }

/* Header buttons */
.header-buttons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

    .header-buttons .btn {
        background-color: #1f3b73; /* Deep navy */
        color: #fff;
        text-decoration: none;
        padding: 0.6em 1.4em;
        border-radius: 8px;
        font-weight: 500;
        transition: background-color 0.2s, transform 0.15s;
        box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    }

        .header-buttons .btn:hover {
            background-color: #0d253f; /* Accent blue */
            transform: translateY(-2px);
        }

        .header-buttons .btn:active {
            transform: translateY(0);
        }


@media (min-width: 800px) {
    .tartan-header {
        height: 280px;
    }
}


.site-header {
    background: linear-gradient(145deg, var(--bg), #163552);
    color: #fff;
    padding: 32px 20px;
    text-align: center;
}

    .site-header h1 {
        margin: 0 0 4px;
        font-weight: 800;
        letter-spacing: 0.2px;
    }

    .site-header .year {
        color: #a6d1ff;
        font-size: 0.8em;
        font-weight: 700;
    }

    .site-header .note {
        color: #cbe4ff;
        margin-top: 4px;
    }

.about-section {
    margin-top: 40px;
}

.about-card {
    display: flex;
    align-items: center;
    background: #f2f6fb; /* matches your --muted */
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 20px;
    gap: 24px;
}

.about-photo {
    width: 320px;
    height: 320px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.about-text {
    flex: 1;
    color: var(--ink);
    line-height: 1.6;
    font-size: 1em;
}

@media (max-width: 1400px) {
    .about-card {
        flex-direction: column;
        text-align: center;
    }

    .about-photo {
        width: 480px;
        height: 480px;
    }

    .about-text {
        margin-top: 12px;
    }
}


main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px 64px;
}

h2 {
    margin: 24px 0 8px;
    padding-left: 10px;
    border-left: 4px solid var(--accent);
}

.btn {
    background: #1e90ff;
    color: #e8eef6;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block
}

    .btn:hover {
        background: #5fb8f5;
    }


button {
    background-color: #1e90ff; /* light blue */
    color: #e8eef6;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

    button:hover {
        background-color: #5fb8f5;
    }


.table-wrap {
    overflow-x: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

table {
    border-collapse: collapse;
    width: 100%;
    min-width: 760px;
}

thead th {
    background: var(--bg);
    color: #fff;
    text-align: left;
    padding: 10px 12px;
    font-weight: 700;
}

tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #e8eef6;
    vertical-align: top;
}

tbody tr:nth-child(odd) {
    background: #fff;
}

tbody tr:nth-child(even) {
    background: var(--muted);
}

.packages table, .notes ul {
    margin-bottom: 12px;
}

.notes ul {
    padding-left: 18px;
}

.notes li {
    margin: 6px 0;
}

.site-footer {
    border-top: 1px solid #e8eef6;
    color: #4b6075;
    text-align: center;
    padding: 18px;
}

@media print {
    .site-header, .site-footer {
        background: none;
        color: #000;
    }

    h2 {
        border-left-color: #000;
    }

    .table-wrap {
        box-shadow: none;
    }
}

.coding-section {
    margin-top: 40px;
}

.coding-card {
    display: flex;
    align-items: center;
    background: #f2f6fb; /* matches your --muted */
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 20px;
    gap: 24px;
}

.coding-photo {
    width: 850px;
    height: 425px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.coding-text {
    flex: 1;
    color: var(--ink);
    line-height: 1.6;
    font-size: 1em;
}
