* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
}

body{
    background-color: #F8F5F1;
}


/* header section */
.header-container{
    position: sticky;
    top: 0;
    background-color:#fffffffb;
    z-index: 1;
}


.layout {
    width: 92%;
    margin: 0 auto;

}

header div > a{
    color: #634836;
    
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

div nav a{
    color:#7E7067;
    margin-left: 5px;
    font-weight: 400;
    transition: color 0.3s;
}

div nav a:hover{
color:#634836;

}


#mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 15px 0;
    z-index: 99;
}

#mobile-menu a  , #mobile-menu button {
    padding: 10px 20px;
    text-decoration: none;
    color:#7E7067;
    font-weight: 500;
    transition: color 0.3s;
}

#mobile-menu a:hover {
    color:#634836;
}

#mobile-menu button{
    color: white;
    width: 92%;
    border: none;
    background-color: #634836;
    margin: 0 auto;
    border-radius: 20px;
    transition: background , 0.3s;
}

#mobile-menu button:hover{
    background-color:#634836e2 ;
}

header div > button {
    background-color: transparent;
    border: none;
}

header img {
    width: 25px;
    height: 25px;
}


/* ── Language Toggle Button ──────────────────────────────────── */
.lang-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border: 2px solid #634836;
    border-radius: 50px;
    background-color: transparent;
    color: #634836;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.25s, color 0.25s, transform 0.15s;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.lang-toggle-btn:hover {
    background-color: #634836;
    color: #fff;
    transform: scale(1.04);
}

.lang-toggle-btn:active {
    transform: scale(0.97);
}

.lang-icon {
    font-size: 1rem;
    line-height: 1;
}


/* Hero section */

.hero-section{
    width: 100%;
    height: 85vh;
    background-image: url(./pics/hero-coffee.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    
}

.hero-section div button {
   
    padding: 10px 32px;
    margin-right: 15px;
    border-radius: 25px;
}



.layer {
    width: 100%;
    position: absolute;
    height: 85vh;
    background-color: rgba(0, 0, 0, 0.375);

}

.text-container{
    width: 100%;
    height: 100%;
}



.display-heading {
    font-size: 2.25rem; 
    font-weight: 700; 
    color: white;
    width: 100%;
    line-height: 1.25;
}


.display-paragraph{
  width: 100%;
    color:rgb(255, 255, 255, 0.8); 
    font-weight: 300; 
    font-family: serif;
}


.order-button{
    border: none;
    background-color: #634836;
    color: white;
    transition: background 0.2s;
}

.order-button:hover{

    background-color: #5a4233;

}

.view-button{
    color:white;
    background-color: rgba(255, 255, 255, 0.951);
    border: 1px solid white;
    transition: background 0.2s , color 0.2s;
}

.view-button:hover{
background-color: rgba(255, 255, 255, 0.153);
color: rgba(0, 0, 0, 0.493);
}


/* favourites section */


.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.card-price {
    font-size: 1rem;
    color: #1a1a1a;
    font-weight: 600;
}

.card-text {
    color: #888;
    font-weight: 300;
    font-size: 0.95rem;
    margin: 0;
}

.drink-card > div{
    transition: all 0.3s;
    cursor: pointer;
}



.drink-card > div:hover{
    box-shadow:  0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}


.drink-card div img{
    transition: all 0.3s;
}

.drink-card div img:hover{
    transform: scaleX(1.08);
}



/* Footer */

footer {
    background-color: #3E2B1E;
}

footer .h2 , footer .h4 {
    color:#FFFFFF;
    font-weight: 700;
}

footer .p{
    color: #B7AEA5;
}

.copy-right{
    border-top: 1px solid #503E32;
}


/* ── RTL (Arabic) overrides ──────────────────────────────────── */
[dir="rtl"] div nav a {
    margin-left: 0;
    margin-right: 5px;
}

[dir="rtl"] #mobile-menu {
    left: auto;
    right: 0;
}

[dir="rtl"] .hero-section div button {
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] .display-heading,
[dir="rtl"] .display-paragraph {
    text-align: right;
}

[dir="rtl"] .card-body .d-flex {
    flex-direction: row-reverse;
}

[dir="rtl"] .card-text {
    text-align: right;
}

[dir="rtl"] footer .p,
[dir="rtl"] footer .h2,
[dir="rtl"] footer .h4 {
    text-align: right;
}


@media (min-width: 768px) {  /* md */
    .display-heading { font-size: 3rem; 

        width: 50%;
    
    }

    .display-paragraph{
        width: 35%;
    }

    .divp{
        max-width: 90%;
    }

     #mobile-menu button{
        width: fit-content;
     }

      #mobile-menu {
        display: none !important;
    }
    
}

@media (min-width: 992px) {  /* lg */
    .display-heading { font-size: 3.75rem; 
    
    }

    .display-paragraph{
         width: 35%;
    }
    
}