/*!
Theme Name: SF DarStudio Theme
Theme URI: http://saadfaris.com
Author: Saad Faris
Author URI: http://saadfaris.com
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sf-links
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * ===================================================================
 * Base & Normalizing Stylesheet
 * * يحتوي هذا الملف على قواعد "Normalize.css" لتوحيد مظهر المتصفحات،
 * بالإضافة إلى التنسيقات الأساسية للموقع.
 * ===================================================================
 */

/* * -------------------------------------------------------------------
 * 1. Global Variables
 * -------------------------------------------------------------------
 */
/*
 * ===================================================================
 * Global Variables & Base Styles
 * تم توحيد الألوان والخطوط هنا لتسهيل التعديل المستقبلي
 * ===================================================================
 */
:root {
  --color-primary: #000000;
  --color-light: #000000; 
  --color-dark: #ffffff;
  --color-white: #000000;
  --color-light-gray: #ddd;
  --color-dark-gray: #333;
  --color-primary-darker: #000000;
  --color-primary-rgb: 0, 255, 0;  /* نسخة RGB للون الأساسي */
  --color-dark-rgb: 0, 0, 0;        /* نسخة RGB للون الداكن */

  --color-dark-overlay: rgba(0, 0, 0, 0.6);
  --color-dark-transparent-light: rgba(0, 0, 0, 0.2);
  --color-dark-transparent-medium: rgba(0, 0, 0, 0.24);

  --font-sans: "aktiv-grotesk", sans-serif;
  --font-serif: "benton-modern-display", serif;
	
  --color-black-rgb: 0, 0, 0;                       
  --color-overlay: rgba(var(--color-black-rgb), 0.6);
  --color-transparent-light: rgba(var(--color-black-rgb), 0.2);
  --color-transparent-medium: rgba(var(--color-black-rgb), 0.24);
	
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  --border-radius: 8px;
  --transition-fast: 0.3s ease;
  --transition-base: 0.4s ease;

}

/* * -------------------------------------------------------------------
 * 2. Box Sizing & Root Styles
 * -------------------------------------------------------------------
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  scroll-behavior: smooth;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* * -------------------------------------------------------------------
 * 3. Body & Scrollbar
 * -------------------------------------------------------------------
 */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overscroll-behavior: none;
  cursor: none; /* لإخفاء مؤشر الماوس الافتراضي واستخدام المخصص */
  color: var(--color-light);
  font-family: var(--font-serif);
  font-size: 1rem;
  transition: background-color 2s ease;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
  border-radius: 10px;
}


body {
  font-family: var(--font-serif);
  background-color: var(--color-dark);
}

a {
  text-decoration: none;
  color: inherit; /* ليتوارث اللون من العنصر الأب افتراضيًا */
}

canvas {
  display: block;
}

em,
.sf-italic,
.sf-alt-font {
  font-family: var(--font-serif);
  font-style: italic;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


/*
 * ===================================================================
 * Utility & Layout
 * ===================================================================
 */
.sf-max-width-all {
  max-width: 1200px;
  width: 93%;
  margin: 20px auto;
}

.sf-cursor {
  display: block; /* Hidden on mobile via media query */
}


/*
 * ===================================================================
 * Intro Banner & 3D Canvas
 * ===================================================================
 */
.sf-banner {
  height: 100vh;
}

#canvas3d {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  transition: opacity 0.4s ease;
}

.overlay-color {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-dark-overlay);
  z-index: 2;
  pointer-events: none;
}

.sf-intro-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-light);
  line-height: 1.2;
  font-weight: 400;
  z-index: 15;
}

.sf-svg-logo-i-b {
  margin: 0 auto;
}

.sf-svg-logo-i-b svg {
  fill: var(--color-primary);
  height: 100px;
  min-width: 230px;
  width: 100%;
}

.sf-intro-text .sf-top-line {
  font-size: 75px;
  opacity: 0;
  transform: scale(0.3);
}

.sf-intro-text .sf-bottom-line {
  font-size: 74px;
  font-weight: 600;
  opacity: 0;
  transform: scale(0.4);
  font-style: italic;
}

.sf-image-box {
  position: absolute;
  width: 250px;
  height: 150px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  transition: opacity 1s ease, transform 0.8s ease;
  z-index: 4;
}


/*
 * ===================================================================
 * Navigation (Desktop & Mobile)
 * ===================================================================
 */
.sf-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1005;
}

.sf-logo {
  font-weight: 400;
  color: var(--color-light);
}

.sf-logo svg {
  max-width: 180px;
  margin-top: -2px;
  fill: var(--color-light);
  transition: fill 0.3s ease;
}

body.menu-open .sf-logo svg {
  fill: var(--color-dark);
}

.sf-nav-links {
  position: absolute;
  right: 7%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
  align-items: center;
  z-index: 10;
	font-family: var(--font-sans);
}

.sf-nav-links a {
  color: var(--color-light);
  font-weight: 400;
}

.sf-book-btn {
  margin-left: auto;
  background-color: var(--color-primary);
  color: var(--color-dark);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: bold;
  font-style: italic;
}

/* Mobile Menu */
.sf-mobile-menu {
  visibility: hidden;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-light);
  color: var(--color-dark);
  flex-direction: column;
  z-index: 1000;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  padding-top: 80px;
  padding-left: 30px;
}

.sf-mobile-menu.show {
  visibility: visible;
  display: flex;
  transform: translateY(0%);
  opacity: 1;
}

.sf-mobile-menu a {
  margin: 1rem 0;
  font-size: 2rem;
  color: var(--color-dark);
  font-weight: 900;
}

.sf-mobile-menu a:hover {
  color: var(--color-primary);
}

.sf-book-btn-in {
  background: var(--color-primary);
  color: var(--color-dark);
  width: 300px;
  font-weight: bold;
  font-style: italic;
}

.sf-menu-toggle {
  display: none; /* Hidden by default */
  color: var(--color-dark);
  background-color: var(--color-primary);
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  font-style: italic;
  font-weight: bold;
  cursor: pointer;
  z-index: 1101;
}

#sfClose {
  position: fixed;
  color: var(--color-dark);
  top: 2rem;
  right: 1rem;
  z-index: 1102 !important;
  cursor: pointer;
}

.sf-mobile-socials {
  margin-top: 370px;
  font-style: italic;
  font-weight: bold;
  width: 200px;
}

/*
 * ===================================================================
 * About Section
 * ===================================================================
 */
.sf-about-section {
  color: var(--color-light);
}

.sf-about-intro {
  margin-bottom: 3rem;
  text-align: left;
}

.sf-about-intro .sf-line-top {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
    font-size: 50px;
}

.sf-about-intro .sf-line-bottom {
    font-family: var(--font-sans);
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
}

.sf-about-intro .sf-line-top,
.sf-about-intro .sf-line-bottom {
  margin: 0;
}

.sf-about-description {
    max-width: 730px;
    width: 99%;
    font-size: 21px;
    justify-self: flex-end;
    line-height: 1.8;
    font-weight: 400;
    font-family: var(--font-sans);
}

.sf-about-description em {
    font-weight: 600;
    font-size: 23px;
}

/*
 * ===================================================================
 * Projects / Portfolio Section
 * ===================================================================
 */
.sf-projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  margin-top: 55px;
}

.sf-section-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-style: italic;
  color: var(--color-light);
  margin: 0;
}


a.sf-see-more {
	display: table;
    font-style: italic;
    margin-top: 20px !important;
    font-weight: 800;
    font-size: 19px;
    color: var(--color-light);
    padding: 7px 18px;
    border: 2px solid var(--color-light);
    transition: color 0.3s ease, border-color 0.3s ease;
    border-radius: 99px;
}


a.sf-see-more:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.sf-projects-description {
  color: var(--color-light);
  font-size: 1rem;
  max-width: 470px;
  width: 99%;
  line-height: 1.6;
  margin-bottom: 3rem;
}

/* Portfolio Grid */
.sf-portfolio-grid {
  display: grid;
  gap: 20px;
}

.sf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease;
    color: var(--color-white);
}

.sf-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.sf-card-content {
  padding-top: 5px;
}

.sf-card-content h3 {
  margin: 0;
  font-size: 23px;
  font-family: var(--font-serif);
  font-style: italic;
  color: --color-light;
  transition: color 0.4s ease;
}

.sf-card-content h4 {
    font-size: 17px;
    margin-top: 8px;
    margin-bottom: 9px;
    font-weight: 400;
    font-family: var(--font-sans);
    font-style: normal;
    color: var(--color-light);
    transition: color 0.4s ease;
}

.sf-card-content p {
  margin: 0;
}

.sf-services-list ul{
    margin-top: 5px;
}

/* Card Hover Effect */
.sf-card-image-wrapper {
  position: relative;
  overflow: hidden;
  line-height: 0;
filter: grayscale(100%) contrast(0.8);
 transition: filter 0.5s ease;
}

.sf-card-image-wrapper::before,
.sf-card-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.sf-card-image-wrapper::before {

}

.sf-card-image-wrapper::after {
  filter: grayscale(0%);
  transition: filter 0.5s ease;
}

.sf-card:hover .sf-card-image-wrapper::before,
.sf-card:hover .sf-card-image-wrapper::after {
  opacity: 1;
}

.sf-card .sf-services-list li {
    font-size: 15px;
    margin-right: 10px;
    padding: 5px 16px;
    border: 1px solid #000;
    border-radius: 19px;
    color: var(--color-white);
    line-height: 1.5;
    transition: color 0.4s ease;
}

.sf-card:hover .sf-card-content h3,
.sf-card:hover .sf-card-content .sf-services-list li {
  color: var(--color-primary);
}


/*
 * ===================================================================
 * Services Section
 * ===================================================================
 */
.sf-services {
  background: var(--color-dark);
  color: var(--color-light);
  margin: auto;
}

.sf-services-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.sf-services-list {
    list-style-type: none;
    margin: 7px auto 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
}

.sf-card .sf-services-list li {
    font-size: 14px;
    font-family: var(--font-sans);
    margin-right: 10px;
    padding: 5px 16px;
    border: 1px solid #000;
    border-radius: 19px;
    color: var(--color-white);
    line-height: 1.5;
    transition: color 0.4s ease;
}

/* Accordion Tabs */
.sf-tab {
  border-bottom: 1px solid var(--color-light);
}

.sf-tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 20px 0;
}

.sf-tab-header h3 {
  margin: 0;
  font-style: italic;
  font-size: 1.5em;
}

.sf-arrow-icon {
  transition: transform 0.3s ease;
}

.sf-tab-content {
  display: none;
  padding: 0 0 20px 0;
  animation: fadeIn 0.3s ease;
}

.sf-tab.active .sf-tab-content {
  display: block;
}

.sf-tab.active .sf-arrow-icon {
  transform: rotate(180deg);
}

.sf-tab-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.sf-tab-desc {
  flex: 1;
  margin: 0;
}

.sf-see-more-in-ser {
  color: var(--color-primary);
  font-size: 0.9em;
  text-decoration: none;
  white-space: nowrap;
}


/*
 * ===================================================================
 * Booking Section (Shared & Calendly)
 * ===================================================================
 */
.sf-booking-d {
  margin-top: 90px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  color: var(--color-light);
  gap: 40px;
  align-items: flex-start;
}

.sf-booking-text-d {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}

.sf-booking-text-d h2 {
  font-size: 45px;
  font-style: normal;
  margin-bottom: 0px;
  font-family: var(--font-sans);
  font-weight: 300;
}


.sf-booking-text-d em {
	font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  display: inline-block;
  margin-top: 4px;
}

.sf-session-time-d {
  font-size: 1em;
  font-weight: 300;
  margin-bottom: 0px;
}

.sf-session-desc-d {
    font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-light);
  font-family: var(--font-sans);
}

.sf-booking-calendar-d {
  flex: 1;
  min-width: 280px;
  transform: scale(0.85);
  transform-origin: top right;
  padding: 10px;
  color: var(--color-light);
  box-sizing: border-box;
  background: white !important;
  border-radius: 11px;
}

.calendly-inline-widget {
	min-width:500px;
	height:700px;
	margin-left: 0px;
}

/*
 * ===================================================================
 * Easy Appointments Plugin Styles
 * ===================================================================
 */
.ea-standard {
  max-height: 590px !important;
  height: 100% !important;
  max-width: 420px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 20px !important;
  background-color: var(--color-light) !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  animation: fadeIn 0.4s !important;
}

.step.ea-step-active, div#booking-overview {
  color: var(--color-dark) !important;
}

.ea-standard .ea-label, .ea-standard .block, .ea-standard .section, .ea-standard small, .ea-standard br, button.ea-btn.ea-submit, button.ea-btn.ea-cancel {
  display: none !important;
}

.ea-step-title {
  font-weight: bold;
  font-size: 32px;
  color: var(--color-dark);
  font-family: var(--font-sans);
  margin-top: -3px !important;
  margin-bottom: 20px !important;
}

/* Calendar Step */
.ea-standard .step.calendar .ui-datepicker { background: transparent !important; border: none !important; width: 100% !important; padding: 0 !important; }
.ea-standard .step.calendar .ui-datepicker-header { background: transparent !important; border: none !important; padding: 0 0 15px 0 !important; position: relative; }
.ea-standard .step.calendar .ui-datepicker-title { color: var(--color-dark); font-size: 22px; font-weight: 600; text-align: center; }
.ea-standard .step.calendar .ui-datepicker-prev, .ea-standard .step.calendar .ui-datepicker-next { top: 0 !important; cursor: pointer; }
.ea-standard .step.calendar .ui-datepicker-prev { left: 0; }
.ea-standard .step.calendar .ui-datepicker-next { right: 0; float: right; }
.ea-standard .step.calendar .ui-datepicker-prev::before { content: '\003C'; font-size: 22px; font-weight: bold; color: var(--color-dark); }
.ea-standard .step.calendar .ui-datepicker-next::before { content: '\003E'; font-size: 22px; font-weight: bold; color: var(--color-dark); }
.ea-standard .step.calendar .ui-datepicker-prev span, .ea-standard .step.calendar .ui-datepicker-next span { display: none !important; }
.ea-standard .step.calendar .ui-datepicker-calendar th { color: var(--color-dark); font-weight: 600; text-transform: uppercase; }
.ea-standard .step.calendar .ui-datepicker-calendar td { padding: 0px 0px 15px 0px !important; }
.ea-standard .step.calendar .ui-datepicker-calendar td span,
.ea-standard .step.calendar .ui-datepicker-calendar td a {
  background: transparent !important;
  border: none !important;
  color: var(--color-dark) !important;
  text-align: center !important;
  font-weight: 500;
  padding: 0px !important;
  display: block;
  border-radius: 0px !important;
  width: 38px;
  height: 38px;
  line-height: 38px;
  margin: auto;
}
.ea-standard .step.calendar .ui-datepicker-unselectable span { color: var(--color-dark-transparent-medium) !important; }
.ea-standard .step.calendar .ui-datepicker-calendar td a:hover,
.ea-standard .step.calendar .ui-datepicker-calendar td a.ui-state-active {
  background: var(--color-primary) !important;
  color: var(--color-dark) !important;
}

/* Time Step */
.ea-standard .time { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 12px; }
.ea-standard .time .time-value {
  background-color: transparent !important;
  border: 2px solid var(--color-dark) !important;
  color: var(--color-dark) !important;
  border-radius: 0px !important;
  padding: 3px 5px !important;
  text-align: center !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  text-decoration: none !important;
}
.ea-standard .time .time-value:hover,
.ea-standard .time .time-value.selected-time {
  background-color: var(--color-primary) !important;
  color: var(--color-dark) !important;
  border-color: var(--color-primary) !important;
}
.ea-standard .time .time-value.disabled {
  background: var(--color-dark-transparent-light) !important;
  color: var(--color-dark-transparent-medium) !important;
  border-color: var(--color-dark-transparent-light) !important;
  cursor: not-allowed !important;
}

/* Final Step (User Info) */
.ea-standard .step.final p { margin: 0 0 7px 0; }
.ea-standard .step.final p label { display: block !important; font-weight: 600 !important; color: var(--color-dark) !important; padding-bottom: 0px !important; }
.ea-standard .step.final input, .ea-standard .step.final textarea {
  width: 100%;
  color: var(--color-dark) !important;
  padding: 8px;
  border: 2px solid var(--color-dark) !important;
  border-radius: 8px !important;
  background-color: transparent !important;
  box-sizing: border-box !important;
}
.ea-standard .step.final p:has(input[name="name"]), .ea-standard .step.final p:has(input[name="phone"]) { display: inline-block; width: 100%; }
.ea-standard .step.final p:has(input[name="name"]) { margin-right: 16px; }

/* Custom Navigation Buttons */
.ea-nav-container { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; }
.nav-button {
  padding: 12px 28px;
  font-family: var(--font-serif);
  font-style: italic;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.nav-button.next-btn, .nav-button.submit-btn { background-color: var(--color-primary); color: var(--color-dark); }
.nav-button.back-btn { background-color: var(--color-dark-transparent-medium); color: var(--color-dark); }
.ea_hide_show { margin-top: 20px !important; margin-bottom: -20px !important; }
pre.wp-block-preformatted, table.ui-datepicker-calendar { margin: 0 !important; padding: 0 !important; }
tr.row-worker { display: none !important; visibility: hidden !important; }


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


.sf-footer {
  font-family: var(--font-serif);
  padding: 0;
}

.sf-footer-inner {
  max-width: 1200px;
  width: 93%;
  margin: 20px auto;
}

.sf-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.sf-social-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sf-social-links li {
  margin-bottom: 8px;
}

.sf-social-links a {
  text-decoration: none;
  color: var(--color-light);
  font-style: italic;
  font-size: 26px;
  font-weight: bold;
}

.sf-back-to-top {
  text-decoration: none;
  color: var(--color-light);
  font-style: italic;
  font-size: 26px;
  font-weight: bold;
  margin-top: 4px;
}

.sf-footer-logo {
  text-align: center;
}

.sf-footer-logo svg,
.sf-footer-logo img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}


/* .sf-footer {
  max-width: 1200px;
  width: 93%;
  margin: 80px auto;
  background: var(--color-dark);
  color: var(--color-light);
  text-align: center;
}

.sf-footer-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.sf-join {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sf-join-btn {
  background: var(--color-primary);
  color: var(--color-dark);
  font-weight: bold;
  padding: 6px 16px;
  border-radius: 20px;
  border: 2px solid var(--color-primary);
  transition: all 0.3s ease;
}

.sf-join-btn:hover {
  background: var(--color-dark);
  color: var(--color-primary);
}

.sf-join-btn:visited {
  background: var(--color-primary);
  color: var(--color-dark);
}

.sf-footer-text {
  font-size: 1em;
}

.sf-footer .sf-logo svg {
  height: 15px;
  margin-bottom: 4px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
  fill: var(--color-light);
}

.sf-socials {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.sf-socials a {
  color: var(--color-primary);
  font-weight: 500;
}

.sf-footer-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
}
 */

/*
 * ===================================================================
 * Forms (CF7)
 * ===================================================================
 */
.sf-join-form {
  margin: 10px auto;
}

.sf-join-form label {
  display: block;
  font-style: italic;
  font-weight: bold;
}

.sf-join-form input,
.sf-join-form textarea,
.sf-join-form select {
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  margin-bottom: 5px;
  border: 2px solid var(--color-light);
  background: var(--color-dark);
  color: var(--color-light);
  border-radius: 6px;
}

.sf-join-form input[type="checkbox"],
.sf-join-form input[type="radio"] {
  width: auto;
  margin-right: 6px;
}

.wpcf7-list-item {
  display: block !important;
  margin: 0 0 0 1em;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.sf-btn {
  width: 200px;
  text-align: center;
  margin: 0 auto;
  border-radius: 999px !important;
  background: var(--color-primary) !important;
  color: var(--color-dark) !important;
  font-style: italic !important;
  font-family: var(--font-serif) !important;
  border: 2px solid var(--color-primary) !important;
  font-weight: 400 !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.sf-btn:hover {
  background: var(--color-dark) !important;
  color: var(--color-primary) !important;
}


/*
 * ===================================================================
 * Responsive Media Queries
 * ===================================================================
 */

/* Medium and Small Screens (Tablets and Mobiles) */
@media screen and (max-width: 768px) {
  .sf-cursor {
    display: none;
  }

  /* Intro */
  .sf-svg-logo-i-b svg {
    height: 44px;
    min-width: 60px;
    margin: 20px auto;
  }
  .sf-intro-text {
    width: 100%;
    z-index: 3;
  }
  .sf-intro-text .sf-top-line {
    font-size: 30px;
  }
  .sf-intro-text .sf-bottom-line {
    font-size: 28px;
  }

  /* Navigation */
  .sf-logo svg {
    max-width: 160px;
    margin-top: 10px;
  }
  .sf-nav-links,
  .sf-book-btn {
    display: none;
  }
  .sf-menu-wrapper {
    display: block;
    position: absolute;
    top: 2rem;
    right: 1rem;
    z-index: 1101;
  }
  .sf-menu-toggle {
    display: block;
  }

  /* About */
  .sf-about-intro {
    font-size: 16px;
  }
  .sf-about-description {
    font-size: 14px;
  }
  
  /* Portfolio */
   .sf-portfolio-grid {
    grid-template-columns: 1fr;
  }
  .sf-card-standard img {
    height: 250px;
  }
  .sf-card-wide img {
    height: 350px;
  }

  /* Booking */
  .sf-booking-d {
    flex-direction: column;
  }
  .sf-booking-text-d, .sf-booking-calendar-d {
    max-width: 100%;
  }
  .sf-booking-calendar-d {
    transform: scale(1);
    padding: 0px;
    transform-origin: top center;
  }
  .calendly-inline-widget {
	min-width:100%;
	height:950px;
	margin-left: -20px; /* Adjust as needed */
  }

  /* Footer */
  .sf-footer-bottom {
    margin-top: 10px;
    flex-direction: row;
    justify-content: center;
    order: 3;
  }
  .sf-socials { order: 2; }
  .sf-join { order: 1; }
   .sf-footer .sf-logo svg {
    height: 16px;
    margin-bottom: 14px;
  }
}

/* Tablet Layout */
@media (min-width: 769px) and (max-width: 1200px) {
  .sf-portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Desktop Layout */
@media (min-width: 1201px) {
  .sf-portfolio-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Hide Mobile Menu on Desktop */
@media screen and (min-width: 769px) {
  .sf-menu-wrapper,
  .sf-mobile-menu {
    display: none !important;
  }
}


/* * -------------------------------------------------------------------
 * 4. Normalize.css - Section Resets
 * (مهم لتوحيد سلوك المتصفحات)
 * -------------------------------------------------------------------
 */
main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  background-color: var(--color-gray);
  border: 0;
  margin-bottom: 1.5em;
}

pre {
  font-family: var(--font-mono);
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

a {
  background-color: transparent;
  color: var(--color-light);
}

a:visited {
	color: var(--color-light);
}

a:hover,
a:focus,
a:active {
	color: var(--color-primary);
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp,
tt,
var {
  font-family: var(--font-serif); /* بناءً على طلبك، تم استخدام خط serif هنا */
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub { bottom: -0.25em; }
sup { top: -0.5em; }

img {
  border-style: none;
  height: auto;
  max-width: 100%;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
  width: 100%;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template,
[hidden] {
  display: none;
}

/* * -------------------------------------------------------------------
 * 5. Custom Base Styles
 * -------------------------------------------------------------------
 */

/* Typography */
h1, h2, h3, h4, h5, h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

dfn, cite, em, i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

abbr,
acronym {
  border-bottom: 1px dotted var(--color-light);
  cursor: help;
}

mark,
ins {
  background: var(--color-highlight-bg);
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Lists */
ul,
ol {
  margin: 0 0 1.5em 3em;
}
ul { list-style: disc; }
ol { list-style: decimal; }
li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}
dt { font-weight: 700; }
dd { margin: 0 1.5em 1.5em; }

/* Embedded Content */
embed,
iframe,
object,
figure {
  max-width: 100%;
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Custom Cursor */
.sf-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease-out;
  mix-blend-mode: overlay;
}

/* * -------------------------------------------------------------------
 * 6. Custom Form Styles
 * -------------------------------------------------------------------
 */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  background: var(--color-dark-deep);
  color: var(--color-primary);
  border: 1px solid var(--color-dark-gray);
  border-radius: 3px;
  padding: 0.6em 1em 0.4em;
  font-family: var(--font-sans);
  line-height: 1;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  background: var(--color-dark);
  border-color: var(--color-primary);
  color: var(--color-light);
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: var(--color-primary);
  outline: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
  background-color: var(--color-dark-deep);
  color: var(--color-light);
  border: 1px solid var(--color-dark-gray);
  border-radius: 3px;
  padding: 3px;
}

input:focus,
textarea:focus {
  color: var(--color-white);
  border-color: var(--color-primary);
  background-color: var(--color-dark);
  outline: none;
}


.sf-slider {
  position: relative;
  width: 100%;
  margin-top: 300px;
  height: 60vh;
  overflow: hidden;
  color: #fff;
}

.sf-slides {
  display: flex;
  transition: transform 1s ease-in-out;
  height: 100%;
}

.sf-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(0.8);
  transition: filter 0.5s ease;
}

.sf-slider:hover .sf-slide {
  filter: grayscale(0%) contrast(1);
}

/* الحاوية التي تتحكم بمكان المحتوى داخل السلايد */
.sf-slide-content-wrapper {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

/* المحتوى داخل max-width */
.sf-slide-content {
  padding: 0;
  border-radius: 10px;
  font-family: var(--font-sans);
  width: 100%;
}

.sf-slide-content.sf-max-width-all {
  max-width: 1200px;
  width: 93%;
  margin: 0 auto;
}

.sf-slide-content h2 {
  font-style: italic;
  font-weight: 500;
  line-height: 0;
  font-size: 45px !important;
  font-family: var(--font-serif);
}

.sf-slide-content p {
  margin-top: -7px;
  font-weight: 400 !important;
  font-size: 22px !important;
  font-family: var(--font-sans);
}


.sf-counter-wrapper {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.sf-counter.sf-max-width-all {
  max-width: 1200px;
  width: 93%;
  margin: 0 auto;
  font-size: 2rem;
  padding: 0;
  border-radius: 6px;
  color: #fff;
text-align: right; /* احتياطي داخل العنصر نفسه */
}



/* responsive */
@media (max-width: 768px) {
  .sf-slider {
    margin-top: 270px;
    height: 60vh;
  }

  .sf-slide-content-wrapper {
    bottom: 20px;
  }

  .sf-slide-content {
    padding: 0;
  }


	
	  .sf-counter-wrapper {
    bottom: 15px;
  }

  .sf-counter.sf-max-width-all {
    font-size: 0.9rem;
  }
}



/* for logo in home page */
.sf-logo-floater {
    position: absolute;
    top: 190px;
    left: 1rem;
    z-index: 1000;
    transform-origin: left top;
}

.sf-logo-floater svg, .sf-logo-floater img {
    width: 550px;
    height: auto;
}

@media (max-width: 768px) {
.sf-logo-floater svg, .sf-logo-floater img {
    width: 96%;
    height: auto;
}
}



/* Brand intro */

.sf-brand-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 0;
  gap: 2rem;
  flex-wrap: wrap;
}

.sf-brand-content {
  flex: 1 1 700px;
  max-width: 630px;
}

.sf-brand-content h2 {
  font-size: 46px;
  font-weight: 400;
  line-height: 1.2;
}

.sf-brand-content h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  display: block;
}

.sf-brand-content p {
  margin-top: 20px;
  font-size: 21px;
    line-height: 1.1;
    margin-top: -20px;
}

.sf-brand-visuals {
  flex: 1 1 300px;
  position: relative;
  min-height: 320px;
}

.sf-img {
	    max-width: none;
  position: absolute;
    width: 210px;
    height: 250px;
  object-fit: cover;
  border-radius: 4px;
  opacity: 1;
}

.sf-img-1 {
  top: 0;
  right: 0;
  transform: rotate(-5deg);
  z-index: 2;
}

.sf-img-2 {
  bottom: 0;
  right: 30px;
  transform: rotate(10deg);
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
	
	.sf-brand-content {
    flex: auto;
}
	
  .sf-brand-intro {
    flex-direction: column-reverse;
    text-align: left;
  }

  .sf-brand-visuals {
    min-height: 300px;
    margin-bottom: 2rem;
  }

  .sf-img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
  }

  .sf-img-1 {
    top: 0;
  }

  .sf-img-2 {
    bottom: 0;
  }
}

  .sf-s-services-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }

.sf-s-services-container {
    display: flex;
    padding: 40px;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.sf-s-title {
    font-style: italic;
    font-weight: bold;
    margin-bottom: 40px;
    font-size: 18px;
    font-family: var(--font-sans);
    z-index: 3;
    position: relative;
    max-width: 1200px;
    width: 93%;
    margin: 0px auto;
}

.sf-s-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 93%;
    margin: 20px auto;
}

  .sf-s-service-item {
    width: 100%;
    max-width: 45%;
    cursor: pointer;
    position: relative;
  }

  .sf-s-service-item h3 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: bold;
    font-family: serif;
  }

  .sf-s-service-item p {
    font-size: 16px;
    font-family: sans-serif;
  }

  .sf-s-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
    pointer-events: none;
  }
.sf-s-bg-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

#sf-s-bg-current {
  z-index: 1;
}

#sf-s-bg-next {
  z-index: 2;
}

  @media (max-width: 768px) {
    .sf-s-service-item {
      max-width: 100%;
    }
  }
