:root {
    --bg-color: #1d2c3f;
    --surface-color: #2c3a4f;
    --primary-color: #fdd100;
    --text-color: #e0e0e0;
    --heading-color: #ffffff;
    --border-color: rgba(253, 209, 0, 0.2);
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition-fast: all 0.3s ease;
    --transition-smooth: all 0.4s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
}

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

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

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

section {
    padding: 112px 0;
    overflow: hidden;
}

.grid-container {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
}

.services-grid,
.brands-grid,
.gallery-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.1);
}

.header-logo {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 10%;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

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

.header-whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    border: 2px solid #25D366;
    color: #25D366;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition-fast);
    margin-left: 20px;
    flex-shrink: 0;
}

.header-whatsapp-btn:hover {
    background-color: #25D366;
    color: var(--heading-color);
    transform: scale(1.05);
}

.header-whatsapp-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(86%) sepia(33%) saturate(5833%) hue-rotate(93deg) brightness(91%) contrast(89%);
}

.header-whatsapp-btn:hover img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(200deg) brightness(111%) contrast(101%);
}

.hero {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 1) 0%, rgba(26, 26, 26, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.hero .subtitle {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 1rem auto 2rem auto;
}

.cta-button {
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 15px 35px;
    border-radius: 8px;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.services-section {
    background-color: var(--bg-color);
}

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

.service-card {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.service-card p {
    color: var(--text-secondary-color);
    line-height: 1.6;
}

.service-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-icon svg {
    width: 64px;
    height: 64px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon svg {
    transform: scale(1.1) rotate(-5deg);
    color: var(--primary-color-dark);
}

.service-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.service-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-weight: bold;
}

.brands-section {
    background-color: var(--bg-color);
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -2rem auto 3rem auto;
}

.brand-tile {
    display: flex;
    flex-direction: column;
    background-color: var(--surface-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.brand-tile:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.brand-logo {
    padding: 5px;
    min-height: 120px;
    flex-grow: 1;
}

.brand-logo img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    filter: grayscale(10%) brightness(1.5);
    transition: filter 0.3s ease;
}

.brand-tile:hover .brand-logo img {
    filter: grayscale(0%) brightness(1);
}

.brand-name {
    padding: 12px 15px;
    font-weight: 700;
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--border-color);
    transition: color 0.3s ease;
}

.brand-tile:hover .brand-name {
    color: var(--primary-color);
}

.about-section {
    background-color: var(--surface-color);
}

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

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-content ul {
    list-style: none;
    padding-left: 0;
}

.about-content ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 1rem;
}

.about-content ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.equipment-section {
    background-color: var(--bg-color);
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    /* cursor: pointer; */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

.gallery-item:hover img {
    transform: scale(1); /* Remove zoom effect */
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: background 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
}

.gallery-overlay h3 {
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
    font-size: 1.2rem;
}

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

.contact-section {
    background-color: var(--surface-color);
    text-align: center;
}

.whatsapp-button {
    background-color: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-button .whatsapp-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.contact-info {
    margin-top: 2rem;
    font-size: 1rem;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: var(--surface-color);
    z-index: 2001;
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.modal-overlay.visible,
.modal.visible {
    opacity: 1;
    visibility: visible;
}

.modal.visible {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}

.modal-close-btn:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.modal-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.modal-content li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 1rem;
}

.modal-content li::before {
    content: '›';
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--primary-color);
}

.modal-solution {
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 3px solid var(--primary-color);
    padding: 15px;
    border-radius: 4px;
    font-weight: 700;
    margin-top: 1.5rem;
}

footer {
    background-color: var(--bg-color);
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid var(--border-color);
}

footer a:hover {
    text-decoration: underline;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-top: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.mobile-nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--heading-color);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1001;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.mobile-nav .main-nav ul {
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav .main-nav li {
    margin: 0;
}

.mobile-nav .main-nav a {
    font-size: 1.8rem;
    font-family: var(--font-heading);
}

.mobile-nav.is-active {
    display: flex;
}

.mobile-nav-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}
.mobile-nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@keyframes bobbing {
  0% { transform: translateY(-15px) scale(1.07); }
  50% { transform: translateY(-20px) scale(1.07); }
  100% { transform: translateY(-15px) scale(1.07); }
}

.brand-tile.is-in-view,
.gallery-item.is-in-view {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    z-index: 10;
    animation: bobbing 2s ease-in-out infinite;
}

.brand-tile.is-in-view .brand-logo img {
    filter: grayscale(0%) brightness(1);
}

.brand-tile.is-in-view .brand-name {
    color: var(--primary-color);
}

.gallery-item.is-in-view img {
    transform: scale(1.1);
}

.gallery-item.is-in-view .gallery-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
}

.gallery-item.is-in-view .gallery-overlay h3 {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.2rem; }

    .site-header .main-nav { display: none; }
    .mobile-nav-toggle { display: block; }

    .about-grid { text-align: center; }
    .about-content h2 { text-align: center; }
    .header-whatsapp-text { display: none; }

    .header-whatsapp-btn {
        background-color: #25D366;
        color: white;
        padding: 12px;
        margin-left: 15px;
        border: none;
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    }

    .header-whatsapp-btn img {
        width: 24px;
        height: 24px;
        filter: none;
    }
}

@media (max-width: 480px) {
    .modal {
        width: 95%;
        padding: 30px 20px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-close-btn {
        top: 5px;
        right: 5px;
        font-size: 3rem;
        color: var(--primary-color);
    }

    .modal-title {
        font-size: 1.6rem;
        padding-right: 30px;
    }
}