/* Header Styling */
header {
    display: flex;
    margin-bottom: 20px; 
    flex-direction: column; /* Stack logo and menu vertically */
    align-items: center; /* Centre-align logo and menu */
    background: #222;
    background: 
      linear-gradient(to right, rgba(51, 51, 51, 0.65) 0, rgba(255,255,255,0) 20px),
      linear-gradient(to left,  rgba(51, 51, 51, 0.65) 0, rgba(255,255,255,0) 20px),
      linear-gradient(to top,   rgba(51, 51, 51, 0.65) 0, rgba(255,255,255,0) 10px),
      #222;
    padding: 20px 0;
    position: relative; /* For contained absolute elements */
}

h1 {
  color: #000;
}
body {
    height: 100%;
    min-height: 100vh; /* Ensure body stretches to full viewport height */
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    color: #fff;
    margin: 0%;
    overflow-x: hidden;
  
}

/* Logo Styling */
.logo {
    float: left;
    text-align: left;
    margin-bottom: 10px;
    position: center;
}

#logo img {
    max-width: 150px;
    height: auto;
    margin-left: 20px;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Navigation Menu Styling */
.nav-menu ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.nav-menu ul li a:hover {
    color: #f4c842; /* Gold accent */
}

/* Mobile Hamburger Menu */
.hamburger {
    display: none; /* Hidden on larger screens */
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1000;
}

/* Hamburger Icon Bars */
.hamburger span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #fff;
    margin: 5px 0;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animate Hamburger when Active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hide menu initially on mobile */
@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        transform: translateX(100%); /* Hidden off-screen */
        visibility: hidden;
        opacity: 0;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #111;
        border-radius: 8px;
        padding: 10px;
        z-index: 999;
        transition: transform 0.6s ease, opacity 0.3s ease;
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }

    .nav-menu ul {
        flex-direction: column;
    }

    .nav-menu ul li {
        margin-bottom: 10px;
    }

    .nav-menu ul li a {
        font-size: 1.2rem;
    }
}

.blog-main-title {
    font-size: 2.5rem;         /* adjust size as needed */
    font-weight: 700;          /* bold for emphasis */
    text-align: center;        /* center horizontally */
    margin: 40px auto 20px;    /* spacing top & bottom */
    opacity: 0;                /* start invisible */
    animation: fadeIn 2s ease-in forwards; /* fade-in effect */
}

/* Fade-in keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Blog Main Container */
.blog-main {
  background: #fff;
  color: #333;
  font-family: 'Lato', sans-serif;
  padding: 2rem 1rem;
}

/* Hero Post */
.blog-hero {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  border-radius: 12px;
  overflow: hidden;
}

.blog-hero img {
  width: 100%;
  display: block;
  border-radius: 12px;
  filter: brightness(85%);
  transition: transform 0.4s ease;
}

.blog-hero:hover img {
  transform: scale(1.05);
}

.blog-hero-text {
  position: absolute;
  bottom: 20px;
  left: 30px;
  color: #fff;
  max-width: 600px;
}

.blog-hero-text h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.blog-hero-text p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.blog-hero-text .btn {
  background: #fff;
  color: #000;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.blog-card img {
  width: 100%;
  display: block;
}

.blog-card h2 {
  font-size: 1.3rem;
  margin: 1rem;
  color: #222;
}

.blog-card p {
  margin: 0 1rem 1rem;
  font-size: 0.95rem;
  color: #555;
}

.blog-card .btn {
  display: inline-block;
  margin: 0 1rem 1.5rem;
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 1 / 1;      /* Force square shape */
  object-fit: cover;        /* Crop edges, keep center focus */
  border-radius: 8px;       /* Optional: rounded corners */
  display: block;
}

.footer-container {
    border-top: 1px solid #333; /* Adds a thin line */
    padding-top: 20px; /* Space above the footer content */
    margin-top: 20px; /* Space between the footer and content above */
    margin-bottom: 20px;
    display: flex;
    justify-content: center; /* Align items horizontally */
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px; /* Reduce excessive padding */
}

.footer-container > div {
    flex: 1; /* Ensure equal width for sections */
    min-width: 200px; /* Prevent shrinking */
    text-align: center;
    margin: 0; /* Remove unnecessary margin */
}

.footer-container h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #020202; /* Keep section headings white */
}

.footer-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-container ul li {
    margin-bottom: 5px; /* Minimise spacing */
}

.footer-container ul li a {
    color: #000000; /* Keep links white */
    text-decoration: none;
    transition: color 0.3s;
}

.footer-container ul li a:hover {
    color: #332f2f; /* Light grey on hover */
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 5px; /* Reduce spacing between logos */
    align-items: center;
}

.payment-methods img {
    width: 40px; /* Reduce logo size for compactness */
    height: auto;
}

/* Footer container styling for small screens */
@media screen and (max-width: 768px) {
    .footer-container {
        display: flex;
        flex-wrap: wrap; /* Allow wrapping for better responsiveness */
        justify-content: center; /* Keep sections inline */
        gap: 5px; /* Minimise space between sections */
        padding: 10px; /* Compact padding */
    }

    .footer-container > div {
        flex: 1; /* Allow sections to take up equal space */
        min-width: 150px; /* Shrink further for small screens */
        margin: 0; /* Remove unnecessary margin */
    }

    .footer-contact h4,
    .footer-billing h4 {
        font-size: 0.9rem; /* Reduce heading size */
        margin-bottom: 5px;
    }

    .footer-contact ul li,
    .footer-billing ul li {
        font-size: 0.8rem; /* Compact text size */
        margin-bottom: 2px; /* Reduce spacing */
    }

    .payment-methods img {
        width: 30px; /* Shrink logo size */
        height: auto;
    }
}

/* Very small screens (e.g., phones in portrait mode) */
@media screen and (max-width: 480px) {
    .footer-container {
        flex-direction: column; /* Stack items vertically */
        padding: 5px; /* Minimise padding */
    }

    .footer-container > div {
        flex: 1;
        min-width: 100%; /* Allow full width for each section */
        margin: 0; /* Remove spacing */
    }

    .footer-contact h4,
    .footer-billing h4 {
        font-size: 0.8rem;
        margin-bottom: 3px;
    }

    .footer-contact ul li,
    .footer-billing ul li {
        font-size: 0.7rem;
    }

    .payment-methods img {
        width: 25px; /* Further shrink logo size */
        height: auto;
    }
}

.footer-social {
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px; /* Space between links */
}

.footer-social a {
    text-decoration: none;
    color: #000000; /* Default text colour */
    font-size: 1.2rem; /* Adjust size for readability */
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px; /* Space between icon and text */
}

.footer-social a i {
    color: #000; /* Black icons for light background */
    font-size: 1.5rem;
    margin-right: 8px;
}

.footer-social a:hover {
    color: #dfc4bc; /* Accent colour on hover */
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #333; /* Adds a thin line */
    padding-top: 20px; /* Space above the footer content */
    margin-top: 20px; /* Space between the footer and content above */
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #aaa; /* Light grey for copyright text */
}

/* Blog Article Page */
.article-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  line-height: 1.8;
  color: #333;
  background: #fff;
}

.article-hero img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.article-container h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.article-container h2 {
  font-size: 1.4rem;
  margin-top: 1.5rem;
  color: #111;
}

.article-container p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #444;
}

.article-container blockquote {
  margin: 2rem 0;
  padding: 1rem;
  font-style: italic;
  background: #f9f9f9;
  border-left: 4px solid #dfc4bc;
  color: #666;
}

.meta {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1rem;
}

.back-link {
  margin-top: 2rem;
}

.back-link a {
  text-decoration: none;
  font-weight: bold;
  color: #000;
}

.back-link a:hover {
  color: #dfc4bc;
}

/* Blog blockquote styling */
.article-container blockquote {
  position: relative;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  background: #fdfdfd;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-left: 6px solid #dfc4bc; /* soft pastel accent */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Add subtle quotation marks */
.article-container blockquote::before {
  content: "“";
  font-family: Georgia, serif;
  font-size: 4rem;
  color: #dfc4bc;
  position: absolute;
  top: -15px;
  left: 15px;
  opacity: 0.4;
}

.article-container blockquote::after {
  content: "”";
  font-family: Georgia, serif;
  font-size: 4rem;
  color: #dfc4bc;
  position: absolute;
  bottom: -25px;
  right: 15px;
  opacity: 0.4;
}

/* Hover effect to make it feel alive */
.article-container blockquote:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
