/* Global */
:root {
    --primary: #E54A07;
    --background-light: #ffffff;
    --container-bg-light: #f5f5f5;
    --container-bg-dark: #1E1E1E;
    --text-light: #3c3c3c;
    --background-dark: #121212;
    --text-dark: #EAEAEA;
}

html {
    scroll-behavior: smooth; 
}

/* Light/Dark mode setup */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
    background: var(--background-light);
    color: var(--text-light);
    padding-top: 6rem;
    transition: background-color 0.3s;
}

/* Container */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: inherit;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

#logo {
    height: 60px;
    transition: height 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: right;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Navbar shrink */
.navbar.shrink {
    background: rgba(255, 238, 232, 0.8);
    backdrop-filter: blur(5px);
}

.navbar.shrink #logo {
    height: 40px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 25%;
        background: rgba(255,255,255,0.92);
        box-shadow: 2px 0 8px rgba(0,0,0,0.1);
        z-index: 1001;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding-top: 6rem;
        padding-left: 2rem;
    }
    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1100;
    }
  .menu-toggle {
    display: block;
  }
}

/* Hero */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--background-light);
    transition: background-color 0.3s;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.hero-container {
    background-color: var(--container-bg-light);
    padding: 1rem 1rem 3rem;
    border-radius: 8px;
    width: 80%;
    align-self: center;;
    margin: 0rem auto 2rem;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background-color 0.3s;
}


/* Gallery */
.gallery {
    width: 70%;
    position: relative;
    max-width: 700px;
    overflow: hidden;
    margin: 0 auto;
    display: block;
    }

.gallery-wrapper {
    width: 100%;
    padding: 0%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    position: relative;
}

.gallery-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.gallery img {
    width: 150px;
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
    margin: 0 8px;
    display: block;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
    transition: filter 0.3s, opacity 0.3s;
}

/* Blurred gallery images */
.gallery-img-blur {
    filter: blur(4px) brightness(0.7);
    opacity: 0.7;
}

@media (prefers-color-scheme: dark) {
    .gallery-img-blur {
        filter: blur(4px) brightness(0.4);
        opacity: 0.7;
    }
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    border: none;
    color: #fff;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    font-size: 2rem;
    z-index: 2;
}

.gallery-btn.left {
    left: 10px;
}

.gallery-btn.right {
    right: 10px;
}

.gallery-dots {
    text-align: center;
    margin-top: 1.5rem;
    position: relative;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--primary);
}

/* Responsive: scale down max image width */
@media (max-width: 500px) {
    .gallery img {
        max-width: 270px;
    }
}

@media (max-width: 350px) {
    .gallery img {
        max-width: 220px;
    }
}


/* Sections */
section {
    padding: 1rem 0;
    scroll-margin-top: 6rem;
}

h1, h2 {
    margin: 0rem;
}

.about-point {
    background-color: var(--container-bg-light);
    color: var(--text-light);
    padding: 4.5rem;
    margin: 1rem auto;
    max-width: calc(80% + 2rem);
    border-radius: 6px;
    transition: background-color 0.3s, color 0.3s;
}

.about-point h3 {
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.3rem;
    max-width: max-content;
    margin: 0 auto 1rem;
}

.features-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-point {
    background-color: var(--container-bg-light);
    color: var(--text-light);
    padding: 1.5rem;
    margin: 1rem auto;
    max-width: 40%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s, color 0.3s;
}

.feature-point-bigger {
    background-color: var(--container-bg-light);
    color: var(--text-light);
    padding: 1.5rem;
    margin: 1rem auto;
    max-width: calc(91.5%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s, color 0.3s;
}

.feature-point img {
    max-width: 150px;
    margin-left: 1rem;
    border-radius: 4px;
}

.feature-point-bigger img {
    width: 45%;
    margin-left: 1rem;
    border-radius: 4px;
}

.feature-text h3 {
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.3rem;
    margin-bottom: 0.8rem;
    max-width: max-content;
    vertical-align: top;
}

.feature-text {
    text-align: justify;
    flex: 1;
}

.brand-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8%, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
    align-items: center;
    justify-items: center;
}

.brand-logos img {
    width: 80%;
    height: auto;
    object-fit: contain;
    filter: var(--brand-logo-filter, none); /* optional color adjustment for when brand logos added*/
}


@media (max-width: 768px) {
    .features-row {
        flex-direction: column;
        align-items: center;
    }

    .feature-point,
    .feature-point-bigger {
        max-width: 90%; /* for the stacked layout, keep second point width */
    }
}


/* Button */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: var(--text-dark);
    border-radius: 4px;
    text-decoration: none;
    border: none;
    transition: background-color 0.3s;
}

.btn:hover {
    background: #f07541;
}

.testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;    
    gap: 1.5rem;        
}

.testimonial-img {
    width: 80%;        
    margin: 0;           
    display: block;        
}


/* Footer */
.footer {
    background: #f1f1f1;
    text-align: center;
    padding: 1rem 0;
    color: var(--text-light);
}

.social-icons i {
    font-size: 24px;
        color: var(--text-light);
    transition: color 0.3s;
}

@media (prefers-color-scheme: dark) {
    .hero-overlay > div {
        background: rgba(30,30,30,0.7) !important;
        color: var(--text-dark);
    }
    body {
        background: var(--background-dark);
        color: var(--text-dark);
    }

    .navbar.shrink {
        background: var(--container-bg-dark);
    }

    .hero {
        background-color: var(--background-dark);
        transition: background-color 0.3s;
    }

    .hero-container {
        background-color: var(--container-bg-dark);
    }

    .about-point {
        background-color: var(--container-bg-dark);
        color: var(--text-dark);
    }

    .feature-point {
        background-color: var(--container-bg-dark);
        color: var(--text-dark);
    }

    .feature-point-bigger {
        background-color: var(--container-bg-dark);
        color: var(--text-dark);
    }

    .footer {
        background: var(--container-bg-dark);
        color: var(--text-dark);
    }
    .social-icons i {
        color: var(--text-dark);
    }
}

.spinner {
  border: 6px solid #eee;
  border-top: 6px solid #E54A07;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem auto;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}
.success-checkmark {
  color: #27ae60;
  font-size: 3rem;
  margin-bottom: 1rem;
}

