* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF8C00;
    --dark-gray: #2a2a2a;
    --medium-gray: #4a4a4a;
    --light-gray: #e0e0e0;
    --white: #ffffff;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-gray);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(42, 42, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: padding 0.3s;
}

nav.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Image Logo Styles --- */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px; /* Matches the approximate height of your previous text (1.8rem) */
    width: auto;  /* Maintains the image aspect ratio */
    display: block;
    transition: transform 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.lang-separator {
    width: 2px;
    height: 20px;
    background: var(--primary-orange);
    margin: 0 0.5rem;
}

.lang-link {
    padding: 0.5rem 1rem !important;
    background: var(--primary-orange);
    border-radius: 5px;
    transition: all 0.3s !important;
}

.lang-link:hover {
    background: var(--white);
    color: var(--dark-gray) !important;
    transform: translateY(-2px);
}

.lang-link::after {
    display: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

/* DOTTED underline */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 6px;

    /* dotted pattern */
    --dot-size: 1.5px;
    --dot-gap: 2.5px;

    background:
        radial-gradient(circle, var(--primary-orange) 60%, transparent 61%)
        0 0 / calc(var(--dot-size) + var(--dot-gap)) 100%
        repeat-x;

    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Hero Section */
#home {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

/* Hero Content Animation */
.hero-content h1,
.hero-content p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 1s ease forwards;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation-delay: 0.2s;
    position: relative;
    display: inline-block;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation-delay: 0.5s;
}

/* =============================== */
/* PRINTING DOTS UNDERLINE (NEW)   */
/* =============================== */

/* Container for sequential dots */
.h1-dots {
    margin: 0 auto;
    margin-top: -5px;
    width: fit-content;
    display: flex;
    gap: 6px;
    justify-content: center;
    height: 20px;

    /* controls number of dots */
    --dot-count: 22;
}

/* Each dot */
.h1-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-orange);
    opacity: 0;
    transform: scale(0.2);
    filter: brightness(2); /* lightest start */
    animation: dotPop 0.35s forwards ease-out;
}

/* Dot pop/fade animation */
@keyframes dotPop {
    0% {
        opacity: 0;
        transform: scale(0.2);
        filter: brightness(2); /* bright / light */
    }
    70% {
        opacity: 1;
        transform: scale(1.2);
        filter: brightness(1.3);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1); /* strong final orange */
    }
}

/* Fade + Slide animation for text */
@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-orange);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

/* Section Styles */
section {
    min-height: 100vh;
    padding: 6rem 2rem;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--dark-gray);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--primary-orange);
    margin: 1rem auto;
}

/* About Section */
#about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s;
    opacity: 0;
    transform: translateY(50px);
}

.about-card.visible {
    animation: fadeInUp 0.6s forwards;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card h3 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

/* Services Section */
#services {
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-box {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    opacity: 0;
    transform: scale(0.9);
}

.service-box.visible {
    animation: zoomIn 0.6s forwards;
}

.service-box:hover {
    transform: translateY(-10px) scale(1.05);
}

.service-image {
    width: 100%;
    height: 200px;
    background: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-orange);
    overflow: hidden;
    position: relative;
}

.service-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-orange) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.service-box:hover .service-image::before {
    opacity: 0.2;
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

/* Products Section */
#products {
    background: var(--white);
}

.products-intro {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--medium-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(50px);
}

.product-card.visible {
    animation: fadeInUp 0.6s forwards;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.product-image {
    width: 100%;
    height: 250px;
    background: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 2rem;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

/* Gallery Section */
#gallery {
    background: var(--light-gray);
}

.masonry-grid {
    column-count: 3;
    column-gap: 1rem;
}

.masonry-item {
	position: relative;
    break-inside: avoid;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0;
}

.masonry-item.visible {
    animation: fadeIn 0.6s forwards;
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

.masonry-item:hover img {
    transform: scale(1.1);
}

.masonry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: var(--white);
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

.gallery-link {
    text-align: center;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: var(--dark-gray);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Gallery Filter Menu */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem; /* Smaller gap for tighter pill layout */
    margin-bottom: 2.5rem;
    padding: 0.5rem;
}

.filter-btn {
    padding: 0.4rem 0.9rem; /* Pill-shaped padding */
    background-color: var(--dark-gray); /* Idle: dark grey */
    color: white; /* White text always */
    border: none;
    border-radius: 2rem; /* Full pill shape */
    cursor: pointer;
    font-size: 0.9rem; /* Slightly smaller text */
    font-weight: 500;
    transition: all 0.3s ease;
    /*text-transform: uppercase;*/
    /*letter-spacing: 0.3px;*/
    white-space: nowrap; /* Prevent text wrapping */
}

.filter-btn:hover {
    background-color: var(--primary-orange); /* Hover: orange */
    color: white;
    /*transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);*/
}

.filter-btn.active {
    background-color: var(--primary-orange); /* Active: orange */
    color: white;
    /*font-weight: 600;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.4); /* Orange glow */
}

/* Contact Section */
#contact {
    background: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    opacity: 0;
    transform: translateX(-50px);
}

.contact-info.visible {
    animation: slideInLeft 0.6s forwards;
}

.contact-info h3 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    color: var(--dark-gray);
}

.contact-form {
    opacity: 0;
    transform: translateX(50px);
}

.contact-form.visible {
    animation: slideInRight 0.6s forwards;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer */

footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-orange);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.footer-message {
    color: var(--light-gray);
    line-height: 1.6;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--primary-orange);
}

.footer-contact p {
    color: var(--light-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-contact strong {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--medium-gray);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--light-gray);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 992px) {
	body {
        overflow-x: hidden;
		max-width: 100%;
        width: 100%;
    }
	
    .hamburger {
        display: flex;
    }

	nav {
        position: fixed !important;
        padding: 0.5rem 0 !important; /* Use the smaller "scrolled" height always */
    }
	
	nav.scrolled {
        padding: 0.5rem 0 !important; /* Same height */
    }
	
	.nav-container {
		padding: 0 1rem;
		box-sizing: border-box;
    }
	
	.logo img {
        max-width: 150px; /* Prevents logo from pushing width */
        height: auto;
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%; 
        top: 100%;
        flex-direction: column;
        background: rgba(42, 42, 42, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        padding: 2rem 0;
        gap: 0;
        box-shadow: none;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .lang-separator {
        width: 80%;
        height: 2px;
        margin: 1rem auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .masonry-grid {
        column-count: 2;
    }
	
	/* Gallery Filter Menu */
	.gallery-filter {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
	/* Gallery Filter Menu END*/
	
    .contact-container {
        grid-template-columns: 1fr;
    }
	
	.footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Lightbox */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 2000;
    display: none;
    justify-content: center;     /* Center image horizontally */
    align-items: center;         /* Center image vertically */
    backdrop-filter: blur(5px);
}

/* This class is added by your JS when an image is clicked */
.lightbox.active {
    display: flex;
}

/* Ensure the image fits within the screen */
.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    margin: 0 auto;

    /* Keep your border and shadow */
    border: 2px solid var(--primary-orange);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next,
.lightbox-caption {
    position: absolute;
    z-index: 2100; /* Above the image */
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-close:hover {
    transform: scale(1.1);
    background: transparent; /* Keep close button background clear if preferred */
    color: var(--primary-orange);
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 5px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--primary-orange); /* Orange background on hover */
    color: var(--white);
    transform: translateY(-50%) scale(1.1); /* Slight grow effect */
    transition: all 0.3s ease;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* File upload */
.file-list {
    margin: 1rem 0;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 5px;
}

.file-list h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.file-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--white);
}

.file-item:last-child {
    border-bottom: none;
}

input[type="file"] {
    padding: 0.8rem;
    border: 2px dashed var(--light-gray);
    border-radius: 5px;
    cursor: pointer;
    background: var(--white);
}

input[type="file"]:hover {
    border-color: var(--primary-orange);
}

select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.3s;
}

select:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.remove-file-btn {
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.remove-file-btn:hover {
    background: var(--dark-gray);
}

.size-warning {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 5px;
}

.size-warning.error {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}