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

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes scaleIn {
	from {
		opacity: 0;
		transform: scale(0.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Animation utility classes */
.animate-on-scroll {
	opacity: 0;
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
	opacity: 1;
}

/* Homepage Hero Section Styles */
.homepage-hero {
	position: relative;
	min-height: 900px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	padding: 80px 20px;
	/* Make section full-bleed even inside constrained containers */
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.homepage-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
	color: white;
}

.reviews-box {
	display: inline-flex;
	align-items: center;
	padding: 9px 0;
	border-radius: 4px;
	margin-bottom: 30px;
	font-size: 14px;
	color: #ffffff;
	font-weight: 600;
	text-decoration: none !important;
	animation: fadeIn 0.8s ease-out 0.9s both;
}

.reviews-box .stars {
	color: #f1c40f;
	margin: 0 8px 0 0;
	font-size: 16px;
}

.hero-title {
	font-size: 64px;
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 20px 0;
	color: white;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 700px;
	animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
	font-size: 18px;
	line-height: 1.6;
	margin: 0 0 40px 0;
	max-width: 500px;
	color: white;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	animation: fadeInUp 0.8s ease-out 0.3s both;
}

.search-box {
	background: white;
	border-radius: 4px;
	padding: 8px;
	display: flex;
	max-width: 500px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-box input {
	flex: 1;
	border: none;
	padding: 12px 16px;
	font-size: 16px;
	outline: none;
	background: transparent;
}

.search-box input::placeholder {
	color: #999;
}

.search-box button {
	background: #52ade5;
	color: white;
	border: none;
	padding: 12px 32px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.search-box button:hover {
	background: #2f4bb8;
	transform: scale(1.02);
}

.search-icon {
	display: inline-block;
	margin-right: 8px;
}


/* Prevent horizontal scroll on this template */
.page-template-template-homepage,
.page-template-template-homepage body,
.page-template-template-homepage #page {
    overflow-x: hidden;
}

/* Homepage hero needs extra top margin to account for transparent header */
.page-template-template-homepage .homepage-hero {
    margin-top: -80px;
    padding-top: 80px;
}

/* Admin bar adjustment for homepage */
.admin-bar.page-template-template-homepage .homepage-hero {
    margin-top: -112px;
    padding-top: 112px;
}

/* Custom Header Styles for Homepage */
.page-template-template-homepage .site-content {
    display: flex;
    flex-direction: column;
}

/* Dark mode (transparent) at top of homepage */
.page-template-template-homepage .site-header {
    background: transparent !important;
    backdrop-filter: none !important;
    border-bottom: none !important;
    transition: all 0.3s ease;
}

.page-template-template-homepage .site-header .site-logo img { filter: brightness(0) invert(1); }
.page-template-template-homepage .main-navigation a { color: #fff !important; }
.page-template-template-homepage .main-navigation a:hover { opacity: 0.8; }

/* Header buttons on homepage hero */
.page-template-template-homepage .site-header button,
.page-template-template-homepage .site-header a.button {
    border-color: rgba(255,255,255,0.3);
    color: #fff !important;
}

.page-template-template-homepage .site-header a.button.primary,
.page-template-template-homepage .site-header button.primary {
    background: #52ade5;
    border-color: #52ade5;
    color: #fff !important;
}

.page-template-template-homepage .site-header a.button.primary:hover,
.page-template-template-homepage .site-header button.primary:hover {
    background: #3d9cd6;
    border-color: #3d9cd6;
}

/* On scroll: light/white background, dark text */
.page-template-template-homepage.is-scrolled .site-header,
.page-template-template-homepage .is-scrolled .site-header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}

/* Override booking CTA button styles on homepage */
.page-template-template-homepage .booking-cta .button.primary {
    background: #ffffff !important;
    color: #1b50b3 !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2) !important;
    border: none !important;
}

.page-template-template-homepage .booking-cta .button.ghost {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

/* Hero CTA Button */
.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.7s both;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.hero-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(82, 173, 229, 0.4) !important;
}

/* Homepage Pricing Highlights */
.page-template-template-homepage .pricing-highlights {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.page-template-template-homepage .pricing-highlights .highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
}

.pricing-highlights .highlight-item:nth-child(1) {
    animation-delay: 0.4s;
}

.pricing-highlights .highlight-item:nth-child(2) {
    animation-delay: 0.5s;
}

.pricing-highlights .highlight-item:nth-child(3) {
    animation-delay: 0.6s;
}

.page-template-template-homepage .pricing-highlights .highlight-item svg {
    color: white;
    flex-shrink: 0;
}

.page-template-template-homepage .pricing-highlights .highlight-item span {
    color: white;
    font-weight: 600;
    font-size: 16px;
}

@media (max-width: 768px) {
    .hero-content {
        margin-top: 100px;
    }
    .page-template-template-homepage .pricing-highlights {
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .page-template-template-homepage .pricing-highlights .highlight-item {
        padding: 0 15px;
        gap: 10px;
    }
    
    .page-template-template-homepage .pricing-highlights .highlight-item span {
        font-size: 14px;
    }
}

.page-template-template-homepage.is-scrolled .site-header .site-logo img,
.page-template-template-homepage .is-scrolled .site-header .site-logo img { filter: none !important; }

.page-template-template-homepage.is-scrolled .main-navigation a,
.page-template-template-homepage .is-scrolled .main-navigation a {
    color: #1f2a44 !important;
}

/* Scrolled header button styles */
.page-template-template-homepage.is-scrolled .site-header button,
.page-template-template-homepage .is-scrolled .site-header button,
.page-template-template-homepage.is-scrolled .site-header a.button,
.page-template-template-homepage .is-scrolled .site-header a.button {
    border-color: rgba(31,42,68,0.2);
    color: #1f2a44 !important;
}

.page-template-template-homepage.is-scrolled .site-header a.button.primary,
.page-template-template-homepage .is-scrolled .site-header a.button.primary,
.page-template-template-homepage.is-scrolled .site-header button.primary,
.page-template-template-homepage .is-scrolled .site-header button.primary {
    background: #52ade5;
    border-color: #52ade5;
    color: #fff !important;
}

/* Logo swapping support */
.page-template-template-homepage .site-logo img { height: auto; transition: opacity .2s ease, filter .2s ease; }
.page-template-template-homepage .site-logo img.logo-dark { display: none; }
.page-template-template-homepage.is-scrolled .site-logo img.logo-dark,
.page-template-template-homepage .is-scrolled .site-logo img.logo-dark { display: inline; }
.page-template-template-homepage.is-scrolled .site-logo img.logo-light,
.page-template-template-homepage .is-scrolled .site-logo img.logo-light { display: none; }

/* Fallback if only one logo exists */
.page-template-template-homepage .site-header .site-logo img:not(.logo-dark):not(.logo-light) { filter: brightness(0) invert(1); }
.page-template-template-homepage.is-scrolled .site-header .site-logo img:not(.logo-dark):not(.logo-light),
.page-template-template-homepage .is-scrolled .site-header .site-logo img:not(.logo-dark):not(.logo-light) { filter: none; }

/* How It Works Section */
.how-it-works-wrap {
    padding: 40px 20px;
}

.how-it-works {
    max-width: 1200px;
    margin: 0 auto;
    background: #fdecc8;
    border-radius: 24px;
    padding: 60px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
}

.how-content {
    max-width: 1100px;
    margin: 0 auto;
}

.how-content h2 {
    font-size: 48px;
    line-height: 1.1;
    margin: 0 0 20px 0;
    font-weight: 800;
    max-width: 600px;
    color: #1b50b3;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.how-content h2.animated {
    opacity: 1;
    transform: translateY(0);
}

.how-cta {
    color: #1b50b3;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    margin-bottom: 32px;
    display: inline-block;
}

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

.how-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    text-align: left;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.how-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.how-card.animated:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.how-card-header {
    display: flex;
    align-items: top;
    justify-content: space-between;
}

.how-card-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 8px;
}

.how-card-icon svg {
    width: 48px;
    height: 48px;
}

.how-card-content h4 {
    margin: 0;
    font-size: 18px;
    color: #1f2a44;
    font-weight: 700;
    line-height: 1.3;
}

.how-card-content p {
    margin: 0;
    font-size: 15px;
    color: #5a6c7d;
    line-height: 1.5;
}


.how-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    color: #1f2a44;
    font-weight: 600;
    font-size: 14px;
}

.how-benefits span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.how-benefits svg {
    color: #1b50b3;
    flex-shrink: 0;
}

/* Perfect For Section */
.perfect-for-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 0 80px 0;
    background: #fff;
}

.perfect-for-container {
    max-width: 1200px;
    margin: 0 auto;
}

.perfect-for-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    color: #1b50b3;
    line-height: 1.2;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 0 60px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.perfect-for-title.animated {
    opacity: 1;
    transform: translateY(0);
}

.perfect-for-grid {
    position: relative;
    display: grid;
    grid-template-columns: 50% 1fr;
    gap: 28px;
    align-items: start;
}

/* Tabs - Inactive tabs shown as simple list */
.perfect-for-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tab-button {
    display: flex;
    align-items: flex-start; /* Align to top */
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    cursor: pointer;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
    text-align: left;
    border-radius: 18px;
}

.tab-button.animated {
    opacity: 1;
    transform: translateX(0);
}

.tab-button.animated:hover {
    background: #f1f3f5;
    border-color: #dee2e6;
    transform: translateX(5px);
}

.tab-button.animated.active {
    background: #fdecc8;
    border-color: transparent;
    cursor: default;
    transform: translateX(0);
}

.tab-button.active:hover { background: #fdecc8; }

.tab-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #6c757d;
    transition: color 0.2s ease;
}

.tab-button:hover .tab-icon {
    color: #52ade5;
}

.tab-button .tab-button-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tab-label {
    font-size: 10px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2a44;
}

/* Tab Content */
.tab-content-image {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    position: relative;
    height: 100%;
}

.tab-content-image img {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
    display: none;
}

.tab-content-image img.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.tab-button-details {
    display: none;
    margin-top: 16px;
}

.tab-button.active .tab-button-details {
    display: block;
}

.tab-button.active .tab-icon {
    color: #52ade5;
}

.tab-button-details svg {
    width: 32px;
    height: 32px;
    color: #52ade5;
    margin-bottom: 12px;
}

.tab-button-details .tab-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #52ade5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.tab-button-details .tab-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2a44;
    margin-bottom: 16px;
}

.tab-button-details h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1f2a44;
    line-height: 1.3;
    margin: 0 0 24px 0;
}

.tab-button-details .tab-cta {
    display: inline-block;
    padding: 12px 28px;
    background: #52ade5;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.3s ease;
}

.tab-button-details .tab-cta:hover {
    background: #3d9cd6;
}

/* Trust Features Section */
.trust-features-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 80px 20px;
    background: #fff;
}

.trust-features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.trust-feature {
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.trust-feature.animated {
    opacity: 1;
    transform: translateY(0);
}

.trust-feature.animated:hover {
    transform: translateY(-5px);
}

.trust-feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-feature-icon svg {
    width: 28px;
    height: 28px;
    color: #1f2a44;
    stroke-width: 2;
}

.trust-feature h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2a44;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.trust-feature p {
    font-size: 15px;
    line-height: 1.6;
    color: #5a6c7d;
    margin: 0;
}

/* FAQ and Reviews sections moved to global-components.css */

/* Responsive Design */

@media (max-width: 992px) {
    .perfect-for-title {
        font-size: 32px;
    }
    /* How It Works Section */
    .how-content h2 {
        font-size: 36px;
    }
    .how-it-works {
        padding: 40px;
    }

    /* Perfect For Section */
    .perfect-for-grid { grid-template-columns: 1fr; }
    .tab-text {
        position: static;
        transform: none;
        max-width: 100%;
        margin-top: 20px;
    }
    .tab-image img {
        height: 350px;
    }
    .perfect-for-tabs {
        overflow-x: auto;
        gap: 12px;
    }
    .tab-button {
        min-width: 150px;
        flex-shrink: 0;
    }

    /* Trust Features Section */
    .trust-features-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

@media (max-width: 768px) {
    /* Homepage Hero */
	.homepage-hero {
		min-height: 700px;
		padding: 60px 20px;
	}
	.hero-title {
		font-size: 42px;
	}
	.hero-subtitle {
		font-size: 16px;
	}
	.search-box {
		flex-direction: column;
		gap: 8px;
	}
	.search-box button {
		width: 100%;
	}

    /* Perfect For Section - fix mobile overflow & align padding */
    .perfect-for-section {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 40px 20px;
    }
    .perfect-for-container { padding: 0; }
    .perfect-for-grid { gap: 16px; }
    .perfect-for-tabs { overflow: visible; }
    .tab-button { min-width: 0; width: 100%; }
    .tab-content-image { border-radius: 16px; }
    .tab-content-image img { min-height: 280px; }

    /* How It Works Section */
    .how-content h2 {
        font-size: 32px;
    }
    .how-it-works {
        padding: 30px;
    }
    .how-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .how-benefits {
        flex-direction: column;
        gap: 12px;
    }

    .qr-code-section {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Support Button */
	.support-button {
		bottom: 20px;
		right: 20px;
		padding: 14px 20px;
		font-size: 14px;
	}
}
