/* Dark Luxury Theme Variables */
:root {
    --bg-color: #0a0a0a;
    --card-bg: #141414;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --accent-gold: #d4af37;
    --accent-gold-hover: #b4942b;
    --border-color: #2a2a2a;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--accent-gold);
    color: var(--bg-color);
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.gold-text {
    color: var(--accent-gold);
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: var(--accent-gold);
    margin: 15px auto 0;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links li a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--accent-gold);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Legacy mobile — overridden by comprehensive block below */
@media (max-width: 768px) {
    .profile-detail-container {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   MOBILE BOTTOM NAV BAR
   ================================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-color);
    padding: 10px 0 12px;
}

.mobile-bottom-nav .mnav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    flex: 1;
    padding: 6px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mnav-item:active {
    transform: scale(0.92);
}

.mnav-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.mnav-icon.call {
    background: var(--accent-gold);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.mnav-icon.whatsapp {
    background: #25d366;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.mnav-icon.telegram {
    background: #0088cc;
    box-shadow: 0 4px 14px rgba(0, 136, 204, 0.4);
}

.mnav-label {
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }

    /* Push page content up so it doesn't hide behind nav */
    body {
        padding-bottom: 80px;
    }

    /* Hide floating icons on mobile — bottom nav replaces them */
    .floating-icons {
        display: none !important;
    }
}

/* Forms & Calendar */
input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-gold) !important;
}

.service-card:hover {
    border-color: var(--accent-gold) !important;
    background-color: var(--card-bg);
}

.service-card input:checked+i+span {
    color: var(--accent-gold);
}

.calendar-grid span {
    padding: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.calendar-grid span:hover:not(.active-date) {
    background-color: var(--accent-gold);
    color: var(--bg-color);
    transform: scale(1.1);
}

.calendar-header button:hover {
    background-color: var(--accent-gold);
    color: var(--bg-color);
}

/* Floating Contact Icons */
.floating-icons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

/* Floating Icons Blink Animation */
@keyframes iconBlink {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    40% {
        opacity: 0.4;
        transform: scale(0.92);
    }

    60% {
        opacity: 0.4;
        transform: scale(0.92);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.float-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    animation: iconBlink 1.8s ease-in-out infinite;
}

.float-icon:hover {
    animation-play-state: paused;
    transform: translateY(-5px);
    opacity: 1;
}

.icon-call {
    background-color: #d4af37;
    animation-delay: 0s;
}

.icon-whatsapp {
    background-color: #25d366;
    animation-delay: 0.6s;
}

.icon-telegram {
    background-color: #0088cc;
    animation-delay: 1.2s;
}

/* Mobile Adjustment for Floating Icons */
@media (max-width: 768px) {
    .floating-icons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .float-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* ================================================
   CARD HOVER EFFECTS — All Pages
   ================================================ */

/* --- Profile Cards (index.html & profiles.html) --- */
.profile-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease !important;
    cursor: pointer;
}

.profile-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.18), 0 8px 20px rgba(0, 0, 0, 0.4) !important;
    border-color: var(--accent-gold) !important;
}

.profile-card:hover .profile-img img {
    transform: scale(1.06);
}

.profile-card .profile-img img {
    transition: transform 0.5s ease;
}

/* --- Feature Cards (Our Philosophy section) --- */
.feature-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease !important;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-8px) !important;
    border-color: var(--accent-gold) !important;
    background-color: rgba(212, 175, 55, 0.05) !important;
    box-shadow: 0 16px 40px rgba(212, 175, 55, 0.12) !important;
}

.feature-card:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

.feature-card i {
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* --- Gallery Items (Our Gallery section) --- */
.gallery-item {
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease !important;
}

.gallery-item:hover {
    transform: scale(1.03) !important;
    border-color: var(--accent-gold) !important;
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.2) !important;
    z-index: 2;
}

.gallery-item:hover img {
    filter: brightness(1.1);
}

.gallery-item img {
    transition: transform 0.5s ease, filter 0.4s ease;
}

/* --- Service Cards (inquiry.html) --- */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 14px 35px rgba(212, 175, 55, 0.15) !important;
}

/* ================================================
   COMPREHENSIVE RESPONSIVE STYLES
   Breakpoints: 1024px | 768px | 480px | 360px
   ================================================ */

/* ── Global fluid base ── */
html {
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ── 1024px — Tablet landscape ── */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-padding {
        padding: 70px 0;
    }

    /* Companions grid: 2 cols */
    .companions-grid,
    [style*="grid-template-columns: repeat(auto-fill, minmax(300px"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Gallery masonry: 2 cols */
    .masonry-grid {
        columns: 2 !important;
    }

    /* Portrait grid: 2 cols */
    .portrait-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Gallery hero */
    .gallery-hero {
        height: 320px;
    }

    .gallery-hero h1 {
        font-size: 2.6rem;
    }

    /* Profile detail */
    .profile-detail-container {
        gap: 30px;
    }
}

/* ── 768px — Tablet portrait / large mobile ── */
@media (max-width: 768px) {

    /* === NAVBAR === */
    .mobile-toggle {
        display: block !important;
        font-size: 1.4rem;
        cursor: pointer;
        color: var(--text-primary);
        z-index: 1100;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
        gap: 36px !important;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 1050;
        border: none;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li a {
        font-size: 1.2rem !important;
        letter-spacing: 3px;
        color: var(--text-primary) !important;
    }

    .nav-links li a:hover,
    .nav-links li a.active {
        color: var(--accent-gold) !important;
    }

    /* === HERO === */
    .hero {
        background-attachment: scroll;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Gallery hero */
    .gallery-hero {
        height: 260px;
        margin-top: 65px;
    }

    .gallery-hero h1 {
        font-size: 2rem;
    }

    .gallery-hero p {
        font-size: 0.9rem;
    }

    /* === TYPOGRAPHY === */
    .section-title {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 55px 0;
    }

    /* === COMPANIONS / PROFILE GRID === */
    .companions-grid,
    [style*="grid-template-columns: repeat(auto-fill, minmax(300px"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    /* === PROFILE DETAIL PAGE === */
    .profile-detail-container {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    /* === GALLERY PAGE === */
    .masonry-grid {
        columns: 2 !important;
        column-gap: 10px !important;
    }

    .portrait-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .lifestyle-strip {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto !important;
    }

    .ls-item.tall {
        grid-row: span 1 !important;
    }

    .portrait-card img {
        height: 280px;
    }

    /* Events cards grid */
    [style*="grid-template-columns: repeat(auto-fill, minmax(280px"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }

    /* === FOOTER === */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        text-align: center;
    }

    .footer-col .social-links {
        justify-content: center !important;
    }

    /* === FLOATING ICONS === */
    .floating-icons {
        bottom: 18px;
        right: 16px;
        gap: 10px;
    }

    .float-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

/* ── 480px — Small mobile ── */
@media (max-width: 480px) {

    /* Container snug */
    .container {
        width: 94%;
        padding: 0 12px;
    }

    /* Logo */
    .logo {
        font-size: 1.15rem;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 28px;
    }

    .btn {
        padding: 10px 22px;
        font-size: 0.75rem;
    }

    /* Section title */
    .section-title {
        font-size: 1.5rem;
    }

    .section-padding {
        padding: 40px 0;
    }

    /* Gallery hero */
    .gallery-hero {
        height: 210px;
    }

    .gallery-hero h1 {
        font-size: 1.6rem;
    }

    /* Companions: single column */
    .companions-grid,
    [style*="grid-template-columns: repeat(auto-fill, minmax(300px"] {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    /* Portrait: single column */
    .portrait-grid {
        grid-template-columns: 1fr !important;
    }

    .portrait-card img {
        height: 340px;
    }

    /* Masonry: single column */
    .masonry-grid {
        columns: 1 !important;
    }

    /* Lifestyle strip: single col */
    .lifestyle-strip {
        grid-template-columns: 1fr !important;
    }

    /* Events: single col */
    [style*="grid-template-columns: repeat(auto-fill, minmax(280px"] {
        grid-template-columns: 1fr !important;
    }

    /* Event card image height */
    .event-card img {
        height: 220px;
    }

    /* Profile detail thumbnails */
    .thumbnail-strip {
        gap: 6px !important;
    }

    /* Footer */
    .footer-col h4 {
        font-size: 1rem;
    }

    .footer-bottom {
        font-size: 0.72rem;
    }

    /* Floating icons */
    .floating-icons {
        bottom: 14px;
        right: 12px;
        gap: 8px;
    }

    .float-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* ── 360px — Very small phones ── */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.4rem;
    }

    .logo {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .gallery-hero h1 {
        font-size: 1.35rem;
    }
}