/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY AND MAIN STYLING */
html, body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000000;
    color: #ffffff;
    z-index: 0;
    overflow-x: hidden;
    /* background-image: url("../images/f1.png"); */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    font-size: 100%;
}

main {
    margin-top: 70px;
    padding-bottom: 8px;
}

/* Background overlay */
/* body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("../images/f3.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 1;
    z-index: -1;
    animation: backgroundZoom 60s ease-in-out infinite alternate;
} */


body::before,
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Background Image */
body::before {
    background-image: url("../images/f7.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 1;
    animation: backgroundZoom 60s ease-in-out infinite alternate;
}

/* Semi-transparent black overlay with blending */
body::after {
    background-color: rgba(0, 0, 0, 0.4);
    mix-blend-mode: multiply;
}

/* CONTAINER - Responsive Widths */
.container {
    width: 100%;
    max-width: 1320px;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}

/* RESPONSIVE TYPOGRAPHY */
body {
    font-size: 1rem; /* default */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 992px) {
    body {
        font-size: 0.95rem;
    }

    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 0.9rem;
    }

    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 0.85rem;
    }

    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* OPTIONAL: Responsive background fallback for small screens */
@media (max-width: 480px) {
    body {
        background-attachment: scroll;
        background-size: contain;
    }

    body::before {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        height: 100vh;
    }
}

/* Ensure the carousel and images are responsive */

#homepageCarousel {
  width: 100%;
  max-width: 100%; 
}

.carousel-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* border-radius: 1rem; */
}

.custom-carousel {
  width: 100%;
  max-width: 1350px;
  /* margin: auto;
  margin-left: 15px;
  margin-right: 15px; */
  padding: 0.5rem;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

#homepageCarousel .carousel-inner {
    width: 100%;
    height: auto;
    max-height: 80vh;
    margin: auto;
    border-radius: 1rem;
    overflow: hidden;
}

#homepageCarousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Responsive height adjustments */
@media (max-width: 992px) {
  #homepageCarousel .carousel-inner {
        height: 400px;
        width: 90%;
        max-height: 60vh;
    }
}

@media (max-width: 768px) {
    #homepageCarousel .carousel-inner {
        height: 300px;
        width: 95%;
        max-height: 50vh;

    }
}

@media (max-width: 576px) {
    #homepageCarousel .carousel-inner {
        height: 250px;
        width: 100%;
        max-height: 50vh;

  }
}

/* === Carousel Navigation Buttons === */
.carousel-control-prev,
.carousel-control-next {
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 70% 70%;
  filter: invert(1);
}

/* Hover effect */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Smaller screens – reduce size */
@media (max-width: 576px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }
}



.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card-hover:hover {
    transform: translateY(-5px) scale(1.03) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

#gallery {
  /* background-color: #f8f9fa; light background for contrast */
  border-radius: 12px;
  padding: 40px 20px;
}

#gallery h1,
#gallery p {
  color: #ffffff;
}

.gallery {
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery:hover img {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

#gallery .row {
  row-gap: 24px;
}

/* Responsive tweaks for smaller screens */
@media (max-width: 768px) {
  #gallery .col-md-4 {
    margin-bottom: 20px;
  }
}


.contact-section {
    border-radius: 8px;
}

/* .contact-section h2 {
    color: #222;
} */

.contact-section h4 {
    color: #ffffff;
}

.contact-section a {
    color: #0d6efd;
    font-weight: 500;
}

.h2-text {
    color: #7fbdff;
}

.pricing-heading {
    color: #629eff;
}

.contact-section a:hover {
    text-decoration: underline;
}

.address {
    font-size: 1rem;
    line-height: 1.6;
}

/* HEADER TEXT */
h1.display-4 {
    font-weight: 700;
    color: #ffffff;
}

p.lead {
    color: #fcfcfc;
    font-size: 1.2rem;
}

/* CARD STYLING */
.card-title {
    color: #629eff;
    font-size: 1.25rem;
}

.link-primary {
    color: #629eff !important;
}

.contact{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.35);
}

.pricing{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.35);
}

.map{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; */
    padding: 1rem;
    border: 1px solid #ffffff55;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    color: #ffffff;

}

.card h3 {
    font-size: 1.25rem; 
    margin-bottom: 0.5rem;
    text-align: center; 
}

.card p {
    font-size: 1rem;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

ul li {
    font-size: 1rem;
    padding-left: 0.5rem;
}

/* NAVBAR */
.navbar {
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000; 
    background-color: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(4px);
}

.navbar-dark .navbar-nav .nav-link {
    margin-left: 3%;
    margin-right: 3%;
    color: #f8f9fa;
    font-weight: 500;
    transition: color 0.3s ease;
}


.navbar-nav .nav-link.active {
  color: #28f6e5;
  border-bottom: 2px solid #28f6e5;
  font-weight: 600;
}

.navbar>.container-fluid {
    margin-left: 3%;
    margin-right: 3%;
}

/* TABLES */
.transparent-table {
  background-color: transparent !important;
}

.transparent-table th,
.transparent-table td {
  background-color: transparent !important;
  color: rgb(255, 255, 255);
}

.transparent-table:hover {
  backdrop-filter: blur(2px);
}

.transparent-table th {
  /* font-weight: ; */
  border-color: rgba(255, 255, 255, 1); /* light border */
}

/* BUTTONS */
.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 0.6rem 1.4rem;
    font-size: 1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    border-color: #007bff;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background-color: #0056b3;
    border-color: #004999;
}

/* FOOTER */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    font-size: 0.9rem;
    color: #ffffff;
    text-align: center;
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
    .card-img-top {
        height: 160px;
    }

    h1.display-4 {
        font-size: 2rem;
    }

    p.lead {
        font-size: 1rem;
    }
}


@keyframes backgroundZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.fade-in-page {
    animation: fadeIn ease 1.2s;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Responsive behavior for very small screens */
@media (max-width: 480px) {
    .card {
        padding: 0.75rem;
    }

    .card h3 {
        font-size: 1.1rem;
    }

    .card p {
        font-size: 0.95rem;
    }
}   

.list-group-item {
    background-color: transparent !important;
    border-color: rgba(0, 0, 0, 0);
    color: #fff; 
}
