@import url('/assets/css2.css');

@layer main {
    :root {
        --color-light: #FFF9EE;
        --color-dark: #151513;
        --color-darker: #0D0D0D;
        --color-primary: #FFAE2A;
        --padding: 6rem;
    }
    
    *,
    *::before,
    *::after {
        box-sizing: inherit;
        margin: 0;
        padding: 0;
        font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        color: var(--color-light);
    }
    
    html {
        box-sizing: border-box;
        scroll-behavior: smooth;
    }
    
    button,
    input,
    optgroup,
    select,
    textarea {
        font-family: inherit;
        font-size: 100%;
        line-height: 1.15;
        margin: 0;
    }
    
    button,
    input {
        overflow: visible;
    }
    
    button,
    select {
        text-transform: none;
    }
    
    button,
    [type="button"],
    [type="reset"],
    [type="submit"] {
        -webkit-appearance: button;
        appearance: button;
    }
    
    button::-moz-focus-inner,
    [type="button"]::-moz-focus-inner,
    [type="reset"]::-moz-focus-inner,
    [type="submit"]::-moz-focus-inner {
        border-style: none;
        padding: 0;
    }
    
    button:-moz-focusring,
    [type="button"]:-moz-focusring,
    [type="reset"]:-moz-focusring,
    [type="submit"]:-moz-focusring {
        outline: 1px dotted ButtonText;
    }
    
    a {
        color: var(--color-light);
        text-decoration: none;
    }
    
    a:visited {
        color: var(--color-light);
    }
    
    a:hover,
    a:focus,
    a:active {
        color: var(--color-light);
    }
    
    a:focus {
        outline: thin dotted;
    }
    
    a:hover,
    a:active {
        outline: 0;
    }
    body {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.47) 0%, rgba(0, 0, 0, 0.47) 100%), url('./images/bg-pattern.webp') lightgray 0% 0% / 600px 600px repeat;
        background-attachment: fixed;
        position: relative;
    }

    body::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    body:has(.navbar nav.active) {
        overflow: hidden;
    }

    @media (width < 1400px) {
        :root {
            --padding: 4rem;
        }
    }

    @media (width < 950px) {
        :root {
            --padding: 2rem;
        }
    }

    @media (width < 600px) {
        :root {
            --padding: 1rem;
        }
    }
}

@layer components {
    .container {
        max-width: 1600px;
        margin: 0 auto;
        width: 100%;
    }
    .button {
        padding: 0.75rem 1.25rem;
        background-color: var(--color-primary);
        box-shadow: 4px 4px 0px 0px var(--color-light);
        border: none;
        color: var(--color-light);
        font-size: 1.25rem;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        cursor: pointer;
        transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    }
    .button:hover {
        background-color: var(--color-dark);
        box-shadow: 4px 4px 0px 0px var(--color-primary);
    }

    .button.secondary {
        color: var(--color-dark);
        background-color: var(--color-light);
        box-shadow: 4px 4px 0px 0px var(--color-primary);
    }

    .button.secondary:hover {
        background-color: var(--color-primary);
        box-shadow: 4px 4px 0px 0px var(--color-light);
    }
}

@layer navbar {
    .navbar {
        background: rgba(2, 2, 2, 0.10);
        backdrop-filter: blur(3.85px);
        -webkit-backdrop-filter: blur(3.85px);
        position: sticky;
        top: 0;
        z-index: 10;
    }
    .navbar .logo-wrapper {
        padding: 0.6rem 0;
    }
    .navbar .logo-wrapper img {
        transition: transform 0.2s ease-in-out;
    }

    .navbar .logo-wrapper a:hover img {
        transform: scale(1.1);
    }
    .navbar-container {
        padding: 0 var(--padding);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }
    .navbar .nav-list {
        list-style: none;
        display: flex;
        gap: 2.5rem;
        align-items: center;
    }
    .navbar .nav-item a {
        color: var(--color-light);
        font-size: 1.25rem;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        text-decoration: none;
        transition: color 0.2s ease-in-out;
    }

    .navbar .nav-item a:hover {
        color: var(--color-primary);
    }
    .navbar .menu-toggle {
        display: none;
        cursor: pointer;
        flex-direction: column;
        justify-content: space-between;
        width: 2.5rem;
        height: 2rem;
        padding: 0.5rem;
    }
    .navbar .menu-toggle .menu-toggle-bar {
        width: 100%;
        height: 0.15rem;
        background: var(--color-light);
    }

    @media (width < 950px) {
        .navbar .menu-toggle {
            display: flex;
        }
    
        .navbar .nav-list {
            background: var(--color-dark);
            padding: 2rem;
            gap: 1.5rem;
            flex-direction: column;
            border-radius: 0.5rem;
        }
    
        .navbar nav {
            visibility: hidden;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: var(--color-dark);
            padding: 2rem;
            gap: 1.5rem;
            flex-direction: column;
            opacity: 0;
            transform: scale(0.1);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
    
        .navbar nav.active {
            visibility: visible;
            display: flex;
            opacity: 1;
            transform: scale(1);
        }
    
        .navbar .logo-wrapper img {
            height: 50px;
        }
    }
}

@layer hero{
    .hero {
        padding: calc(var(--padding) * 1.5) var(--padding);
        display: flex;
        align-items: center;
        gap: var(--padding);
    }

    .hero > div {
        flex: 1;
    }

    #lottie-container {
        width: 100%;
        height: 100%;
        max-width: 450px;
    }

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

    .hero-title {
        font-size: 4rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1;
    }

    .hero-title em {
        font-weight: 900;
    }

    .hero-title span {
        font-size: 3rem;
        color: var(--color-primary);
        text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    }

    .hero-description {
        text-align: justify;
        text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        font-family: Lato;
        font-size: 1.25rem;
        font-style: italic;
        font-weight: 500;
        line-height: normal;
        margin: 4rem 0 2rem 1rem;
        position: relative;
    }

    .hero-description::before {
        content: "";
        position: absolute;
        top: 0;
        left: -1rem;
        width: 0.3rem;
        height: 100%;
        background: var(--color-primary);
    }

    .hero .buttons-row {
        display: flex;
        gap: 3.125rem;
    }
    @media (max-width: 1200px) {
        .hero-title {
            font-size: 3.5rem;
        }
        .hero-title span {
            font-size: 2.5rem;
        }
        .hero-description {
            font-size: 1.1rem;
            margin: 3rem 0 1.5rem 1rem;
        }
        .hero .buttons-row {
            gap: 2rem;
        }
    }
    
    @media (max-width: 950px) {
        .hero {
            flex-direction: column;
            text-align: center;
        }
        .hero-description {
            text-align: center;
            margin: 2rem 0;
        }
        .hero-description::before {
            display: none;
        }
        .hero .buttons-row {
            justify-content: center;
        }
    }
    
    @media (max-width: 600px) {
        .hero-title {
            font-size: 2.5rem;
        }
        .hero-title span {
            font-size: 2rem;
        }
        .hero-description {
            font-size: 1rem;
        }
        .hero .buttons-row {
            flex-direction: column;
            gap: 1rem;
        }
        .hero .buttons-row .button {
            width: 100%;
        }
    }
}

@layer about-us {
    .about-us {
      padding: var(--padding) 0;
      background-color: var(--color-dark);
    }
  
    .about-us-container {
      padding: 0 var(--padding);
    }
  
    .section-title {
      font-size: 3rem;
      font-weight: 900;
      color: var(--color-primary);
      text-align: center;
      margin-bottom: 2rem;
      text-transform: uppercase;
    }
  
    .about-us-description {
      font-size: 1.2rem;
      line-height: 1.6;
      text-align: center;
      max-width: 800px;
      margin: 0 auto 3rem;
      color: var(--color-light);
    }
  
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-bottom: 3rem;
    }
  
    .feature-item {
      background-color: rgba(255, 255, 255, 0.05);
      border-radius: 8px;
      padding: 2rem;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
  
    .feature-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 5px 15px rgba(255, 174, 42, 0.1);
    }
  
    .feature-icon {
      width: 64px;
      height: 64px;
      margin-bottom: 1rem;
    }

    .feature-icon img {
        color: var(--color-primary);
    } 
  
    .feature-item h3 {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: var(--color-primary);
    }
  
    .feature-item p {
      font-size: 1rem;
      line-height: 1.5;
      color: var(--color-light);
    }
  
    .about-us-cta {
      text-align: center;
    }
  
    @media (max-width: 768px) {
      .features-grid {
        grid-template-columns: 1fr;
      }
  
      .section-title {
        font-size: 2.5rem;
      }
  
      .about-us-description {
        font-size: 1.1rem;
      }
    }
  
    @media (max-width: 480px) {
      .section-title {
        font-size: 2rem;
      }
  
      .about-us-description {
        font-size: 1rem;
      }
  
      .feature-item {
        padding: 1.5rem;
      }
  
      .feature-item h3 {
        font-size: 1.3rem;
      }
  
      .feature-item p {
        font-size: 0.9rem;
      }
    }
  }
  
  
@layer dialog {
 /* ... (existing styles) ... */

/* Updated and new styles for the dialog */
.contact-dialog {
    padding: 30px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    background-color: #1e1e1e;
    color: #ffffff;

    /* Center the dialog */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.7);
}

.contact-dialog h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 24px;
}

.contact-info {
    margin-bottom: 20px;
}

dialog .contact-info p {
    margin-bottom: 15px;
    display: flex;
    width: 100%;
    align-items: start !important;
    gap:0 !important;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    filter: invert(1); /* This will make the SVG icons white */
}

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

.contact-info a:hover {
    text-decoration: underline;
}

.dialog-buttons {
    display: flex;
    justify-content: flex-end;
}

.contact-dialog .button {
    padding: 10px 20px;
    background-color: #4da6ff;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-dialog .button:hover {
    background-color: #3a8ad6;
}

.contact-dialog .button.secondary {
    background-color: #2c2c2c;
}

.contact-dialog .button.secondary:hover {
    background-color: #3a3a3a;
}

@media (width < 400px) {
    dialog .contact-info p {
        flex-direction: column;
        align-items: center !important;
    }
}
}
  
/* ... (existing styles) ... */

@layer gallery {
    .gallery {
      padding: var(--padding) 0;
    }
  
    .gallery-container {
      padding: 0 var(--padding);
    }
  
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 1rem;
    }
  
    .gallery-item {
      position: relative;
      overflow: hidden;
      border-radius: 8px;
    }
  
    .gallery-item img {
      width: 100%;
      height: 100%;

      object-fit: cover;
      transition: transform 0.3s ease;
    }
  
    .gallery-item:hover img {
      transform: scale(1.05);
    }
  }
  
  @layer contact {
    .contact {
      padding: var(--padding) 0;
      background-color: var(--color-dark);
    }
  
    .contact-container {
      padding: 0 var(--padding);
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .contact-info {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      max-width: 600px;
    }
  
    .contact-info p {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
  
    .contact-icon {
      width: 24px;
      height: 24px;
    }
  }
  
  @layer footer {
    .footer {
      background-color: var(--color-darker);
      padding: var(--padding) 0 calc(var(--padding) / 4);
    }
  
    .footer-container {
      padding: 0 var(--padding);
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
    }
  
    .footer-logo img {
      max-width: 150px;
    }
  
    .footer-nav-list {
      list-style: none;
      padding: 0;
    }
  
    .footer-nav-list li {
      margin-bottom: 0.5rem;
    }
  
    .footer-contact p {
      margin-bottom: 0.5rem;
    }
  
    .footer-bottom {
      grid-column: 1 / -1;
      text-align: center;
      margin-top: 2rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
  
    @media (max-width: 768px) {
      .footer-container {
        grid-template-columns: 1fr;
      }
  
      .footer-logo,
      .footer-nav,
      .footer-contact {
        text-align: center;
      }
    }
  }
  
  @layer seo-content {
    .seo-content {
      padding: var(--padding) 0;
    }
  
    .seo-container {
      padding: 0 var(--padding);
    }
  
    .seo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
    }
  
    .seo-item {
      background-color: var(--color-dark);
      border-radius: 8px;
      padding: 1.5rem;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
  
    .seo-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 5px 15px rgba(255, 174, 42, 0.1);
    }
  
    .seo-item h3 {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: var(--color-primary);
    }
  
    .seo-item p {
      font-size: 0.9rem;
      line-height: 1.5;
      color: var(--color-light);
    }
  
    @media (max-width: 768px) {
      .seo-grid {
        grid-template-columns: 1fr;
      }
    }
  }
  