@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --yellow: #fed403;
    --black: #000000;
    --white: #ffffff;
    --gray: #333333;
    --light-gray: #f5f5f5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial Black', Arial, sans-serif;
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--black);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transform: translateY(-100%);
    animation: slideDownNav 0.8s ease-out 0.5s forwards;
}

@keyframes slideDownNav {
    to {
        transform: translateY(0);
    }
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

nav .logo {
    color: var(--yellow);
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 1s forwards;
    display: flex;
    align-items: center;
    gap: 1rem;
}

nav .logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav li {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

nav li:nth-child(1) { animation-delay: 1.2s; }
nav li:nth-child(2) { animation-delay: 1.3s; }
nav li:nth-child(3) { animation-delay: 1.4s; }
nav li:nth-child(4) { animation-delay: 1.5s; }
nav li:nth-child(5) { animation-delay: 1.6s; }

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--yellow);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--yellow);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section - Simplified */
#home {
    background: var(--black);
    color: var(--white);
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(51,51,51,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    animation: slideInDown 0.8s ease-out;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    border: 3px solid var(--yellow);
    cursor: pointer;
}

.btn-primary {
    background: var(--yellow);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--black);
    color: var(--yellow);
}

.btn-secondary {
    background: transparent;
    color: var(--yellow);
}

.btn-secondary:hover {
    background: var(--yellow);
    color: var(--black);
}

/* Section Separators */
.section-separator {
    width: 100%;
    height: 0;
    padding-bottom: 10.89%; /* Aspect ratio: 209/1920 = 0.1089 */
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: -2px; /* Overlap to prevent gaps */
}

.section-separator img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Top separator - positioned over hero */
.separator-top {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3; /* Above hero overlay */
    margin-bottom: -2px; /* Keep overlap */
}

/* Sections */
section {
    min-height: 100vh;
    padding: 100px 2rem 0;
}

/* About Section */
#about {
    background: var(--light-gray);
    min-height: auto;
    padding: 80px 2rem 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 5px solid var(--yellow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content .underline {
    width: 100px;
    height: 4px;
    background: var(--yellow);
    margin-bottom: 2rem;
}

.about-content p {
    font-family: Arial, sans-serif;
    font-weight: normal;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
}

/* New Equipment & Second Hand Sections */
#new-equipment,
#second-hand {
    padding-top: 80px;
    padding-bottom: 0;
}

#new-equipment {
    background: var(--white);
}

#second-hand {
    background: var(--white);
}

/* Contact Section */
#contact {
    background: var(--black);
    color: var(--white);
    min-height: auto;
    padding-top: 80px;
	padding-bottom:80px;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header .underline {
    width: 100px;
    height: 4px;
    background: var(--yellow);
    margin: 0 auto;
}

/* Equipment Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.equipment-card {
    background: var(--white);
    border: 3px solid var(--black);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(254, 212, 3, 0.3);
}

.equipment-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.equipment-card .content {
    padding: 1.5rem;
}

.equipment-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--black);
    text-transform: uppercase;
}

.equipment-card p {
    font-family: Arial, sans-serif;
    font-weight: normal;
    margin-bottom: 1rem;
}

.specs {
    background: var(--yellow);
    padding: 0.5rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Second Hand Price Tag */
.price-tag {
    background: var(--yellow);
    color: var(--black);
    padding: 0.5rem 1rem;
    display: inline-block;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0.5rem 0;
    border-radius: 5px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    overflow-y: auto;
}

.modal-content {
    background: var(--white);
    margin: 5% auto;
    padding: 2rem;
    max-width: 900px;
    border-radius: 10px;
    position: relative;
    animation: fadeInUp 0.4s ease-out;
}

.modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--black);
    cursor: pointer;
    background: var(--yellow);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    z-index: 100;
}

.modal-details h2 {
    color: var(--black);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.modal-details ul {
    list-style: none;
    margin: 1rem 0;
}

.modal-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-family: Arial, sans-serif;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Gallery Styles */
.modal-gallery-container {
    position: relative;
    margin-bottom: 2rem;
    background: #000;
    border-radius: 5px;
    overflow: hidden;
}

.modal-gallery-viewer {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.modal-gallery-viewer img,
.modal-gallery-viewer video {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    display: none;
}

.modal-gallery-viewer img.active,
.modal-gallery-viewer video.active {
    display: block;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(254, 212, 3, 0.9);
    color: #000;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-arrow:hover {
    background: #fed403;
    transform: translateY(-50%) scale(1.1);
}

.gallery-arrow.prev {
    left: 10px;
}

.gallery-arrow.next {
    right: 10px;
}

.gallery-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #fed403;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 10;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: #f5f5f5;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: #ddd;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #fed403;
    border-radius: 3px;
}

.gallery-thumb {
    min-width: 80px;
    height: 60px;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 5px;

    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    flex-shrink: 0;
}

.gallery-thumb:hover {
    border-color: #fed403;
    transform: scale(1.05);
}

.gallery-thumb.active {
    border-color: #fed403;
}

.gallery-thumb img,
.gallery-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb .video-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(254, 212, 3, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 14px;
    pointer-events: none;
}

/* Contact Section */
#contact .section-header h2 {
    color: var(--yellow);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--gray);
    padding: 2rem;
    border-radius: 10px;
    border: 3px solid var(--yellow);
    text-align: center;
}

.contact-card .profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--yellow);
    margin: 0 auto 1.5rem;
    display: block;
}

.contact-card h3 {
    color: var(--yellow);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.contact-card .title {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #ccc;
}

.contact-card a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
    font-family: Arial, sans-serif;
}

.contact-card a:hover {
    color: var(--yellow);
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-btn {
    padding: 0.75rem 1.5rem;
    background: var(--yellow);
    color: #000 !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.social-btn:hover {
    background: var(--white);
    color: #fed403!important;
}

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    border-top: 3px solid var(--yellow);
}

footer nav {
    position: static;
    background: transparent;
    box-shadow: none;
    margin-bottom: 1rem;
}

footer nav .container {
    justify-content: center;
}

footer nav ul {
    flex-wrap: wrap;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--black);
        padding: 1rem;
    }

    nav ul.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    nav .logo img {
        height: 40px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .modal-content {
        margin: 10% 1rem;
        padding: 1.5rem;
    }

    .contact-card .profile-img {
        width: 120px;
        height: 120px;
    }

    .modal-gallery-viewer {
        height: 300px;
    }

    .modal-gallery-viewer img,
    .modal-gallery-viewer video {
        max-height: 300px;
    }

    .gallery-arrow {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .gallery-counter {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Hide thumbnails on mobile */
    .gallery-thumbnails {
        display: none;
    }
}