:root {
  --primary: #1A1A1A;        
  --accent: #D4AF37;
  --secondary: #F5F5F5;
  --cta: #DC143C;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--primary);
  color: var(--secondary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Preloader */
#preloader {
  background-color: var(--primary);
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: bounce 0.6s infinite alternate;
}

.loader span:nth-child(2) {
  animation-delay: 0.2s;
}

.loader span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-20px);
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-family: var(--font-heading);
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: auto;
  color: var(--secondary);
}

/* Button */
.button {
    background-color: var(--cta);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 30px;
    margin-top: 1rem;
    cursor: pointer;
    transition: 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.button:hover {
  background-color: #b01030;
}

.site-footer {
  background-color: #111;
  padding: 40px 20px 20px;
  color: var(--secondary);
  text-align: center;
}

/*blogs css*/

.blogs-wrapper {
  display: flex;
  gap: 20px;
  padding: 40px;
  max-width: 1400px;
  margin: auto;
}

.left-section {
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-box {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  max-height: 480px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.blog-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 7px;
}

.blog-box h2 {
  margin: 0;
  font-size: 20px;
  color: #555;
}

.blog-box p.desc {
  margin: 10px 0;
  color: #555;
}

.blog-box p.date {
  font-size: 14px;
  color: #999;
}

.blog-box .read-more {
  margin-top: auto;
  align-self: flex-start;
  padding: 8px 16px;
  background: #111;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

.right-section {
  flex: 1;
  position: relative;
}

.sticky-box {
  position: sticky;
  top: 40px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.sticky-box input[type="text"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.recent-blogs h4, .filters h4 {
  margin-bottom: 10px;
}

.recent-blogs ul, .filters ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-blogs li, .filters li {
  margin-bottom: 8px;
}

.recent-blogs a, .filters button {
  text-decoration: none;
  color: #333;
  background: #eee;
  padding: 6px 10px;
  border-radius: 5px;
  display: block;
  border: none;
  cursor: pointer;
}

/*blog css*/

.single-blog-wrapper {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px;
}

.single-blog-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 30px;
}

.single-blog-content h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.blog-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

.blog-body {
  font-size: 18px;
  line-height: 1.8;
  color: #a1a1a1;
}


/*footer css*/
.footer-content {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
}

.footer-brand h2 {
  font-family: var(--font-heading);
  color: var(--accent);
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--secondary);
  text-decoration: none;
  margin: 0 8px;
  display: inline-block;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--cta);
}

.footer-social a img {
  width: 22px;
  margin: 0 5px;
  opacity: 0.8;
  transition: 0.3s ease;
}

.footer-social a:hover img {
  opacity: 1;
  transform: scale(1.1);
}

.footer-bottom {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #aaa;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
