/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
    font-family: "Poppins", sans-serif;
}
html, body {
  margin: 0;
  padding: 0;
}

/* variables */
:root {
    --main-color: #ff2c2c;
    --bg-color: #fff;
    --second-color: #c7c7c7;
    --text-color: #0f0c27;
    --hover: hsl(0, 83%, 34%);

    --big-font: 3.2rem;
    --medium-font: 1.8rem;
    --p-font: 0.941rem;
}
.site-container {
  width: 888px;
  height: 838px;
  margin: 0 auto; /* center horizontally */
  overflow: auto;
  position: relative;
  border: 1px solid #ccc; /* optional: helps you see the fixed boundary */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* optional */
}

.top-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* keeps it above everything else */
}
img {
    width: 100%;
}
section {
    padding: 50px 100px;
}
body {
    background: var(--bg-color);
    color: var(--text-color);
    min-width: 888px;
    min-height: 838px;
    overflow-x: auto; /* optional: allows horizontal scroll if screen is smaller */
}
*::selection{
    color: var(--bg-color);
    background: var(--main-color);
}
header {
    position: fixed;
    width: 100%;
    top: 25px;
    margin-top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-color);
    padding: 18px 100px;
    transition: 0.5s linear;
}
header.shadow {
    box-shadow: 0 4px 12px rgb(0, 0, 0, 0.1);
}
.logo img {
    width: 60px;
}
.logo {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    column-gap: 0.5rem;
}
@media (max-width: 768px) {
  .dev-banner {
    font-size: 0.8rem;
    padding: 6px;
  }
}

.dev-banner {
  background-color: #ffcc00;
  color: #000;
  text-align: center;
  padding: 5px;
  font-size: 0.75rem;
  font-weight: 500;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}
.navbar {
    display: flex;
}
.navbar a {
    font-size: 1rem;
    padding: 8px 17px;
    color: var(--text-color);
    font-weight: 500;
    text-transform: uppercase;
}
.navbar a:hover {
    background: var(--bg-color);
    border-radius: 0.2rem;
    transition: 0.2s all linear;
    color: var(--hover);
}
#menu-icon {
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    display: none;
}
#darkmode {
    font-size: 22px;
    cursor: pointer;
}
.home {
     width:100%;
     min-width: 800px;
     min-height: 838px;
     background: url(img/darkmane.jpg);
     background-repeat: no-repeat;
     background-size: cover;
     background-position: center;
     box-sizing: border-box;
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(17rem, auto));
     align-items: center;
     gap:1.5rem;
}

.home-text {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    padding-top: 120px;
    padding-left: 0rem;
    padding-right: 5rem;
    flex-wrap: wrap;
}

.about-snippet {
    order: 2; /* move to right */
    text-align: justify;
    flex: 1 1 50%;
    font-size: 1.6rem;
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    margin: 5rem 0 1.5rem 0;
    margin-left: 20px;
    max-width: 700px;
}

.services-box {
    order: 1; /* move to left */
    flex: 1 1 50%;
    max-width: 350px;
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    margin: 5rem 0 1.5rem 0;
}

.services-box h1 {
    font-size: 1.8rem;
    text-transform: uppercase;
    color: #fff;
}

.dropdown-btn {
    background-color: rgb(255, 0, 0);
    color: rgb(255, 255, 255);
    padding:1.2rem 2rem;
    border: none;
    cursor: pointer;
    font-size:1.5rem;
    text-transform: uppercase;
}

.dropdown-btn:hover {
    background-color: #520000;
}

.dropdown {
  position: relative;
  display: inline-block;
  text-align: left;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: rgb(255, 0, 0);
    min-width:100px;
    box-shadow:0px8px16px rgba(0,0,0,0.2);
    z-index:1;
    overflow: hidden;
}

.dropdown-menu li {
    padding:10px;
    color: var(--bg-color);
    cursor: pointer;
    font-size:0.938rem;
}

.dropdown-menu li:hover {
    background-color: #520000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.instagram {
  width: 100%;
  padding: 50px 100px;
  background-color: #f7f7f7;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  box-sizing: border-box;
}

.instagram .sk-instagram-feed {
  width: 100%;
  max-width: 1200px;
}

.about {
  min-height: 100vh;
  padding: 50px 100px;
  background: url('img/about.jpg') no-repeat center center/cover;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.about-text h1 {
  font-size: 2.4rem;
  text-transform: uppercase;
  margin-top: 40rem;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1rem;
  max-width: 700px;
  line-height: 1.6;
}

.contact-info {
  padding: 50px 100px;
  background-color: var(--bg-color);
  color: var(--text-color);
}

.contact-info .title h2 {
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.map-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}

.info-row i {
  font-size: 1.4rem;
  color: var(--main-color);
}

.info-row a {
  color: var(--text-color);
  text-decoration: none;
}

.info-row a:hover {
  text-decoration: underline;
}

@media (max-width: 800px) {
  header {
    flex-direction: column;
    padding: 10px 20px;
  }

  section,
  .instagram,
  .about,
  .contact-info {
    padding: 30px 20px;
  }

  .home-text {
    flex-direction: column;
    gap: 2rem;
    padding-right: 0;
  }

  .about-snippet,
  .services-box {
    max-width: 100%;
    margin: 1rem 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-container {
    height: 300px;
  }

  .about-text h1 {
    font-size: 1.8rem;
    margin-top: 10rem;
  }

  .navbar {
    flex-direction: column;
    background: var(--bg-color);
    width: 100%;
    display: none;
  }

  .navbar.active {
    display: flex;
  }

  #menu-icon {
    display: block;
  }

  .instagram {
    flex-direction: column;
  }
}

body.dark-mode {
  --bg-color: #121212;
  --text-color: #f5f5f5;
  --hover: #ff4444;
  background-color: var(--bg-color);
  color: var(--text-color);
}

body.dark-mode header {
  background-color: var(--bg-color);
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

.dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: red;
  display: none;
  position: absolute;
  z-index: 1;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 10px;
  color: white;
  cursor: pointer;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: white;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  position: relative;
}

.popup-content input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
}
.popup-content button {
  padding: 10px 20px;
  background: red;
  color: white;
  border: none;
  cursor: pointer;
}
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}
.site-footer {
  text-align: center;
  padding: 20px;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 0.7rem;
  border-top: 1px solid var(--second-color);
}

body.dark-mode .site-footer {
  background-color: var(--bg-color);
  color: var(--text-color);
  border-top: 1px solid #333;
}
