/* =====================================================
   PLATINUM TRAVELS – HERO SECTION PRO  v4.0
   Developer: Usama Rasheed
   Site: www.edigitaldreamers.com
   Fonts: Cormorant Garamond (Google Fonts)
   ===================================================== */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
    --pthf-primary:        #FF6B00;
    --pthf-primary-dark:   #cc5500;
    --pthf-font:           'Cormorant Garamond', Georgia, serif;
    --pthf-radius:         18px;
    --pthf-transition:     0.35s cubic-bezier(0.4,0,0.2,1);
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

/* =====================================================
   HERO SECTION
   ===================================================== */
.pthf-hero {
    position: relative;
    width: 100%;
    min-height: 95vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-family: var(--pthf-font);
}

/* ---------- SLIDES ---------- */
.pthf-slides-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.pthf-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    transform: scale(1);
    will-change: opacity, transform;
}

.pthf-slide.pthf-active {
    opacity: 1;
}

.pthf-hero[data-effect="zoom"] .pthf-slide.pthf-active {
    animation: pthfZoom 7s ease forwards;
}
@keyframes pthfZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.07); }
}

.pthf-hero[data-effect="slide"] .pthf-slide {
    transform: translateX(100%);
    opacity: 1;
    transition: transform 1s ease;
}
.pthf-hero[data-effect="slide"] .pthf-slide.pthf-active {
    transform: translateX(0);
    opacity: 1;
}
.pthf-hero[data-effect="slide"] .pthf-slide.pthf-out {
    transform: translateX(-100%);
}

/* ---------- OVERLAYS ---------- */
.pthf-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.52);
    z-index: 1;
    transition: background 0.5s ease;
}

.pthf-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 60%);
    z-index: 1;
    pointer-events: none;
}

/* ---------- CORNER ACCENT ---------- */
.pthf-corner-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 320px;
    height: 320px;
    border-radius: 50% 0 0 0;
    background: radial-gradient(circle at bottom right, rgba(255,107,0,0.12) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* ---------- CONTAINER ---------- */
.pthf-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 140px 48px 60px; /* extra top padding so navbar shows */
    box-sizing: border-box;
}

/* ---------- ROW ---------- */
.pthf-row {
    display: flex;
    align-items: center;
    gap: 56px;
}

/* =====================================================
   LEFT COLUMN – TEXT CONTENT
   ===================================================== */
.pthf-col-left {
    flex: 1 1 0;
    min-width: 0;
    text-align: left;
}

.pthf-eyebrow {
    font-family: var(--pthf-font);
    font-weight: 400;
    font-style: italic;
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.04em;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    line-height: 1.5;
}

.pthf-eyebrow-line {
    display: inline-block;
    width: 40px;
    height: 1.5px;
    background: var(--pthf-primary);
    flex-shrink: 0;
    border-radius: 2px;
}

.pthf-title {
    font-family: var(--pthf-font);
    font-weight: 500;
    font-size: 64px;
    color: #ffffff;
    line-height: 1.08;
    margin: 0 0 36px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.pthf-title span {
    color: var(--pthf-primary);
    font-style: italic;
}

/* ---------- BUTTONS ---------- */
.pthf-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.pthf-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--pthf-font);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all var(--pthf-transition);
    cursor: pointer;
    border: 1.5px solid transparent;
}

.pthf-btn-primary {
    background: var(--pthf-primary);
    color: #ffffff !important;
    border-color: var(--pthf-primary);
    box-shadow: 0 4px 20px rgba(255,107,0,0.35);
}

.pthf-btn-primary:hover {
    background: transparent;
    color: var(--pthf-primary) !important;
    border-color: var(--pthf-primary);
    box-shadow: 0 0 0 4px rgba(255,107,0,0.15);
    transform: translateY(-2px);
}

.pthf-btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.55);
    backdrop-filter: blur(8px);
}

.pthf-btn-secondary:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-2px);
}

/* ---------- SOCIAL ICONS ---------- */
.pthf-social-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}

.pthf-social-label {
    font-family: var(--pthf-font);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}

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

.pthf-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.25);
    transition: all var(--pthf-transition);
    text-decoration: none !important;
    backdrop-filter: blur(6px);
}

.pthf-social-link:hover {
    background: var(--pthf-primary);
    border-color: var(--pthf-primary);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255,107,0,0.4);
}

/* =====================================================
   RIGHT COLUMN – FORM CARD
   ===================================================== */
.pthf-col-right {
    flex: 0 0 440px;
    max-width: 440px;
}

.pthf-form-card {
    /* Zero default styles — you control all padding, background, border via Elementor */
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
    animation: pthfCardIn 0.7s ease both;
    animation-delay: 0.3s;
}

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

/* Form Header — kept for opt-in use, hidden by default */
.pthf-form-header {
    display: none;
}

/* ---------- FORM FIELDS ---------- */
.pthf-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pthf-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.pthf-form-group.pthf-full {
    grid-column: 1 / -1;
}

.pthf-form-group label {
    font-family: var(--pthf-font);
    font-size: 11px;
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pthf-form-group label .req {
    color: var(--pthf-primary);
    margin-left: 2px;
}

.pthf-form-group input,
.pthf-form-group textarea,
.pthf-form-group select {
    border: 1.5px solid #e8e3d8 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    font-family: Georgia, serif !important;
    color: #333 !important;
    background: #fdfcf8 !important;
    transition: border-color var(--pthf-transition), box-shadow var(--pthf-transition);
    width: 100% !important;
    box-sizing: border-box;
    outline: none;
    appearance: none;
}

.pthf-form-group select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 36px !important;
    cursor: pointer;
}

.pthf-form-group input:focus,
.pthf-form-group textarea:focus,
.pthf-form-group select:focus {
    border-color: var(--pthf-primary) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(255,107,0,0.10) !important;
}

.pthf-form-group input[type="date"] {
    cursor: pointer;
}

.pthf-form-group textarea {
    height: 76px;
    resize: vertical;
}

/* Submit Button */
.pthf-submit {
    width: 100%;
    background: var(--pthf-primary);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-family: var(--pthf-font);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--pthf-transition);
    margin-top: 6px;
    position: relative;
    overflow: hidden;
}

.pthf-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background var(--pthf-transition);
}

.pthf-submit:hover {
    background: var(--pthf-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,107,0,0.4);
}

.pthf-submit:hover::before {
    background: rgba(255,255,255,0.08);
}

.pthf-submit:active {
    transform: translateY(0);
}

.pthf-submit-text,
.pthf-submit-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pthf-spinner {
    animation: pthfSpin 0.8s linear infinite;
}
@keyframes pthfSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.pthf-form-msg {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: Georgia, serif;
    font-size: 14px;
    line-height: 1.5;
}

.pthf-form-msg.pthf-success {
    background: #fff5ef;
    border: 1px solid #ffb380;
    color: #b33a00;
}

.pthf-form-msg.pthf-error {
    background: #fff1f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* ---------- THIRD-PARTY FORM OVERRIDES ---------- */
.pthf-form-card .wpcf7-form p,
.pthf-form-card .wpforms-field { margin-bottom: 10px; }

.pthf-form-card .wpcf7-form label,
.pthf-form-card .wpforms-field-label {
    font-family: var(--pthf-font);
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pthf-form-card .wpcf7-form input[type="text"],
.pthf-form-card .wpcf7-form input[type="email"],
.pthf-form-card .wpcf7-form input[type="tel"],
.pthf-form-card .wpcf7-form textarea,
.pthf-form-card .wpcf7-form select,
.pthf-form-card .wpforms-field input,
.pthf-form-card .wpforms-field textarea,
.pthf-form-card .wpforms-field select {
    width: 100% !important;
    border: 1.5px solid #e8e3d8 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    box-sizing: border-box;
    background: #fdfcf8 !important;
}

.pthf-form-card .wpcf7-submit,
.pthf-form-card .wpforms-submit,
.pthf-form-card input[type="submit"] {
    width: 100% !important;
    background: var(--pthf-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px !important;
    font-size: 16px !important;
    font-family: var(--pthf-font) !important;
    font-weight: 500 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background var(--pthf-transition) !important;
}

.pthf-form-card .wpcf7-submit:hover,
.pthf-form-card .wpforms-submit:hover {
    background: var(--pthf-primary-dark) !important;
}

/* ---------- SLIDE DOTS ---------- */
.pthf-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
    align-items: center;
}

.pthf-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 1.5px solid rgba(255,255,255,0.65);
    padding: 0;
    cursor: pointer;
    transition: all 0.35s ease;
}

.pthf-dot.pthf-active {
    background: var(--pthf-primary);
    border-color: var(--pthf-primary);
    width: 28px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(255,107,0,0.6);
}

/* ---------- SUCCESS TOAST ---------- */
#pthf-toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: linear-gradient(135deg, #1a1a2e, #2d1a0e);
    color: #fff;
    padding: 18px 28px;
    border-radius: 12px;
    z-index: 99999;
    font-family: var(--pthf-font);
    font-size: 15px;
    font-weight: 500;
    border-left: 4px solid var(--pthf-primary);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    animation: pthfSlideInToast 0.4s ease;
    max-width: 380px;
}
@keyframes pthfSlideInToast {
    from { transform: translateY(24px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* =====================================================
   ENTRY ANIMATIONS
   ===================================================== */
.pthf-eyebrow,
.pthf-title,
.pthf-buttons,
.pthf-social-wrap {
    animation: pthfFadeUp 0.8s ease both;
}
.pthf-eyebrow    { animation-delay: 0.1s; }
.pthf-title      { animation-delay: 0.25s; }
.pthf-buttons    { animation-delay: 0.4s; }
.pthf-social-wrap { animation-delay: 0.55s; }

@keyframes pthfFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
    .pthf-col-right {
        flex: 0 0 380px;
        max-width: 380px;
    }
    .pthf-title { font-size: 50px; }
    .pthf-container { padding: 120px 32px 60px; }
}

@media (max-width: 860px) {
    .pthf-hero { min-height: 100dvh; }

    .pthf-container {
        padding: 120px 24px 48px; /* generous top so mobile navbar is visible */
    }

    .pthf-row {
        flex-direction: column !important;
        gap: 28px;
    }

    .pthf-col-left {
        text-align: center !important;
        order: 1;
    }

    .pthf-col-right {
        flex: none;
        width: 100%;
        max-width: 100%;
        order: 2;
    }

    .pthf-title {
        font-size: 38px;
    }

    .pthf-eyebrow {
        font-size: 14px;
        justify-content: center;
    }

    .pthf-eyebrow-line { display: none; }

    .pthf-buttons {
        justify-content: center;
    }

    .pthf-social-wrap {
        justify-content: center;
    }

    .pthf-form-card {
        padding: 24px 20px;
    }

    .pthf-form-row {
        grid-template-columns: 1fr;
    }

    .pthf-corner-accent { display: none; }
}

@media (max-width: 540px) {
    .pthf-container {
        padding: 110px 16px 36px;
    }
    .pthf-title {
        font-size: 30px;
    }
    .pthf-btn {
        padding: 12px 22px;
        font-size: 14px;
    }
    .pthf-form-card {
        padding: 20px 16px;
        border-radius: 12px;
    }
    #pthf-toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }
}

/* =====================================================
   CREDIT FOOTER
   ===================================================== */
.pthf-credit {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    font-family: var(--pthf-font);
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.04em;
    white-space: nowrap;
    text-align: center;
    pointer-events: auto;
}

.pthf-credit a {
    color: var(--pthf-primary);
    text-decoration: none;
    transition: opacity 0.2s;
}

.pthf-credit a:hover {
    opacity: 0.8;
}

@media (max-width: 540px) {
    .pthf-credit {
        font-size: 10px;
        white-space: normal;
        width: 90%;
    }
    /* push dots up so credit doesn't overlap */
    .pthf-dots {
        bottom: 44px;
    }
}
