/* Spirit Mountain Casino - Main Stylesheet */

/* CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Root Variables */
:root {
    --primary-orange: #e85d04;
    --dark-bg: #1a1a1a;
    --darker-bg: #0d0d0d;
    --gray-section: #5a5a5a;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --sidebar-width: 250px;
    --border-orange: 15px;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--darker-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Skip to content link for accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-orange);
    color: white;
    padding: 8px 16px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
}

/* Layout Container */
.page-wrapper {
    display: flex;
    min-height: 100vh;
    border-left: var(--border-orange) solid var(--primary-orange);
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--dark-bg);
    position: fixed;
    left: var(--border-orange);
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.logo-container {
    padding: 30px 20px;
    text-align: center;
    background-color: var(--darker-bg);
}

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

/* Navigation */
.main-nav {
    flex: 1;
}

.main-nav ul {
    list-style: none;
}

.main-nav li {
    border-bottom: 1px solid #333;
}

.main-nav a {
    display: block;
    padding: 15px 20px;
    color: var(--text-white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: var(--primary-orange);
    color: var(--text-white);
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: var(--darker-bg);
}

.social-icons a {
    color: var(--text-white);
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-orange);
}

/* Phone Number */
.phone-number {
    text-align: center;
    padding: 20px;
    background-color: var(--darker-bg);
    color: var(--text-gray);
    font-size: 14px;
    letter-spacing: 1px;
}

/* Main Content Area */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Info Bar Section */
.info-bar {
    background-color: var(--gray-section);
    padding: 40px 20px;
    text-align: center;
}

.info-bar-text {
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.4;
}

/* Welcome Section */
.welcome-section {
    background-color: var(--darker-bg);
    padding: 60px 20px;
    text-align: center;
}

.welcome-logo {
    margin-bottom: 30px;
}

.welcome-logo img {
    max-width: 150px;
}

.welcome-text {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--text-white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    border: 2px solid var(--text-white);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

/* Three Boxes Section */
.three-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.box-item {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.box-item:hover .box-overlay {
    background: rgba(232, 93, 4, 0.7);
}

.box-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--text-white);
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    padding: 40px 20px;
    text-align: center;
}

.footer-location {
    margin-bottom: 20px;
}

.footer-location h3 {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--text-white);
}

.footer-location p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

.footer-social {
    margin-bottom: 20px;
}

.footer-social a {
    color: var(--text-white);
    font-size: 18px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-orange);
}

.footer-nav {
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav a {
    color: var(--text-gray);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-orange);
}

.footer-copyright {
    color: var(--text-gray);
    font-size: 12px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* Go to Top Button */
.go-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-orange);
    color: white;
    text-align: center;
    line-height: 40px;
    text-decoration: none;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.go-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.go-to-top:hover {
    background-color: #d14d00;
}

/* Page Header */
.page-header {
    background-color: var(--darker-bg);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #333;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.breadcrumb {
    color: var(--text-gray);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-gray);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-orange);
}

/* Content Section */
.content-section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.content-section h3 {
    font-size: 18px;
    text-transform: uppercase;
    margin: 30px 0 15px;
    color: var(--text-white);
}

.content-section p {
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.content-section li {
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Accordion Styles */
.accordion {
    margin: 20px 0;
}

.accordion-item {
    border: 1px solid #333;
    margin-bottom: 10px;
}

.accordion-header {
    background-color: var(--dark-bg);
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #2a2a2a;
}

.accordion-header h3 {
    margin: 0;
    font-size: 16px;
    text-transform: uppercase;
}

.accordion-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--darker-bg);
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.accordion-content-inner {
    padding: 20px;
}

/* Promotions Grid */
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

.promotion-card {
    background-color: var(--dark-bg);
    border: 1px solid #333;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.promotion-card:hover {
    transform: translateY(-5px);
}

.promotion-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.promotion-content {
    padding: 20px;
}

.promotion-content h3 {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.promotion-content p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .three-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-wrapper {
        flex-direction: column;
        border-left: none;
    }
    
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        left: 0;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .three-boxes {
        grid-template-columns: 1fr;
    }
    
    .info-bar-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .main-nav a {
        padding: 12px 15px;
        font-size: 12px;
    }
}

/* Print Styles */
@media print {
    .sidebar,
    .go-to-top,
    .footer-social,
    .footer-nav {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
    }
}
