:root {
  --primary-color: #fff;
}

body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background: #f8f8f8;
  color: #222;
  transition: background 0.3s, color 0.3s;
}

body.dark-mode {
  background: #111;
  color: #eee;
}

.container {
  width: 100%;
  max-width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
}
/*grid header*/
.site-header .container {  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  grid-template-rows: 1fr;
  grid-auto-columns: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "logo right";
}

.site-header .logo { grid-area: logo; }

.site-header .right {  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "social"
    "main-nav";
  grid-area: right;
}

.site-header .social { grid-area: social; }

.site-header .main-nav { grid-area: main-nav; }

/*end grid header*/
/*social*/
.contact-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #eaeaea;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
  background-color: #0073e6;
  transform: scale(1.1);
}

.social-icons img {
  width: 20px;
  height: 20px;
  filter: invert(0.4);
}

.social-icons a:hover img {
  filter: invert(1);
}

.contact-info {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1rem;
}

.contact-info a {
  color: #111;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #0073e6;
}

/*social ennd*/

.site-header, .site-footer {
  background: var(--primary-color);
  color: #000;
  padding: 0.8em 2rem 0 2em;
}

.logo img {
  max-height: 120px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

.main-nav a {
  color: #000;
  margin-left: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.hero {
  width: 100vw;
  min-height: 80vh;
  background: linear-gradient(135deg, #000, #1c1c1c);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  animation: fadeIn 1s ease-in;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  line-height: 1.6;
}

.slider {
  width: 100%;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 2rem;
  box-sizing: border-box;
}

.slider img {
  max-width: 400px;
  scroll-snap-align: start;
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
}

.post-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 2rem;
  transition: transform 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
}

.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
}

.lightbox.show {
  display: flex;
}

.dark-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: #fff;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1000;
  border-radius: 8px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
