/* Custom CSS for Poland Magic Inns Casino Hotel Website */

/* Root Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #f39c12;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --warning-color: #f1c40f;
    --info-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --casino-gold: #d4af37;
    --casino-red: #8b0000;
    --casino-green: #006400;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Age Verification Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.age-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    animation: modalFadeIn 0.5s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Background Blur Effect */
.blur-background {
    filter: blur(10px);
    pointer-events: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Hotel Header for Detail Pages */
.hotel-header {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
}

.hotel-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hotel-image-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Animations */
.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

/* Card Hover Effects */
.hotel-card {
    transition: all 0.4s ease;
    border: none;
    overflow: hidden;
}

.hotel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.hotel-card .card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.hotel-card .card-img-top {
    transition: transform 0.4s ease;
}

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

/* Button Styles */
.btn {
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #764ba2, #667eea);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    transform: translateY(-2px);
}

.btn-warning {
    background: linear-gradient(45deg, var(--casino-gold), #f39c12);
    color: #2c3e50;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-warning:hover {
    background: linear-gradient(45deg, #f39c12, var(--casino-gold));
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
    color: #2c3e50;
}

/* Navigation Styles */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--accent-color);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
    left: 0;
}

/* Rating Stars */
.rating i {
    font-size: 1rem;
    margin-right: 2px;
}

/* Contact Items */
.contact-item {
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

footer .opacity-75 {
    opacity: 0.75 !important;
}

footer .opacity-25 {
    opacity: 0.25 !important;
}

/* Modal Customizations */
.modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: none;
    padding: 2rem 2rem 1rem;
}

.modal-body {
    padding: 1rem 2rem;
}

.modal-footer {
    border-top: none;
    padding: 1rem 2rem 2rem;
}

/* Form Styles */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Badge Styles */
.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

/* Card Enhancements */
.card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.card-header {
    border: none;
    border-radius: 15px 15px 0 0 !important;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* Amenity Items */
.amenity-item {
    margin-bottom: 2rem;
}

.amenity-item h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.amenity-item ul li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Breadcrumb Styles */
.breadcrumb {
    background: none;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1,
    .hotel-header h1 {
        font-size: 2.5rem;
    }
    
    .age-modal-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .hero-section,
    .hotel-header {
        min-height: 80vh;
        text-align: center;
    }
    
    .hotel-image-card {
        margin-top: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .display-3 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 0.5rem 1rem;
    }
    
    .modal-header,
    .modal-footer {
        padding: 1rem;
    }
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success Message Styles */
.alert-success {
    border-radius: 15px;
    border: none;
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    font-weight: 600;
}

/* Accessibility Improvements */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.25);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hero-section::before,
    .hotel-header::before {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-section,
    .hotel-header {
        background-attachment: scroll;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer,
    .age-modal {
        display: none !important;
    }
    
    .hero-section,
    .hotel-header {
        min-height: auto;
        background: none;
        color: black;
    }
    
    .card {
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}

/* Legal Pages Specific Styles */
.legal-header {
    padding-top: 100px;
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.legal-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.legal-content h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-content h3 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

.contact-info {
    border-left: 4px solid var(--primary-color);
}

.help-resource {
    padding: 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.commitment-item {
    text-align: center;
    padding: 1.5rem 1rem;
    transition: transform 0.3s ease;
}

.commitment-item:hover {
    transform: translateY(-5px);
}
