/* Base Styles & Resets */
:root {
    --aa-blue: #0078d2;
    --aa-dark-blue: #00467f;
    --aa-red: #c30019;
    --aa-bg-gray: #f2f4f7;
    --aa-border: #dcdcdc;
    --text-main: #333333;
    --text-light: #555555;
    --font-stack: 'American Sans', 'Segoe UI', Arial, sans-serif;
}

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

body {
    font-family: var(--font-stack);
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.5;
    font-size: 14px;
}

a {
    color: var(--aa-blue);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--aa-dark-blue);
    text-decoration: underline;
}

.wrapper {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

.clean-list {
    list-style: none;
}

/* Header */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--aa-border);
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.header-left {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-select {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-main);
    cursor: pointer;
}

.search-bar {
    display: flex;
    align-items: center;
    border: 1px solid #aaa;
    border-radius: 2px;
    overflow: hidden;
}

.search-bar input {
    border: none;
    padding: 5px 8px;
    font-size: 12px;
    width: 120px;
    outline: none;
}

.search-bar button {
    background: none;
    border: none;
    color: var(--aa-blue);
    padding: 5px 8px;
    cursor: pointer;
}

.btn {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    border: 1px solid transparent;
}

.btn-blue {
    background-color: var(--aa-blue);
    color: #ffffff;
}

.btn-blue:hover {
    background-color: var(--aa-dark-blue);
    color: #ffffff;
    text-decoration: none;
}

.btn-white {
    background-color: #ffffff;
    color: var(--aa-blue);
    border-color: var(--aa-blue);
}

.btn-white:hover {
    background-color: #f0f7fd;
    text-decoration: none;
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-bg {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
}

.login-popover {
    align-self: flex-end;
    background-color: var(--aa-blue);
    color: white;
    padding: 15px 20px;
    border-radius: 2px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.login-popover a {
    color: white;
    text-decoration: underline;
}

.login-popover i {
    cursor: pointer;
    font-size: 14px;
    margin-top: 4px;
}

.hero-text {
    margin-bottom: 40px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 300;
    color: var(--aa-blue);
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(255,255,255,0.8);
}

.hero-link {
    font-size: 16px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.terms-overlay {
    position: absolute;
    top: 360px;
    left: 20px;
    color: white;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Booking Widget */
.booking-widget {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid var(--aa-border);
    width: 100%;
    margin-top: 20px;
}

.tabs {
    display: flex;
    background-color: var(--aa-bg-gray);
    border-bottom: 1px solid var(--aa-border);
}

.tabs button {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    font-size: 18px;
    color: var(--aa-blue);
    cursor: pointer;
    border-right: 1px solid var(--aa-border);
}

.tabs button:last-child {
    border-right: none;
}

.tabs button.active {
    background-color: #ffffff;
    border-top: 4px solid var(--aa-blue);
    color: var(--text-main);
    font-weight: 600;
    margin-top: -4px;
}

.widget-inner {
    padding: 20px 30px;
}

.sub-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.sub-tabs-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.sub-tabs-left span {
    color: var(--aa-blue);
    cursor: pointer;
}

.sub-tabs-left .pill.active {
    background-color: var(--aa-blue);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.trip-options {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.radio-label, .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Forms */
.form-row-1, .form-row-2 {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.input-group.half {
    flex: 0.5;
}

.input-group.flex-fill {
    justify-content: flex-end;
}

.input-group label {
    font-size: 12px;
    color: var(--text-main);
    margin-bottom: 5px;
}

.input-with-icon {
    position: relative;
    border-bottom: 1px solid var(--aa-border);
    display: flex;
    align-items: center;
}

.input-with-icon input {
    width: 100%;
    border: none;
    padding: 8px 0;
    font-size: 16px;
    outline: none;
    color: var(--text-main);
}

.input-with-icon i {
    position: absolute;
    right: 5px;
    font-size: 14px;
}

.input-group select {
    border: none;
    border-bottom: 1px solid var(--aa-border);
    padding: 8px 0;
    font-size: 16px;
    outline: none;
    background: white;
    color: var(--text-main);
}

.btn-search {
    padding: 12px;
    font-size: 16px;
    width: 100%;
}

.widget-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 12px;
}

.footer-links-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.travel-alerts {
    text-align: right;
    margin-top: 15px;
    margin-bottom: 30px;
}

.travel-alerts a {
    color: var(--aa-red);
    border: 1px solid var(--aa-border);
    padding: 8px 15px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
}

/* Offers Section */
.todays-offers h2 {
    font-size: 24px;
    font-weight: 300;
    color: var(--aa-blue);
    margin-bottom: 20px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-main);
    margin-bottom: 8px;
}

.card p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    flex-grow: 1;
}

.card a {
    font-size: 13px;
}

.divider {
    height: 1px;
    background-color: var(--aa-border);
    margin-bottom: 30px;
}

.secondary-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.light-h3 {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 15px;
}

.links-list li {
    margin-bottom: 10px;
    font-size: 13px;
}

.flex-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.small-img {
    width: 120px;
    height: 70px;
    object-fit: cover;
}

/* SEO Content Retained */
.seo-section {
    padding: 40px 0;
    border-top: 1px solid var(--aa-border);
    margin-bottom: 40px;
}

.seo-section h2 {
    font-size: 22px;
    color: var(--aa-blue);
    margin-bottom: 20px;
}

.seo-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.seo-text h3 {
    font-size: 18px;
    margin: 20px 0 10px;
    color: var(--aa-dark-blue);
}

.seo-text ul {
    margin-left: 20px;
}

.seo-text li {
    margin-bottom: 8px;
}

/* Footer */
.site-footer {
    background-color: #e5e9ec;
    padding: 40px 0 20px;
    font-size: 13px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-col {
    flex: 2;
}

.footer-col h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-main);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-main);
}

.footer-col a:hover {
    color: var(--aa-blue);
}

.footer-bottom {
    border-top: 1px solid #ccc;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--text-main);
    border-radius: 50%;
}
