/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  a {

    text-decoration: none;
    color: unset; 
}
  
  /* ===== Button Reset ===== */
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"] {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
  }
  
  /* ===== Typography ===== */
  @font-face {
    font-family: 'Days One';
    src: url('assets/DaysOne-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  body {
    margin: 0;
    padding: 0;
    background-color: #f1eff6;
    font-family: 'Geologica', sans-serif;
  }
  
  /* ===== Header Styles ===== */
  header {
    padding: 10px 15% 0;
    display: grid;
    grid-template-columns: 10fr 4fr 1fr;
    font-size: 12px;
    font-weight: normal;
  }
  
  .header-logo {
    margin: 12px 0;
  }
  
  .location,
  .phone {
    display: flex;
    align-items: center;
  }
  
  .phone {
    margin-top: 7px;
    font-size: 14px;
  }
  
  .location-img {
    margin: 15px 8px 0 0;
  }
  
  .phone-img {
    margin-right: 8px;
  }
  
  .header-social {
    margin: 10px 0 0 50px;
  }

/* Burger Menu */

.menu {
    position: relative;
    display: flex;
    justify-content: flex-end;
    margin-right: 20px;
    display: none;
  }

  .burger-checkbox {
    position: absolute;
    opacity: 0;
    visibility: hidden;
  }

  .burger-lines {
    margin-top: 20px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.51);
    border-radius: 50%;
  }
  .burger {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    cursor: pointer;
    z-index: 101;
  }
  
  .burger-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #EB7B34;
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  .burger-line:nth-child(1) {
    top: 0;
  }
  
  .burger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  
  .burger-line:nth-child(3) {
    bottom: 0;
  }

  .burger-checkbox:checked + .burger .burger-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  
  .burger-checkbox:checked + .burger .burger-line:nth-child(2) {
    opacity: 0;
  }
  
  .burger-checkbox:checked + .burger .burger-line:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }

  .menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.71);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 100;
  }

  .burger-checkbox:checked ~ .menu-container {
    right: 0;
  }

  .menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .menu-list li {
    padding: 15px 0;
  }
  
  .location, .phone, .header-social {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .location-img img, 
  .phone-img img {
    width: 24px;
    height: 24px;
  }
  
  .location-description p {
    margin: 0;
    font-size: 14px;
    color: #333;
  }
  
  .phone-description b {
    font-size: 16px;
    color: #333;
  }

  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  
  .burger-checkbox:checked ~ .menu-overlay {
    opacity: 1;
    pointer-events: all;
  }


  

@media (max-width: 768px) {
    header {
        display: none;
    }
    .menu {
        display: flex;
    }
}
  
  /* ===== Main Content ===== */
  main {
    background: url('./assets/img/background.png') no-repeat center/cover;
    background-size: cover;
    width: 100%;
    min-height: 640px;
  }
  
  .main-container {
    padding: 60px 15% 0;
    max-width: 70%;
  }
  
  .main-container h1 {
    font-family: 'Days One', sans-serif;
    text-transform: uppercase;
    color: #ffe50c;
    font-size: 28px;
    max-width: 500px;
  }
  
  .main-image {
    margin-top: 50px;
  }
  
  .main-image img {
    width: 550px;
  }
  
  .main-container h2 {
    font-weight: 600;
    font-size: 28px;
    color: #fff;
  }
  
  .main-container h2 span {
    color: #ffe50c;
  }
  
  .main-container .first {
    margin-top: 30px;
  }
  
  .main-button {
    margin-top: 30px;
    padding-bottom: 40px;
    max-width: 255px;
  }
  
  .main-button button {
    color: #fff;
    font-family: 'Days One';
    font-size: 28px;
    text-transform: uppercase;
    padding: 10px 40px;
    background: #eb7b34;
    border-radius: 50px;
    text-align: center;
  }

  button:hover {
    background-color:#db7434;
    text-decoration: underline;
    transition: background-color .3s;
  }

  button:active {
    background-color: #ff8336;
  }

  button:visited {
    background-color: #ea5f09;
  }

  @media (max-width: 768px) {
    main {
        background: url('./assets/img/background-mobile.png') no-repeat center/cover;
        min-height: 90vh;
    }

    .main-container {
        min-width: 100%;
        padding: 0 15%;
    }

    .main-container h1 {
        font-size: 5vw;
        text-align: center;
    }
    .main-container h2 {
        font-size: 6vw;
        text-align: center;
    }

    h2 .first {
        margin-top: 50px;
    }

    .main-image {
        max-width: 70vw;
        margin: 0 auto;
        margin-top: 65px;
    }

    .main-image img {
        width: 70vw;
    }

    .main-button {
        margin: 0 auto;
        margin-top: 50vh;
        margin-bottom: 0;
        padding-bottom: 0;
        max-width: fit-content;
    }

    .main-button button {
        font-size: 7vw;
        padding: 20px 40px;
    }
  }

  
  /* ===== Footer Styles ===== */
  footer {
    padding: 0 15%;
    margin-top: 50px;
    display: grid;
    grid-template-columns: 3fr 1fr;
  }
  
  .details-location h3 {
    font-family: 'Days One', sans-serif;
    color: #516caf;
    text-transform: uppercase;
    font-size: 32px;
  }
  
  .details-desc {
    margin-top: 20px;
    padding: 20px 40px;
    border-radius: 20px;
    font-size: 32px;
    color: #fff;
    background-color: #cf7438;
    max-width: 36vw;
  }
  
  .details-adress {
    display: grid;
    grid-template-columns: 4fr 1fr;
    max-width: 36vw;
  }
  
  .adress {
    margin-top: 20px;
    padding: 30px 40px;
    border-radius: 20px;
    font-size: 32px;
    color: #fff;
    background-color: #cf7438;
}

.adress-img img {
    width: 156px;
}

.details-img img{
    width: 508px;
}

@media (max-width: 1050px) {
  .details-img img {
    width: 380px;
  }

  .details-desc {
    font-size: 26px;
  }

  .details-adress .adress {
    font-size: 26px;
}
}

@media (max-width: 768px) {
  footer {
      display: block;
      width: 100%;
  }
  .details-location h3 {
      font-size: 4.5vw;
  }
  .details-adress {
      display: block;
      min-width: 100%;
  }

  .details-adress .adress {
      font-size: 4vw;
  }
  .details-desc {
      min-width: 100%;
      font-size: 4vw;
  }
  .details-img img {
      width: 300px;
  }
  .adress-img img{
    width: 120px;
  }
}

@media (max-width: 360px) {
  .details-img img {
    width: 250px;
  }
  .adress-img img{
    width: 100px;
  }
}