/* ========== RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensures padding/border don't affect width/height */
    scroll-behavior: smooth;
}

#main-content,
#about-us-section,
#menu-section,
#footer-section {
  scroll-margin-top: 80px; /* your header height */
}


/* ========== GLOBAL STYLES ========== */
body {
    font-family: Arial, Helvetica, sans-serif;
    color: whitesmoke;
}

/* ========== HEADER ========== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0);
    padding: 10px 30px;
    z-index: 10;
    background: #3d0e08;
}

.header-text h3 {
    font-size: 30px;
    font-weight: 900;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fa-mug-hot {
    color: #f8972f;
}

/* ========== NAVIGATION BUTTONS ========== */
.buttons-header {
    display: flex;
    gap: 20px;
}

.buttons-header .button-list {
    padding: 8px 16px;
    border-radius: 30px;
    background: none;
    color:white;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease, transform 0.2s ease;
}

.buttons-header .button-list:hover {
    background: #fc9928;
    color: black;
    transform: scale(1.05);
}

.buttons-header .fa-times {
    color: black;
    font-size: 20px;
}

.header .fa-bars,
.buttons-header .fa-times {
    display: none;
}

/* ========== MAIN CONTENT ========== */
.main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20rem;
    padding: 20px;
    height: 100vh;
    background-color: #3d0e08;
}

.main-text .title {
    font-family: cursive;
    font-style: italic;
    font-size: 35px;
    color: #e28a24;
}

.main-text .subtitle {
    font-size: 35px;
    font-weight: 700;
    margin-top: 20px;
    color: white;
}

.main-text .description {
    font-weight: 300;
    margin-top: 15px;
    line-height: 1.6;
    font-size: 20px;
    color: white;
    max-width: 600px;
}


/* ========== BUTTON SECTION ========== */
.btn-section {
    display: flex;
    padding: 30px 0;
    gap: 23px;
}

.orderbtn, .contactbtn {
    padding: 10px 26px;
    text-decoration: none;
    font-weight: 400;
    border: 2px solid transparent;
    background-color: #e28a24;
    border-radius: 30px;
    color: #881d0f;
    cursor: pointer;
    transition: 0.3s ease;
}   

/* Button hover effect */
.orderbtn:hover, .contactbtn {
    color: white;
    border-color: white;
    background: transparent;
}

.contactbtn:hover {
    color: #881d0f;
    border-color: #e28a24;
    background: #e28a24;
}

/* ========== IMAGE STYLING ========== */
.main-content .main-content-img {
    max-width: 600px;
    height: auto;
    border-radius: 10px;
}

/* ========== END OF MAIN-CONTENT ========== */

/* ========== START OF ABOUT-US-CONTENT ========== */
.about-us-section {
    background: rgb(250, 230, 246);
    min-height: 100vh;
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-us-section-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12% 0 0 0;
    gap: 20rem;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
}

.about-details {
    flex: 1;
    color: #000;
    font-size: 1rem;
    line-height: 1.6;
}

.about-us-title {
  text-align: center;
  text-transform: uppercase;
  font-size: 2rem;
  color: #000;
  font-weight: bold;
  position: relative;
  display: inline-block;
}

/* Underline */
.about-us-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  background: #e28a24;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.about-us-title:hover::after {
  transform: scaleX(1);
}

.about-details .about-us-description {
    margin-top: 20px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #000;
    max-width: 600px;
}

.about-image-wrapper .coffee-post {
    max-width: 500px;
    height: auto;
    border-radius: 30px;
}

.fa-facebook:hover {
    background-color: #1877F2;
    color: #fff;
}

.fa-instagram:hover {
    background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
    color: #fff;
}

.fa-x-twitter:hover {
    background-color: #000;
    color: #fff;
}

.social-list-link {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-list-link a {
    font-size: 1.5rem;
    background-color: rgb(128, 128, 128);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000000;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-list-link a:hover {
    transform: scale(1.1);
    border: transparent;
}

/* ========== END OF ABOUT-US-CONTENT ========== */

/* ========== MENU-CONTENT ========== */
.menu-section
 {
    background: #1b1b1b;
    padding: 80px 5%;
    gap: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.menu-title {
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.menu-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 10px;
    background: #e28a24;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.menu-title:hover::after {
    transform: scaleX(1);
}

.menu-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1300px;
    width: 100%;
}

.menu-item {
    border-radius: 20px;
    background-color: #252424;
    padding: 40px;
    width: 400px;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-item:hover {
    background-color: #333131;
    transform: translateY(-10px);
}

.menu-item-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
}

/* ========== END OF MENU-CONTENT ========== */

/* ========== START OF CONTACT-US ========== */

.footer-section {
    background: #e28a24;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 20px 0;
    gap: 20px;
    height: auto;
    width: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-content: center;
    gap: 30px;
}

.footer-links .facebook {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 18px;
}

.footer-links .instagram {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 18px;
}

.footer-links .x-twitter {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 18px;
}

.footer-copyrights {
    margin-top: 10px;
    font-size: 14px;
}

/* ========== RESPONSIVE (Mobile/Tablet) ========== */
@media (max-width: 900px) {
    .main-content {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        padding: 30px 20px 20px;
        gap: 20px;
    }

    .main-content .main-content-img {
        max-width: 400px;
        width: 90%;
    }

    .main-content .main-text :is(.subtitle, .description) {
        max-width: 100%;
    }

    .main-content .main-text .btn-section {
        justify-content: center;
    }

    .maint-text .title {
        font-size: 16px;
    }

    .main-text .subtitle {
        font-size: 24px;
    }

    .main-text .description {
        font-size: 16px;
        gap: 10px;
    }

    .buttons-header {
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: -400px;
        width: 200px;
        height: 100%;
        background: #fffffff8;
        gap: 60px;
        padding: 60px 20px; /* T,R,B,L*/
        z-index: 20;
        transition: left 0.2s ease;
    }

    body.show-mobile-menu .buttons-header {
        left: 0;
    }

    body.show-mobile-menu .header::before {
        content: "";
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        backdrop-filter: blur(5px);
        background: rgba(0 0 0 0 0.2);
    }

    .buttons-header .button-list {
        color: #e28a24;
    }

    .buttons-header .fa-times {
        display: block;
        font-size: 24px;
        align-self: flex-end;
        margin-bottom: 20px;
        background: none;
        border: none;
        color: #e28a24;
    }

    .header .fa-bars {
        display: block;
        color: #e28a24;
        background: none;
        border: none;
        font-size: 25px;
    }

    /* ========== END OF MAIN-CONTENT ========== */

    /* ========== START OF ABOUT-US-CONTENT ========== */
    .about-us-section-content {
        display: flex;
        flex-direction: column;   /* stack items vertically */
        justify-content: center;
        align-items: center;
        padding: 12% 0 0 0;
        gap: 40px;               /* space between image and text */
        max-width: 1200px;
        width: 100%;
    }


    .about-image-wrapper .coffee-post {
        width: 400px;
        max-width: 100%;
        border-radius: 20px;
    }

    .about-details {
        max-width: 600px;
        text-align: center;         /* center text under image */
        padding: 0 20px;
    }

    .about-us-description {
        font-size: 1rem;
    }
}

@media (max-width: 1200px) {
    .main-content {
        gap: 5rem;
        padding: 40px 5%;
        height: auto;
        flex-direction: column-reverse;
        text-align: center;
    }

    .main-text .title {
        font-size: 28px;
    }

    .main-text .subtitle {
        font-size: 36px;
    }

    .main-text .description {
        font-size: 18px;
        max-width: 90%;
        margin: 0 auto;
    }

    .btn-section {
        justify-content: center;
    }

    .main-content .main-content-img {
        max-width: 500px;
    }

    /* ========== END OF MAIN-CONTENT ========== */

    /* ========== START OF MENU-CONTENT ========== */
    .about-us-section-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 50px;
        padding: 5% 20px;
    }

    .about-image-wrapper .coffee-post {
        max-width: 550px;
        width: 100%;
    }

    .about-details {
        max-width: 700px;
        padding: 0 20px;
    }

    .about-us-title {
        font-size: 1.8rem;
    }

    .about-us-description {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .social-list-link {
        justify-content: center;
        gap: 15px;
    }

    /* ========== END OF MENU-CONTENT ========== */

    /* ========== START OF MENU-CONTENT ========== */
}
