/* ==========================================================================
   CSS Reset & Variables
   ========================================================================== */
:root {
    --primary: #0064D2;
    --primary-dark: #004ba0;
    --secondary: #FF6B00;
    --secondary-hover: #e05b00;
    --text-main: #333333;
    --text-light: #666666;
    --bg-light: #f7f9fc;
    --white: #ffffff;
    --border: #e2e8f0;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.12);
    --shadow-widget: 0 20px 40px rgba(0,0,0,0.15);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background-color: rgba(0, 100, 210, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 100, 210, 0.2);
}

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

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 0, 0.4);
}

.w-100 {
    width: 100%;
}

/* ==========================================================================
   Top Bar & Header
   ========================================================================== */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}

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

.top-contact span {
    margin-right: 20px;
}

.top-contact i {
    margin-right: 5px;
    color: #8cbeef;
}

.top-disclaimer {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.header {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

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

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

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.logo-text .domain {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.nav-menu a i {
    font-size: 0.9rem;
    color: var(--primary);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* ==========================================================================
   Hero Section & Booking Widget
   ========================================================================== */
.hero {
    position: relative;
    padding: 100px 0 150px;
    min-height: 650px;
    display: flex;
    align-items: center;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: -1;
}

.hero-content {
    color: var(--white);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 700px;
    animation: fadeInUp 0.8s ease;
}

.hero-content .highlight {
    color: var(--secondary);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
    font-weight: 300;
    animation: fadeInUp 1s ease;
}

.booking-widget {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-widget);
    padding: 20px;
    max-width: 1000px;
    animation: fadeInUp 1.2s ease;
}

.widget-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 1.1rem;
    font-family: inherit;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    background-color: var(--bg-light);
    color: var(--primary);
}

.tab-btn.active {
    background-color: rgba(0, 100, 210, 0.1);
    color: var(--primary);
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.row-item {
    flex: 1;
    min-width: 150px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-group label i {
    color: var(--primary);
    margin-right: 5px;
}

.form-group input,
.form-group select {
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--white);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 100, 210, 0.1);
}

.icon-btn-wrapper {
    flex: 0 0 auto;
    min-width: auto;
    padding-bottom: 10px;
}

.swap-btn {
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.swap-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: rotate(180deg);
}

.submit-item {
    flex: 0 0 160px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.card-content {
    padding: 30px 25px;
    position: relative;
}

.icon-wrap {
    position: absolute;
    top: -25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 100, 210, 0.4);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.text-link {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.text-link i {
    transition: transform 0.3s ease;
}

.text-link:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features {
    background-color: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.feature-text > p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.feature-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-list i {
    font-size: 2rem;
    color: var(--primary);
    background-color: rgba(0, 100, 210, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.feature-list h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feature-list p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.rounded-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, #00a2e8 100%);
    color: var(--white);
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" opacity="0.1" xmlns="http://www.w3.org/2000/svg"><circle cx="10%" cy="10%" r="5%" fill="white"/><circle cx="90%" cy="90%" r="10%" fill="white"/></svg>');
}

.cta-content {
    max-width: 500px;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-form {
    flex: 0 0 450px;
}

.cta-form form {
    display: flex;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.cta-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
}

.cta-form button {
    margin-left: 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #0b1a2a;
    color: #a0aec0;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.f-brand {
    display: flex;
    flex-direction: column;
}

.f-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
}

.f-domain {
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.brand-col p {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

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

.footer-col ul a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary);
    margin-top: 5px;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    color: #7a8fa6;
    line-height: 1.7;
}

.footer-disclaimer strong {
    color: #a0aec0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
    color: var(--white);
    opacity: 0.6;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .search-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .icon-btn-wrapper {
        align-self: center;
        transform: rotate(90deg);
        padding: 5px 0;
    }
    
    .submit-item {
        flex-basis: auto;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
