/* ===== VARIABLES ===== */
:root {
    --black: #0a0a0a;
    --black-light: #111111;
    --black-lighter: #1a1a1a;
    --gold: #c9a84c;
    --gold-light: #d4af37;
    --gold-dark: #a8893a;
    --white: #ffffff;
    --white-soft: #e0e0e0;
    --gray: #888888;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }

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

/* ===== UTILITIES ===== */
.section-padding {
    padding: 100px 5%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.section-header .gold-line {
    width: 80px;
    height: 2px;
    background: var(--gold);
    margin: 20px auto;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    pointer-events: none;
}

#preloader .loader {
    width: 50px;
    height: 50px;
    border: 2px solid var(--black-lighter);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background var(--transition), padding var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 5%;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.navbar .logo img {
    height: 50px;
    transition: height var(--transition);
}

.navbar.scrolled .logo img {
    height: 38px;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    position: relative;
    padding: 5px 0;
}

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

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

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

/* Language toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lang-toggle a {
    color: var(--gray);
    padding: 4px 8px;
    border-radius: 3px;
    transition: all var(--transition);
}

.lang-toggle a.active {
    color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
}

.lang-toggle a:hover {
    color: var(--gold);
}

.lang-toggle .separator {
    color: var(--gray);
    opacity: 0.4;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    display: block;
}

.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);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.98);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--white);
    letter-spacing: 3px;
    transition: color var(--transition);
}

.mobile-menu a:hover {
    color: var(--gold);
}

.mobile-menu .lang-toggle {
    margin-top: 20px;
    font-size: 1rem;
}

/* ===== HERO SLIDER ===== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

.hero-swiper .slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.hero-swiper .swiper-slide-active .slide-bg {
    transform: scale(1);
}

.hero-swiper .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.9) 100%
    );
    z-index: 1;
}

.hero-swiper .slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-swiper .slide-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease 0.3s;
}

.hero-swiper .swiper-slide-active .slide-content h1 {
    opacity: 1;
    transform: translateY(0);
}

.hero-swiper .slide-content p {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease 0.6s;
}

.hero-swiper .swiper-slide-active .slide-content p {
    opacity: 1;
    transform: translateY(0);
}

.hero-swiper .swiper-pagination {
    z-index: 5;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: transparent;
    border: 1px solid var(--white);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--gold);
    border-color: var(--gold);
    opacity: 1;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: var(--white);
    z-index: 5;
    transition: color 0.3s ease;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    color: var(--gold);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 24px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray);
}

.hero-scroll-indicator i {
    color: var(--gold);
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== ABOUT ===== */
.about-section {
    background: var(--black);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image .img-wrapper {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.about-image .img-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover .img-wrapper img {
    transform: scale(1.05);
}

.about-image .gold-border {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid var(--gold);
    z-index: -1;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--gold);
    font-weight: 400;
    font-style: italic;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--white-soft);
    margin-bottom: 20px;
    font-weight: 300;
}

.about-text .gold-accent {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 30px;
}

/* ===== COMPANIES ===== */
.companies-section {
    background: var(--black-light);
    position: relative;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.company-card {
    position: relative;
    background: var(--black-lighter);
    border: 1px solid rgba(201, 168, 76, 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
}

.company-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
}

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

.company-card:hover {
    border-color: rgba(201, 168, 76, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(201, 168, 76, 0.08);
}

.company-card .card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 24px 42px;
    background: #141414;
}

.company-card .card-image img {
    height: 120px;
    width: auto;
    max-width: 88%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s ease;
}

.company-card:hover .card-image img {
    transform: scale(1.06);
}

.company-card .card-logo-fallback {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-align: center;
    padding: 0 16px;
}

.company-card .card-image .card-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(10, 10, 10, 0.85);
    color: var(--gold);
    padding: 5px 15px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(201, 168, 76, 0.3);
}

.company-card .card-body {
    padding: 30px 25px;
}

.company-card .card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--white);
    transition: color var(--transition);
}

.company-card:hover .card-body h3 {
    color: var(--gold);
}

.company-card .card-body p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
    font-weight: 300;
}

.company-card .card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(201, 168, 76, 0.03) 45%,
        rgba(201, 168, 76, 0.08) 50%,
        rgba(201, 168, 76, 0.03) 55%,
        transparent 60%
    );
    transform: translateX(-100%);
    transition: none;
}

.company-card:hover .card-shine {
    transform: translateX(100%);
    transition: transform 0.8s ease;
}

/* ===== GALLERY ===== */
.gallery-section {
    background: var(--black);
    position: relative;
}

.gallery-grid {
    columns: 3;
    column-gap: 15px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

.gallery-item .gallery-overlay i {
    color: var(--gold);
    font-size: 2rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox .close-lightbox {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
}

.lightbox .close-lightbox:hover {
    color: var(--gold);
}

/* ===== CONTACT ===== */
.contact-section {
    background: var(--black-light);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.contact-form label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 10px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: var(--black);
    border: 1px solid rgba(201, 168, 76, 0.15);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition);
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form .btn-submit {
    display: inline-block;
    padding: 16px 50px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 500;
}

.contact-form .btn-submit:hover {
    background: var(--gold);
    color: var(--black);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 30px;
    color: var(--gold);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-top: 3px;
}

.contact-info-item .info-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 5px;
}

.contact-info-item .info-value {
    font-size: 1rem;
    color: var(--white-soft);
}

.contact-socials {
    margin-top: 40px;
}

.contact-socials h4 {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 15px;
}

.contact-socials .social-links {
    display: flex;
    gap: 15px;
}

.contact-socials .social-links a {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: all var(--transition);
}

.contact-socials .social-links a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.contact-map {
    margin-top: 60px;
    border: 1px solid rgba(201, 168, 76, 0.15);
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
    filter: grayscale(1) invert(1) contrast(0.8) brightness(0.6);
    transition: filter var(--transition);
}

.contact-map:hover iframe {
    filter: grayscale(0.5) invert(1) contrast(0.9) brightness(0.7);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--black);
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    padding: 60px 5% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 35px;
}

.footer-links a {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--gray);
    letter-spacing: 1px;
}

.footer-bottom a {
    color: var(--gold);
    transition: opacity 0.3s ease;
}

.footer-bottom a:hover {
    opacity: 0.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image .gold-border {
        display: none;
    }

    .about-image .img-wrapper img {
        height: 350px;
    }

    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        columns: 2;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 5%;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none;
    }

    .companies-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        columns: 2;
    }

    .company-card .card-image {
        height: 160px;
        padding: 24px 20px 38px;
    }

    .company-card .card-image img {
        height: 90px;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 50px 4%;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .gallery-grid {
        columns: 1;
    }

    .navbar {
        padding: 15px 4%;
    }

    .navbar .logo img {
        height: 40px;
    }

    .contact-socials .social-links a {
        width: 40px;
        height: 40px;
    }

    .contact-form .btn-submit {
        width: 100%;
        text-align: center;
    }

    .company-card .card-image {
        height: 150px;
    }

    .company-card .card-image img {
        height: 80px;
    }
}
