/*
Theme Name: PGJaipur Child
Theme URI: https://pgjaipur.com
Description: Custom Airbnb-style hospitality theme for PGJaipur.com
Author: PGJaipur Team
Template: flatsome
Version: 2.1.0
*/

/* ============================================
   PGJAIPUR - AIRBNB HOSPITALITY THEME
   Warm cream/beige | Mobile-first | 1080px max
   ============================================ */

/* ===== ROOT VARIABLES ===== */
:root {
    --pg-primary: #FF5A5F;
    --pg-primary-dark: #E54850;
    --pg-primary-light: #FFEEEE;
    --pg-text: #222222;
    --pg-text-muted: #717171;
    --pg-border: #EBEBEB;
    --pg-border-soft: #F1ECE3;
    --pg-bg: #FFFFFF;
    --pg-bg-warm: #FFF5F1;
    --pg-bg-cream: #FAF7F2;
    --pg-bg-light: #F7F7F7;
    --pg-success: #1B873F;
    --pg-whatsapp: #25D366;
    --pg-shadow: 0 4px 16px rgba(34, 34, 34, 0.06);
    --pg-shadow-hover: 0 8px 24px rgba(34, 34, 34, 0.12);
    --pg-max-width: 1080px;
}

/* ===== BASE ===== */
.pg-page * {
    box-sizing: border-box;
}

.pg-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--pg-text);
    line-height: 1.5;
    background: var(--pg-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.pg-container {
    max-width: var(--pg-max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ===== TYPOGRAPHY ===== */
.pg-page h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px;
    color: var(--pg-text);
    letter-spacing: -0.5px;
}

.pg-page h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
    color: var(--pg-text);
    letter-spacing: -0.3px;
}

.pg-page h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 12px;
    color: var(--pg-text);
}

.pg-page p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 16px;
    color: var(--pg-text);
}

.pg-text-muted {
    color: var(--pg-text-muted) !important;
}

/* ===== SECTIONS ===== */
.pg-section {
    padding: 64px 0;
}

.pg-section-warm {
    background: var(--pg-bg-warm);
}

.pg-section-cream {
    background: var(--pg-bg-cream);
}

.pg-section-gray {
    background: var(--pg-bg-light);
}

.pg-section-dark {
    background: var(--pg-text);
    color: #FFFFFF;
}

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

.pg-section-title h2 {
    margin-bottom: 8px;
}

.pg-section-title p {
    color: var(--pg-text-muted);
    font-size: 16px;
    margin: 0;
}

.pg-section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: var(--pg-primary);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ===== BUTTONS ===== */
.pg-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-family: inherit;
    line-height: 1.2;
}

.pg-btn-primary {
    background: var(--pg-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(255, 90, 95, 0.25);
}

.pg-btn-primary:hover {
    background: var(--pg-primary-dark);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 90, 95, 0.35);
}

.pg-btn-whatsapp {
    background: var(--pg-whatsapp);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.pg-btn-whatsapp:hover {
    background: #1FA855;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.pg-btn-light {
    background: #FFFFFF;
    color: var(--pg-text);
    border: 1px solid var(--pg-border);
}

.pg-btn-light:hover {
    background: var(--pg-bg-warm);
    border-color: var(--pg-primary);
    color: var(--pg-text);
}

.pg-btn-block {
    display: block;
    width: 100%;
}

/* ===== HERO ===== */
.pg-hero {
    background: linear-gradient(180deg, var(--pg-bg-warm) 0%, #FFFFFF 100%);
    padding: 64px 0;
    border-bottom: 1px solid var(--pg-border-soft);
}

.pg-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.pg-hero-tag {
    display: inline-block;
    background: var(--pg-primary-light);
    color: var(--pg-primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.pg-hero-text h1 {
    font-size: 42px;
    margin-bottom: 16px;
    line-height: 1.15;
}

.pg-hero-subtitle {
    font-size: 18px;
    color: var(--pg-text-muted);
    margin-bottom: 28px;
    line-height: 1.5;
}

.pg-hero-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.pg-hero-features li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--pg-text);
    border-bottom: 1px solid var(--pg-border-soft);
    display: flex;
    align-items: flex-start;
}

.pg-hero-features li:last-child {
    border-bottom: none;
}

.pg-hero-features li::before {
    content: "→";
    color: var(--pg-primary);
    font-weight: bold;
    margin-right: 12px;
    font-size: 17px;
    line-height: 1.4;
}

.pg-hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pg-hero-image {
    position: relative;
}

.pg-hero-image img {
    border-radius: 16px;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    box-shadow: var(--pg-shadow);
}

.pg-hero-image-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pg-text);
    box-shadow: var(--pg-shadow);
}

/* ===== STATS ===== */
.pg-stats-bar {
    background: var(--pg-bg);
    border-top: 1px solid var(--pg-border-soft);
    border-bottom: 1px solid var(--pg-border-soft);
    padding: 32px 0;
}

.pg-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.pg-stat {
    text-align: center;
    padding: 8px;
}

.pg-stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--pg-primary);
    display: block;
    line-height: 1;
    letter-spacing: -1px;
}

.pg-stat-label {
    font-size: 13px;
    color: var(--pg-text-muted);
    margin-top: 8px;
    display: block;
    font-weight: 500;
}

/* ===== COACHING GRID ===== */
.pg-coaching-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.pg-coaching-card {
    background: var(--pg-bg);
    border: 1px solid var(--pg-border);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: var(--pg-text);
    transition: all 0.25s ease;
    display: block;
    position: relative;
    overflow: hidden;
}

.pg-coaching-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--pg-primary);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.25s ease;
}

.pg-coaching-card:hover {
    border-color: var(--pg-primary);
    transform: translateY(-3px);
    color: var(--pg-text);
    text-decoration: none;
    box-shadow: var(--pg-shadow-hover);
}

.pg-coaching-card:hover::before {
    transform: scaleY(1);
}

.pg-coaching-card.featured {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--pg-bg-warm) 100%);
    border-color: var(--pg-primary);
}

.pg-coaching-card.featured::before {
    transform: scaleY(1);
}

.pg-coaching-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--pg-text);
    margin: 0 0 6px;
}

.pg-coaching-distance {
    font-size: 14px;
    color: var(--pg-primary);
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
}

.pg-coaching-meta {
    font-size: 13px;
    color: var(--pg-text-muted);
    margin: 0;
}

/* ===== PRICING ===== */
.pg-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.pg-pricing-card {
    background: var(--pg-bg);
    border: 1px solid var(--pg-border);
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
    transition: all 0.25s ease;
    box-shadow: var(--pg-shadow);
}

.pg-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pg-shadow-hover);
    border-color: var(--pg-text);
}

.pg-pricing-card.featured {
    border: 2px solid var(--pg-primary);
    background: linear-gradient(180deg, #FFFFFF 0%, var(--pg-bg-warm) 100%);
}

.pg-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pg-primary);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 90, 95, 0.3);
}

.pg-pricing-name {
    font-size: 14px;
    color: var(--pg-text-muted);
    margin: 0 0 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pg-pricing-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--pg-text);
    margin: 0 0 4px;
    letter-spacing: -1px;
}

.pg-pricing-amount span {
    font-size: 15px;
    color: var(--pg-text-muted);
    font-weight: 400;
}

.pg-pricing-tag {
    font-size: 13px;
    color: var(--pg-primary);
    font-weight: 600;
    margin: 0 0 16px;
}

.pg-pricing-features {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
}

.pg-pricing-features li {
    font-size: 14px;
    padding: 8px 0;
    color: var(--pg-text);
    border-bottom: 1px solid var(--pg-border-soft);
    line-height: 1.4;
}

.pg-pricing-features li:last-child {
    border-bottom: none;
}

.pg-pricing-features li::before {
    content: "✓";
    color: var(--pg-success);
    font-weight: bold;
    margin-right: 10px;
}

/* ===== AMENITIES ===== */
.pg-amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.pg-amenity {
    background: var(--pg-bg);
    border: 1px solid var(--pg-border);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: left;
    transition: all 0.25s ease;
    border-top: 3px solid var(--pg-primary);
}

.pg-amenity:hover {
    transform: translateY(-3px);
    box-shadow: var(--pg-shadow);
    border-color: var(--pg-primary);
    border-top-color: var(--pg-primary);
}

.pg-amenity h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--pg-text);
    margin: 0 0 6px;
}

.pg-amenity p {
    font-size: 13px;
    color: var(--pg-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ===== INFO BOX ===== */
.pg-info-box {
    background: var(--pg-bg-warm);
    border-left: 4px solid var(--pg-primary);
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
}

.pg-info-box p:last-child {
    margin-bottom: 0;
}

.pg-info-box strong {
    color: var(--pg-text);
    font-weight: 700;
}

/* ===== TABLE ===== */
.pg-table-wrap {
    overflow-x: auto;
    margin-top: 24px;
    border: 1px solid var(--pg-border);
    border-radius: 12px;
    box-shadow: var(--pg-shadow);
}

.pg-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--pg-bg);
}

.pg-table th {
    background: var(--pg-text);
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
}

.pg-table td {
    padding: 14px 16px;
    font-size: 14px;
    color: var(--pg-text);
    border-bottom: 1px solid var(--pg-border-soft);
}

.pg-table tr:last-child td {
    border-bottom: none;
}

.pg-table tr.pg-highlight {
    background: var(--pg-bg-warm);
}

.pg-table tr.pg-highlight td {
    font-weight: 700;
}

/* ===== EXAM LIST ===== */
.pg-exam-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.pg-exam-item {
    background: var(--pg-bg);
    border: 1px solid var(--pg-border);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pg-text);
    border-left: 3px solid var(--pg-primary);
}

/* ===== FAQ ===== */
.pg-faq {
    max-width: 800px;
    margin: 32px auto 0;
}

.pg-faq-item {
    background: var(--pg-bg);
    border: 1px solid var(--pg-border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.pg-faq-item:hover {
    border-color: var(--pg-primary);
}

.pg-faq-item[open] {
    box-shadow: var(--pg-shadow);
    border-color: var(--pg-primary);
}

.pg-faq-question {
    padding: 18px 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--pg-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    list-style: none;
}

.pg-faq-question::-webkit-details-marker {
    display: none;
}

.pg-faq-question::after {
    content: "+";
    font-size: 24px;
    font-weight: 400;
    color: var(--pg-primary);
    transition: transform 0.2s;
    margin-left: 12px;
    flex-shrink: 0;
}

details[open] .pg-faq-question::after {
    transform: rotate(45deg);
}

.pg-faq-answer {
    padding: 0 24px 20px;
    color: var(--pg-text);
    font-size: 15px;
    line-height: 1.7;
    border-top: 1px solid var(--pg-border-soft);
    padding-top: 16px;
}

/* ===== FINAL CTA ===== */
.pg-cta-final {
    background: linear-gradient(135deg, #222222 0%, #3A3A3A 100%);
    color: #FFFFFF;
    text-align: center;
    padding: 72px 24px;
    position: relative;
    overflow: hidden;
}

.pg-cta-final::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--pg-primary);
}

.pg-cta-final h2 {
    color: #FFFFFF;
    font-size: 32px;
    margin-bottom: 12px;
}

.pg-cta-final p {
    color: #FFFFFF;
    opacity: 0.9;
    margin-bottom: 28px;
    font-size: 17px;
}

.pg-cta-final .pg-hero-buttons {
    justify-content: center;
}

.pg-cta-address {
    margin-top: 32px;
    font-size: 14px;
    opacity: 0.7;
    color: #FFFFFF;
}

/* ===== STICKY MOBILE CTA ===== */
.pg-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--pg-bg);
    border-top: 1px solid var(--pg-border);
    padding: 12px 16px;
    z-index: 999;
    gap: 8px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

.pg-mobile-cta a {
    flex: 1;
    padding: 14px;
    font-size: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .pg-page h1 { font-size: 28px; }
    .pg-page h2 { font-size: 24px; }
    .pg-page h3 { font-size: 18px; }
    
    .pg-section { padding: 40px 0; }
    .pg-container { padding: 0 16px; }
    
    .pg-hero { padding: 32px 0; }
    .pg-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .pg-hero-text h1 { font-size: 28px; }
    .pg-hero-subtitle { font-size: 16px; }
    
    .pg-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .pg-stat-number { font-size: 28px; }
    
    .pg-coaching-grid { grid-template-columns: 1fr; }
    .pg-pricing-grid { grid-template-columns: 1fr; }
    .pg-amenities-grid { grid-template-columns: repeat(2, 1fr); }
    .pg-exam-list { grid-template-columns: 1fr; }
    
    .pg-mobile-cta { display: flex; }
    body { padding-bottom: 76px; }
    
    .pg-cta-final { padding: 48px 16px; }
    .pg-cta-final h2 { font-size: 24px; }
}

@media (max-width: 480px) {
    .pg-amenities-grid { grid-template-columns: 1fr; }
    .pg-hero-buttons { flex-direction: column; }
    .pg-hero-buttons .pg-btn { width: 100%; }
}

/* ===== UTILITIES ===== */
.pg-text-center { text-align: center; }
.pg-mt-32 { margin-top: 32px; }
.pg-mb-32 { margin-bottom: 32px; }
