/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/F2B50Alicenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --gold: #F2B50A;
    --gold-light: #E8C878;
    --gold-dim: rgba(201,168,76,0.18);
    --dark: #1c362e;
    --dark2: #141710;
    --card-bg: rgba(10,12,9,0.82);
    --text: #F0EDE6;
    --text-muted: #A8A89A;

  }

  html { scroll-behavior: smooth; }


 
  /* ── HERO ── */
  #hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    padding-top: 130px;
  }
  .hero-footer{
    width: 100%;
    height:120px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 12;
    background: linear-gradient(360deg, rgba(242, 181, 10, 1)0%, rgba(242, 181, 10, 0.0)100%)
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      
      url('https://aratchob.com/wp-content/uploads/2026/07/bg-4.jpg') center/cover;
    z-index: 0;
  }

  /* Animated forest trees via CSS */
  .hero-trees {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
  }
 

  /* Glowing light from above - sun rays */
  .sun-ray {
    position: absolute;
    top: -40px;
    left: 22%;
    width: 180px;
    height: 700px;
    background: linear-gradient(to bottom, rgba(210,140,30,0.22), transparent);
    transform: rotate(15deg);
    transform-origin: top center;
    filter: blur(18px);
    z-index: 2;
    pointer-events: none;
    animation: sway 8s ease-in-out infinite alternate;
  }
  .sun-ray:nth-child(2) {
    left: 30%;
    width: 120px;
    opacity: 0.55;
    animation-delay: -3s;
    animation-duration: 11s;
  }
  .sun-ray:nth-child(3) {
    left: 36%;
    width: 80px;
    opacity: 0.3;
    animation-delay: -6s;
  }
  @keyframes sway {
    from { transform: rotate(12deg); opacity: 0.7; }
    to   { transform: rotate(18deg); opacity: 1; }
  }

  .hero-content {
    position: relative;
    z-index: 10;
    padding: 0 50px;
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 40px;
    height: 100%;
  }

  .hero-container {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin:0 auto;
  }

  .hero-title {
    font-size: clamp(52px, 7vw, 84px);
    font-weight: 900;
    line-height: 1.05;
    color: #fff;
    text-shadow: 0 4px 40px rgba(0,0,0,0.8);
  }
  .hero-title span { color: var(--gold); }

  .hero-sub {
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: 600;
    color: var(--gold);
    opacity: 0.9;
    line-height: 1.6;
    text-shadow: 0 2px 12px rgba(0,0,0,0.7);
  }
  .hero-details{
    display: flex;
    width: 100%;
  }
  .hero-details .hero-media{
    width: 50%;
    max-width: 700px;
    position: absolute;
    z-index: 10;
    bottom: 0%;
    right: -5%;
  }
  .hero-details .hero-media img{
      width: 100%;
      height: 100%;
      object-fit: contain;
  } 
#abb-main-menu.abb-menu--scrolled {
    background-color: rgb(42, 69, 60);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.18);
}
  /* ── CABIN CARDS ── */
  .cabin-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
    margin-right: auto;
  }
  .cabin-card {
    background: var(--card-bg);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 12px;
    padding: 20px 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 220px;
    aspect-ratio: 1;
    cursor: pointer;
    transition: border-color .25s, transform .2s, background .25s;
    backdrop-filter: blur(8px);
  }
  .cabin-card:hover {
    border-color: var(--gold);
    background: rgba(201,168,76,0.08);
    transform: translateY(-3px);
  }
  .cabin-card .card-media { width: 120px; height: 120px; }
  .cabin-card .card-media img { width: 100%; height: 100%; object-fit: contain; }
  .cabin-card span {
    font-size: 13px;
    font-weight: 600;
    color: #FFEAC5;
    letter-spacing: 0.5px;
  }

  /* ── CABIN IMAGE (right, scrolls away) ── */
  .cabin-visual {
    position: absolute;
    left: 0;
    bottom: -20px;
    width: 58%;
    z-index: 5;
    pointer-events: none;
    transition: transform 0.05s linear;
  }
  .cabin-visual svg { width: 100%; height: auto; display: block; }

  /* ── CTA BUTTONS (revealed on scroll) ── */
  .hero-cta {
    position: absolute;
    left: 50px;
    bottom: 90px;
    z-index: 6;
    display: flex;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .4s, transform .4s;
    pointer-events: none;
  }
  .hero-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }

  .btn-primary {
    background: var(--gold);
    color: var(--dark);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, transform .15s;
    display: inline-block;
  }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

  .btn-outline {
    background: transparent;
    color: var(--gold-light);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 50px;
    border: 1.5px solid var(--gold);
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, transform .15s;
    display: inline-block;
  }
  .btn-outline:hover { background: var(--gold-dim); transform: translateY(-2px); }

  /* Scroll indicator */
  .scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    animation: bounce 2s infinite;
    transition: opacity .3s;
  }
  .scroll-hint span { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; }
  .scroll-hint svg { width: 20px; height: 20px; color: var(--gold); }
  @keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
  }
  
  
  
 .animate-border {
  --angle: 0deg;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;

  border: 2px solid transparent;
  border-radius: 12px;

  background:
    linear-gradient(#29453c, #29453c) padding-box,
    linear-gradient(var(--angle), #29453c, #c9a84c) border-box;

  animation: brotate 3s linear infinite;
}

@keyframes brotate {
  from {
    --angle: 0deg;
  }

  to {
    --angle: 360deg;
  }
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}





  /* ── ABOUT SECTION ── */
  #about {
    background: var(--dark);
    padding: 100px 50px;
    display: flex;
    align-items: center;
    gap: 70px;
    min-height: 80vh;
  }

  .about-img {
    flex: 0 0 50%;
    position: relative;
  }
  .about-img img{
    width: 100%; 
    height: 100%;
  }
  .about-img-frame {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(201,168,76,0.2);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  }
  .about-img-frame svg { width: 100%; height: auto; display: block; }
  .about-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 90px;
    height: 90px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-weight: 900;
    box-shadow: 0 8px 30px rgba(201,168,76,0.4);
  }
  .about-badge .num { font-size: 26px; line-height: 1; }
  .about-badge .lbl { font-size: 10px; text-align: center; line-height: 1.3; }

  .about-text { flex: 1; }
  .about-eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .about-eyebrow::before {
    content: '';
    display: block;
    width: 30px;
    height: 1.5px;
    background: var(--gold);
  }
  .about-h2 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 22px;
  }
  .about-h2 span { color: var(--gold); }
  .about-body {
    font-size: 16px;
    line-height: 2;
    color: var(--text-muted);
    margin-bottom: 30px;
  }
  .about-stats {
    display: flex;
    gap: 32px;
    margin-top: 10px;
  }
  .stat { display: flex; flex-direction: column; gap: 4px; }
  .stat-num { font-size: 32px; font-weight: 900; color: var(--gold); }
  .stat-lbl { font-size: 12px; color: var(--text-muted); }

  /* Divider */
  .gold-divider {
    width: 60px; height: 2px;
    background: linear-gradient(to left, var(--gold), transparent);
    margin: 28px 0;
  }

  /* ── HAMBURGER ── */
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
  .hamburger span { display: block; width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

  /* ── RESPONSIVE ── */
  @media (max-width: 1024px) {
    .cabin-visual { width: 65%; }
    .hero-container { flex: 0 0 80%; margin:0 auto }
  }

  @media (max-width: 768px) {
    nav { padding: 14px 20px; }
    .nav-links { display: none; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: 240px; background: rgba(10,12,9,0.97); backdrop-filter: blur(12px); padding: 80px 30px 30px; gap: 24px; transform: translateX(100%); transition: transform .3s; z-index: 200; }
    .nav-links.open { display: flex; transform: translateX(0); }
    .hamburger { display: flex; }

    #hero { padding-top: 100px; min-height: 100svh; }
    .hero-content { flex-direction: column; padding: 0 20px; gap: 24px; }
    .hero-container { flex: none; width: 100%; }
    .hero-title { font-size: 44px; }
    .hero-sub { font-size: 15px; }
    .cabin-visual { position: relative; left: auto; bottom: auto; width: 100%; margin-top: 10px; }
    .hero-cta { left: 20px; bottom: 40px; }

    #about { flex-direction: column-reverse; padding: 60px 20px; gap: 40px; }
    .about-img { flex: none; width: 100%; }
    .about-stats { gap: 20px; }

    .nav-phone { font-size: 12px; padding: 8px 14px; }
  }

  @media (max-width: 480px) {
    .cabin-cards { gap: 8px; }
    .cabin-card { padding: 14px 10px 10px; }
    .cabin-card svg { width: 52px; height: 52px; }
    .btn-primary, .btn-outline { font-size: 13px; padding: 12px 22px; }
  }
  
   .process-section {
            background-color: var(--bg-section);
            padding: 60px 40px;
            border-radius: 12px;
            width:100%;
            margin: 0 auto;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            text-align: center;
        }

        .process-title {
            font-size: 24px;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 50px;
            position: relative;
        }

        /* کانتینر مراحل */
        .steps-container {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 20px;
            position: relative;
        }

        /* خط اتصال بین مراحل در دسکتاپ */
        .steps-container::before {
            content: '';
            position: absolute;
            top: 50px; /* وسط دایره‌ها */
            left: 8%;
            right: 8%;
            height: 2px;
            background: repeating-linear-gradient(to left, var(--gold) 0px, var(--gold) 8px, transparent 8px, transparent 16px);
            z-index: 1;
            opacity: 0.6;
        }

        /* تک تک مراحل */
        .step-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            z-index: 2;
            cursor: pointer;
            text-decoration: none;
        }

        /* دایره شماره و آیکون */
        .step-badge {
            width: 100px;
            height: 100px;
           
              background-color: var(--dark);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            border: 8px solid var(--bg-circle-outer);
            box-shadow: 0 4px 10px rgba(224, 167, 27, 0.3);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* عدد داخل دایره */
        .step-number {
            font-size: 36px;
            font-weight: 900;
            color: var(--gold);
            transition: all 0.3s ease;
            position: absolute;
        }

        /* آیکون داخل دایره (در حالت پیش‌فرض مخفی) */
        .step-icon {
            font-size: 32px;
            color:var(--gold);
            opacity: 0;
            transform: scale(0.5) rotate(-45deg);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: absolute;
        }

        /* عنوان مرحله */
        .step-title {
            margin-top: 20px;
            font-size: 16px;
            font-weight: 700;
            color: var(--text-dark);
            transition: color 0.3s ease;
        }

        /* افکت‌های هاور (Hover Effects) */
        .step-item:hover .step-badge {
            transform: translateY(-8px);
            background-color: var(--dark);
            color: var(--gold);
            box-shadow: 0 10px 20px rgba(224, 167, 27, 0.4);
            border-color: rgba(242, 184, 38, 0.3);
        }

        /* در حالت هاور، عدد محو شده و آیکون ظاهر می‌شود */
        .step-item:hover .step-number {
            opacity: 0;
            transform: scale(0.5);
        }

        .step-item:hover .step-icon {
            opacity: 1;
            transform: scale(1) rotate(0deg);
        }

        .step-item:hover .step-title {
            color: #000;
        }

        /* واکنش‌گرایی (Responsive CSS) */
        @media (max-width: 1024px) {
            .steps-container {
                grid-template-columns: repeat(3, 1fr);
                row-gap: 40px;
            }
            /* حذف خط سراسری دسکتاپ در تبلت و موبایل */
            .steps-container::before {
                display: none;
            }
        }

        @media (max-width: 600px) {
            .steps-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 25px;
            }
            .step-badge {
                width: 85px;
                height: 85px;
                border-width: 6px;
            }
            .step-number {
                font-size: 30px;
            }
            .step-icon {
                font-size: 26px;
            }
            .step-title {
                font-size: 14px;
                margin-top: 12px;
            }
            .process-section {
                padding: 40px 20px;
            }
        }