/*
Theme Name: Wiso (Child Theme)
Theme URI: http://foxthemes.com/web/wp/wiso
Author: Fox-Themes
Author URI: https://themeforest.net/user/fox-themes
Version: 1.0.0
Description: Alexandra Tatu Photography - Fine Art Newborn, Maternity & Family
Tags: one-column, two-columns, right-sidebar, custom-menu, post-formats, sticky-post, translation-ready
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wiso-child
Template: wiso
*/

/* ==========================================================================
   Alexandra Tatu Photography - Fine Art Style
   Color palette: warm cream, soft rose, elegant gold
   ========================================================================== */

/* -- CSS Variables -- */
:root {
  --at-cream: #fcf9f6;
  --at-warm-white: #fefdfb;
  --at-rose: #c9a99b;
  --at-rose-light: #e8d5cc;
  --at-rose-dark: #a8826f;
  --at-gold: #c2a878;
  --at-text-dark: #2c2c2c;
  --at-text-medium: #6b6b6b;
  --at-text-light: #999999;
  --at-border: #eae5e0;
  --at-transition: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* -- Typography -- */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--at-text-dark);
  letter-spacing: 0.01em;
}

/* Headings - elegant serif */
h1, h2, h3, h4, h5, h6,
.title,
.wiso-heading .title,
.banner-slider .title,
.portfolio-single-content .title {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif !important;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--at-text-dark);
}

h1, .wiso-heading .title {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.4rem;
  line-height: 1.25;
}

/* Subtitle / body text refinement */
.wiso-heading .subtitle,
.wiso-heading .text,
.info-wrap .text,
.left_gallery_desc .text,
.desc-wrapper .text {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.85;
  color: var(--at-text-medium);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Navigation / Header
   ========================================================================== */

.main-menu {
  transition: all 0.4s var(--at-transition);
}

.main-menu.sticky-menu {
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
}

.main-menu .menu-list > li > a,
.main-menu .menu-list > li > span {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 400 !important;
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.main-menu .menu-list > li > a:hover {
  opacity: 0.6;
}

/* Logo */
#logo img {
  transition: opacity 0.3s ease;
  max-height: 60px;
}

#logo a:hover img {
  opacity: 0.8;
}

/* ==========================================================================
   Banner Slider Andra — preserve image aspect ratio (portrait + landscape)
   ========================================================================== */

/* Theme forces slides to 50% width and converts img to background-cover.
   We let slide width follow the image's natural aspect ratio at a fixed height. */
.banner-slider-wrap.andra .swiper-slide {
  width: auto !important;
  max-width: none;
}

.banner-slider-wrap.andra .swiper-slide.s-back-switch {
  background-image: none !important;
  min-height: 0;
  max-height: none;
}

.banner-slider-wrap.andra .swiper-slide .s-img-switch {
  display: block !important;
  visibility: visible !important;
  height: 80vh;
  min-height: 640px;
  max-height: 90vh;
  width: auto;
  max-width: none;
  margin: 0;
  object-fit: contain;
}

@media only screen and (max-width: 1199px) {
  .banner-slider-wrap.andra .swiper-slide .s-img-switch { min-height: 440px; }
}
@media only screen and (max-width: 1024px) {
  .banner-slider-wrap.andra .swiper-slide .s-img-switch { min-height: 400px; }
}
@media only screen and (max-width: 768px) {
  .banner-slider-wrap.andra .swiper-slide { width: 100% !important; }
  .banner-slider-wrap.andra .swiper-slide .s-img-switch {
    width: 100%;
    height: auto;
    min-height: 350px;
    max-height: 80vh;
    object-fit: cover;
  }
}

/* ==========================================================================
   Hero / Banner Slider
   ========================================================================== */

.banner-slider .slide-content .title {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif !important;
  font-weight: 300 !important;
  font-size: 4.5rem !important;
  letter-spacing: 0.06em;
  text-transform: none !important;
}

@media (max-width: 767px) {
  .banner-slider .slide-content .title {
    font-size: 2.5rem !important;
  }
}

/* ==========================================================================
   Portfolio Grid
   ========================================================================== */

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  transition: transform 0.8s var(--at-transition), filter 0.8s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* Portfolio single titles */
.portfolio-single-content .title {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* Portfolio category labels */
.portfolio-single-content .category-parallax a,
.portfolio-single-content .categories a {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--at-rose-dark);
  border-bottom: 1px solid var(--at-rose-light);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.portfolio-single-content .category-parallax a:hover,
.portfolio-single-content .categories a:hover {
  color: var(--at-text-dark);
  border-color: var(--at-text-dark);
}

/* Info items (Date, Client, Tags) */
.info-item-wrap .item .name {
  font-family: 'Open Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--at-text-light);
  margin-bottom: 5px;
}

.info-item-wrap .item .text-item,
.info-item-wrap .item .text-item a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--at-text-dark);
}

/* Portfolio navigation */
.portfolio-navigation a {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.portfolio-navigation a:hover {
  opacity: 0.6;
}

/* ==========================================================================
   Tile Info Portfolio Style (client's preferred style)
   ========================================================================== */

.tile_info .gallery-wrap .gallery-item {
  transition: all 0.5s var(--at-transition);
}

.tile_info .banner-wrap .text-wrap .title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.a-btn,
.a-btn-2,
.a-btn-3 {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase;
  padding: 14px 40px !important;
  transition: all 0.4s var(--at-transition) !important;
}

.a-btn {
  border: 1px solid var(--at-text-dark) !important;
  color: #fff !important;
  background: transparent !important;
}

.a-btn:hover {
  background: var(--at-text-dark) !important;
  color: #fff !important;
}

.a-btn-2 {
  background: var(--at-text-dark) !important;
  color: #fff !important;
}

.a-btn-2:hover {
  background: var(--at-rose-dark) !important;
}

.a-btn-3 {
  border-bottom: 1px solid var(--at-text-dark) !important;
  color: var(--at-text-dark) !important;
}

.a-btn-3:hover {
  border-color: var(--at-rose-dark) !important;
  color: var(--at-rose-dark) !important;
}

/* ==========================================================================
   Sections & Spacing
   ========================================================================== */

/* Warm cream backgrounds */
.vc_custom_1525347828777,
.vc_custom_1525347839250 {
  background-color: var(--at-cream) !important;
}

/* Separator lines */
.vc_separator .vc_sep_line {
  border-color: var(--at-border) !important;
}

/* ==========================================================================
   The Grid Plugin - Portfolio Grids
   ========================================================================== */

.tg-item .tg-item-overlay {
  transition: opacity 0.5s var(--at-transition) !important;
}

.tg-item .tg-element-0 {
  font-family: 'Cormorant Garamond', serif !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-modern {
  background-color: #1a1a1a !important;
}

.footer-modern .footer-logo img {
  max-width: 120px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-modern .footer-logo img:hover {
  opacity: 1;
}

.footer-modern .footer-text,
.footer-modern .footer-text a,
.footer-modern .copyright-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.footer-modern .social-list a {
  transition: opacity 0.3s ease;
}

.footer-modern .social-list a:hover {
  opacity: 0.6;
}

/* Footer simple style */
footer .footer-logo img {
  max-width: 130px;
}

/* ==========================================================================
   Page Content / Service Pages
   ========================================================================== */

/* Parent theme sets .hero { height: 40% } which is meant for hero banners
   with background images, not for regular page content. */
.hero { height: auto; }

/* Parent theme makes #footer position:absolute with bottom:0 and relies on
   JS to add padding-bottom to .main-wrapper equal to footer height. On first
   load (before images/isotope finish), the measurement is wrong and content
   ends up under the footer. We force the footer back into normal flow. */
#footer { position: relative !important; }
.main-wrapper { padding-bottom: 0 !important; }

.wpb_text_column p {
  font-weight: 300;
  line-height: 1.85;
  color: var(--at-text-medium);
}

.wpb_text_column h2,
.wpb_text_column h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  margin-bottom: 20px;
}

.wpb_text_column ul li {
  font-weight: 300;
  line-height: 2;
  color: var(--at-text-medium);
  position: relative;
  padding-left: 15px;
}

.wpb_text_column ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--at-rose);
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  border: 1px solid var(--at-border);
  padding: 12px 16px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  transition: border-color 0.3s ease;
  background: var(--at-warm-white);
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: var(--at-rose);
  outline: none;
}

.wpcf7 input[type="submit"] {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 45px;
  background: var(--at-text-dark);
  color: #fff;
  border: 1px solid var(--at-text-dark);
  cursor: pointer;
  transition: all 0.4s var(--at-transition);
}

.wpcf7 input[type="submit"]:hover {
  background: transparent;
  color: var(--at-text-dark);
}

/* ==========================================================================
   Blog
   ========================================================================== */

.blog .post-wrap-item .title a {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  transition: color 0.3s ease;
}

.blog .post-wrap-item .title a:hover {
  color: var(--at-rose-dark);
}

.blog .post-wrap-item .date-meta {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ==========================================================================
   Preloader
   ========================================================================== */

.preloader .txt {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 300;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   LightGallery / Lightbox
   ========================================================================== */

.lg-backdrop {
  background-color: rgba(0, 0, 0, 0.92) !important;
}

.lg-toolbar,
.lg-actions .lg-prev,
.lg-actions .lg-next {
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   Scrollbar (webkit)
   ========================================================================== */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--at-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--at-rose-light);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--at-rose);
}

/* ==========================================================================
   Selection highlight
   ========================================================================== */

::selection {
  background: var(--at-rose-light);
  color: var(--at-text-dark);
}

::-moz-selection {
  background: var(--at-rose-light);
  color: var(--at-text-dark);
}

/* ==========================================================================
   Smooth scroll
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   Responsive refinements
   ========================================================================== */

@media (max-width: 991px) {
  h1, .wiso-heading .title {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 2rem;
  }

  .portfolio-single-content .title {
    font-size: 2.2rem;
  }
}

@media (max-width: 767px) {
  h1, .wiso-heading .title {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .portfolio-single-content .title {
    font-size: 1.8rem;
  }

  .a-btn,
  .a-btn-2,
  .a-btn-3 {
    padding: 12px 30px !important;
    font-size: 10px !important;
  }
}

/* ==========================================================================
   Image hover effects for The Grid portfolio items
   ========================================================================== */

.tg-item img {
  transition: transform 0.7s var(--at-transition) !important;
}

.tg-item:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   Page heading / banner for inner pages
   ========================================================================== */

.page-header-wrap .title {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 300 !important;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Swiper sliders
   ========================================================================== */

.swiper-pagination-bullet-active {
  background: var(--at-text-dark) !important;
}

/* ==========================================================================
   Social icons in portfolio
   ========================================================================== */

.single-share .social-list a {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.single-share .social-list a:hover {
  opacity: 0.6;
  transform: translateY(-2px);
}

/* ==========================================================================
   Andra Slider - Text & Button Overlay
   ========================================================================== */

.banner-slider-wrap.andra .swiper-slide {
  position: relative;
}

.banner-slider-wrap.andra .andra-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 80px;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.banner-slider-wrap.andra .andra-content .subtitle {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
}

.banner-slider-wrap.andra .andra-content .title {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 15px;
}

.banner-slider-wrap.andra .andra-content .text {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 20px;
}

.banner-slider-wrap.andra .andra-content .a-btn,
.banner-slider-wrap.andra .andra-content .a-btn-2,
.banner-slider-wrap.andra .andra-content .a-btn-3,
.banner-slider-wrap.andra .andra-content .a-btn-4 {
  margin-top: 5px;
}

.banner-slider-wrap.andra .andra-content .a-btn-4 {
  border: 1px solid rgba(255,255,255,0.7) !important;
  color: #fff !important;
  background: transparent !important;
}

.banner-slider-wrap.andra .andra-content .a-btn-4:hover {
  background: #fff !important;
  color: var(--at-text-dark) !important;
}

@media (max-width: 767px) {
  .banner-slider-wrap.andra .andra-content {
    padding: 30px 25px;
  }

  .banner-slider-wrap.andra .andra-content .title {
    font-size: 2rem;
  }

  .banner-slider-wrap.andra .andra-content .text {
    font-size: 13px;
  }
}
