/* UFC Gym 1927 - Custom Styles */
/* Design: Material Design with Energetic Color Mood */

:root {
    --primary-color: #FF5722;
    --primary-dark: #E64A19;
    --primary-light: #FFCCBC;
    --secondary-color: #1E88E5;
    --accent-color: #FF9800;
    --text-dark: #212121;
    --text-medium: #757575;
    --text-light: #BDBDBD;
    --background-light: #FAFAFA;
    --background-white: #FFFFFF;
    --error-color: #F44336;
    --success-color: #4CAF50;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-light);
}

/* Navigation */
nav.nav-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 0 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

nav .brand-logo {
    font-weight: 700;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

nav ul li a {
    font-weight: 500;
    transition: background-color 0.2s ease;
    border-radius: 4px;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Navigation */
.sidenav {
    background: var(--background-white);
}

.sidenav li > a {
    color: var(--text-dark);
    font-weight: 500;
}

.sidenav .user-view {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 32px 20px;
}

.sidenav .user-view .name {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, #BF360C 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(15deg);
    pointer-events: none;
}

.hero-content {
    color: white;
    text-align: left;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 32px;
    height: 48px;
    font-weight: 600;
    text-transform: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.hero-buttons .btn-primary {
    background-color: white;
    color: var(--primary-dark);
}

.hero-buttons .btn-primary:hover {
    background-color: var(--background-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.hero-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Device Mockup */
.device-mockup-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-mockup {
    position: relative;
    max-width: 280px;
    margin: 0 auto;
}

.device-frame {
    position: relative;
    background: #1a1a1a;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), inset 0 0 0 2px #333;
}

.device-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: #0a0a0a;
    border-radius: 10px;
}

.device-frame img {
    width: 100%;
    border-radius: 24px;
    display: block;
}

/* Screenshot Carousel Section */
.screenshots-section {
    padding: 60px 0;
    background: var(--background-white);
    max-height: 500px;
    overflow: hidden;
}

.screenshots-section h2 {
    text-align: center;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    height: 350px;
}

.screenshot-carousel {
    display: flex;
    overflow: hidden;
    height: 300px;
    position: relative;
}

.screenshot-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.screenshot-slide .device-mockup {
    max-width: 200px;
    cursor: pointer;
}

.screenshot-slide .device-mockup:hover {
    transform: scale(1.02);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: -22px;
}

.carousel-nav.next {
    right: -22px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--background-light);
}

.features-section h2 {
    text-align: center;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.feature-card {
    background: var(--background-white);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 28px;
    color: white;
}

.feature-card h5 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), #1565C0);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 40px;
    height: 56px;
    font-size: 1.1rem;
    font-weight: 600;
    background: white;
    color: var(--secondary-color);
    border-radius: 8px;
    text-transform: none;
    transition: all 0.2s ease;
}

.cta-section .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer.page-footer {
    background: #212121;
    padding-top: 40px;
}

footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

footer ul li a:hover {
    color: white;
}

footer .footer-copyright {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 80px 0 60px;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
    background: var(--background-white);
}

.content-card {
    background: var(--background-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.content-card h2 {
    color: var(--text-dark);
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card p {
    color: var(--text-medium);
    text-align: left;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-card ul {
    text-align: left;
    padding-left: 20px;
}

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

.content-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.content-card a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .input-field {
    margin-bottom: 25px;
}

.contact-form label {
    color: var(--text-medium);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: var(--primary-color) !important;
    box-shadow: 0 1px 0 0 var(--primary-color) !important;
}

.contact-form input:focus + label,
.contact-form textarea:focus + label {
    color: var(--primary-color) !important;
}

.contact-form .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    background: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    text-transform: none;
}

.contact-form .btn:hover {
    background: var(--primary-dark);
}

.file-field .btn {
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-field .btn:hover {
    background: var(--primary-dark);
}

/* Privacy Accept Button */
.privacy-accept-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    text-align: center;
}

.privacy-accept-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 60px;
    height: 56px;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.privacy-accept-btn:hover {
    background: #43A047;
    transform: scale(1.02);
}

/* Success Message */
.success-message {
    background: var(--success-color);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    display: none;
}

.success-message.show {
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section {
        padding: 40px 0;
        min-height: auto;
    }

    .hero-content {
        text-align: left;
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        text-align: center;
    }

    .hero-content p {
        text-align: left;
    }

    .hero-buttons {
        justify-content: center;
    }

    .device-mockup {
        max-width: 220px;
    }
}

@media (max-width: 600px) {
    nav .brand-logo {
        font-size: 1.3rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .device-mockup {
        max-width: 180px;
    }

    .screenshot-slide .device-mockup {
        max-width: 160px;
    }

    .carousel-nav {
        width: 36px;
        height: 36px;
    }

    .carousel-nav.prev {
        left: 5px;
    }

    .carousel-nav.next {
        right: 5px;
    }

    .features-section {
        padding: 50px 0;
    }

    .feature-card {
        padding: 20px;
    }

    .cta-section h3 {
        font-size: 1.6rem;
    }

    .content-card {
        padding: 25px;
    }

    .page-header {
        padding: 60px 0 40px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}

/* Image Loading Animation */
.img-loading {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

.img-loaded {
    filter: blur(0);
}

/* Lazy Load Placeholder */
.lazy-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
