/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.navbar {
    position: fixed;
    top: 0;
    right: 0;
    padding: 30px;
    z-index: 1000;
}

.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.burger-menu .bar {
    height: 3px;
    width: 100%;
    background-color: #ff6b35;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* Burger Menu Animations */
.burger-menu.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: #ff6b35;
}

.burger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: #ff6b35;
}

/* Sliding Nav Links */
.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style: none;
    transition: right 0.4s ease-in-out;
    z-index: 1000;
    box-shadow: -5px 0 25px rgba(0,0,0,0.5);
}

.nav-links.open {
    right: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff6b35;
}

/* Index page styles */
body.page-index {
    background-color: #111;
    color: #fff;
}

body.page-index .hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), 
                url('../assets/images/crack.webp') no-repeat center center/cover;
    background-attachment: fixed;
}

body.page-index .main-title {
    font-family: 'Righteous', sans-serif;
    font-size: clamp(5rem, 20vw, 10rem);
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 0 20px;
    animation: fadeIn 1.5s ease-out;
}

body.page-index .scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

body.page-index .scroll-indicator .arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid #ff6b35;
    border-bottom: 2px solid #ff6b35;
    transform: rotate(45deg);
    margin: 10px auto 0;
    animation: bounce 2s infinite;
}

body.page-index .footer-section {
    min-height: 60vh;
    width: 100%;
    background: linear-gradient(to bottom, #111111ae 0%, #d45013b3 50%, #ff6b35d3 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px 40px 20px;
}

body.page-index .footer-content {
    text-align: center;
    max-width: 700px;
    width: 100%;
}

body.page-index .footer-content h2 {
    font-size: clamp(2rem, 3vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 20px;
}

body.page-index .footer-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
}

body.page-index .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}
