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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Spectral", serif;
    font-display: swap;
    font-weight: 200;
    font-style: normal;
    font-size: 1.2rem;
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
}

h1{
    font-size: 2rem;
}

h1, h2 {
    color: black;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    color: black;
    margin-bottom: 10px;
}

p, ul li {
    color: black;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #b58a6b;
}

header {
    background: #572500;
    color: white;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 5px solid #D8531D;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    font-weight: 1000;
}

nav ul li a:hover {
    color: #f5e4d0;
}

.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

.navbar li {
    display: inline;
}

.navbar a {
    color: white;
    font-weight: 1000;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

.navbar a:hover {
    color: #D8531D;
}

.language-switcher img {
    width: 24px;
    height: auto;
    cursor: pointer;
    margin-left: 0.5rem;
}

.language-switcher img:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease-in-out;
}

#hero {
    background: url('images/hero.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 5rem 1rem;
}

#hero .hero-content {
    max-width: 600px;
    margin: 0 auto;
}

#hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

#hero .btn {
    background: #D8531D;
    color: white;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

#hero .btn:hover {
    background: #b58a6b;
}

section {
    padding: 1.5rem;
    margin: 9rem auto;
    background: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

#gallery{
        margin: 60px 0px 0px 0px !important;
}

section h2 {
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

ul {
    padding-left: 1.5rem;
}

ul li {
    margin-bottom: 0.5rem;
    color: black;
}

.carousel {
    position: relative;
    margin: 0 auto;
    overflow: visible;
}

.carousel-images {
    position: relative;
    height: 400px;
    transition: transform 0.5s ease-in-out;
}

.carousel-images img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-images img.active {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.carousel-images img.prev {
    transform: translateX(-100%) scale(1);
    opacity: 0.5;
    z-index: 0;
}

.carousel-images img.next {
    transform: translateX(100%) scale(1);
    opacity: 0.5;
    z-index: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.button-gallery {
    position: absolute;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    right: 0px; 
    bottom: -10px;
    background: rgba(255, 255, 255, 0.81);
    border-radius: 10px;
    color: #D8531D;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.button-gallery span{
    text-shadow: 0 4px 8px rgba(255, 255, 255, 0.8);
    margin-left: 10px;
    font-weight: 1000;
}

.button-gallery:hover {
    transform: translateY(-50%) scale(1.1);
    transition: transform 0.3s ease;
}

.button-gallery img {
    border-radius: 5px;
    height:25px;
}

footer {
    text-align: center;
    padding: 1rem 0;
    background: #572500;
    color: white;
    margin-top: 2rem;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

footer span{
    margin: 0;
}

.gallery-icons {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top:10px;
}

.icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
    padding: 10px; 
}

.icon:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.icon img {
    width: 50px;
    height: auto;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.icon span {
    font-size: 1.2rem;
    font-weight: 1000;
    color: #333; 
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

.icon p {
    font-size: 1rem;
    color: #333; 
    margin: 0;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

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

.language-switcher {
    text-align: center;
}

.language-switcher button {
    background: #dab598;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
}

.language-switcher button:hover {
    background: #b58a6b;
}

.language-switcher img {
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; 
    margin: 0 auto;
    max-width: 100%;
}

.cards .content {
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.content{
    padding: 30px;
}

.card {
    flex: 1;
    padding: 1rem;
    text-align: left;
    margin-left: 100px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px); 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
    background-color: white;
}

.cards .card-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.cards > h2 {
    text-align: center;
    width: 100%;
}

.card h3 {
    margin-bottom: 0.5rem;
}

.card p {
    color: black;
    font-size: 1.3rem;
    line-height: 1.5;
}

.card span {
    color: black;
    font-size: 1.1rem;
    line-height: 1.5;
}

#contact h2 {
    color:#D8531D;
}

#contact span {
    color: white;
    font-size: 22px;
}

.contact-item {
    margin-bottom: 1.5rem;
}

#contact a {
    text-decoration: none;
    color: inherit; 
    color: white;
    font-weight: 1000;
    font-size: 22px;
}

.carousel-btn {
    position: absolute;
    top: 50%; 
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;  
    height: 40px; 
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-btn img {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
    transition: transform 0.2s ease-in-out, background 0.2s ease-in-out;
}

#map {
    padding: 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

#map h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem; 
    margin-top: 1rem;
    flex-wrap: wrap;
}

.description {
    flex: 1;
}

.location {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
}

.description h1, .location h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.map-container {
    border: 1px solid #D8531D;
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

.map-container iframe {
    width: 100%;
    max-width: 100%;
}

.map-container:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.map-button-container {
    margin-top: 1rem;
    text-align: center;
    max-width: 300px;
}

.map-button {
    background-color: #D8531D;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 1000;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width:300px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.map-button:hover {
    background-color: #572500;
}

.btn, .map-button {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.card-section {
    margin-bottom: 1.5rem;
    width:100%;
    background-color:#F9F9F9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-section:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-section h2 {
    cursor: pointer;
    color: black;
    padding: 0.8rem 1rem;
    border-radius: 5px;
    margin: 0;
    font-size: 1.5rem;
    text-align: left;
    margin-left: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
}

.card-section h2 .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-right: 20px;
}

.card-section h2.open .arrow {
    transform: rotate(90deg);
}

.card-section h3 {
    width:100%;
    text-align: left;
    margin-bottom: 10px;
}

.card-section .content {
    margin-top: 1rem;
    
}

.card-section .content .card {
    margin-bottom: 1rem;
}

.centered-map-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #D8531D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#scroll-to-top img {
    width: 24px;
    height: 24px;
}

#scroll-to-top:hover {
    background: #572500;
}

#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.modal-content {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

#modal-image {
    max-width: 100%;
    max-height: 100%;
}

.modal-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 1rem;
}

.modal-images img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    border: 3px solid #D8531D;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.modal-images img:hover {
    transform: scale(1.1);
    border-color: #572500;
}

.close {
    position: fixed;
    top: 45px;
    right: 25px;
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px; 
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1100;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
    color: #D8531D;
}

#single-image-modal .modal-content {
    position: relative;
    background: white;
    padding: 4rem;
    border-radius: 10px;
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#single-image-modal img {
    max-height: 70vh;
    border-radius: 5px;
}

#single-image-modal .prev-btn,
#single-image-modal .next-btn {
    background: #572500;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 1000;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 10px;
    transition: background-color 0.3s ease;
}

#single-image-modal .prev-btn:hover,
#single-image-modal .next-btn:hover {
    background: #572500;
}

#single-image-modal .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    font-weight: 1000;
    color: white;
    cursor: pointer;
}

#single-image-modal .close:hover {
    color: #D8531D;
}

#single-image-modal .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

#single-image-modal .carousel-btn.prev {
    left: 10px;
}

#single-image-modal .carousel-btn.next {
    right: 10px;
}

#single-image-modal .carousel-btn img {
    height: 50px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

#single-image-modal .carousel-btn img:hover {
    transform: scale(1.1);
}

.gallery-location {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-location img {
    width: 30px;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.gallery-header img {
    width: 30px;
}

.gallery-title {
    font-weight: 1000;
    margin: 0;
}

.gallery-price {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #D8531D;
    padding: 0.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 1000;
    white-space: nowrap;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    overflow: hidden;
}

.gallery-price img {
    width: 20px;
    height: 25px;
}

.gallery-price:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.price-text {
    font-size: 1.6rem;
    font-weight: 1000;
}

/* Responsive Styles */

/* For tablets and small desktops */
@media (max-width: 768px) {

    header {
        position: relative;
      }

    .container {
      padding: 0 1rem;
    }
  
    section {
      margin: 3rem auto;
      padding: 1.5rem;
    }
  
    nav ul {
      text-align: center;
    }
    nav ul li {
      display: block;
      margin: 10px 0;
    }
    .navbar {
      flex-direction: column;
      gap: 0.5rem;
    }
    
    .about-container {
      flex-direction: column;
      align-items: center;
    }
    .description,
    .location {
      max-width: 100%;
    }
    
    .map-container,
    .map-button-container {
      max-width: 100%;
    }
    
    .carousel-images {
      height: 300px;
    }
    .carousel-images img {
      height: 300px;
    }
    
    .cards {
      flex-direction: column;
      align-items: center;
    }
    .card {
      margin-left: 0;
      max-width: 100%;
    }

    .content{
        padding: 20px;
    }

    .gallery-title {
        font-size: 2rem;
        width: 60%;
    }

    .gallery-price {
        justify-content: center;
        text-align: center;
        width: 40%;
    }

    .gallery-price .price-text {
        font-size: 1.4rem;
    }   

    .gallery-price img {
        width: 15px;
        height: 15px;
    }
    
  }
  
  @media (max-width: 480px) {

    header {
      position: relative;
    }

    body {
      font-size: 1rem;
      margin: 0;
      padding: 0;
    }
  
    .container {
      padding: 0 1rem;
    }
    
    section {
      margin: 2rem auto;
      padding: 1rem;
    }
    
    header h1 {
      font-size: 1.8rem;
    }
    
    #hero {
      padding: 3rem 1rem;
    }
    #hero h2 {
      font-size: 2rem;
    }
    #hero p {
      font-size: 1rem;
    }
    
    .navbar a {
      padding: 0.5rem;
      font-size: 1.3rem;
    }
    
    .language-switcher img {
      width: 20px;
    }
    
    .cards {
      flex-direction: column;
      align-items: center;
    }
    .card {
      margin-left: 0;
      width: 90%;
    }
    
    .map-button {
      width: 100%;
    }

    .gallery-icons {
        flex-direction: column;
        align-items: left;
        margin-left: 20%;
        padding:5px;
    }

    #single-image-modal .modal-content {
        width: 95%;
        height: 95%;
        max-width: 95%;
        max-height: 95%;
        padding: 1rem;
        border-radius: 5px;
    }

    #single-image-modal .carousel-btn img {
        height:30px;
    }
}