
/* --- Import Farsi font --- */
@font-face {
  font-family: 'Borna-Regular';       
  src: url('fonts/Borna-Regular.ttf') format('truetype'); 
  font-weight: normal;
  font-style: normal;
}

/* --- Global Styles --- */
* {
  box-sizing: border-box;        
  margin: 0;                     
  padding: 0;                    
}

body {
  font-family: 'Borna-Regular', 'Borna-Regular';  
  background-color: #8C3425;            
  color: #333;                           
  line-height: 1.6;                      
}

/* Exclude logo, nav, and footer from font */
header span, footer {
  color: #fff ;
  font-family: 'Borna-Regular';   
}

/* --- Navbar --- */
header {
  background: rgba(0,0,0,0.6); 
  padding: 15px 20px;           
  position: fixed; top: 0; width: 100%; z-index: 100; 
}

.navbar {
  display: flex;                 
  justify-content: space-between;/* Logo left, nav right */
  align-items: center;           
}

.logo {
  display: flex;                 
  align-items: center;
  gap: 10px;                     
}

.logo-img {
  width: 30px;                   
  height: 30px;
}

.nav-links {
  list-style: none;              
  display: flex;                 
  gap: 15px;                     
  flex-wrap: wrap;               
}

.nav-links li a {
  color: #fff;                   
  text-decoration: none;         
  font-weight: bold;
}

.nav-links li a:hover {
  color: #8C3425;                
}

/* Hamburger for mobile */
.hamburger { 
  display: none; 
  flex-direction: column; 
  cursor: pointer; 
  gap: 5px; 
}
.hamburger .bar { 
  width: 25px; height: 3px; 
  background-color: #fff; 
  border-radius: 2px; 
}

/* --- Responsive Navbar --- */
@media (max-width: 768px) {
.nav-links { 
    display: none; 
    flex-direction: column; 
    width: 100%; 
    background: rgba(0,0,0,0.8); 
    position: absolute; 
    top: 60px; 
    right: 0; 
    padding: 10px 0; 
}
.nav-links.active { display: flex; } 
.nav-links li { margin: 10px 0; text-align: center; }
.hamburger { display: flex; }       
}

/* --- Section General Styles --- */
.section {
  min-height: 100vh;               
  display: flex;
  flex-direction: column;
  justify-content: center;         
  align-items: center;             
  text-align: center;
  color: #8C3425;                     
  padding: 60px 20px;              
  background-size: cover;          
  background-position: center;
  background-repeat: no-repeat;
}

.section h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7); 
}

.section p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* --- Buttons --- */
.btn {
  padding: 12px 25px;
  background-color: #8C3425;   
  color: #000;                 
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}

.btn:hover {
  background-color: #2F7263;   
}

/* --- Welcome Section --- */
#welcome {
  background-image: url('images/cafe1.png'); 
  background-size: cover;      
  background-position: center; 
  background-repeat: no-repeat;
  min-height: 100vh;           
  display: flex;
  flex-direction: column;
  justify-content: center;     
  align-items: center;         
  text-align: center;                 
}
#welcome h1 {
  display: inline-block;
  background-color: #8C3425;
  font-size: 3rem;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7); 
  margin-bottom: 20px;
  border-radius: 20px;
}
#welcome p {
  display: inline-block;
  background-color: #8C3425;
  font-size: 1.5rem;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  border-radius: 20px;
}

/* --- Location Section --- */
#location {
  background-image: url('images/cafe3.jpg');
}
#location p { margin-bottom: 20px; font-size: 1.2rem; }
#location .btn { margin-top: 10px; }                    

/* --- Social Media Section --- */
#social {
  background-image: url('images/cafe4.jpg');
}
#social a {
  display: inline-block;
  margin: 10px;
  font-size: 1.5rem;
  color: #8C3425;
  text-decoration: none;
}
#social a:hover { color: #2F7263; }

/* --- Menu Section --- */
#menu {
  background-image: url('images/cafe2.jpg'); 
}
#menu a { 
  display: inline-block;
  margin-top: 15px;
  font-size: 1.2rem;
}

/* --- Special Customers Section --- */
#customers {
  background-image: url('images/cafe5.jpg');
  color: #2F7263
}
#customers ul {
  list-style: disc;
  padding-left: 20px;
  color: #2F7263
}
#customers li { margin: 10px 0; }
/* ===== Customer Cards Section ===== */
#customers {
  background-image: url('images/cafe5.jpg');
  padding: 60px 20px;
  text-align: center;

}

#customers h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* makes it responsive */
}

.card {
  flex: 1 1 250px;
  padding: 20px;
  border-radius: 15px;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.card p {
  line-height: 1.6;
  text-align: right; /* for Persian text */
}

/* Card Colors */
.card.yellow {
  background: #EFEDE0;
  color: #2F7263;
}

.card.green {
  background: #2F7263;
}

.card.red {
  background: #8C3425;
}

/* Hover effect */
.card:hover {
  transform: translateY(-10px);
}

/* --- Contact Section --- */
#contact {
  background-image: url('images/cafe5.jpg');
}
#contact p { margin-bottom: 15px; font-size: 1.2rem; }

/* --- Footer --- */
footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* --- Responsive Font Sizes --- */
@media (max-width: 768px) {
  .section h2 { font-size: 2rem; }
  .section p { font-size: 1rem; }
  .btn { padding: 10px 20px; font-size: 1rem; }
  #welcome h1 { font-size: 2rem; }
  #welcome p { font-size: 1rem; }
}
@media (max-width: 768px) {
  /* Welcome Section */
  #welcome {
    background: url('images/cafe1.png') no-repeat center center;
    background-size: cover;
  }

  /* Menu Section */
  #menu {
    background: url('images/menu-mobile.jpg') no-repeat center center;
    background-size: cover;
  }

  /* Customers Section */
  #customers {
    background: url('images/cafe5.jpg') no-repeat center center;
    background-size: cover;
  }

  /* Location Section */
  #location {
    background: url('images/menu-location.jpg') no-repeat center center;
    background-size: cover;
  }

  /* Contact Section */
  #contact {
    background: url('images/cafe5.jpg') no-repeat center center;
    background-size: cover;
  }
}
