/*
Theme Name: Bhullay Shah Pro
Theme URI: 
Author: Antigravity AI
Author URI: 
Description: A premium, white, gold, and black theme inspired by abidalharmain.com. Designed specifically for Bhullay Shah Travels & Tours (Pvt) Ltd.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: bhullayshahpro
*/

/* Reset & Variables */
:root {
    --white: #ffffff;
    --black: #111111;
    --gold: #D4AF37;
    --gold-dark: #b59223;
    --gray-light: #f5f5f5;
    --gray-dark: #333333;
    --font-heading: 'Playfair Display', serif; /* Classic, luxury feel */
    --font-body: 'Inter', sans-serif; /* Clean, modern readability */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-body) !important;
    background-color: var(--white) !important;
    color: var(--black) !important;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--gold);
}

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

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

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

.text-center {
    text-align: center;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-gold {
    color: var(--gold);
}

/* Header */
.header {
    background-color: var(--white);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: var(--transition);
}

/* WP Admin Bar Fix */
body.admin-bar .header { top: 32px; }

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

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

.logo img {
    height: 50px; /* Adjust via CSS if needed based on the logo ratio */
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--black);
    line-height: 1;
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--gold);
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    align-items: center;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.main-nav a:hover::after,
.main-nav .current-menu-item a::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--black);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--black);
    color: var(--white);
    overflow: hidden;
    margin-top: 80px; /* offset header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-gold:hover {
    background-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Page Header (Inner Pages) */
.page-header {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--black);
    color: var(--white);
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3.5rem;
    position: relative;
    z-index: 2;
}

/* Section Headings */
.section-title {
    font-size: 3rem;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin: 20px auto 0;
}

.section-title.left::after {
    margin: 20px 0 0 0;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Cards */
.card {
    background: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    transition: var(--transition);
}

.card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transform: translateY(-10px);
    border-color: var(--gold);
}

.card-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Image Cards (Tours) */
.tour-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    group: hover;
    display: block;
}

.tour-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.tour-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: var(--white);
}

.tour-card h3 {
    color: var(--white);
    margin-bottom: 5px;
}

.tour-card p {
    color: var(--gold);
    font-weight: 500;
}

/* Stats */
.stats-wrap {
    background: var(--gray-light);
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    padding: 60px 0;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-dark);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.footer a {
    color: #ccc;
}

.footer a:hover {
    color: var(--gold);
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 15px;
}

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

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #ccc;
}

.contact-list i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-top: 5px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: white !important;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(37,211,102,0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37,211,102,0.4);
}

.whatsapp-float i {
    font-size: 1.5rem;
}

/* Animations */
.anim-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.anim-fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 992px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-menu-toggle { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .page-header h1 { font-size: 2.5rem; }
    .section-title { font-size: 2.2rem; }
}

/* ===== MOBILE MENU ===== */
/* Hide dropdown on ALL screen sizes by default */
.mobile-menu {
    display: none !important;              /* Desktop: never show */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--black);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* On mobile only: allow it to switch to block when .active is added */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-menu-toggle { display: block; }

    .mobile-menu {
        display: block !important;         /* Mobile: allow */
        opacity: 0;
        visibility: hidden;
    }

    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .logo img { max-width: 55px; height: auto; margin-right: 8px; }
    .logo-text { font-size: 0.9rem; }
    .logo-text span { font-size: 0.55rem; }
}

.mobile-menu ul { list-style: none; padding: 15px 20px; }
.mobile-menu li { margin-bottom: 14px; }
.mobile-menu a { color: var(--gold); text-decoration: none; font-size: 1.1rem; font-weight: 600; display: block; }
.mobile-menu a:hover { color: var(--white); }

/* ===== SWIPER ===== */
.swiper { width: 100%; height: 100%; }
.hero-slider { height: 100vh; min-height: 600px; position: relative; }
.hero-slide-bg { position: absolute; top:0; left:0; width:100%; height:100%; background-size: cover; background-position: center; z-index: -1; }
.hero-slide-bg::after { content:''; position:absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.6); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--white); padding: 0 20px; }
.hero-content h1 { font-family: var(--font-heading); font-size: 4rem; color: var(--gold); margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
@media (max-width: 768px) { .hero-content h1 { font-size: 2.2rem; } }

/* ===== TESTIMONIALS ===== */
.testimonial-slide { background: #f9f9f9; padding: 30px; border-radius: 8px; text-align: center; border: 1px solid #ddd; height: auto; }
.testimonial-slide .stars { color: var(--gold); font-size: 1.3rem; margin-bottom: 15px; }
.testimonial-slide h4 { margin-top: 15px; color: var(--black); }

/* ===== LOGO IMG ===== */
.logo-img { max-height: 55px; margin-right: 12px; }


/* ===== HERO SLIDES (fixed - no text overlap) ===== */
.hero-slide {
    position: relative;
    height: 100vh;
    min-height: 580px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.hero-slide-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px 30px;
    color: #fff;
}

.hero-tag {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-slide-inner h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    color: #fff;
    margin-bottom: 18px;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.4);
    line-height: 1.2;
}

.hero-slide-inner p {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    line-height: 1.7;
}

.main-hero { margin-top: 80px; }

/* Swiper pagination dots */
.hero-pag { bottom: 25px !important; }
.hero-pag .swiper-pagination-bullet { background: #fff; opacity: 0.6; width: 10px; height: 10px; }
.hero-pag .swiper-pagination-bullet-active { background: var(--gold); opacity: 1; }

@media (max-width: 768px) {
    .hero-slide-inner { padding: 20px 15px; }
    .hero-slide-inner h1 { font-size: 1.9rem; }
    .hero-slide-inner p { font-size: 0.9rem; }
    .main-hero { margin-top: 70px; }
}
