@font-face {
    font-family: 'Nova Flat';
    src: url("../fonts/NovaFlat-Regular.ttf");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Karla';
    src: url("../fonts/Karla-Regular.ttf");
    font-weight: normal;
    font-style: normal;
}

/*:root {*/
/*    --accent-gold: rgb(241, 205, 0);*/
/*    --accent-text: #fff;*/
/*    --background-primary: #222;*/
/*    --background-secondary: #1e1e1e;*/
/*    --background: #121212;*/
/*    --dark-gold: rgb(207, 176, 2);*/
/*    --box-shadow: #8383832c;*/
/*}*/

:root {
    --accent-gold: #d4af37; /* optional, or remove entirely */
    --accent-text: #2b2b2b; /* dark text instead of white */
    --background: #fdfbf8; /* main background – warm white */
    --background-primary: #f4f0ea; /* soft beige/ivory */
    --background-secondary: #e9e4dc; /* slightly darker beige */
    --box-shadow: #bfbfbf2c; /* light grey shadow */
    --button-bg: #fff;
    --button-text: #2b2b2b;
    --button-hover-bg: #e2dacd;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    box-shadow: 0 0 2px 1px var(--box-shadow);
}

.inline-menu {
    padding: 20px;
    text-align: left;
    font-size: 1.2rem;
    box-shadow: 0 1px 3px 1px var(--box-shadow);
    font-weight: bold;
}

.inline-menu a:last-child {
    color: var(--accent-text);
}

.swiper {
    width: 98%;
    /* max-width: 800px; */
    height: 450px;
    margin: 10px auto 0;
}

@media (max-width: 1200px) {
    .swiper {
        width: 92%;
    }
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.swiper-thumb {
    height: 100px;
    box-sizing: border-box;
    padding: 10px 0;
}

.swiper-thumb .swiper-slide {
    opacity: 0.4;
    cursor: pointer;
}

.swiper-thumb .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: white !important;
}

/* Pagination dots */
.swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background: rgba(255, 255, 255, 0.959) !important; /* brighter white */
  opacity: 1;
  border: 2px solid rgba(179, 179, 179, 0.733); /* optional border for contrast */
  transition: transform 0.2s ease;
}

.swiper-pagination-bullet-active {
  background: #fff !important; /* solid white */
  transform: scale(1.3); /* make active dot slightly bigger */
  border-color: #161616e0 !important;
}

.spacer-right {
    margin-left: 0;
    margin-right: auto;
}

.font-novaflat {
    font-family: "Nova Flat", system-ui;
    font-weight: 400;
    font-style: normal;
}

.font-karla {
    font-family: 'Karla', serif;
    font-weight: 400;
    font-style: normal;
}

/* Global Styles */
body {
    font-family: 'Karla', serif;
    font-weight: 400;
    font-style: normal;

    background-color: var(--background);
    color: var(--accent-text);
    margin: 0;
    padding: 0;
    text-align: center;

    font-size: 1rem;
}

h1, h2, h3 {
    color: var(--accent-gold);

    font-family: "Nova Flat", system-ui;
    font-weight: 400;
    font-style: normal;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #e6c670;
}

/* Header & Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 0 20px;
    background: var(--background);
    position: sticky;
    top: 0;
    z-index: 1000;
    font-weight: bold;

    box-shadow: 0 1px 3px 1px var(--box-shadow);
}

header img {
    margin-right: 10px !important;
    margin-left: -10px;
}

.wrapper h1 {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 .5rem !important;
    padding: .5rem !important;
    color: var(--accent-text);
    letter-spacing: 2px;
}

.logo-name {
    color: var(--accent-text);
    font-weight: bold;
    font-size: 1.1rem;
    margin-right: 0;
}

@media (max-width: 500px) {
    .logo-name {
        margin-right: auto;
    }
}

.nav-horizontal {
    margin-left: auto;
}

.nav-horizontal ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
}

.nav-horizontal ul li {
    display: inline;
}

.nav-vertical {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    margin: auto;
    width: 100%;
    height: 100vh;
    background-color: #1b1b1be1;
}

.nav-horizontal + .active {
    display: block;
}

.nav-vertical ul {
    list-style: none;
    gap: 20px;
    padding: 0;
}

.nav-vertical ul li {
    display: block;
    padding: 10px;
    font-size: 1.5rem !important;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 850px) {
    .hamburger {
        display: block;
    }

    .nav-horizontal {
        display: none;
    }

    .wrapper h1 {
        font-size: 2rem;
    }

    .offer-cta {
        margin-left: 0;
        margin-right: auto;
        /* width: 50%; */
    }
}

@media (max-width: 500px) {
    .blink-button {
        position: fixed;
        top: 50px;
        left: 0;
        width: 90%;
    }

    .wrapper h1 {
        margin-top: 3rem !important;
        font-size: 1.3rem;
    }
}

.blink-button {
    font-size: 18px;
    padding: 8px;
    border: 2px solid var(--accent-gold);
    margin: 5px auto 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    animation: blink 4s infinite;
}

@keyframes blink {
    0%, 100% {
        background-color: var(--background-secondary);
        color: var(--accent-text);
    }
    50% {
        background-color: var(--background);
        color: var(--accent-gold);
    }
}

section#get-offer {
    width: 100%;
}

form.offer {
    display: flex;
    padding: 20px;
    border-radius: 8px;
    color: var(--accent-text);
    margin: auto;
    max-width: 600px;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
}

form.offer h2 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

form.offer label {
    display: block;
    text-align: left;
    padding: 10px 0;
    font-weight: bold;
    margin-top: 5px;
}

form.offer input, form.offer select, form.offer textarea {
    background: var(--background-primary);
    border: 1px solid var(--accent-text);
    color: var(--accent-text);
    padding: 8px;
    border-radius: 5px;

    outline-color: transparent !important;
    outline: none;
}

form.offer button {
    display: block;
    width: 100%;
    margin: 10px auto auto;
    padding: 10px;
    background: var(--background);
    color: var(--accent-text);
    border: solid 1px var(--accent-text)    ;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}

form.offer button:hover {
    /*background: var(--background);*/
    color: var(--accent-gold);
}

/* Custom Alert Style */
.alert {
    display: none;
    background-color: #d9534f;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 16px;
}

/* About Section */
section#about {
    background: var(--background-primary);
    padding: 30px;
    text-align: center;
}

.about-container {
    display: block;
}

/* Gallery Section */
section#gallery {
    padding: 30px;
    text-align: center;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 columns by default */
    gap: 15px;
    padding: 10px;
}

.gallery-item {
    width: 100%;
    height: 200px; /* Set the height of each item */
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Preview Modal Styles */
.preview-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.preview-modal img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

.modal-controls {
    position: absolute;
    top: 50%;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
}

.modal-controls button {
    background: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
    margin: 0 40px;
}

.modal-controls button:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Services section */
section#services {
    padding: 20px 20px;
    overflow: hidden;
}

section#services-list {
    padding: 20px 20px;
    overflow: hidden;
    background-color: var(--background-primary);
}

.services-container {
  display: grid !important;
  gap: 20px !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  /* padding-bottom: 10px; */
}

.services-container::-webkit-scrollbar,
.services-container::-webkit-scrollbar-thumb,
.services-container::-webkit-scrollbar-track {
  display: none; /* or remove these blocks entirely */
}

.service-card-link {
    color: none;
}

.service-card {
    display: block;
    background: var(--background-primary);
    background: var(--background-primary);
    padding: 10px;
    border-radius: 8px;
    margin: 0;
    min-height: 355px;
}

.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-card p {
    color: var(--accent-text);
}

.service-card-image {
    width: auto;
    border-radius: 8px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    aspect-ratio: 1;
}

.show-more {
    display: block;
    margin: auto;
    margin-top: 10px;
    background-color: var(--accent-text);
    width: max-content;
    border: none;
    border-radius: 5px;
    padding: 5px 8px;
    color: var(--background);
    cursor: pointer;
}

.services-list li {
    text-align: left;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.show-more:hover {
    color: var(--background-secondary);
    background-color: var(--accent-gold);
}

section#service-view {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.service-header {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}


.service-image {
    flex: 1 1 400px;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    min-height: 200px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

@media (max-width: 820px) {
    .service-image {
        max-width: 90%;
    }
}

.service-info {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section#service-gallery {
    padding: 20px;
    background-color: var(--background-secondary);
}

.service-gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    padding: 20px;
}

.service-gallery-item {
    width: 100%;
    height: 200px; /* Set the height of each item */
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Contact Section */
section#contact {
    padding: 50px 20px;
    background: var(--background-secondary);
}

.contact-info {
    font-size: 1.2em;
}

.contact-info i {
    color: var(--accent-gold);
}

.social-links a {
    display: inline-block;
    margin: 10px;
    font-size: 1.5em;
}

section#error-404 {
    height: 80vh;
    padding: 2rem;
}

section#error-404 h1 {
    font-size: 6rem;
}

/* Footer */
footer {
    background: var(--background);
    padding: 10px;
    box-shadow: -1px 0 3px 1px var(--box-shadow);
}

#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--background);
    color: var(--accent-gold);
    border: solid 2px var(--accent-gold);
    padding: 10px 12px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none; /* Initially hide the button */
    z-index: 1000;
}

#scrollToTopBtn:hover {
    background-color: var(--accent-gold);
    color: var(--background);
}
