/* ================= HOME PAGE ================= */
.home {
    position: relative;
    overflow: visible;
}

.home__container {
    min-height: 100vh;
    padding-top: 6rem;
    padding-bottom: 4rem;
}


.home__content {
    position: relative;
    z-index: 5;
    max-width: 550px;
    /* transform: translateX(-2rem); */


}

.home__data {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}


.home__subtitle {
    font-size: .813rem;
    color: hsl(195, 100%, 30%);
    letter-spacing: 3px;
}

.home__title {
    font-size: 2.25rem;
    font-family: "lora", sans-serif;
    color: hsl(210, 52%, 20%);
}
/* 
.home__description {
    margin-bottom: 1rem;
} */

.home__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, hsl(210, 55%, 20%), hsl(192, 62%, 25%));
    color: #fff;
    padding: 1.4rem 1.5rem;
    border-radius: .75rem;
    box-shadow: 0 24px 32px hsla(210, 54%, 24%, .3);
    margin: 0.3rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    min-height: 52px;
    min-width: 80px;
    cursor: pointer;
    transition: all .3s;
    position: relative;
    text-decoration: none;
}

.home__button:hover {
    transform: translateY(-2px);
}

.home__social-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 0.rem;
    flex-wrap: wrap;
}


.home__social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background-color: transparent;
    border: 2px solid hsl(210, 52%, 20%);
    border-radius: 50%;
    color: hsl(210, 52%, 20%);
    font-size: 1.3rem;
    transition: all .3s;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    margin: 4px;
}

.home__social-btn:hover {
    background-color: hsl(210, 52%, 20%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px hsla(210, 54%, 24%, .3);
}


.home__bird-1 {
    position: absolute;
    width: 50px;
    bottom: -5rem;
    left: 2rem;
    z-index: 10;
    pointer-events: none;
    animation: flyDiagonal 4s ease-in-out infinite;
}

.home__bird-2 {
    position: absolute;
    width: 60px;
    top: 2rem;
    right: 0;
    z-index: 10;
    pointer-events: none;
    animation: flyDiagonal 4s ease-in-out infinite;
}

@keyframes flyDiagonal {
    0%, 100% {
        transform: translate(0, 0) rotate(15deg);
    }
    50% {
        transform: translate(60px, -40px) rotate(-15deg);
    }
}


.home__images {
    z-index: 1;
}

.home__images img {
    position: absolute;
    max-width: initial;
    width: 600px;
    left: -7rem;
    bottom: 0;
    border-radius: 0 !important;
    clip-path: none !important;
}

/* Location Page */
.location {
    padding: 4rem 0;
    min-height: 100vh;
}

/* Left – Right layout */
.location__container {
    max-width: 1350px;
    grid-template-columns: 1.1fr .9fr;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* left map | right content */
    gap: 0.2rem;
    padding: 0 2rem;
}

/* Title full width */
.location__title {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 2.25rem;
    font-family: "lora", sans-serif;
    color: hsl(210, 52%, 20%);
    margin-bottom: 2rem;
}

/* Map box */
.map__container {
    background-color: hsla(0, 0%, 100%, .3);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px solid hsl(210, 52%, 20%);
}

/* Map size FIX (bigger + balanced) */
.map__embed iframe {
    width: 100%;
    height: 320px;
    /* 🔥 increased size */
    border-radius: 1rem;
}

/* Map buttons */
.map__actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.map__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: linear-gradient(90deg, hsl(210, 55%, 20%), hsl(192, 62%, 25%));
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: .75rem;
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
}

.map__button:hover {
    transform: translateY(-2px);
}

/* Directions */
.location__directions {
    display: flex;
    flex-direction: column;
}

.location__subtitle {
    color: hsl(210, 52%, 20%);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.directions__list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.direction__item {
    display: flex;
    gap: 1rem;
    background-color: hsla(0, 0%, 100%, .3);
    padding: 1.2rem;
    border-radius: 1rem;
    border: 2px solid hsl(210, 52%, 20%);
}

.direction__item i {
    font-size: 1.5rem;
    color: hsl(195, 100%, 30%);
}

.direction__item {
    display: flex;
    gap: 1rem;
    background-color: hsla(0, 0%, 100%, .3);
    padding: 1.2rem;
    border-radius: 1rem;
    border: 2px solid hsl(210, 52%, 20%);

    width: calc(100% - 200px);
    /* 🔥 ab 200px kam */
    margin: 0 auto;
    /* center aligned */
}

/* ===== Desktop & Large Screen Gap Fix (Refined) ===== */

/* Normal Desktop / Laptop (base value) */
@media screen and (min-width: 1024px) {
  .home {
    padding-top: 2rem;
    margin-top: -40px;   /* base margin */
    min-height: auto;
  }

  .home__container {
    align-items: center;
  }
}

/* Large Desktop (1440px and above) → ~20% reduced */
@media screen and (min-width: 1440px) {
  .home {
    padding-top: 3rem;
    margin-top: -64px;   /* 80px ka ~20% kam */
  }
}

/* Extra Large Screens (1920px and above) → ~40–50% reduced */
@media screen and (min-width: 1920px) {
  .home {
    padding-top: 4rem;
    margin-top: -48px;   /* aur kam, balanced look */
  }

  .home__container {
    max-width: 1400px;
    margin-inline: auto;
  }
}
 

/* Tablet */
@media screen and (max-width: 1024px) {
    .location__container {
        grid-template-columns: 1fr;
    }

    .map__embed iframe {
        height: 300px;
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    .location {
        padding: 2rem 0;
    }

    .map__embed iframe {
        height: 260px;
    }
}


/* ================= HERO IMAGES FIX ================= */
/* Ensure ALL hero images remain rectangular - never circular */
.home__img-1,
.home__img-2, 
.home__img-3,
.home__img-4,
.home__images img {
    border-radius: 0 !important;
    clip-path: none !important;
    border: none !important;
    outline: none !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    -webkit-clip-path: none !important;
    shape-outside: none !important;
}

/* ================= RESPONSIVE ================= */
@media screen and (max-width: 305px) {
    .home__title {
        font-size: 2rem;
    }
}

@media screen and (min-width: 376px) and (min-height:800px) {
    .home__container {
        padding-top: 10rem;
    }

    .home__images {
        width: 700px;
        left: -12rem;
    }
}

@media screen and (min-width: 480px) {
    .home__content {
        max-width: 305px;
    }

    .home__bird-2 {
        right: -3rem;
    }

    .home__images img {
        width: initial;
        left: 0;
    }
}

@media screen and (max-width: 1024px) {
    .home__title {
        font-size: 2.3rem;
    }

    .home__content {
        max-width: 500px;
    }

    .home__button {
        padding: 1rem 1.5rem;
        font-size: .9rem;
        min-height: 44px;
        min-width: 100px;
    }
}

@media screen and (min-width: 1025px) {
    .home__content {
        max-width: 550px;
    }

    .home__data {
        row-gap: 1rem;
    }

    .home__subtitle {
        font-size: .938rem;
    }

    .home__description {
        margin-bottom: 3rem;
    }

    .home__button {
        padding: .6rem 1rem;
        font-size: .85rem;
        min-height: 36px;
        min-width: 40px;
    }
}

@media screen and (min-width: 1300px) {
    .home__container {
        height: 950px;
        padding-top: 10rem;
    }

    .home__bird-2 {
        width: 80px;
        top: 0;
        right: -6rem;
    }

    .home__images img {
        bottom: -3rem;
    }
}

/* ================= GALLERY ================= */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

/* Gallery box */
.gallery__item {
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
}

/* FIX: image will never be circle */
.gallery__item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 0 !important;
    display: block;
}

/* Same ratio on all devices */
@media screen and (max-width: 575px),
screen and (min-width: 576px) and (max-width: 1024px),
screen and (min-width: 1025px) {
    .gallery__item {
        aspect-ratio: 4 / 3;
    }
}

/* ================= 🔥 IMPORTANT ADDITION ================= */
/* NORMAL WEBSITE LEFT–RIGHT GAP */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Mobile */
@media screen and (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Large desktop */
@media screen and (min-width: 1300px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}



/* ===== LAPTOP VIEWPORT FIX (≈1520×740) ===== */
@media screen and (min-width: 1400px) and (max-width: 1600px)
       and (max-height: 800px) {

    .home__content {
        padding-left: 13rem;
    }

    .home__images img {
        left: -13rem;
    }
}
/* ===== FIX: Home section alignment 1395px–1595px ===== */
@media screen and (min-width: 1395px) and (max-width: 1595px){
    .home__container{
        padding-top:5rem;   /* navbar ke niche exact */
        padding-left: 2rem;  /* left alignment adjust */
        padding-right: 2rem;
        margin-left: initial;
        }

    .home__content{
        transform: translateX(0); /* left shift remove */
        margin-top: 0;            /* top margin remove */
        max-width: 520px;         /* responsive */
    }

    .home__images img{
        left: 0;                  /* container ke andar aligned */
        bottom: -3rem;            /* previous bottom offset maintain */
        width: auto;              /* responsive */
    }
}