/* =====================================================================
   Dawayer Studio — design refresh (Dec 2026)
   Loaded after style.css and custom.css. Grouped by package.
   ===================================================================== */

/* ---------- A. Quick clean-up ---------- */

/* Floating social bar: never on phones/tablets (it covered forms and
   buttons); on desktop only near the top of the page (see scripts.js). */
@media (max-width: 991px) {
    .social-fixed { display: none !important; }
}
.social-fixed .social-icon { transition: opacity .3s ease, visibility .3s ease; }
.social-fixed.is-hidden .social-icon { opacity: 0; visibility: hidden; }

/* Footer */
.site-footer { padding: 70px 0 30px; border-top: 1px solid rgba(255, 255, 255, .06); }
.site-footer .footer-col { margin-bottom: 35px; }
.site-footer .footer-logo { width: 48px; height: 48px; margin-bottom: 18px; }
.site-footer .footer-about { color: #c8c8c8; font-size: 15px; margin-bottom: 18px; max-width: 340px; }
.site-footer .footer-head { color: #a3b838; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { color: #c8c8c8; font-size: 15px; line-height: 1.6; margin-bottom: 8px; }
.site-footer li a { color: #fff; display: inline-block; padding: 4px 0; }
.site-footer li a:hover, .site-footer li a:focus-visible { color: #a3b838; }
.site-footer .footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer .footer-social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: 15px; transition: background .2s, border-color .2s, color .2s; }
.site-footer .footer-social a:hover, .site-footer .footer-social a:focus-visible { background: #a3b838; border-color: #a3b838; color: #111; }
.site-footer .copyrights { margin-top: 10px; padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, .06); text-align: center; }
.site-footer .copyrights p { color: #9a9a9a; font-size: 13px; margin: 0; }

/* Big outline "ghost" words behind titles: hidden on phones (they were cut
   off, e.g. "SHOW"), softer on desktop. */
.sec-head .tbg { opacity: .45; }
.block-sec .showreel .video-box .tit-text h2 { -webkit-text-stroke-color: rgba(255, 255, 255, .06); }
@media (max-width: 767px) {
    .sec-head .tbg,
    .block-sec .showreel .video-box .tit-text h2,
    .works-header .capt .bactxt { display: none; }
}

/* Project page share buttons */
.project-share .social { display: flex; gap: 10px; margin-top: 12px; }
.project-share .social a.icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); color: #fff; margin: 0; }
.project-share .social a.icon:hover, .project-share .social a.icon:focus-visible { background: #a3b838; border-color: #a3b838; color: #111; }

/* Testimonials: initials instead of the repeated logo picture */
.testimonials .author .img.testi-initial { display: flex; align-items: center; justify-content: center; background: #a3b838; color: #111; font-weight: 700; font-size: 26px; border-radius: 50%; }

/* Faster entrance animations: content used to fade in letter by letter or
   with long delays (hero headline ~3 s on phones, Services page black). */
.slider .parallax-slider .swiper-slide-active .caption h1 .char {
    animation-duration: .4s;
    animation-delay: calc(12ms * var(--char-index));
}
.splitting.animated .char { animation-duration: .35s; animation-delay: calc(10ms * var(--char-index)); }
.splitting.txt.animated .char { animation-delay: calc(4ms * var(--char-index)); }
.wow.animated { animation-duration: .6s !important; animation-delay: .05s !important; }
.imago { transition-duration: .5s; transition-delay: 0s; }

/* Visitors who ask for less motion: no entrance animations at all. */
@media (prefers-reduced-motion: reduce) {
    .wow, .wow.animated, .splitting .char, .imago, .imago.animated {
        animation: none !important;
        transition: none !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .imago { clip-path: none !important; -webkit-clip-path: none !important; }
    html { scroll-behavior: auto; }
}

/* ---------- B. Hero, buttons, text sizes ---------- */

/* Buttons keep the original outline style (owner's choice, 30 Nov).
   Only a keyboard focus ring is added; it shows when tabbing, not on click. */
.btn-curve:focus-visible, a.simple-btn:focus-visible { outline: 2px solid #a3b838; outline-offset: 3px; }

/* Hero: darker gradient behind the headline, two buttons (old outline style). */
.slider .parallax-slider .bg-img[data-overlay-dark]:before {
    background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .58) 50%, rgba(0, 0, 0, .82) 100%);
    opacity: 1;
}
.slider .parallax-slider .caption h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .55); text-align: center; }
.slider .parallax-slider .caption.dig h1 .tline { margin-left: 0; display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
/* Same look as the other outline buttons (the hero caption styles would otherwise restyle the text). */
.slider .caption .hero-actions .btn-curve span { text-transform: uppercase; font-size: 13px; font-weight: 500; letter-spacing: 2px; }
.slider .caption .hero-actions .btn-curve { padding: 12px 35px; }

/* Text: calmer section labels, regular-weight body text, brighter greys. */
.sec-head h6, .call-action h6, .call-action .content h6 { letter-spacing: 4px; font-weight: 500; font-size: 15px; }
p { font-weight: 400; }
.about p, .about .content p { font-size: 16px; line-height: 1.85; }
.portfolio .gallery .items .cont span,
.team .item .info span,
.contact .cont-info .item h5,
.contact .cont-info .item h6,
.footer-half .copyrights p { color: #b8b8b8; }
@media (max-width: 767px) {
    .sec-head h6 { font-size: 14px; letter-spacing: 3px; }
}

/* ---------- C. Contact form ---------- */
.ui-form .form-note { color: #b8b8b8; font-size: 13px; margin-bottom: 10px; }
.ui-form .form-note span, .ui-form .req { color: #a3b838; }
.ui-form .form-group { margin-bottom: 22px; }
.ui-form label { display: block; color: #e6e6e6; font-size: 14px; font-weight: 500; margin: 0 0 2px; }
.contact .form .ui-form input { padding: 10px 0 12px; font-size: 16px; }
.contact .form .ui-form textarea { margin-top: 6px; font-size: 16px; }
.contact .form .ui-form input:focus, .contact .form .ui-form textarea:focus { outline: none; border-color: #a3b838; box-shadow: 0 1px 0 0 #a3b838; }
.contact .form .ui-form textarea::placeholder { color: #8f8f8f; }
.ui-form .btn-curve.btn-lit { margin-top: 10px; }

/* The multi-select (select2) used to be a white box: dark like the other fields. */
body .select2-container { margin-top: 0; }
body .select2-container--default .select2-selection--multiple {
    background: transparent; border: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .3) !important;
    border-radius: 0; min-height: 46px; padding: 6px 0 8px;
}
body .select2-container--default.select2-container--focus .select2-selection--multiple { border-bottom-color: #a3b838 !important; }
body .select2-container .select2-search--inline .select2-search__field { color: #fff; font-size: 16px; background: transparent; }
body .select2-container .select2-search--inline .select2-search__field::placeholder { color: #8f8f8f; }
body .select2-container--default .select2-selection--multiple .select2-selection__choice { background: #2b2b2b !important; color: #fff; border-radius: 3px; }
body .select2-container--default .select2-results__option { color: #fff; padding: 10px 12px; }
body .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
body .select2-container--default .select2-results__option--selected { background: #a3b838; color: #111; }
body .select2-container .select2-selection--multiple .select2-search--inline,
body .select2-container .select2-selection--multiple .select2-selection__rendered { width: 100%; }
body .select2-container .select2-selection--multiple .select2-selection__rendered:not(:empty) ~ .select2-search--inline { width: auto; }
body .select2-container .select2-search--inline .select2-search__field { min-width: 260px; }

/* ---------- D. Phone home page, Services tiles, project page ---------- */

/* Home "About": one photo on phones instead of three stacked (~800 px). */
@media (max-width: 767px) {
    .about .img-mons .img1, .about .img-mons .img3 { display: none; }
    .about .img-mons .img2 { margin-bottom: 30px; }
    .about .img-mons .img2 img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
    .section-padding { padding: 56px 0; }
}

/* Services tiles: photos visible, name on a bottom gradient, whole tile clickable. */
.services .item { align-items: flex-end; justify-content: flex-start; overflow: hidden; border-radius: 6px; }
.services .item:before {
    background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .8) 100%);
    opacity: 1; transition: background .3s;
}
.services .item:hover:before { background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .9) 100%); }
.services .item a { position: static; padding: 18px; width: 100%; text-align: left; }
.services .item a:after { content: ''; position: absolute; inset: 0; z-index: 2; }
.services .item h6 { position: relative; z-index: 1; font-size: 17px; line-height: 1.35; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.services .item:hover h6 { color: #a3b838; }
.services .item a:focus-visible { outline: none; }
.services .item a:focus-visible:after { outline: 2px solid #a3b838; outline-offset: -2px; border-radius: 6px; }
