/*
Theme Name: Judowash Theme
Author: SynetiQ IT
Description: Judowash
Version: 1.3
*/

:root {
    --primary-gold: #fecb00; 
    --secondary-gold: #e5b800;
    --dark-grey: #222222;
    --medium-grey: #333333;
    --light-bg: #f8f9fa;
    --text-color: #212529;
    --white: #ffffff;
    --nav-height: 90px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    height: 100%;
}

.navbar {
    background-color: var(--dark-grey);
    height: var(--nav-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    border-bottom: 3px solid var(--primary-gold);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    max-height: 88px;
    width: auto;
    display: block;
    margin-top: 0;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 40px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    opacity: 1;
    text-shadow: none;
}

.nav-links a:hover {
    color: var(--primary-gold);
    border-bottom-color: var(--primary-gold);
}

.hero-section {
    position: relative;
    height: calc(100vh - var(--nav-height));
    margin-top: var(--nav-height); 
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.eu-banner-floating {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background: transparent;
}

.eu-banner-floating img {
    height: 100px;
    width: auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    transform: scale(1.1);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6); 
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    padding: 20px;
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 100%;
    max-width: 1100px;
    height: auto;
    margin-bottom: 20px;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0) 80%);
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0) 80%);
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    text-align: center;
}

.hero-btn-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-primary {
    display: inline-block;
    padding: 18px 50px;
    background-color: var(--primary-gold);
    color: var(--dark-grey);
    text-decoration: none;
    font-weight: 900;
    font-size: 1.3rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(254, 203, 0, 0.4);
}

.btn-primary:hover {
    background-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,255,255, 0.3);
}

.full-height-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 140px;
}

.section-padding {
    padding-bottom: 100px;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 80px;
    color: var(--dark-grey);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 6px;
    background-color: var(--primary-gold);
    margin: 20px auto 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: stretch;
}

.about-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    text-align: center;
    border-top: 5px solid var(--primary-gold);
}

.about-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-grey);
}

.dark-bg {
    background-color: var(--dark-grey);
    color: var(--white);
    position: relative;
}

.dark-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #3d3d3d 0%, #222 100%);
    opacity: 0.5;
    z-index: 0;
}

.dark-bg .container {
    position: relative;
    z-index: 1;
}

.text-gold {
    color: var(--primary-gold) !important;
}

.locations-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-grow: 1;
}

.locations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.location-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    min-width: 280px;
    width: fit-content;
    max-width: 100%;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 5px; height: 100%;
    background-color: var(--primary-gold);
    transition: width 0.3s;
}

.location-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.location-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.location-card h3 {
    color: var(--primary-gold);
    font-size: 1.4rem;
    margin-bottom: 15px;
    white-space: nowrap;
}

.location-card p {
    font-size: 1.1rem;
    white-space: nowrap;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.zoom-icon {
    color: var(--primary-gold);
    font-size: 4rem;
    font-weight: bold;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border: 3px solid var(--white);
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 50px;
    color: var(--white);
    font-size: 50px;
    cursor: pointer;
    transition: color 0.2s;
}

.close-lightbox:hover { color: var(--primary-gold); }

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 20px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
    border-radius: 5px;
}

.next { right: 30px; }
.prev { left: 30px; }

.prev:hover, .next:hover {
    background-color: var(--primary-gold);
    color: var(--dark-grey);
}

.contact-bg {
    background-color: #f0f2f5;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-info, .company-details {
    flex: 1;
    min-width: 500px; 
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-info h3, .company-details h3 {
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--dark-grey);
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-gold);
    text-align: center;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
    font-size: 1.1rem;
}

.contact-row strong {
    color: var(--medium-grey);
    white-space: nowrap;
    padding-right: 20px;
    flex-shrink: 0;
}

.contact-row span, .contact-row a {
    text-align: right;
    color: var(--dark-grey);
    white-space: nowrap; 
}

.contact-row a {
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.contact-row a:hover {
    color: var(--primary-gold);
}

footer {
    background-color: #111;
    color: #666;
    padding: 40px 0;
    text-align: center;
    font-size: 1rem;
    border-top: 5px solid var(--primary-gold);
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hamburger { display: none; }

@media (max-width: 1200px) {
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-info, .company-details {
        width: 100%;
        max-width: 800px;
        min-width: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 1024px) {
    .about-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: var(--nav-height);
        height: calc(100vh - var(--nav-height));
        flex-direction: column;
        background-color: var(--dark-grey);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding-top: 30px;
        box-shadow: inset 0 10px 20px rgba(0,0,0,0.5);
    }
    
    .nav-links.active { right: 0; }
    .nav-links li { margin: 20px 0; }
    
    .hamburger {
        display: block;
        cursor: pointer;
    }
    
    .hamburger span {
        display: block;
        width: 30px;
        height: 3px;
        margin: 5px;
        background: var(--primary-gold);
        transition: 0.3s;
    }

    .hamburger.toggle span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
    .hamburger.toggle span:nth-child(2) { opacity: 0; }
    .hamburger.toggle span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

    .hero-content {
        padding: 10px;
        padding-top: 80px; 
    }
    .hero-content p { 
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
    .section-title { font-size: 2.2rem; margin-bottom: 50px; }
    
    .contact-info, .company-details {
        width: 100%;
        padding: 30px;
    }

    .contact-row {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .contact-row strong {
        margin-bottom: 5px;
    }
    
    .contact-row span, .contact-row a {
        text-align: left;
        white-space: normal; 
    }

    .about-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    
    .eu-banner-floating {
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
        padding: 0;
        z-index: 20;
    }
    
    .eu-banner-floating img {
        margin: 0;
        display: block;
        height: 55px;
    }

    .hero-section {
        height: auto;
        padding-bottom: 60px;
    }
    
    .location-card {
        width: 100%;
        min-width: 0;
    }
    .location-card h3, .location-card p {
        white-space: normal;
    }
    
    .full-height-section {
        padding-top: 100px;
        min-height: auto;
    }
}