/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #fff8f0;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
.header {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: inline-block;
    font-weight: bold;
    font-size: 1.5rem;
}

.nav {
    float: right;
}

.nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
}

.signup-btn {
    background: #b8866b;
    color: white;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    cursor: pointer;
}

/* Main Content */
.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* Blog Grid */
.blog-grid {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.blog-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.blog-item img {
    width: 100%;
    display: block;
}

.blog-text {
    padding: 0.8rem 1rem;
}

.blog-date {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
}

.blog-text h3 {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.blog-text p {
    font-size: 0.9rem;
    color: #555;
}

/* Sidebar */
.sidebar {
    flex: 1;
    margin-left: 1rem;
}

.author-box {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.author-box img {
    width: 100%;
    max-width: 200px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.author-box h3 {
    margin-bottom: 0.5rem;
}

.author-box p {
    font-size: 0.9rem;
    color: #555;
}

/* Subscribe Section */
.subscribe {
    background: #b8866b;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
}

.subscribe-form input {
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    border: none;
    border-radius: 20px;
}

.subscribe-form button {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 20px;
    background: #fff;
    color: #b8866b;
    cursor: pointer;
    font-weight: bold;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.5rem;
    background: #333;
    color: white;
    margin-top: 2rem;
}

/* Responsive */
@media(max-width: 992px){
    .main-content {
        flex-direction: column;
    }
    .sidebar {
        margin-left: 0;
    }
}



/* 
 */
 /* 
  */
  /* Base Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #fff8f0;
    color: #333;
}

.carousel-section {
    width: 100%;
    /* max-width: 1200px; */
    /* margin: 2rem auto; */
    /* padding: 1rem; */
    text-align: center;
}

.carousel-title {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #ff6f61;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

/* Carousel Slide */
.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
    min-width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,111,97,0.7);
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: background 0.3s;
}

.prev:hover, .next:hover {
    background: rgba(255,111,97,1);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Responsive */
@media(max-width: 768px){
    .carousel-slide img {
        height: 300px;
    }
}

@media(max-width: 480px){
    .carousel-slide img {
        height: 200px;
    }
}




/* ===== BASIC RESET ===== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Arial, sans-serif;
}

body{
  background:#f7f7f7;
}

/* ===== HEADER ===== */
header{
  background:#b71c1c;
  color:#fff;
  padding:15px;
  text-align:center;
}

header h1{
  font-size:28px;
}

/* ===== GALLERY SECTION ===== */
.gallery{
  max-width:1200px;
  margin:40px auto;
  padding:0 15px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap:20px;
}
@media(max-width:600px)
{
    .gallery{
  max-width:1200px;
  margin:40px auto;
  padding:0 15px;
  display:grid;
          grid-template-columns: repeat(2, 1fr);
  gap:20px;
}
}
.gallery img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:10px;
  cursor:pointer;
  transition:transform 0.4s, box-shadow 0.4s;
}

.gallery img:hover{
  transform:scale(1.05);
  box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

/* ===== LIGHTBOX ===== */
.lightbox{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.85);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:1000;
}

.lightbox img{
    padding: 5px;
  width:100%;
  max-width:100%;
  border-radius:10px;
}

.lightbox span{
  position:absolute;
  top:20px;
  right:30px;
  font-size:35px;
  color:white;
  cursor:pointer;
}

/* ===== RESPONSIVE ===== */
@media(max-width:600px){
  header h1{
    font-size:22px;
  }
  .gallery img{
    height:180px;
  }
}