/*
Theme Name: Studio Theme
Theme URI: http://localhost
Author: Vadivel Babu
Author URI: http://localhost
Description: Custom WordPress theme built from static HTML (Landing Page)
Version: 1.0

*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --white-color: #fff;
  --black-color: #000;
}
a {
  text-decoration: none;
}
button {
  cursor: pointer;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Josefin Sans", sans-serif;
}
.hero-background {
  min-height: 100vh;
  background-image: url("images/hero.png");
  background-size: cover;
  background-position: center;
  color: var(--white-color);
  padding: 20px;
  background-color: #000;
}
.site-header {
  margin-top: 20px;
}
.logo > a {
  color: var(--white-color);
  font-size: 40px;
}
.main-nav > ul,
.footer-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 15px;
}
.menu-btn {
  display: none;
}
.main-nav > ul li a,
.footer-nav > ul li a,
.main-nav-mobile > ul li a {
  color: var(--white-color);
  transition: all 0.3s ease;
}

.main-nav > ul li a:hover,
.footer-nav > ul li a:hover,
.main-nav-mobile > ul li a:hover {
  color: rgba(204, 204, 204, 0.897);
}

.main-nav-mobile {
  background-color: #000;
  position: fixed;
  padding: 30px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: none;
}

.main-nav-mobile.active {
  display: block;
}
.menu-header > .logo a {
  font-size: 30px;
}
.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main-nav-mobile > ul {
  list-style: none;
  margin-top: 40px;
}
.main-nav-mobile > ul li {
  margin-top: 15px;
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 300;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1090px;
  margin: 0 auto;
}
.hero-box {
  border: 2px solid var(--white-color);
  padding: 2rem;
  max-width: 500px;
  margin-top: 250px;
}
.hero-box > h1 {
  font-weight: 200;
  font-size: 72px;
}
.hero-content {
  max-width: 1090px;
  margin: 0 auto;
}
.about {
  padding: 20px;
}
.about-content {
  max-width: 1090px;
  margin: 80px auto;
  position: relative;
}
.about-image {
  width: 730px;
  height: 500px;
  object-fit: cover;
}
.about-details {
  background-color: var(--white-color);
  max-width: 540px;
  position: absolute;
  padding: 80px;
  bottom: 0;
  right: 0;
}
.about-details > h2 {
  font-size: 45px;
  font-weight: 300;
  color: var(--black-color);
  text-transform: uppercase;
}
.about-details > p {
  font-size: 15px;
  margin-top: 10px;
  line-height: 25px;
}
.gallery-content {
  max-width: 1090px;
  margin: 80px auto;
}
.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gallery-header > h1 {
  font-size: 45px;
  font-weight: 300;
}
.gallery-btn {
  border: 1px solid var(--black-color);
  padding: 10px 25px;
  background-color: var(--white-color);
  letter-spacing: 5px;
  transition: all 0.3s ease;
}
.gallery-b-btn {
  display: none;
}
.gallery-btn:hover {
  color: var(--white-color);
  background-color: var(--black-color);
}
.gallery-imgs {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  padding: 20px;
}
.gallery-img {
  background: url("images/nature.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height: 450px;
  width: 250px;
  position: relative;
  z-index: 1;
  padding: 20px;
  display: flex;
  align-items: end;
}
.gallery-img::after {
  content: "";
  position: absolute;
  background-color: #332d2d9c;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.gallery-img > h3 {
  color: var(--white-color);
  font-weight: 200;
  font-size: 32px;
}
.footer {
  background-color: var(--black-color);
  padding: 20px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1090px;
  margin: 0 auto;
}
.logo.footer {
  padding: 0;
  margin-bottom: 10px;
}
.logo.footer > a {
  font-size: 25px;
}
.social-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-content-right > p {
  color: var(--white-color);
  margin-top: 10px;
}
@media screen and (max-width: 1020px) {
  .about-image {
    width: 100%;
    height: 450px;
  }
  .gallery-header {
    justify-content: center;
  }
  .gallery-header > .gallery-btn {
    display: none;
  }
  .gallery-imgs {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }
  .gallery-img {
    width: 100%;
    max-height: 150px;
  }
  .gallery-b-btn {
    display: flex;
    margin: 0 auto;
  }
}
@media screen and (max-width: 768px) {
  .main-nav > ul {
    display: none;
  }
  .menu-btn,
  .menu-btn--close {
    background-color: transparent;
    border: 0;
    display: inline-block;
  }
  .hero-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-box {
    width: 100%;
    padding: 1.5rem;
    margin-top: 200px;
  }
  .about-img {
    width: 100%;
  }
  .about-img > img {
    width: 100%;
    object-fit: cover;
  }
  .about-details {
    position: relative;
    max-width: 100%;
    text-align: center;
    padding: 40px;
  }
  .about-details > h2 {
    max-width: 400px;
    margin: 0 auto;
  }
  .gallery-header {
    font-size: 25px;
    text-align: center;
  }
}
@media screen and (max-width: 680px) {
  .hero-box {
    padding: 1rem;
    margin-top: 100px;
  }
  .hero-box > h1 {
    font-weight: 200;
    font-size: 45px;
  }
  .about-image {
    width: 100%;
    height: 320px;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
  .logo.footer {
    padding: 0;
    margin: 10px auto;
    max-width: max-content;
  }
  .footer-nav > ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
  }
  .social-icon {
    width: max-content;
    margin: 0 auto;
  }
  .about-details > h2 {
    font-size: 30px;
  }
}
