/**
 * Theme Name:        Photography
 * Version:           1.0.1
 * Author:            Aswani Prakash
 * Tested up to:      6.7
 * Requires at least: 6.2
 * Requires PHP:      7.4
 */

body {
	margin: 0px;
    background-color: #000;
    color: #fff;
    font-family: "Hind Siliguri", sans-serif;
}

.home-header {
	position: fixed;
    top: 0;
    z-index: 200;
    width: 100%;
    padding: 0.9rem 2rem;
    background-color: transparent;  /* Transparent background initially */
    transition: background-color 0.5s ease-in-out;
}

.home-header .wp-block-site-title {
    font-size: 2rem;
    font-weight: 400;
    font-family: "Signika", sans-serif;
    text-transform: uppercase;
}

.header-curtain {
    position: fixed;
    top: 0;
    width: 100%;
    min-height: 65px;
    z-index: 190;
    background-color: rgba(0, 0, 0, 1);
    transform: translateY(-100%);
    transition: transform 1s;
}

.show-curtain {
    transform: translateY(0);
}

.hamburger {
  display: inline-block;
  height: 26px;
  
  span.main-nav-toggle {
    display: block;
    width: 28px;
    height: 16px;
    right: 30px;
    position: absolute;
    top: 25px;
    cursor: pointer;
    z-index: 100;
    
    &:after,
    &:before {
      content: '';
      position: absolute;
      top: 0;
      height: 0;
      border-bottom: 4px solid #fff;
      width: 100%;
      left: 0;
      right: 0;
      transition: all ease-out 0.6s;
    }
    
    &:after {
      top: 100%;
    }
    
    i {
      display: block;
      text-indent: 100%;
      overflow: hidden;
      white-space: nowrap;
      height: 4px;
      background-color: #fff;
      width: 100%;
      position: absolute;
      top: 50%;
      transition: all ease-out 0.1s;
    }
    
    &.active-menu {
      &:after {
        transform: rotate(-45deg);
        transform-origin: center;
        top: 50%;
      }
      
      &:before {
        transform: rotate(45deg);
        transform-origin: center;
        top: 50%
      }
      
      i {
        opacity: 0;
      }
    }
  }
}

.header-menu-nav {
    position: fixed;
    transform: translateY(-100%);
    transition: transform 0.5s;
    top: 0rem;
    right: 30px;
    z-index: 99;
    background: #fff;
    list-style: none;
    padding: 1rem 2rem;
    width: 350px;
    text-align: right;
    font-weight: 500;
    font-size: 1.25rem;
}

.header-menu-nav .menu-item {
    display: block;
    margin: 1.5rem 0rem;
    text-decoration: none;
}

.header-menu-nav .current-menu-item a {
    color: #eb792d !important;
}

.header-menu-nav .menu-item a {
    text-decoration: none;
    color: #000;
    text-transform: uppercase;
}

.header-menu-nav .menu-item a:hover {
    color: #eb792d;
}

.showMenu {
    transform: translateY(0);
    top: 4rem;
}

.contact-details {
    border-top: 1px solid #888;
    color: #000;
}

.contact-details a {
    text-decoration: none;
    color: #000;
}

.home-article {
    padding: 3em 4em 2em 4em;
    font-size: 1.75rem;
}

.home-article span {
    opacity: 0.3;
    transition: opacity 1s ease, color 1s ease;
}

.home-article span.highlight {
    opacity: 1;
    color: white;
}

.home-gallery {
    padding-bottom: 3em;
}

#bwg_container1_0 #bwg_container2_0 #bwg_mosaic_thumbnails_div_0 {
    padding-left: 0px !important;
}

.bwg_filmstrip_left, .bwg_filmstrip_right {
    display: none !important;
}


.bwg_btn_container {
    top: 0.75rem !important;
    bottom: 0.75rem !important;
}

#spider_popup_wrap, #bwg_image_container {
    height: 100% !important;
}

footer {
    padding: 3.5rem;
    font-size: 1rem;
    background-color: #fff;
    color: #000;
}

.wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor, .wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor svg, .wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor:active, .wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor:hover, .wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor:visited {
    color: #fff !important;
    fill: #fff !important;
}

:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-instagram {
    background-color: #000 !important;
}

:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-linkedin {
    background-color: #000 !important;
}

.wp-block-social-links, .wp-block-social-links.has-normal-icon-size {
    font-size: 1rem !important;
}

.contact-popup {
    position: fixed;
    top: 0;
    right: 0;
    overflow: auto;
    background-color: #fff;
    z-index: 100;
    display: none;
    padding: 1rem 2rem;
    margin: 1rem !important;
    color: #000;
}

.show-contact-form {
    display: block;
}

.contact-popup .close {
    text-align: right;
}

.contact-popup .close span {
    font-size: 2rem;
    cursor: pointer;
}

#simple-contact-form form {
    padding: 0px !important;
}

#simple-contact-form .scf-row label {
    box-sizing: border-box;
    float: none !important;
    clear: none !important;
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 1rem !important;
    display: block;
    width: 100% !important;
}

#simple-contact-form .scf-row input, #simple-contact-form .scf-row textarea{
    box-sizing: border-box;
    float: none !important;
    clear: none !important;
    width: 100% !important;
    margin: 0;
    padding-block: 0.5rem;
    padding-inline: 0.5rem;
    font-size: 1rem;
}

#scf-button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
}

.about {
    display: flex;
    flex-wrap: wrap;
    padding: 3rem;
    gap: 3rem;
}

.about img {
    max-width: 100%;
    max-height: 45vh;
}

.about-text {
    flex: 1;
    font-size: 1.75rem;
}

.about-text p:first-child {
    margin-top: 0px;
}

.contact-button {
    border: 3px #fff solid;
    color: #fff;
    padding: 2rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    background-color: #000;
    cursor: pointer;
}

@media (max-width: 430px) {
    footer {
        padding: 2.5rem;
    }
}

@media (max-width: 800px) {
    .home-header {
        padding: 0.9rem 1rem;
    }

    .home-article {
        padding: 2em 1em;
    }

    .header-menu-nav {
        width: 300px;
        right: 15px;
    }

    .hamburger span.main-nav-toggle {
        right: 15px;
    }

    .about img {
        width: 100%;
    }

    #spider_popup_left, #spider_popup_right {
        display: none;
    }

    footer .wp-block-group {
        flex-direction: column;
        gap: 1.5rem;
    }
}

