/* style.css - main stylesheet
   Moved urgent-emphasis rules from inline <style> in index.html
*/

.urgent-emphasis {
    display: inline-block;
    font-weight: 800;
    font-size: 1.15em;
    text-transform: uppercase;
    color: #4b0f0f;
    background: linear-gradient(90deg,#fff4e6 0%, #ffd6cc 50%, #ffb3a7 100%);
    padding: .12em .4em;
    border-radius: .35em;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    text-shadow: 0 1px 0 rgba(255,255,255,0.35);
    letter-spacing: 0.06em;
    transform-origin: center;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
    .urgent-emphasis { animation: none; }
}

.urgent-emphasis:focus {
    outline: 3px solid rgba(255,179,167,0.6);
    outline-offset: 3px;
}

/* --- Global Styles --- */
:root {
    --primary-color: #004d99; /* Deep blue for main elements */
    --secondary-color: #333;
    --text-light: #f0f0f0;
    --text-dark: #333;
    --card-bg: #f8f8f8;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header & Navigation --- */

/* Top Bar (Darker Blue) */
.top-bar {
    background-color: #1a1a1a;
    color: var(--text-light);
    padding: 5px 0;
    font-size: 0.9em;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    /* Hides the text logo shown in the image */
    display: none; 
}

.social-icons a {
    color: var(--text-light);
    margin-left: 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-color);
}

/* Main Navigation (White Bar) */
.main-nav {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo-main {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 50px; /* Adjust size to match the image */
    height: 50px;
    margin-right: 10px;
}

.logo-tagline {
    font-size: 0.6em;
    line-height: 1.2;
    font-weight: 600;
    color: var(--primary-color);
}

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

.nav-links li a {
    text-decoration: none;
    color: var(--secondary-color);
    padding: 10px 15px;
    font-weight: 600;
    transition: color 0.3s, border-bottom 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    /* IMPORTANT: Replace 'background-img.jpg' with your airport control tower image path */
    background-image: url('background-img.jpg'); 
    background-size: cover;
    background-position: center;
    height: 450px; /* Adjust height as needed */
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.45); /* Dark overlay to improve text contrast */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: left;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1em;
    font-weight: 400;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #003366;
}

/* --- Welcome Section --- */
.welcome-section {
    padding: 50px 0;
    border-bottom: 1px solid #ddd;
}

.section-title {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc; /* Separator line under title */
    display: inline-block;
    padding-bottom: 5px;
}

.welcome-content p {
    margin-bottom: 40px;
    color: #666;
    line-height: 1.8;
}

.feature-cards {
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 30px;
}

.card {
    flex: 1;
    padding: 20px;
}

.card-icon {
    font-size: 3em;
    color: var(--primary-color);
    background-color: var(--card-bg);
    border-radius: 50%;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.card p {
    font-weight: 600;
    color: var(--secondary-color);
}

/* --- Search Section --- */
.search-section {
    padding: 40px 0 60px 0;
    border-bottom: 1px solid #ddd;
}

.search-title {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-input {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    flex-grow: 1;
    max-width: 400px; /* Limit input width */
}

.btn-search {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-search:hover {
    background-color: #003366;
}

.link-guide {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.link-guide:hover {
    text-decoration: underline;
}

/* --- Footer --- */
footer {
    background-color: #1a1a1a;
    color: var(--text-light);
    padding: 20px 0;
    font-size: 0.9em;
}

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

.footer-social a {
    color: var(--text-light);
    margin-left: 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--primary-color);
}
