:root {
    --navy: #112240;
    --navy-dark: #0a192f;
    --navy-light: #233554;
    --gold: #d4af37;
    --gold-light: #f9f1cc;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #aa8529 100%);
    --white: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
    
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-light);
}

body {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn i {
    margin-left: 8px;
    transition: transform var(--transition-fast);
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e3c051 0%, #b89131 100%);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--navy);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 24px 0;
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.75) 0%, rgba(10, 25, 47, 0) 100%);
}

.navbar.scrolled {
    background: rgba(10, 25, 47, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 14px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 70px;
    width: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.5);
    filter: drop-shadow(0 0 8px rgba(212,175,55,0.5)) brightness(1.05);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.06);
    filter: drop-shadow(0 0 14px rgba(212,175,55,0.9)) brightness(1.12);
    border-color: var(--gold);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-kpk {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 9.5px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 3px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    opacity: 0.9;
    transition: var(--transition-fast);
}

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

.nav-links a:hover {
    opacity: 1;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 130%;
    z-index: -1;
    pointer-events: none;
}

.hero-bg img, .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg img {
    animation: slowZoom 20s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 28, 50, 0.2) 0%, rgba(15, 28, 50, 0.6) 100%),
                linear-gradient(to bottom, rgba(15, 28, 50, 0.5) 0%, rgba(15, 28, 50, 0.15) 50%, rgba(15, 28, 50, 0.65) 100%);
}

.hero-content {
    display: flex;
    justify-content: center;
    z-index: 2;
    padding-top: 60px;
}

.glass-card {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    padding: 0;
    border-radius: 0;
    text-align: center;
    max-width: 860px;
    box-shadow: none;
}

.badge {
    display: inline-block;
    padding: 8px 22px;
    background: rgba(15, 28, 50, 0.6);
    color: var(--gold-light);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-title {
    color: var(--white);
    font-size: 58px;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.75);
    letter-spacing: -0.5px;
    font-weight: 700;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.6;
    margin: 0 auto 32px;
    font-weight: 400;
    max-width: 680px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-align: center;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

/* Sections Global */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    color: var(--navy);
    font-size: 42px;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.text-center .section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 24px auto 0;
}

/* Amenities / Features */
.about {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    background-color: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    background-color: var(--white);
    box-shadow: 0 20px 40px rgba(31, 56, 100, 0.05);
    border-color: var(--border);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(201, 150, 46, 0.1);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 24px;
    transition: var(--transition-fast);
}

.feature-card:hover .feature-icon {
    background-color: var(--gold);
    color: var(--white);
}

.feature-card h4 {
    font-family: 'Inter', sans-serif;
    color: var(--navy);
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Spaces */
.spaces {
    background-color: var(--bg-light);
}

.spaces-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: stretch;
}

.space-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.space-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(31, 56, 100, 0.1);
}

.space-img {
    position: relative;
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
}

.space-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.space-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(31, 56, 100, 0.9);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.space-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.space-content h4 {
    color: var(--navy);
    font-size: 24px;
    margin-bottom: 12px;
}

.space-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.space-link {
    color: var(--gold);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.space-link i {
    margin-left: 8px;
    transition: var(--transition-fast);
}

.space-link:hover i {
    transform: translateX(6px);
}

/* Gallery Slideshow */
/* Filter Pills */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 30px;
    background-color: var(--bg-light);
    color: var(--navy);
    border: 1px solid rgba(17, 34, 64, 0.15);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gold-gradient);
    color: var(--white);
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
    transform: translateY(-2px);
}

/* 24-Item Media Grid */
.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 28, 50, 0.06);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 28, 50, 0.14);
}

.gallery-card.hide {
    display: none;
}

.media-thumb {
    position: relative;
    height: 240px;
    overflow: hidden;
    background-color: var(--navy-dark);
}

.media-thumb img, .media-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-card:hover .media-thumb img {
    transform: scale(1.08);
}

.media-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 28, 50, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: var(--gold);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.gallery-card:hover .video-play-icon {
    transform: translate(-50%, -50%) scale(1.15);
    color: var(--white);
}

.media-info {
    padding: 20px;
}

.media-info h4 {
    font-size: 17px;
    color: var(--navy);
    margin-bottom: 6px;
    font-weight: 600;
}

.media-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 30px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 40px;
    cursor: pointer;
    z-index: 2010;
    line-height: 1;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: var(--gold);
}

.lightbox-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    height: calc(100% - 120px);
    position: relative;
}

.lightbox-media-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-height: 80vh;
}

#lightboxMediaContainer {
    max-width: 100%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightboxMediaContainer img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

#lightboxMediaContainer video {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption-bar {
    text-align: center;
    color: var(--white);
    margin-top: 16px;
}

.lightbox-caption-bar h4 {
    font-size: 20px;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.lightbox-caption-bar p {
    font-size: 14px;
    opacity: 0.8;
}

.lightbox-counter {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lightbox-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 36px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.lightbox-nav:hover {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

.lightbox-thumbs-container {
    width: 100%;
    max-width: 900px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.lightbox-thumbs-track {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.lightbox-thumb {
    width: 70px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.lightbox-thumb img, .lightbox-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox-thumb.active, .lightbox-thumb:hover {
    opacity: 1;
    border-color: var(--gold);
}

/* Footer CTA */
.footer-cta {
    position: relative;
    padding: 120px 0;
    color: var(--white);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 130%;
    z-index: -1;
    pointer-events: none;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 28, 50, 0.85);
}

.cta-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.cta-pulse {
    animation: pulse 2s infinite;
}

/* Footer */
footer {
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 32px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-brand span {
    color: var(--gold);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
    line-height: 1.6;
}

.footer-links h4, .footer-social h4 {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.footer-links i {
    color: var(--gold);
    width: 24px;
    margin-right: 12px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    background-color: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--gold);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* Animations */
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(201, 150, 46, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(201, 150, 46, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 150, 46, 0); }
}

/* Scroll Reveal Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-up {
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 48px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .spaces-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 36px; }
    .glass-card { padding: 40px 20px; }
    .hero-cta { flex-direction: column; }
    .spaces-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 40px; }
}
