/* CSS reset and Tailwind components are loaded via CDN */
body {
    background-color: #0a0a0a;
    color: #eeeeee;
    overflow-x: hidden;
}

/* Loading Screen */
#loader {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease-in-out;
}
.loader-line {
    width: 0;
    height: 2px;
    background: #b39700;
    animation: load 1.5s cubic-bezier(0.8, 0, 0.2, 1) forwards;
}
@keyframes load {
    100% { width: 200px; }
}

/* Fonts Setup */
h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', sans-serif; }

/* Navbar */
.glass-nav {
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.05);
}

/* Hero Slider */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.5s ease-out;
    transform: scale(1.05);
    z-index: 0;
}
.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}
.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.1);
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* Buttons */
.cta-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.cta-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 ease;
}
.cta-btn:hover::before {
    left: 100%;
}

/* Section 2 (About) - Glassmorphism rotated panels over image */
.about-section {
    position: relative;
    background-image: url('../assets/about.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 80vh;
}
.about-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.98) 0%, rgba(10,10,10,0.6) 20%, rgba(10,10,10,0.7) 80%, rgba(10,10,10,0.98) 100%);
}


/* Section 3 (Services) - Image Cards */
.service-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #111;
    border: 1px solid rgba(179, 151, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.service-image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px -10px rgba(179, 151, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.4);
}
.service-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    z-index: 0;
    filter: brightness(0.6);
}
.service-image-card:hover .service-bg {
    transform: scale(1.1);
    filter: brightness(0.4);
}
.service-image-content {
    position: relative;
    z-index: 10;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 30%, transparent 100%);
    padding: 2.5rem 2rem 2rem 2rem;
    height: auto;
}

/* Icons */
.service-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 10;
    background: rgba(10,10,10,0.5);
    backdrop-filter: blur(8px);
    padding: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255,215,0,0.3);
    color: #ffd700;
}

/* Contact Form */
.form-input {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    transition: all 0.3s ease;
}
.form-input:focus {
    outline: none;
    border-color: #b39700;
    background: rgba(255,255,255,0.05);
}

/* Mobile Menu Setup */
#mobile-menu {
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.8, 0, 0.2, 1);
}
#mobile-menu.open {
    transform: translateY(0);
}
