/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0f1923;
    --secondary-bg: #1a2a3a;
    --accent-color: #c9a96e;
    --accent-hover: #b8963e;
    --text-light: #ffffff;
    --text-muted: #b0bac4;
    --text-body: #d0d8e0;
    --card-bg: #162232;
    --border-color: rgba(201, 169, 110, 0.2);
    --heading-color: #c9a96e;
}

/* Golden Backlinks Styling */
.content-section a[href*="islamabadeliteservices.com"],
.content-section a[href*="islamabadhotties.com"],
.content-section a[href*="escortsinislamabad.shop"],
a.golden-backlink {
    color: #FFD700 !important;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.content-section a[href*="islamabadeliteservices.com"]:hover,
.content-section a[href*="islamabadhotties.com"]:hover,
.content-section a[href*="escortsinislamabad.shop"]:hover,
a.golden-backlink:hover {
    color: #FFC107 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

/* Font fallbacks with metric overrides to prevent CLS */
@font-face {
    font-family: 'Poppins-fallback';
    src: local('Arial');
    size-adjust: 105%;
    ascent-override: 105%;
    descent-override: 35%;
    line-gap-override: 10%;
}

@font-face {
    font-family: 'Playfair-fallback';
    src: local('Georgia');
    size-adjust: 112%;
    ascent-override: 95%;
    descent-override: 22%;
    line-gap-override: 0%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Poppins-fallback', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-body);
    overflow-x: hidden;
    line-height: 1.8;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 25, 35, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.5px;
}

.nav ul {
    display: flex;
    gap: 25px;
}

.nav ul li a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: var(--text-light);
}

.nav ul li a.highlight-link {
    color: var(--accent-color);
    font-weight: 600;
}

.nav ul li a.highlight-link:hover {
    color: var(--accent-hover);
}

/* Dropdown Menu */
.nav ul li.dropdown {
    position: relative;
}

.nav ul li.dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav ul li.dropdown > a::after {
    content: '▼';
    font-size: 8px;
    transition: transform 0.3s;
}

.nav ul li.dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 220px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.nav ul li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    padding: 0;
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-muted);
    font-size: 13px;
    transition: all 0.3s;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: rgba(201, 169, 110, 0.1);
    color: var(--accent-color);
    padding-left: 25px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    background: linear-gradient(135deg, #1a2a3a 0%, #0f1923 50%, #1a2a3a 100%);
    background-image: url('public/WhatsApp Image 2026-07-13 at 10.59.32 PM (2).jpeg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Page-specific Hero Banners */
.hero-home {
    background-image: url('public/WhatsApp Image 2026-07-13 at 10.59.32 PM (2).jpeg');
}

.hero-about {
    background-image: url('public/WhatsApp Image 2026-07-15 at 4.21.58 PM.jpeg');
}

.hero-call-girls {
    background-image: url('public/WhatsApp Image 2026-07-15 at 4.21.59 PM.jpeg');
}

.hero-premium {
    background-image: url('public/WhatsApp Image 2026-07-15 at 4.21.59 PM (1).jpeg');
}

.hero-dha {
    background-image: url('public/WhatsApp Image 2026-07-15 at 4.22.00 PM.jpeg');
}

.hero-e11 {
    background-image: url('public/WhatsApp Image 2026-07-15 at 4.22.00 PM (1).jpeg');
}

.hero-f6 {
    background-image: url('public/WhatsApp Image 2026-07-15 at 4.22.00 PM (2).jpeg');
}

.hero-f7 {
    background-image: url('public/WhatsApp Image 2026-07-15 at 4.22.01 PM.jpeg');
}

.hero-f10 {
    background-image: url('public/WhatsApp Image 2026-07-13 at 6.01.23 PM (1).jpeg');
}

.hero-f11 {
    background-image: url('public/WhatsApp Image 2026-07-13 at 6.01.23 PM.jpeg');
}

.hero-g5-g6 {
    background-image: url('public/WhatsApp Image 2026-07-13 at 6.01.24 PM (1).jpeg');
}

.hero-g7-g8 {
    background-image: url('public/WhatsApp Image 2026-07-13 at 6.01.24 PM.jpeg');
}

.hero-g9-g10 {
    background-image: url('public/WhatsApp Image 2026-07-13 at 6.01.25 PM (1).jpeg');
}

.hero-g11 {
    background-image: url('public/WhatsApp Image 2026-07-13 at 6.01.25 PM.jpeg');
}

.hero-g13 {
    background-image: url('public/WhatsApp Image 2026-07-13 at 6.01.26 PM (1).jpeg');
}

.hero-i8-i9 {
    background-image: url('public/WhatsApp Image 2026-07-13 at 6.01.26 PM.jpeg');
}

.hero-b13 {
    background-image: url('public/WhatsApp Image 2026-07-13 at 6.01.27 PM.jpeg');
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 25, 35, 0.75);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 25, 35, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 20px;
    max-width: 900px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--accent-color);
    line-height: 1.5;
}

/* Main Content */
.main-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 30px;
}

/* Content Sections */
.content-section {
    margin-bottom: 50px;
    padding: 30px 0;
}

.content-section p {
    margin-bottom: 18px;
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.9;
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--heading-color);
    margin-bottom: 25px;
    line-height: 1.3;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

/* Styled Lists */
.styled-list {
    margin: 15px 0 25px 20px;
    list-style: none;
}

.styled-list li {
    position: relative;
    padding: 8px 0 8px 25px;
    color: var(--text-body);
    font-size: 15px;
}

.styled-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* Numbered List */
.numbered-list {
    margin: 20px 0;
    padding: 20px 25px;
    background: var(--card-bg);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.numbered-list p {
    margin-bottom: 15px;
    font-size: 14px;
}

.numbered-list p:last-child {
    margin-bottom: 0;
}

/* Image Gallery */
.image-gallery {
    margin: 40px 0;
}

.inline-gallery {
    margin: 20px 0;
}

.gallery-grid {
    display: grid;
    gap: 20px;
}

.gallery-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    /* Use will-change for composited animations */
    will-change: transform;
    transition: transform 0.3s ease-out;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.01);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.image-caption {
    padding: 12px 15px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px 25px;
    border: 1px solid var(--border-color);
    /* Use will-change for composited animations */
    will-change: transform;
    transition: transform 0.3s ease-out;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.01);
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: rgba(201, 169, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feature-icon i {
    font-size: 22px;
    color: var(--accent-color);
}

.feature-card h3 {
    color: var(--text-light);
    font-size: 17px;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Types List */
.types-list {
    margin: 25px 0;
}

.type-item {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    will-change: transform;
    transition: transform 0.3s ease-out;
}

.type-item:hover {
    transform: translateX(5px) scale(1.005);
}

.type-item h3 {
    color: var(--accent-color);
    font-size: 18px;
    margin-bottom: 10px;
}

.type-item h3 i {
    margin-right: 10px;
    font-size: 16px;
}

.type-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Highlight Section */
.highlight-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px 35px !important;
    border: 1px solid var(--border-color);
    margin-bottom: 50px;
}

/* Luxury Section */
.luxury-section {
    border-left: 4px solid var(--accent-color);
    padding-left: 25px !important;
}

/* Conclusion Section */
.conclusion-section {
    background: linear-gradient(135deg, var(--card-bg), var(--secondary-bg));
    border-radius: 15px;
    padding: 40px 35px !important;
    border: 1px solid var(--border-color);
}

/* FAQ Section */
.faq-section {
    margin: 50px 0;
    padding: 40px 0;
}

.faq-container {
    margin-top: 30px;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(201, 169, 110, 0.05);
}

.faq-question span {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
}

.faq-question i {
    color: var(--accent-color);
    transition: transform 0.3s;
    font-size: 14px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #0a1219;
    padding: 60px 40px 0;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent-color);
    width: 18px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--secondary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 16px;
    will-change: transform;
    transition: transform 0.3s ease-out, background-color 0.3s, color 0.3s, border-color 0.3s;
    border: 1px solid var(--border-color);
}

.footer-social a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
    transform: translateY(-3px) scale(1.05);
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    color: var(--text-muted);
    font-size: 13px;
}

/* WhatsApp Float - Composited animation for better performance */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    will-change: transform;
    transition: transform 0.3s ease-out;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    z-index: -1;
    animation: pulse-ring 2s ease-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Composited pulse animation using transform and opacity */
@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* About Page Styles */
.about-hero {
    min-height: 400px;
}

.about-page-section {
    font-size: 16px;
}

.about-page-section p {
    font-size: 16px;
    line-height: 2;
}

.about-contact-info {
    margin-top: 25px;
}

.about-contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border-color);
}

.about-contact-info p:last-child {
    border-bottom: none;
}

.about-contact-info i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav.active {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-bg);
        padding: 20px 30px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav.active ul {
        flex-direction: column;
        gap: 0;
    }

    .nav.active ul li {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav.active ul li a {
        font-size: 16px;
        color: var(--text-light);
    }

    /* Mobile Dropdown */
    .nav.active .dropdown .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        background: rgba(0, 0, 0, 0.2);
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        margin: 10px 0 0 15px;
        min-width: 100%;
    }

    .nav.active .dropdown.mobile-open .dropdown-menu {
        display: flex;
        flex-direction: column;
    }

    .nav.active .dropdown-menu li {
        padding: 8px 0;
        border-bottom: none;
    }

    .nav.active .dropdown-menu li a {
        font-size: 14px;
        color: var(--text-muted);
        padding: 5px 15px;
    }

    .nav.active .dropdown > a::after {
        content: '▼';
        font-size: 10px;
        margin-left: 8px;
    }

    .nav.active .dropdown.mobile-open > a::after {
        transform: rotate(180deg);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid.three-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 12px 20px;
    }

    .hero {
        min-height: 350px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .main-content {
        padding: 30px 20px;
    }

    .section-heading {
        font-size: 1.6rem;
    }

    .gallery-grid.three-col {
        grid-template-columns: 1fr;
    }

    .gallery-grid.two-col {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 220px;
    }

    .highlight-section {
        padding: 25px 20px !important;
    }

    .footer {
        padding: 40px 20px 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-heading {
        font-size: 1.3rem;
    }

    .content-section p {
        font-size: 14px;
    }

    .feature-card {
        padding: 20px 18px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .logo a {
        font-size: 13px;
    }
}
