/*
Theme Name: Vexo Astra Child
Theme URI: https://vexoholidays.com
Description: Astra Child Theme for Vexo Holidays - A Premium Travel Website
Author: Silversalt Digital
Author URI: https://silversaltdigital.com
Template: astra
Version: 1.0.0
Text Domain: vexo-astra-child
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
    --vexo-primary: #1F7A5A;
    --vexo-primary-dark: #053827;
    --vexo-primary-light: #48BE97;
    --vexo-accent: #EE9B00;
    --vexo-accent-hover: #d68a00;
    --vexo-dark: #262626;
    --vexo-text: #292929;
    --vexo-text-light: #A1A1A1;
    --vexo-bg-light: #F4F4F4;
    --vexo-white: #FFFFFF;
    --vexo-overlay: rgba(5, 56, 39, 0.65);

    --vexo-heading-font: 'Montserrat', sans-serif;
    --vexo-body-font: 'Open Sans', sans-serif;

    --vexo-radius: 12px;
    --vexo-radius-sm: 8px;
    --vexo-radius-lg: 20px;
    --vexo-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --vexo-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.12);
    --vexo-transition: all 0.3s ease;
}

/* ========== GLOBAL RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--vexo-body-font);
    color: var(--vexo-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--vexo-heading-font);
    color: var(--vexo-dark);
    line-height: 1.3;
    font-weight: 700;
}

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

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

/* ========== HEADER OVERRIDE ========== */
.ast-header-transparent .site-header {
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
}

.ast-theme-transparent-header #masthead .site-navigation a,
.ast-theme-transparent-header #masthead .site-header-wrap .site-navigation a {
    color: var(--vexo-white);
}

.ast-theme-transparent-header #masthead .ast-masthead-custom-menu-items a,
.ast-theme-transparent-header #masthead .site-header-wrap .ast-masthead-custom-menu-items a {
    color: var(--vexo-white);
}

/* ========== BUTTONS ========== */
.vexo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--vexo-radius-sm);
    font-family: var(--vexo-heading-font);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: var(--vexo-transition);
    text-decoration: none;
    white-space: nowrap;
}

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

.vexo-btn-primary:hover {
    background: var(--vexo-accent-hover);
    color: var(--vexo-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(238, 155, 0, 0.35);
}

.vexo-btn-outline {
    background: transparent;
    color: var(--vexo-white);
    border: 2px solid var(--vexo-white);
}

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

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

.vexo-btn-green:hover {
    background: var(--vexo-primary-dark);
    color: var(--vexo-white);
    transform: translateY(-2px);
}

.vexo-btn-arrow {
    width: 59px;
    height: 59px;
    border-radius: 50%;
    background: var(--vexo-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.vexo-btn-arrow:hover {
    background: var(--vexo-primary-dark);
    transform: scale(1.05);
}

.vexo-btn-arrow svg {
    width: 20px;
    height: 20px;
    fill: var(--vexo-white);
}

/* ========== SECTIONS ========== */
.vexo-section {
    padding: 80px 0;
}

.vexo-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
}

.vexo-section-title {
    font-size: 46px;
    line-height: 1.15;
    color: var(--vexo-dark);
    font-weight: 800;
    margin-bottom: 0;
}

.vexo-section-subtitle {
    font-size: 18px;
    color: var(--vexo-text-light);
    margin-top: 16px;
    font-weight: 400;
}

/* ========== HERO SECTION ========== */
.vexo-hero {
    position: relative;
    width: 100%;
    height: 800px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.vexo-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--vexo-overlay);
    z-index: 1;
}

.vexo-hero-content {
    position: relative;
    z-index: 2;
    max-width: 846px;
    padding: 0 60px;
}

.vexo-hero-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--vexo-white);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== SEARCH BAR ========== */
.vexo-search-bar {
    position: relative;
    z-index: 10;
    max-width: 815px;
    margin: -38px auto 0;
    background: var(--vexo-white);
    border-radius: var(--vexo-radius);
    padding: 16px 16px 16px 24px;
    box-shadow: var(--vexo-shadow);
    display: flex;
    align-items: center;
    gap: 16px;
}

.vexo-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vexo-search-icon {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    opacity: 0.5;
}

.vexo-search-input {
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--vexo-text-light);
    font-family: var(--vexo-body-font);
    width: 100%;
}

.vexo-search-input::placeholder {
    color: var(--vexo-text-light);
}

.vexo-search-btn {
    background: var(--vexo-accent);
    color: var(--vexo-white);
    border: none;
    padding: 14px 30px;
    border-radius: var(--vexo-radius-sm);
    font-family: var(--vexo-heading-font);
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    transition: var(--vexo-transition);
    white-space: nowrap;
}

.vexo-search-btn:hover {
    background: var(--vexo-accent-hover);
}

/* ========== POPULAR TAGS ========== */
.vexo-popular-tags {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 24px 0;
}

.vexo-popular-tags .label {
    font-size: 18px;
    font-weight: 600;
    color: var(--vexo-white);
    font-family: var(--vexo-heading-font);
}

.vexo-tag {
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--vexo-white);
    font-size: 16px;
    font-family: var(--vexo-heading-font);
    font-weight: 500;
    cursor: pointer;
    transition: var(--vexo-transition);
}

.vexo-tag:hover,
.vexo-tag.active {
    background: var(--vexo-white);
    color: var(--vexo-primary);
}

/* ========== PACKAGE CARDS ========== */
.vexo-package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 24px;
    padding: 40px 0;
}

.vexo-package-card {
    background: var(--vexo-white);
    border-radius: var(--vexo-radius);
    overflow: hidden;
    box-shadow: var(--vexo-shadow);
    transition: var(--vexo-transition);
    cursor: pointer;
}

.vexo-package-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--vexo-shadow-hover);
}

.vexo-package-card .card-image {
    position: relative;
    width: 100%;
    height: 204px;
    overflow: hidden;
}

.vexo-package-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vexo-package-card:hover .card-image img {
    transform: scale(1.05);
}

.vexo-package-card .card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--vexo-accent);
    color: var(--vexo-white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--vexo-heading-font);
    text-transform: uppercase;
}

.vexo-package-card .card-body {
    padding: 20px;
}

.vexo-package-card .card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--vexo-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.vexo-package-card .card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--vexo-text-light);
}

.vexo-package-card .card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vexo-package-card .card-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.vexo-package-card .card-price .price {
    font-size: 22px;
    font-weight: 800;
    color: var(--vexo-primary);
    font-family: var(--vexo-heading-font);
}

.vexo-package-card .card-price .price small {
    font-size: 13px;
    font-weight: 400;
    color: var(--vexo-text-light);
}

/* ========== DESTINATION CARDS ========== */
.vexo-destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(314px, 1fr));
    gap: 24px;
    padding: 40px 0;
}

.vexo-destination-card {
    position: relative;
    border-radius: var(--vexo-radius);
    overflow: hidden;
    height: 356px;
    cursor: pointer;
}

.vexo-destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vexo-destination-card:hover img {
    transform: scale(1.1);
}

.vexo-destination-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%);
}

.vexo-destination-card .dest-info {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 2;
}

.vexo-destination-card .dest-info h3 {
    color: var(--vexo-white);
    font-size: 24px;
    font-weight: 700;
}

.vexo-destination-card .dest-info p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-top: 4px;
}

/* ========== DESTINATION TILES (Home page bottom) ========== */
.vexo-dest-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 8px;
    padding: 0 0 80px;
}

.vexo-dest-tile {
    position: relative;
    border-radius: var(--vexo-radius);
    overflow: hidden;
    cursor: pointer;
}

.vexo-dest-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vexo-dest-tile:hover img {
    transform: scale(1.1);
}

.vexo-dest-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 50%);
}

.vexo-dest-tile .tile-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    color: var(--vexo-white);
    font-family: var(--vexo-heading-font);
    font-weight: 700;
    font-size: 24px;
}

.vexo-dest-tile:nth-child(1) { height: 350px; grid-column: 1; grid-row: 1; }
.vexo-dest-tile:nth-child(2) { height: 350px; grid-column: 2; grid-row: 1; }
.vexo-dest-tile:nth-child(3) { height: 150px; grid-column: 1; grid-row: 2; }
.vexo-dest-tile:nth-child(4) { height: 150px; grid-column: 2; grid-row: 2; }
.vexo-dest-tile:nth-child(5) { height: 150px; grid-column: 1; grid-row: 3; }
.vexo-dest-tile:nth-child(6) { height: 150px; grid-column: 2; grid-row: 3; }

/* ========== TESTIMONIALS ========== */
.vexo-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 40px 0;
}

.vexo-testimonial-card {
    padding: 40px 30px;
    border-radius: var(--vexo-radius);
    transition: var(--vexo-transition);
}

.vexo-testimonial-card.bg-white {
    background: var(--vexo-white);
    box-shadow: var(--vexo-shadow);
}

.vexo-testimonial-card.bg-green {
    background: var(--vexo-primary);
    color: var(--vexo-white);
}

.vexo-testimonial-card .stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.vexo-testimonial-card .stars svg {
    width: 24px;
    height: 24px;
    fill: var(--vexo-accent);
}

.vexo-testimonial-card .testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: inherit;
}

.vexo-testimonial-card .reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.vexo-testimonial-card.bg-white .reviewer {
    border-top-color: #eee;
}

.vexo-testimonial-card .reviewer-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.vexo-testimonial-card .reviewer-name {
    font-family: var(--vexo-heading-font);
    font-weight: 700;
    font-size: 15px;
}

.vexo-testimonial-card .reviewer-dest {
    font-size: 13px;
    opacity: 0.7;
}

/* ========== GALLERY ========== */
.vexo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.vexo-gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--vexo-radius-sm);
    cursor: pointer;
    transition: var(--vexo-transition);
}

.vexo-gallery-grid img:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

/* ========== FOOTER ========== */
.vexo-footer {
    background: var(--vexo-primary);
    color: var(--vexo-white);
    padding: 60px 0 0;
}

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

.vexo-footer h3 {
    color: var(--vexo-white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: var(--vexo-heading-font);
}

.vexo-footer-brand p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.7;
    max-width: 388px;
}

.vexo-footer-logo {
    font-family: var(--vexo-heading-font);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}

.vexo-footer-links {
    list-style: none;
    padding: 0;
}

.vexo-footer-links li {
    margin-bottom: 10px;
}

.vexo-footer-links a {
    color: var(--vexo-white);
    opacity: 0.8;
    font-size: 15px;
    transition: var(--vexo-transition);
}

.vexo-footer-links a:hover {
    opacity: 1;
    padding-left: 4px;
}

.vexo-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 15px;
    opacity: 0.9;
}

.vexo-footer-contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.vexo-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.vexo-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--vexo-transition);
}

.vexo-footer-social a:hover {
    background: var(--vexo-accent);
}

.vexo-footer-social a svg {
    width: 20px;
    height: 20px;
    fill: var(--vexo-white);
}

.vexo-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.vexo-footer-bottom p {
    font-size: 13px;
    opacity: 0.7;
}

/* ========== CONTACT FORM ========== */
.vexo-contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
}

.vexo-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.vexo-contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.vexo-contact-form label {
    font-family: var(--vexo-heading-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--vexo-dark);
    margin-bottom: 8px;
}

.vexo-contact-form input,
.vexo-contact-form textarea {
    background: var(--vexo-white);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px 16px;
    font-size: 15px;
    font-family: var(--vexo-body-font);
    transition: var(--vexo-transition);
    outline: none;
}

.vexo-contact-form input:focus,
.vexo-contact-form textarea:focus {
    border-color: var(--vexo-primary);
    box-shadow: 0 0 0 3px rgba(31, 122, 90, 0.1);
}

.vexo-contact-form textarea {
    min-height: 94px;
    resize: vertical;
}

.vexo-contact-image {
    border-radius: var(--vexo-radius-lg);
    overflow: hidden;
}

.vexo-contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== SECTION HEADER WITH BUTTON ========== */
.vexo-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
}

.vexo-view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--vexo-dark);
    font-family: var(--vexo-heading-font);
    font-weight: 500;
    font-size: 16px;
}

.vexo-view-all-link:hover {
    color: var(--vexo-primary);
}

/* ========== TABS ========== */
.vexo-tabs {
    display: flex;
    gap: 8px;
    padding: 24px 0;
}

.vexo-tab {
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--vexo-heading-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--vexo-dark);
    cursor: pointer;
    transition: var(--vexo-transition);
    border: 2px solid transparent;
    background: transparent;
}

.vexo-tab.active,
.vexo-tab:hover {
    border-color: var(--vexo-primary);
    color: var(--vexo-primary);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .vexo-container {
        padding: 0 30px;
    }
    .vexo-hero-title {
        font-size: 36px;
    }
    .vexo-section-title {
        font-size: 36px;
    }
    .vexo-testimonial-grid {
        grid-template-columns: 1fr;
    }
    .vexo-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .vexo-contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .vexo-container {
        padding: 0 20px;
    }
    .vexo-hero {
        height: 500px;
    }
    .vexo-hero-title {
        font-size: 28px;
    }
    .vexo-search-bar {
        flex-direction: column;
        margin: -20px 20px 0;
    }
    .vexo-package-grid {
        grid-template-columns: 1fr;
    }
    .vexo-destination-grid {
        grid-template-columns: 1fr;
    }
    .vexo-dest-tiles {
        grid-template-columns: 1fr;
    }
    .vexo-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .vexo-footer-grid {
        grid-template-columns: 1fr;
    }
    .vexo-contact-form .form-row {
        grid-template-columns: 1fr;
    }
    .vexo-section-title {
        font-size: 28px;
    }
}
