:root {
    --gold: #c5a059;
    --gold-dark: #a38141;
    --dark: #0f172a;
    --dark-muted: #1e293b;
    --text-main: #334155;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    background: #f8fafc;
    margin: 0;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Enhancement */
.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-navigation a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--gold);
}

/* Swiper Hero */
.hero-swiper {
    width: 100%;
    height: 90vh;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease-out;
}

.swiper-slide-active .slide-bg {
    transform: scale(1.1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.8), transparent);
}

.slide-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 700px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease 0.5s;
}

.swiper-slide-active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.4);
}

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

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

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title .divider {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto;
}

/* Listing Cards */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .listing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

.listing-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.listing-card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 180px;
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .card-img {
        height: 120px;
    }
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold);
    color: var(--white);
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 5px;
}

.card-info {
    padding: 15px;
    text-align: center;
}

.card-info h3 {
    margin: 0;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .card-info h3 {
        font-size: 0.8rem;
    }

    .card-meta,
    .card-excerpt,
    .card-btn {
        display: none !important;
    }
}

.card-meta {
    display: none;
}

.card-btn {
    display: block;
    text-align: center;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 12px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

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

/* Footer */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 100px 0 50px 0;
}

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

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

.footer-widget h4 {
    color: var(--white);
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
}

/* Story Style Navigation */
.story-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 20px 0;
}

.story-nav::-webkit-scrollbar {
    display: none;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.story-item:hover {
    transform: scale(1.05);
}

.story-icon {
    width: 140px;
    height: 140px;
    background: var(--white);
    border: 3px solid var(--gold);
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.story-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    transition: background 0.3s;
}

.story-item:hover .story-icon {
    transform: translateY(-10px) rotate(3deg);
    border-color: var(--white);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.4);
}

.story-item:hover .story-icon::after {
    background: rgba(197, 160, 89, 0.6);
}


.story-icon i {
    font-size: 2.2rem;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.story-item:hover .story-icon i {
    transform: scale(1.1);
}

.story-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Membership Styles in Header */
.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s;
}

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

/* Professional Content Styling */
.listing-detail h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.entry-content {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 1s ease forwards;
}

/* About Section Premium */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    section {
        padding: 60px 0;
    }
}

/* Global Responsive Fixes */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .story-icon {
        width: 60px !important;
        height: 60px !important;
        border-radius: 15px !important;
    }

    .story-item {
        min-width: 70px !important;
    }

    .story-label {
        font-size: 0.7rem !important;
    }

    .story-icon i {
        font-size: 1.2rem !important;
    }
}