/* 
   AL-FAKHAMA EVENT RENTALS - PAGES SPECIFIC STYLING
   Styles for About Us, Contact Us, Services landing, and Service Articles.
*/

body {
    --bg-dark: hsl(210, 15%, 8%);
}

/* --- Page Header (Hero style for secondary pages) --- */
.page-hero {
    height: 75vh;
    min-height: 550px;
    background-image: url('../images/banquet.png');
    /* Fallback image */
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 90px;
    position: relative;
    overflow: hidden;
}

/* Pseudo-element for slightly blurred background image */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    /* Inherits the background-image inline style from the HTML */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(8px);
    transform: scale(1.08);
    /* Slightly scale up to hide blurred edges */
    z-index: 1;
}

/* Pseudo-element for premium dark overlay to ensure maximum text readability */
.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(8, 10, 12, 0.55), rgba(8, 10, 12, 0.75));
    z-index: 2;
}

/* Ensure the text container stays completely sharp on top */
.page-hero>div {
    position: relative;
    z-index: 3;
}

.page-hero-title {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.page-breadcrumbs {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.page-breadcrumbs a {
    color: var(--primary-gold);
}

.page-breadcrumbs span {
    margin: 0 0.5rem;
}

/* --- About Page Specifics --- */
.about-section {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-text h2 span {
    color: var(--primary-gold);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    border-left: 2px solid var(--primary-gold);
    padding-left: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.about-img-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
}

/* --- Contact Page Specifics (VIP Luxury Overhaul) --- */
.contact-section {
    padding: 8rem 0;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 40%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: stretch;
}

.contact-info-wrapper {
    background: rgba(18, 22, 28, 0.65);
    padding: 4rem 3rem;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.contact-info-wrapper:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 15px 30px rgba(212, 175, 55, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vip-badge {
    display: inline-block;
    color: var(--primary-gold);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 0.75rem;
    background: rgba(212, 175, 55, 0.1);
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    align-self: flex-start;
}

.contact-info-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 600;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-details-list li {
    display: flex;
    gap: 1.5rem;
    padding: 1.25rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-details-list li:hover {
    background: rgba(212, 175, 55, 0.03);
    border-color: rgba(212, 175, 55, 0.15);
    transform: translateX(5px);
}

.contact-icon-box {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--primary-gold);
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.contact-details-list li:hover .contact-icon-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.05));
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
    transform: scale(1.05);
}

.contact-detail-text h4 {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.contact-detail-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Form (VIP Premium Glass) */
.contact-form-wrapper {
    background: rgba(18, 22, 28, 0.65);
    padding: 4rem 3.5rem;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-form-wrapper:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 15px 30px rgba(212, 175, 55, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-gold);
    margin-bottom: 0.65rem;
    font-weight: 600;
}

.form-control {
    background-color: rgba(8, 10, 12, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.1rem;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.2);
    background-color: rgba(8, 10, 12, 0.8);
}

textarea.form-control {
    resize: none;
}

/* Contact page specific concierge submit button */
.contact-form-wrapper .btn-primary {
    background: linear-gradient(135deg, #d4af37, #aa8010);
    color: #080a0c !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    border: none;
    border-radius: 8px;
    padding: 1.25rem 2rem;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    margin-top: 0.5rem;
}

.contact-form-wrapper .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #f3cf55, #c5971c);
}

.contact-form-wrapper .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

/* --- Article Detail Page (Left text 100 words, Right image) --- */
.article-section {
    padding: 8rem 0;
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
}

.article-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 6rem;
}

.article-text-side {
    padding-right: 2rem;
}

.article-badge {
    color: var(--primary-gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: inline-block;
}

.article-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: var(--text-light);
}

.article-content {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.article-meta-box {
    background-color: var(--bg-dark-gray);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 6px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.meta-item h5 {
    color: var(--primary-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.25rem;
}

.meta-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.article-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.article-image-side {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
    height: 550px;
}

.article-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Related articles section inside article pages */
.related-articles {
    border-top: 1px solid var(--border-color);
    padding-top: 5rem;
}

.related-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3.5rem;
}

/* --- Service Category Pages --- */
.service-cat-intro {
    padding: 6rem 0 3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.service-cat-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-cat-intro p {
    color: var(--text-muted);
}

.service-cat-showcase {
    padding: 2rem 0 8rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.showcase-grid .service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.showcase-grid .service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-premium);
}

.showcase-grid .service-img-wrapper {
    position: relative;
    height: 340px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-card);
    transition: var(--transition-smooth);
    box-shadow: none;
    order: 0 !important;
}

.showcase-grid .service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.showcase-grid .service-card:hover img {
    transform: scale(1.05);
}

.showcase-grid .service-info {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    order: 1 !important;
}

.showcase-grid .service-card-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.showcase-grid .service-card:hover .service-card-title {
    color: var(--primary-gold);
}

.showcase-grid .service-card-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    flex-grow: 1;
}

.showcase-grid .btn-card {
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.showcase-grid .btn-card i {
    transition: var(--transition-smooth);
}

.showcase-grid .service-card:hover .btn-card i {
    transform: translateX(4px);
}

/* --- Service Gallery Image Cards (4-card grid) --- */
.service-gallery {
    padding: 0 0 6rem;
    position: relative;
}

.service-gallery .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-header h2 {
    font-size: 2.2rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
}

.gallery-header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15), 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-6px);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.25rem 1.25rem;
    background: linear-gradient(to top, rgba(8, 10, 12, 0.9) 0%, rgba(8, 10, 12, 0.5) 50%, transparent 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover .gallery-card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-card-overlay h4 {
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.gallery-card-overlay span {
    color: var(--primary-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Gallery shimmer accent line */
.gallery-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-card:hover::after {
    opacity: 1;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .gallery-card {
        height: 280px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-card {
        height: 200px;
        border-radius: 8px;
    }

    .gallery-header h2 {
        font-size: 1.5rem;
    }

    .service-gallery {
        padding: 0 0 4rem;
    }

    .gallery-card-overlay {
        padding: 1.25rem 0.75rem 0.75rem;
    }

    .gallery-card-overlay h4 {
        font-size: 0.85rem;
    }

    .gallery-card-overlay span {
        font-size: 0.7rem;
    }
}


@media (max-width: 1024px) {
    .article-split {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .article-text-side {
        padding-right: 0;
    }

    .article-image-side {
        height: 400px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 992px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 50vh;
        min-height: 350px;
        padding-top: 75px;
    }

    .page-hero-title {
        font-size: 2.2rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-image-side {
        height: 300px;
    }

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-wrapper {
        padding: 2.25rem 1.5rem;
    }

    .contact-info-wrapper {
        padding: 2.25rem 1.5rem;
    }

    .contact-grid {
        gap: 2.5rem;
    }

    /* Services Category Pages Mobile Spacings */
    .service-cat-intro {
        padding: 4rem 1.25rem 2rem !important;
    }

    .service-cat-intro h2 {
        font-size: 1.85rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.3 !important;
    }

    .service-cat-intro p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    .service-cat-showcase {
        padding: 1rem 0 4rem !important;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    .showcase-grid .service-img-wrapper {
        height: 240px !important;
    }

    .showcase-grid .service-info {
        padding: 1.25rem !important;
    }

    .showcase-grid .service-card-title {
        font-size: 1.2rem !important;
        margin-bottom: 0.5rem !important;
    }

    .showcase-grid .service-card-desc {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 576px) {
    .page-hero {
        height: 45vh;
        min-height: 300px;
    }

    .page-hero-title {
        font-size: 1.85rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .showcase-grid .service-img-wrapper {
        height: 220px !important;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .about-section,
    .contact-section,
    .article-section {
        padding: 4rem 0;
    }

    .article-meta-box {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .article-image-side {
        height: 240px;
    }

    /* Small Mobile Category Pages Adjustments */
    .service-cat-intro {
        padding: 3rem 1rem 1.5rem !important;
    }

    .service-cat-intro h2 {
        font-size: 1.5rem !important;
    }
}

/* --- Values Section --- */
.values-section {
    padding: 6rem 0;
    background-color: var(--bg-dark-gray);
    border-top: 1px solid var(--border-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.value-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin: 0 auto 1.5rem;
}

.value-card h3 {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Process Section --- */
.process-section {
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
    position: relative;
}

.process-card {
    position: relative;
    padding: 2rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.process-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-3px);
}

.process-step {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(212, 175, 55, 0.15);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
    font-family: var(--font-heading);
}

.process-card h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.process-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 992px) {

    .values-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {

    .values-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Map Section --- */
.map-section {
    padding: 2rem 0 6rem 0;
}

.map-wrapper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    background-color: var(--bg-card);
}

.map-wrapper:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.05);
}

.map-wrapper iframe {
    display: block;
}

@media (max-width: 768px) {
    .map-section {
        padding: 1rem 0 4rem 0;
    }

    .map-wrapper iframe {
        height: 300px !important;
    }
}