/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0a0a;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background Effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 0, 0, 0.03) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%),
        linear-gradient(90deg, transparent 40%, rgba(255, 0, 0, 0.02) 50%, transparent 60%);
    background-size: 200% 200%, 200% 200%, 200% 200%;
    animation: lightBeams 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes lightBeams {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 0% 50%;
    }
    25% {
        background-position: 100% 0%, 0% 100%, 100% 50%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 0% 50%;
    }
    75% {
        background-position: 0% 100%, 100% 0%, 100% 50%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo {
    height: 45px;
    width: auto;
    filter: brightness(1.1);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #ff0000;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff0000, #ffffff);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.contact-btn {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #fff;
    padding: 0.6rem 1.8rem;
    border-radius: 0;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
    transition: all 0.3s ease;
    border: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link.contact-btn:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 50px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 0, 0, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-right: 2rem;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #ff0000 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #ccc;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #fff;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s ease;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-button::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: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

/* About Section */
.about {
    padding: 120px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.about-content h2 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.contact-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #fff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s ease;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.contact-button:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
}

.contact-button.large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Gallery Section */
.gallery {
    padding: 120px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #111111 50%, #0a0a0a 100%);
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 0, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-title {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    position: relative;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    z-index: 2;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.carousel-btn {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #fff;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.carousel-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.carousel-indicators {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.carousel-indicator {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-indicator:hover {
    background: rgba(255, 0, 0, 0.3);
    transform: translateY(-2px);
}

.carousel-indicator.active {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #fff;
    box-shadow: 0 3px 10px rgba(255, 0, 0, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 2rem;
    z-index: 2;
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s ease;
    background: #1a1a1a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-loading {
    text-align: center;
    padding: 2rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #ff0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, #000000 0%, #1a0000 50%, #000000 100%);
    color: #fff;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.contact-content h2 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.contact-content .contact-button {
    background: linear-gradient(135deg, #ffffff, #cccccc);
    color: #000;
    border-color: #fff;
}

.contact-content .contact-button:hover {
    background: linear-gradient(135deg, #cccccc, #999999);
    color: #000;
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo .logo {
    height: 35px;
    width: auto;
    filter: brightness(1.1);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: #ff0000;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff0000;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff0000;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.modal-prev,
.modal-next {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    pointer-events: all;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-prev:hover,
.modal-next:hover {
    background: rgba(255, 0, 0, 0.3);
    transform: scale(1.1);
}

.modal-prev {
    margin-left: 20px;
}

.modal-next {
    margin-right: 20px;
}

/* Mobile Menu Styles */
.nav-menu.active {
    display: flex;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 140px 20px 50px;
    }
    
    .hero-content {
        margin-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .hero-img {
        height: 350px;
    }
    
    .about-content h2,
    .gallery-title,
    .contact-content h2 {
        font-size: 2.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 600px;
    }
    
    .carousel-nav {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .carousel-indicators {
        order: -1;
        justify-content: center;
    }
    
    .carousel-btn {
        min-width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .carousel-indicator {
        min-width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .modal-content {
        width: 95%;
        padding: 10px;
    }
    
    .modal-prev,
    .modal-next {
        font-size: 20px;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 300px;
    }
    
    .gallery-item img {
        height: 220px;
    }
    
    .about-content h2,
    .gallery-title,
    .contact-content h2 {
        font-size: 1.8rem;
    }
}

/* Smooth animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #ff0000;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #cc0000;
}