*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}
body{
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}
#top-bar{
    width: 100%;
  
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background-color: #4B2E2A; 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
}
#top-bar p{
    font-size: 1.2rem;
    font-weight: 500;
}
#top-bar a{
    text-decoration: solid;
}
.House{
    font-size: 1.3rem !important;
    font-weight: 600;
    color: #fdcea1;
    margin-left: 20px;
    transition-duration: 0.2s;
    transition-property: all;
    transition-delay: 0.3s;
    transition-timing-function:linear;
}
.House:hover{
    color:#8b4c05;
    transform: scale(1.01);
}
.bar{
    text-decoration: solid;
    padding: 3px;
    margin-right: 10px;
    color:#fdcea1;
    transition-duration: 0.3s;
    transition-property: all;
    transition-timing-function:linear;
    transition-delay: 0.2s;
}
.bar:hover{
    color: #8b4c05;
}
#right-bar{
    display: flex;
    margin-right: 20px;
}
.hero{
    padding-top: 150px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    max-width: 55%;
    min-width: 10%;
    gap: 50px;
    left: 12%;
    padding-bottom: 10px;
}
.hero img{
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: chocolate solid 3px;
    max-width:60%;
    min-width: 40%;
    height: 300px;
    min-width: 350px;
}
.inf{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hero h1{
    text-decoration: solid;
    color: #3b2a1a;
    font-weight: 700;
    align-self: center;
}
.inf p{
    font-weight: 400;
    color: #5e462b;
    font-size: 1.3em;
}
.inf a{
    text-decoration: solid;
    padding: 10px;
    color: #fff;
    background-color: #d49d5e;
    font-size: 1.5em;
    border-radius: 10px;
    width:fit-content;
    align-self: center;
    transition: all 0.7s ease 0.3s;
}
.inf a:hover{
  transform: scale(1.06);
  background-color:rgb(69, 47, 9);
  color:rgb(228, 225, 225);
}
.story-text{
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 5px;
  margin-left: 20px;
  width: 500px;
  margin-top: 200px;
  transform: translateY(-150px);
}
.section{
  width: 100%;
  height: fit-content;
  background-color: rgb(240, 241, 241);
  padding-bottom: 30px;
}
.our-story{
  padding-top: 150px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-left: 150px;
}
.our-story img{
  border-radius: 10px;
  margin: 10px;
  width: 800px;
  height: 400px;
  margin-left: 30px;
}
.our-story p{
  color: #4e2f0c;
  font-size: 1.2em;
  font-weight: 400;
  word-spacing: 3px;
}

.cards{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 40px;

}
.card1, .card2{
  will-change: transform;
  display: flex;
  flex-direction: column;
  gap: 30px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  border-radius: 5px;
  padding: 10px;
  width: 500px;
  animation-name: c;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.cards h2{
  align-self: center;
  color: #4e2f0c;
}
.card2 ul{
  list-style: none;
  color: #664928;
}
.card1 p{
  color: #664928;
}
strong{
  color: black;
}
@keyframes c {
  0%{
    transform: scale(1);
  }
  50%{
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  }
  100%{
    transform: scale(1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
}



.footer{
  background-color: #3b2a1a;
  color: #fff;
  padding-top: 60px;
}

.footer-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding: 0 8%;
}

.footer-box h3,
.footer-box h4{
  margin-bottom: 15px;
  color: #d49d5e;
}

.footer-box p{
  line-height: 1.6;
  color: #e0bc9c;
}

.footer-box ul{
  list-style: none;
}

.footer-box ul li{
  margin-bottom: 10px;
}

.footer-box ul li a{
  color: #5e462b;
  text-decoration: none;
  transition: 0.3s;
}

.footer-box ul li a:hover{
  color: #d49d5e;
}
footer{
    margin-top: 20px;
    height: fit-content;
}

.socials a{
  display: inline-flex;
  width: 40px;
  height: 40px;
  background: #d49d5e;
  color: #3b2a1a;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 10px;
  transition: 0.3s;
}

.socials a:hover{
  background: #fff;
}

.footer-bottom{
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  background-color: #2a1e14;
  font-size: 0.9rem;
}
.footer-bottom p{
    color: gray;
}

/* About Page Responsive Enhancements */
@media (max-width: 768px) {
  #top-bar {
    padding: 0 1rem;
  }
  
  #right-bar {
    position: fixed;
    top: 55px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 55px);
    background: #4B2E2A;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
  }
  
  #right-bar.active {
    left: 0;
  }
  
  .hero {
    left: 0 !important;
    flex-direction: column !important;
    max-width: 100% !important;
    gap: 2rem;
    padding: 2rem 1rem;
    align-items: center;
    text-align: center;
  }
  
  .hero img {
    max-width: 90vw;
    height: auto;
    min-width: auto !important;
  }
  
  .story-text {
    width: 100% !important;
    margin: 2rem auto !important;
    transform: none !important;
    padding: 1rem;
  }
  
  .our-story {
    margin-left: 1rem !important;
    flex-direction: column !important;
    padding-top: 2rem;
  }
  
  .our-story img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 1rem auto;
  }
  
  .cards {
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
  }
  
  .card1 {
    margin-right: 0 !important;
  }
  
  .card1, .card2 {
    width: 90vw !important;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }
  
  .inf p {
    font-size: 1.1em;
  }
  
  .inf a {
    font-size: 1.2em;
  }
}
/* Enhanced Timeline Styles */
:root {
  --accent-color: #d49d5e;
  --accent-hover: #8b4c05;
  --secondary-color: #4B2E2A;
  --bg-card: #fff;
  --bg-light: #f8f9fa;
  --text-dark: #3b2a1a;
  --text-light: #664928;
  --shadow-sm: 0 5px 15px rgba(0,0,0,0.1);
  --shadow-md: 0 15px 30px rgba(0,0,0,0.2);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 12px;
}

.timeline {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-color), var(--secondary-color));
  animation: pulse 2s infinite;
  border-radius: 2px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; transform: scale(1.05); }
}

.timeline-container {
  position: relative;
}

.timeline-item {
  margin-bottom: 3rem;
  position: relative;
  opacity: 0;
  animation: slideInUp 0.6s ease forwards;
  animation-delay: calc(var(--order) * 0.15s);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-item:nth-child(odd) {
  text-align: right;
  padding-right: calc(50% + 2rem);
}

.timeline-item:nth-child(even) {
  text-align: left;
  padding-left: calc(50% + 2rem);
}

.timeline-icon {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
  z-index: 1;
  transition: var(--transition);
}

.timeline-item:hover .timeline-icon {
  transform: translateX(-50%) translateY(-5px) scale(1.2) rotate(360deg);
  background: var(--accent-hover);
  box-shadow: 0 0 20px rgba(212, 157, 94, 0.6);
}

.timeline-content {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  opacity: 0.9;
}

.timeline-item:nth-child(odd) .timeline-content {
  transform: translateX(20px);
}

.timeline-item:nth-child(even) .timeline-content {
  transform: translateX(-20px);
}

.timeline-item:hover .timeline-content {
  transform: translateY(-8px) translateX(0) scale(1.02);
  box-shadow: var(--shadow-md);
  opacity: 1;
}

.timeline-content h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-left: 70px !important;
    padding-right: 0 !important;
    text-align: left !important;
    margin-bottom: 2rem;
  }

  .timeline-icon {
    left: 20px;
    transform: none;
  }

  .timeline-item:hover .timeline-icon {
    transform: translateY(-5px) scale(1.2) rotate(360deg);
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    transform: translateX(0);
  }
}
