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

body {
    background-color: white;
    padding-top: 80px;
}

html {
    scroll-behavior: smooth;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #faf7f2;
    width: 100%;
    padding: 12px 20px;
    border-bottom: 1px solid #e0d8ce;
    border-radius: 10px;
    color: #2d6a4f;
    position: fixed;
    left: 0;
    top: 0;
}

.nav-bar h1 {
    font-family:
        playfair display,
        serif;
    font-style: italic;
    font-size: 28px;
}

.nav-bar p {
    font-family: poppins;
    margin-left: 10px;
    margin-top: 5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin: 15px 20px;
    font-size: 18px;
}

.nav-links a {
    text-decoration: none;
    color: #2d6a4f;
    transition: 0.3s ease;
    &:hover {
        text-decoration: underline;
        color: #c4953a;
        transform: scale(1.1);
    }
}

.hero {
    background-image:
        linear-gradient(
            to right,
            rgba(255, 255, 255, 0.9) 40%,
            rgba(255, 255, 255, 0.2) 100%
        ),
        url("hero2.jpg");
    background-size: cover;
    background-position: center;
    min-height: 500px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ratings {
    font-size: 14px;
    padding: 10px 10px;
    border-radius: 20px;
}

.ratings i {
    color: #ffd43b;
}

.hero-content h1 {
    color: #2d6a4f;
    font-size: 32px;
    margin: 10px 15px;
}

.hero-content span {
    font-size: 22px;
    margin: 25px 15px;
}

.hero-btns {
    display: flex;
    margin: 15px;
    gap: 30px;
}

.delivery-btn {
    font-size: 16px;
    padding: 12px 20px;
    background-color: #2d5c3e;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    font-family: poppins;
}

.clock-btn {
    font-size: 16px;
    padding: 12px 20px;
    border: 2px solid #2c2c2c;
    border-radius: 25px;
    background-color: transparent;
    color: #2c2c2c;
    cursor: pointer;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 25px;
}

.card {
    background-color: #faf7f2;
    border: 1px solid #e0d8ce;
    border-radius: 12px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
    &:hover {
        transform: scale(1.1);
    }
}

.card i {
    display: flex;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #e0d8ce;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-top: 10px;
}

.card h4 {
    font-family: poppins;
    font-weight: bold;
    font-size: 25px;
    margin-top: 10px;
}

.card p {
    font-size: 15px;
    padding: 10px 20px;
}

.card a {
    text-decoration: none;
    color: rgb(227, 121, 17);
    font-family: poppins;
}

.map-section {
    padding: 40px 25px;
}

.map-title {
    display: flex;
    justify-content: center;
    font-family: poppins;
    font-size: 28px;
    color: #2c2c2c;
    margin-bottom: 10px;
}

.map-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 12px;
}

.reviews-section {
    padding: 40px 25px;
    background-color: #faf7f2;
}

.reviews-title {
    font-family: poppins;
    font-size: 28px;
    color: #2c2c2c;
    text-align: center;
    margin-bottom: 25px;
}

.reviews-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0 20px;
}

reviews-container::-webkit-scrollbar {
    display: none;
}

.reviews-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.review-card {
    min-width: 280px;
    max-width: 280px;
    background-color: white;
    border: 1px solid #e0d8ce;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.review-star {
    color: #ffd43b;
    font-size: 18px;
    margin-bottom: 12px;
}

.review-tex {
    font-size: 14px;
    color: #4a4a4a;
    font-family: poppins;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
}

.reviwer-name {
    font-size: 14px;
    color: #2d5c3e;
    font-weight: 600px;
}

.footer {
    padding: 20px 30px;
    width: 100%;
    height: auto;
    background-color: #2d5c3e;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cafe-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cafe-logo img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
}

.Cafe-name {
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
    justify-content: center;
    align-items: center;
}

.Cafe-name h2 {
    color: #faf7f2;
    font-family: poppins;
    font-weight: 700;
}

.tagline {
    margin-top: 5px;
    font-family: poppins;
    font-size: 13px;
    color: #b8d4c8;
}

.Cafe-name .loction {
    color: #d4e8dc;
    font-family: poppins;
    font-size: 12px;
    margin-top: 5px;
}

.social {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.social h2 {
    font-size: 16px;
    font-family: poppins;
    color: #faf7f2;
}

.social icons {
    display: flex;
    gap: 15px;
}

.social a {
    font-size: 24px;
    transition: 0.3s ease;
}

.social a:hover i {
    color: white;
    transform: scale(1.2);
}

.social a i {
    color: #db8a1f;
}

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

body {
    background-color: #f5f0ea;
}

html {
    scroll-behavior: smooth;
}

.gallery-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.gallery-header h1 {
    font-family: poppins;
    font-size: 28px;
    color:;
}

.gallery-header p {
    font-style: italic;
    font-size: 10px;
    color: #2c2c2c;
}

.gallery-btns {
    display: flex;
    justify-content: space-between;
    padding: 30px 30px;
    gap: 0px;
    cursor: pointer;
}

.gallery-btns button {
    background-color: #c0392b;
    border: none;
    border-radius: 10px;
    padding: 0px 10px;
    color: white;
    font-size: 20px;
    font-family: poppins;
    transition: 0.3 ease;
}

.gallery-btns button:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 7px black;
}

.active:hover {
    background-color: gold;
    color: black;
    font-style: italic;
    font-weight: 700;
}

.photo-grid {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
}

.photo-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.3s ease;
}

.photo-card:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s ease;
}

.photo-card:hover .overlay {
    opacity: 1;
}

.photo-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.overlay p {
    font-size: 15px;
    font-family: poppins;
    font-style: italic;
    color: white;
}

/* MOBILE - 480px tak */
@media (max-width: 480px) {
    body {
        padding-top: 100px;
    }

    .nav-bar {
        flex-direction: column;
        padding: 10px 15px;
        border-radius: 0;
    }

    .nav-links {
        gap: 20px;
        margin: 10px 0;
        font-size: 14px;
    }

    .nav-bar h1 {
        font-size: 22px;
    }

    .nav-bar p {
        font-size: 11px;
        margin-left: 0;
    }

    .hero {
        min-height: 350px;
        padding: 20px 15px;
    }

    .hero-content h1 {
        font-size: 22px;
        margin: 8px 10px;
    }

    .hero-content span {
        font-size: 14px;
        margin: 10px;
    }

    .ratings {
        font-size: 12px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 10px;
        margin: 10px;
    }

    .delivery-btn,
    .clock-btn {
        font-size: 14px;
        padding: 10px 18px;
        width: 100%;
        text-align: center;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }

    .card h4 {
        font-size: 18px;
    }

    .card p {
        font-size: 13px;
        padding: 8px 15px;
    }

    .card i {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .map-title {
        font-size: 22px;
    }

    .map-container iframe {
        height: 200px;
    }

    .map-section {
        padding: 25px 15px;
    }

    .reviews-section {
        padding: 25px 15px;
    }

    .reviews-title {
        font-size: 22px;
    }

    .review-card {
        min-width: 240px;
        max-width: 240;
        padding: 20px 15px;
    }

    .review-tex {
        font-size: 13px;
    }

    .footer {
        flex-direction: column;
        gap: 20px;
        padding: 25px 15px;
        text-align: center;
    }

    .Cafe-name {
        align-items: center;
        padding: 10px 0;
    }

    .Cafe-name h2 {
        font-size: 18px;
    }

    .gallery-header {
        padding: 20px 15px;
    }

    .gallery-header h1 {
        font-size: 22px;
    }

    .gallery-header p {
        font-size: 9px;
    }

    .gallery-btns {
        padding: 15px 10px;
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .gallery-btns button {
        font-size: 14px;
        padding: 5px 12px;
    }

    .photo-grid {
        grid-template-columns: 1fr;
        padding: 10px 10px;
    }

    .photo-card img {
        height: 220px;
    }
}

/* TABLET - 481px to 768px */
@media (min-width: 481px) and (max-width: 768px) {
    .nav-bar h1 {
        font-size: 24px;
    }

    .nav-links {
        gap: 20px;
        font-size: 16px;
    }

    .hero {
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-btns {
        gap: 15px;
    }

    .info-cards {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 20px;
    }

    .card h4 {
        font-size: 20px;
    }

    .card p {
        font-size: 14px;
    }

    .map-container iframe {
        height: 250px;
    }

    .reviews-section {
        padding: 35px 20px;
    }

    .reviews-title {
        font-size: 26px;
    }

    .review-card {
        min-width: 260px;
        max-width: 260px;
        padding: 22px 18px;
    }

    .review-tex {
        font-size: 14px;
    }

    .reviews-container {
        gap: 15px;
    }

    .footer {
        padding: 20px 20px;
    }

    Cafe-name h2 {
        font-size: 18px;
    }

    .Cafe-name .tagline {
        font-size: 12px;
    }

    .gallery-header {
        padding: 25px 20px;
    }

    .gallery-header h1 {
        font-size: 26px;
    }

    .gallery-btns {
        padding: 20px 20px;
        justify-content: center;
        gap: 10px;
    }

    .gallery-btns button {
        font-size: 16px;
        padding: 5px 15px;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 15px 15px;
    }

    .photo-card img {
        height: 250px;
    }
}
/* LAPTOP - 769px to 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        min-height: 450px;
    }

    .info-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 25px 30px;
    }

    .card h4 {
        font-size: 22px;
    }

    .map-section {
        padding: 40px 30px;
        max-width: 900px;
        margin: 0 auto;
    }

    .map-title {
        font-size: 28px;
    }

    .map-container iframe {
        height: 350px;
    }

    .reviews-section {
        padding: 60px 50px;
        max-width: 1300px;
        margin: 0 auto;
    }

    .reviews-title {
        font-size: 36px;
    }

    .review-card {
        min-width: 320px;
        max-width: 320px;
        padding: 30px 22px;
    }

    .review-tex {
        font-size: 15px;
    }

    .reviews-container {
        gap: 30px;
    }

    .gallery-header {
        padding: 30px 30px;
    }

    .gallery-header h1 {
        font-size: 30px;
    }

    .gallery-btns {
        justify-content: center;
        gap: 15px;
    }

    .gallery-btns button {
        font-size: 18px;
        padding: 8px 20px;
    }

    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 20px 30px;
    }

    .photo-card img {
        height: 280px;
    }
}

/* DESKTOP - 1025px+ */
@media (min-width: 1025px) {
    .hero {
        min-height: 550px;
        padding: 60px 40px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .info-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding: 30px 50px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .card h4 {
        font-size: 25px;
    }

    .card p {
        font-size: 16px;
    }

    .map-container iframe {
        height: 400px;
    }

    .map-section {
        max-width: 1200px;
        margin: 0 auto;
    }

    .reviews-section {
        padding: 50px 40px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .reviews-title {
        font-size: 32px;
    }

    .reviews-container {
        gap: 25px;
    }

    .review-card {
        min-width: 300px;
        max-width: 300px;
    }

    .footer {
        padding: 25px 50px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .cafe-logo img {
        width: 80px;
        height: 80px;
    }

    .gallery-header {
        padding: 40px 50px;
    }

    .gallery-header h1 {
        font-size: 36px;
    }

    .gallery-btns {
        justify-content: center;
        gap: 20px;
        padding: 30px 50px;
    }

    .gallery-btns button {
        font-size: 18px;
        padding: 10px 25px;
    }

    .photo-grid {
        grid-template-columns: repeat(4, 1fr);
        padding: 30px 50px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .photo-card img {
        height: 300px;
    }
}
