/* Main CSS for noburastay: Velvet Mirage Casino Hotel Website */

/* Base Styles & Variables */
:root {
    /* Color Palette */
    --aubergine-black: #1E0F1A;
    --brass-gold: #C49B2D;
    --oxide-red: #7F2A28;
    --antique-cream: #F3ECE0;
    --bronze-brown: #4D392D;
    
    /* Secondary Colors */
    --dark-aubergine: #100A0F;
    --light-gold: #E6C158;
    --deep-red: #5A1F1E;
    --pale-cream: #FAF7F2;
    --light-brown: #7A5D4A;
    
    /* Spacing System (based on 8px) */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;
    
    /* Font Sizes */
    --fs-small: 0.875rem;
    --fs-base: 1rem;
    --fs-medium: 1.125rem;
    --fs-large: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-xxl: 2rem;
    --fs-hero: 3.5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: var(--antique-cream);
    background-color: var(--aubergine-black);
    background-image: url("../assets/bg-texture.png");
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, nav {
    font-family: 'Playfair Display SC', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--antique-cream);
}

h1 {
    font-size: var(--fs-hero);
    margin-bottom: var(--space-lg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: var(--fs-xxl);
    margin-bottom: var(--space-md);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--brass-gold);
}

h3 {
    font-size: var(--fs-xl);
    color: var(--light-gold);
}

p {
    margin-bottom: var(--space-md);
    font-size: var(--fs-medium);
}

a {
    color: var(--brass-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--light-gold);
}

ul, ol {
    padding-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header and Navigation */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(30, 15, 26, 0.9);
    border-bottom: 2px solid var(--brass-gold);
    padding: var(--space-sm) 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.logo-container {
    text-align: center;
    width: 120px;
    height: 50px;
}

.gear-logo {
    position: relative;
    width: 100%;
    height: 100%;
}

.gear-logo img {
    width: 100%;
    height: 100%;
}

.left-nav, .right-nav {
    flex: 1;
}

.left-nav ul, .right-nav ul {
    list-style: none;
    display: flex;
    padding: 0;
}

.left-nav ul {
    justify-content: flex-end;
    padding-right: var(--space-md);
}

.right-nav ul {
    justify-content: flex-start;
    padding-left: var(--space-md);
}

.left-nav li, .right-nav li {
    margin: 0 var(--space-sm);
}

.left-nav a, .right-nav a {
    color: var(--bronze-brown);
    font-family: 'Playfair Display SC', serif;
    text-transform: uppercase;
    font-size: var(--fs-small);
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.left-nav a:hover, .right-nav a:hover {
    color: var(--brass-gold);
}

.left-nav a::after, .right-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--brass-gold);
    transition: width 0.3s ease;
}

.left-nav a:hover::after, .right-nav a:hover::after {
    width: 100%;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background-color: var(--aubergine-black);
    border-bottom: 2px solid var(--brass-gold);
    padding: var(--space-sm);
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--brass-gold);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    background-color: var(--dark-aubergine);
    padding: var(--space-md);
    border-bottom: 2px solid var(--brass-gold);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu li {
    margin-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(196, 155, 45, 0.3);
    padding-bottom: var(--space-xs);
}

.mobile-menu a {
    color: var(--antique-cream);
    font-family: 'Playfair Display SC', serif;
    text-transform: uppercase;
    font-size: var(--fs-medium);
    display: block;
    padding: var(--space-xs) 0;
}

/* Floating Book Now Button */
.book-now-button {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    z-index: 999;
}

.book-now-button a {
    display: inline-block;
    background-color: var(--oxide-red);
    color: var(--antique-cream);
    font-family: 'Playfair Display SC', serif;
    font-size: var(--fs-medium);
    padding: var(--space-sm) var(--space-md);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(196, 155, 45, 0.7);
    transition: all 0.3s ease;
    border: 2px solid var(--brass-gold);
}

.book-now-button a:hover {
    background-color: var(--deep-red);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(196, 155, 45, 0.9);
}

/* Main Content Sections */
main {
    padding-top: 150px; /* Accounting for fixed header */
    padding-bottom: var(--space-xxl);
}

section {
    margin-bottom: var(--space-xxl);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--space-md);
    text-align: center;
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 600px;
    background-image: url('https://images.pexels.com/photos/8112351/pexels-photo-8112351.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: -50px; /* Offset the padding-top of main */
    max-width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 15, 26, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-xl);
    max-width: 800px;
    background-color: rgba(30, 15, 26, 0.6);
    border: 3px solid var(--brass-gold);
}

.hero h2 {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-md);
    color: var(--light-gold);
}

.hero p {
    font-size: var(--fs-large);
    margin-bottom: var(--space-lg);
    color: var(--pale-cream);
}

.cta-button {
    display: inline-block;
    background-color: var(--oxide-red);
    color: var(--antique-cream);
    font-family: 'Playfair Display SC', serif;
    font-size: var(--fs-medium);
    padding: var(--space-sm) var(--space-md);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--brass-gold);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--deep-red);
    transform: scale(1.05);
    color: var(--antique-cream);
}

/* Introduction Section */
.introduction {
    padding: var(--space-xl) var(--space-md);
    max-width: 1000px;
    margin: 0 auto var(--space-xxl) auto;
}

.ornate-border {
    border: 3px double var(--brass-gold);
    padding: var(--space-xl);
    position: relative;
    background-color: rgba(30, 15, 26, 0.8);
    box-shadow: 0 0 20px rgba(30, 15, 26, 0.5);
}

.ornate-border::before,
.ornate-border::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: transparent;
}

.ornate-border::before {
    top: -15px;
    left: -15px;
    border-top: 3px solid var(--brass-gold);
    border-left: 3px solid var(--brass-gold);
}

.ornate-border::after {
    bottom: -15px;
    right: -15px;
    border-bottom: 3px solid var(--brass-gold);
    border-right: 3px solid var(--brass-gold);
}

/* Featured Rooms Section */
.featured-rooms {
    margin-bottom: var(--space-xxl);
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.room-card {
    background-color: var(--dark-aubergine);
    border: 2px solid var(--brass-gold);
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

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

.room-card:hover img {
    transform: scale(1.05);
}

.room-info {
    padding: var(--space-md);
    text-align: center;
}

.room-info h3 {
    margin-bottom: var(--space-sm);
}

.room-info p {
    margin-bottom: var(--space-md);
    color: var(--antique-cream);
    font-size: var(--fs-base);
}

.details-button {
    display: inline-block;
    background-color: var(--bronze-brown);
    color: var(--antique-cream);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 4px;
    font-family: 'Playfair Display SC', serif;
    font-size: var(--fs-small);
    transition: all 0.3s ease;
    border: 1px solid var(--brass-gold);
}

.details-button:hover {
    background-color: var(--light-brown);
    color: var(--antique-cream);
}

/* Thematic Timeline Section */
.thematic-timeline {
    position: relative;
    padding: var(--space-xl) var(--space-md);
    margin-bottom: var(--space-xxl);
}

.thematic-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.timeline {
    display: flex;
    overflow-x: auto;
    padding: var(--space-lg) 0;
    position: relative;
    scroll-behavior: smooth;
}

.timeline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--brass-gold);
    z-index: -1;
}

.timeline-item {
    flex: 0 0 300px;
    padding: 0 var(--space-md);
    position: relative;
    margin-right: var(--space-lg);
}

.year {
    width: 80px;
    height: 80px;
    background-color: var(--oxide-red);
    border-radius: 50%;
    border: 3px solid var(--brass-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display SC', serif;
    font-size: var(--fs-large);
    color: var(--antique-cream);
    margin: 0 auto var(--space-md) auto;
    box-shadow: 0 0 15px rgba(196, 155, 45, 0.5);
}

.timeline-item .content {
    background-color: var(--dark-aubergine);
    border: 2px solid var(--brass-gold);
    border-radius: 8px;
    padding: var(--space-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.timeline-item .content h3 {
    font-size: var(--fs-medium);
    margin-bottom: var(--space-xs);
}

.timeline-item .content p {
    font-size: var(--fs-small);
    margin-bottom: 0;
}

/* Casino Highlight Section */
.casino-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-xxl);
}

.casino-content {
    text-align: left;
}

.casino-content h2 {
    text-align: left;
}

.casino-content h2::after {
    left: 0;
    transform: none;
}

.casino-content ul {
    margin-bottom: var(--space-lg);
}

.casino-content li {
    margin-bottom: var(--space-xs);
}

.casino-image {
    position: relative;
}

.casino-image img {
    width: 100%;
    border-radius: 8px;
    border: 3px solid var(--brass-gold);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.casino-image::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--brass-gold);
    border-radius: 8px;
    z-index: -1;
}

/* Curiosities Gallery Section */
.curiosities-gallery {
    margin-bottom: var(--space-xxl);
}

.gallery-container {
    position: relative;
    max-width: 100%;
    margin: var(--space-lg) auto;
}

.gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-md);
}

.gallery-item {
    flex: 0 0 300px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 2px solid var(--brass-gold);
    scroll-snap-align: center;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-sm);
    background-color: rgba(30, 15, 26, 0.8);
    color: var(--antique-cream);
    font-family: 'Playfair Display SC', serif;
    font-size: var(--fs-small);
    text-align: center;
    border-top: 1px solid var(--brass-gold);
}

.gallery-controls {
    display: flex;
    justify-content: center;
    margin-top: var(--space-md);
}

.gallery-controls button {
    background-color: var(--bronze-brown);
    color: var(--antique-cream);
    border: 1px solid var(--brass-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: var(--fs-large);
    margin: 0 var(--space-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-controls button:hover {
    background-color: var(--brass-gold);
}

/* Gold Members Section */
.gold-members {
    background-color: var(--dark-aubergine);
    padding: var(--space-xl);
    border-radius: 8px;
    border: 3px solid var(--brass-gold);
    margin-bottom: var(--space-xxl);
    position: relative;
    overflow: hidden;
}

.gold-members::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.pexels.com/photos/220071/pexels-photo-220071.jpeg');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.members-content {
    position: relative;
    z-index: 1;
}

.gold-button {
    display: inline-block;
    background-color: var(--brass-gold);
    color: var(--dark-aubergine);
    font-family: 'Playfair Display SC', serif;
    font-weight: 700;
    font-size: var(--fs-medium);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: var(--space-md);
}

.gold-button:hover {
    background-color: var(--light-gold);
    transform: scale(1.05);
    color: var(--dark-aubergine);
}

/* Footer */
footer {
    background-color: var(--dark-aubergine);
    border-top: 2px solid var(--brass-gold);
    padding-top: var(--space-xl);
    position: relative;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md) var(--space-xl) var(--space-md);
}

.footer-column h3 {
    color: var(--brass-gold);
    font-size: var(--fs-large);
    margin-bottom: var(--space-md);
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--brass-gold);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: var(--space-sm);
}

.footer-column a {
    color: var(--antique-cream);
    font-size: var(--fs-base);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--brass-gold);
}

.footer-bottom {
    background-color: var(--aubergine-black);
    text-align: center;
    padding: var(--space-md);
    border-top: 1px solid rgba(196, 155, 45, 0.3);
}

.footer-bottom p {
    margin: 0;
    font-size: var(--fs-small);
    color: var(--antique-cream);
    opacity: 0.7;
}
.gold-members {
    background: linear-gradient(135deg, #2d2621, #1e1a17);
    border: 4px double #d6aa5c;
    padding: 50px 30px;
    margin: 40px 0;
    color: #f3e4c4;
    font-family: 'Cinzel', serif;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(214, 170, 92, 0.2);
}

.gold-members h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #e6b86b;
    text-align: center;
    text-shadow: 1px 1px 2px #000;
    border-bottom: 2px dashed #cfa45d;
    padding-bottom: 10px;
}

.members-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.members-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #e9d6ae;
}

.members-content ul {
    list-style-type: square;
    padding-left: 20px;
}

.members-content ul li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #f8e7b8;
    position: relative;
    padding-left: 10px;
}

.members-content ul li::marker {
    color: #d6aa5c;
}

@media (max-width: 768px) {
    .gold-members {
        padding: 30px 20px;
    }

    .gold-members h2 {
        font-size: 1.6rem;
    }

    .members-content p, .members-content ul li {
        font-size: 1rem;
    }
}
