* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }
  body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }
  
  
  body {
   
    
    font-family: 'Poppins', sans-serif;
    background: url('https://t4.ftcdn.net/jpg/04/60/71/01/360_F_460710131_YkD6NsivdyYsHupNvO3Y8MPEwxTAhORh.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;



    
    }
    body.home-bg {
        background: url('https://vastphotos.com/files/uploads/photos/10691/peaceful-water-landscape-photo-l.jpg?v=20220712043521') no-repeat center center fixed;
        background-size: cover;
        color: #fff;
      }
      
    body.home-bg::before {
        content: '';
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: -1;
      }

    body.stories-bg {
        background: url('https://www.aaronreedphotography.com/images/640/The-Sweet-Smell-of-Summer-1800.jpg') no-repeat center center fixed;
        background-size: cover;
        color: #ffffff;
      }
      
    body.stories-bg::before {
        content: '';
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.6); /* dark overlay */
        z-index: -1;
      }

      body.contact-bg {
        background: url('https://www.aaronreedphotography.com/images/640/The-Sweet-Smell-of-Summer-1800.jpg') no-repeat center center fixed;
        background-size: cover;
        color: #ffffff;
      }
      
    body.contact-bg::before {
        content: '';
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.6); /* dark overlay */
        z-index: -1;
      }

      /* Contact Form Container */
.contact-container {
    max-width: 600px;
    margin: 100px auto;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .contact-container h2 {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .contact-form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 8px #ffa500;
  }
  
  .contact-form button {
    display: block;
    width: 100%;
    background-color: #ffa500;
    border: none;
    color: white;
    padding: 14px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: #e69500;
  }

  /* Contact Section */
.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    padding: 20px;
  }
  
  .contact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 600px;
    color: #fff;
    animation: fadeInUp 1s ease;
  }
  
  .contact-card h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
  }
  
  .input-group {
    margin-bottom: 25px;
  }
  
  .input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 15px;
    color: #ffa500;
  }
  
  .input-group input,
  .input-group textarea {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 16px;
    transition: 0.3s ease;
  }
  
  .input-group input:focus,
  .input-group textarea:focus {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 10px #ffa500;
    outline: none;
  }
  
  .contact-form button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border: none;
    background: #ffa500;
    color: white;
    border-radius: 10px;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  
  .contact-form button:hover {
    background: #e69500;
  }
  
  .thanks-msg {
    margin-top: 15px;
    text-align: center;
    color: #00ffae;
    font-weight: bold;
    animation: fadeIn 1s ease-in-out;
  }
  
  /* Animation */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(50px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .writer-contact {
    margin-top: 30px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-left: 4px solid #ffa500;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    backdrop-filter: blur(6px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeInUp 1.2s ease-in-out;
  }
  
  .writer-contact p {
    margin: 0 0 8px;
    font-weight: 500;
    color: #ffa500;
  }
  
  .writer-email {
    display: inline-block;
    color: #00ffcc;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
  }
  
  .writer-email:hover {
    color: #fff;
    text-shadow: 0 0 10px #ffa500;
  }
  
  
      

      
      

    

 
  
  
  /* Navbar */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222;
    color: #fff;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 999;
  }
  
  .nav-logo {
    font-size: 24px;
    font-weight: bold;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  .nav-links li a,
  .logout-btn {
    color: #fff;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
  }
  
  .logout-btn:hover,
  .nav-links li a:hover {
    color: #ffa500;
  }
  
  /* Hamburger Menu */
  .hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }
  
  .nav-links.show {
    display: flex;
    flex-direction: column;
    background: #222;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 10px;
  }
  
  /* Auth Form */
  .auth-container {
        max-width: 400px;
        margin: 100px auto;
        padding: 30px 25px;
        text-align: center;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        position: relative;
        z-index: 1;
      
      
      
      
  }
  
  .auth-container input {
    width: 90%;
  padding: 12px 15px;
  margin: 12px 0;
  border: none;
  border-radius: 8px;
  outline: none;
  font-size: 16px;
  }
  .auth-container button {
    width: 95%;
    padding: 12px;
    background: #ffa500;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .auth-container button:hover {
    background: #e69500;
  }
  
  .link-btn {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
  }
  
  /* Home Page */
  max-width: 800px;
  margin: 80px auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  margin-top: 20px;
  line-height: 1.6;
}

.writer-name {
  font-size: 20px;
  color: #ddd;
  font-style: italic;
}
  
  /* Stories */
  .story-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px;
    justify-content: center;
  }
  
  .story-card {
    width: 300px;
    background:black;
    padding: 20px;
    border: 1px solid goldenrod;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .story-card:hover {
    background:greenyellow;
  }
  
  /* Modal */
  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
  }
  
  .modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 30px;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
  }
  
  .close {
    float: right;
    font-size: 28px;
    cursor: pointer;
  }
  
  /* Contact */
  .contact-section {
    text-align: center;
    padding: 40px;
  }
  
  .error-msg {
    color: red;
    margin-top: 10px;
  }

  .cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #ffa500;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  .cta-button:hover {
    background: #e69500;
  }
  
  /* About Section */
  .about-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: auto;
    text-align: center;
    color: #fff;
  }
  
  /* Preview Section */
  .preview-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
    color: #fff;
  }

  .preview-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #fff;
  }
  
  .story-preview {
    display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  }
  
  
  .preview-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    width: 280px;
    text-align: left;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px #ffa500, 0 0 25px #ffa500;
  }
  
  .preview-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
  }
  
  .preview-card h3 {
    margin-bottom: 10px;
  font-size: 20px;
  }

  .preview-card p {
    font-size: 15px;
    color: #eee;
  }

  
  
  
  
  @media screen and (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
    }
    .hamburger {
      display: block;
    }
  }
  