:root {
    --primary: #FF5722;
    /* Safety Orange */
    --primary-hover: #F4511E;
    --secondary: #263238;
    /* Blue Grey 900 */
    --bg-dark: #0f0f0f;
    --bg-card: rgba(30, 30, 30, 0.7);
    --text-main: #FFFFFF;
    --text-muted: #BDBDBD;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --glass: blur(12px) saturate(180%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--primary);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: var(--transition);
    z-index: -1;
    opacity: 0.2;
    transform: skewX(-20deg);
}

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

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.4);
}

/* Header */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: var(--glass);
    /* Glass effect */
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 140px;
    /* Increased size */
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
    /* White glow */
    transition: var(--transition);
}

.scrolled .logo img {
    height: 100px;
    /* Slightly smaller on scroll */
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('photos/1000231615.jpg') no-repeat center center/cover;
    /* New background */
    background-attachment: fixed;
    /* Parallax */
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 30px;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin: 0 auto 50px;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-content .btn {
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Services */
.services {
    padding: 120px 0;
    background: var(--bg-dark);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, white, #999);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.1), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Parallax Break */
.parallax-break {
    height: 500px;
    background: url('photos/1000220159.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-break::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

/* Gallery */
.gallery {
    padding: 120px 0;
    background: #050505;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 500px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Contact */
.contact {
    padding: 120px 0;
    background: url('Resized_20251030_114853.jpg') no-repeat center center/cover;
    position: relative;
    background-attachment: fixed;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.95);
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-wrapper {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    padding: 80px 0;
    background: #000;
    text-align: center;
    color: var(--text-muted);
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        /* Fix for mobile parallax support */
        background-position: center center;
        background-size: cover;
    }

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

    .nav-links {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .gallery-item {
        height: 300px;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 20px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.4);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
}

.prev:hover,
.next:hover {
    background-color: var(--primary);
}

@media only screen and (max-width: 700px) {
    .lightbox-content {
        max-width: 95%;
    }

    .prev,
    .next {
        font-size: 24px;
        padding: 15px;
    }
}