/* Color Palette based on Canton Logo: 
   Blue: #0084C9 
   Yellow: #FFC425 
*/

:root {
    --primary-blue: #0084C9;
    --primary-yellow: #FFC425;
    --dark-grey: #333;
    --light-grey: #f4f4f4;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: var(--dark-grey);
    line-height: 1.6;
}

/* Layout Helpers */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; }

/* Header */
header {
    background-color: white;
    border-bottom: 4px solid var(--primary-yellow);
    padding: 1.5rem 0;
}

.header-content {
    display: flex;
    align-items: flex-start; /* Aligns logo to top if text gets long */
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    height: 80px; 
    width: auto;
}

.airport-header-info {
    text-align: right;
}

.airport-header-info h1 {
    margin: 0;
    color: var(--primary-blue);
    font-size: 1.8rem;
    line-height: 1.2;
}

.airport-header-info h2 {
    margin: 0 0 10px 0;
    color: #666;
    font-weight: normal;
    font-size: 1.4rem;
}

/* NEW: Pilot Data Block Styling */
.pilot-data-block {
    background-color: #f9f9f9;
    padding: 10px 15px;
    border-radius: 5px;
    border-right: 4px solid var(--primary-blue);
    display: inline-block;
    text-align: right;
}

.primary-freq {
    margin: 0;
    font-size: 1.1rem;
    color: #222;
}

.secondary-freqs {
    margin: 5px 0;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
}

.secondary-freqs p {
    margin: 2px 0;
}

.coords {
    margin: 5px 0 0 0;
    font-weight: bold;
    color: var(--primary-blue);
    font-size: 0.95rem;
    border-top: 1px dotted #ccc;
    padding-top: 5px;
}

.divider {
    color: var(--primary-yellow);
    font-weight: bold;
    margin: 0 5px;
}

/* Hero Image */
.hero-section {
    background-color: var(--light-grey);
    padding: 20px 0;
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-top: 5px solid var(--primary-blue);
}

.highlight-border {
    border-top: 5px solid var(--primary-yellow);
    background-color: #fffdf5; 
}

.card h3 {
    margin-top: 0;
    color: var(--primary-blue);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.card ul {
    list-style: none;
    padding: 0;
}

.card li {
    padding: 8px 0;
    border-bottom: 1px dotted #eee;
}

.amenity-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* Fuel Pricing Specifics */
.price-box p {
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.price {
    font-weight: bold;
    color: #222;
}

.small-note {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 15px;
}

/* Distances Section */
.distances {
    background-color: var(--primary-blue);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.distances h3 {
    margin-top: 0;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

.distance-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.dist-item {
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 4px;
    flex: 1 1 200px;
    display: flex;
    justify-content: space-between;
}

/* Manager Contact Section */
.manager-section {
    background-color: #f8f9fa; 
    padding: 3rem 0;
    border-top: 1px solid #ddd;
}

.manager-section h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.manager-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary-yellow);
}

.manager-info h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.job-title {
    color: var(--primary-blue);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.manager-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 30px; 
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    text-align: center;
}

.contact-btn:hover {
    background-color: #005f91; 
}

.contact-btn.office {
    background-color: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.contact-btn.office:hover {
    background-color: #eef7fb;
}

/* Footer */
footer {
    background-color: #222;
    color: #888;
    padding: 1rem 0;
    font-size: 0.9rem;
    text-align: center;
}

.contact-links a {
    color: var(--primary-yellow);
    font-weight: bold;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .airport-header-info {
        text-align: center;
        width: 100%;
    }
    .pilot-data-block {
        text-align: center;
        border-right: none;
        border-top: 4px solid var(--primary-blue);
        width: 100%;
        box-sizing: border-box; /* Prevents padding from breaking layout */
    }
}