/* ============================================
   STELLA.CSS — Stella tashqi reklama agentligi
   ============================================ */

:root {
  --stella-gold: #EBD163;
  --stella-gold-dark: #c9a830;
  --stella-black: #0f0f0f;
  --stella-black2: #1A1A1A;
  --stella-dark: #141414;
  --stella-gray: #2C2C2C;
  --stella-text: #F5F5F5;
  --stella-muted: #898989;
  --stella-border: #2a2a2a;
  --header-height: 76px;
}

/* ---- BODY ---- */
body {
  background-color: var(--stella-black);
  color: var(--stella-text);
  font-family: "Roboto", sans-serif;
  position: static !important;
  z-index: auto !important;
}

body.page-loaded #preloader {
  opacity: 0;
  pointer-events: none;
}

/* ---- PRELOADER ---- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--stella-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}
.preloader-logo {
  margin-bottom: 24px;
}
#progress-bar {
  width: 60px;
  height: 60px;
}

/* ---- HEADER ---- */
.stella-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stella-border);
  height: var(--header-height);
}
.stella-header .container-xl {
  height: 100%;
  display: flex;
  align-items: center;
}
.stella-header > .container-xl > div {
  width: 100%;
}

/* ---- LOGO ---- */
.stella-logo img {
  height: 48px;
  object-fit: contain;
}

/* ---- NAV ---- */
.stella-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stella-nav a {
  color: var(--stella-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.25s;
  position: relative;
}
.stella-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--stella-gold);
  transition: width 0.25s;
}
.stella-nav a:hover,
.stella-nav a.active {
  color: var(--stella-text);
}
.stella-nav a:hover::after,
.stella-nav a.active::after {
  width: 100%;
}

/* ---- HEADER PHONE ---- */
.stella-phone {
  color: var(--stella-text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s;
}
.stella-phone:hover {
  color: var(--stella-gold);
}

/* ---- BUTTONS ---- */
.stella-btn-gold {
  background: var(--stella-gold);
  color: #0f0f0f !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.stella-btn-gold:hover {
  background: var(--stella-gold-dark);
  transform: translateY(-1px);
}
.stella-btn-outline {
  background: transparent;
  color: var(--stella-text) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,0.3);
  text-decoration: none;
  transition: border-color 0.25s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.stella-btn-outline:hover {
  border-color: var(--stella-gold);
  color: var(--stella-gold) !important;
  transform: translateY(-1px);
}

/* ---- MOBILE MENU TOGGLE ---- */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--stella-text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--stella-black2);
  z-index: 1100;
  padding: 24px;
  transition: right 0.35s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu.active {
  right: 0;
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--stella-border);
}
.mobile-menu-header .close {
  background: none;
  border: none;
  color: var(--stella-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
.mobile-menu-header .close:hover {
  color: var(--stella-text);
}
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
}
.mobile-menu ul li a {
  display: block;
  color: var(--stella-text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--stella-border);
  transition: color 0.2s;
}
.mobile-menu ul li a:hover {
  color: var(--stella-gold);
}
.mobile-menu-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--stella-border);
}
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ---- PAGE TOP OFFSET ---- */
.stella-page-content {
  padding-top: var(--header-height);
}

/* ---- HERO ---- */
.stella-hero {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
}
.stella-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.92) 45%, rgba(10,10,10,0.4) 100%);
}
.stella-hero-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  padding-top: var(--header-height);
}
.stella-hero-badge {
  display: inline-block;
  background: rgba(235, 209, 99, 0.15);
  border: 1px solid rgba(235, 209, 99, 0.4);
  color: var(--stella-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.stella-hero-title {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--stella-text);
  margin-bottom: 20px;
}
.stella-hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  line-height: 1.6;
}
.stella-scroll-down {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--stella-gold);
  font-size: 20px;
  animation: bounce 2s infinite;
  text-decoration: none;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* ---- STATS ---- */
.stella-stats {
  background: var(--stella-black2);
  border-top: 1px solid var(--stella-border);
  border-bottom: 1px solid var(--stella-border);
}
.stella-stat-item {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--stella-border);
  position: relative;
}
.stella-stat-item:last-child {
  border-right: none;
}
.stella-stat-item .odometer {
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  color: var(--stella-gold);
}
.stella-stat-plus {
  font-size: 36px;
  font-weight: 900;
  color: var(--stella-gold);
  vertical-align: top;
  margin-top: 4px;
  display: inline-block;
}
.stella-stat-item p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--stella-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ---- SECTIONS ---- */
.stella-section {
  padding: 100px 0;
  background: var(--stella-black);
}
.stella-section-alt {
  background: var(--stella-black2);
}
.stella-section-header {
  margin-bottom: 56px;
}
.stella-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--stella-gold);
  display: inline-block;
  margin-bottom: 12px;
}
.stella-section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--stella-text);
  line-height: 1.15;
  margin-bottom: 16px;
}
.stella-section-sub {
  font-size: 16px;
  color: var(--stella-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ---- SERVICE CARDS ---- */
.stella-service-card {
  background: var(--stella-black2);
  border: 1px solid var(--stella-border);
  border-radius: 12px;
  padding: 32px 28px;
  height: 100%;
  transition: border-color 0.3s, transform 0.3s;
}
.stella-service-card:hover {
  border-color: var(--stella-gold);
  transform: translateY(-4px);
}
.stella-service-icon {
  width: 56px;
  height: 56px;
  background: rgba(235, 209, 99, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.stella-service-icon i {
  font-size: 22px;
  color: var(--stella-gold);
}
.stella-service-card h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--stella-text);
  margin-bottom: 10px;
}
.stella-service-card p {
  font-size: 14px;
  color: var(--stella-muted);
  line-height: 1.65;
  margin: 0;
}

/* ---- ABOUT ---- */
.stella-about-image {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.stella-about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.stella-about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--stella-gold);
  color: var(--stella-black);
  padding: 16px 20px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 14px;
}
.stella-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.stella-check-icon {
  width: 22px;
  height: 22px;
  background: var(--stella-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.stella-check-icon i {
  font-size: 11px;
  color: var(--stella-black);
}

/* ---- MARQUEE ---- */
.stella-marquee-section {
  padding: 32px 0;
  background: var(--stella-gold);
  overflow: hidden;
}
.stella-marquee-text {
  font-size: 20px;
  font-weight: 900;
  color: var(--stella-black);
  text-transform: uppercase;
  letter-spacing: 3px;
  white-space: nowrap;
}
.stella-marquee-sep {
  margin: 0 32px;
  color: rgba(0,0,0,0.3);
}

/* ---- PORTFOLIO ---- */
.stella-filter-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.stella-filter-btn {
  background: transparent;
  border: 1px solid var(--stella-border);
  color: var(--stella-muted);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.stella-filter-btn:hover,
.stella-filter-btn.active {
  background: var(--stella-gold);
  border-color: var(--stella-gold);
  color: var(--stella-black);
  font-weight: 700;
}
.stella-portfolio-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--stella-gray);
}
.stella-portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.stella-portfolio-card:hover img {
  transform: scale(1.06);
}
.stella-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.stella-portfolio-card:hover .stella-portfolio-overlay {
  opacity: 1;
}
.stella-portfolio-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--stella-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.stella-portfolio-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin: 0;
}

/* ---- PARTNERS ---- */
.stella-partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  border: 1px solid var(--stella-border);
  border-radius: 10px;
  transition: border-color 0.25s;
}
.stella-partner-item:hover {
  border-color: var(--stella-gold);
}
.stella-partner-item img {
  height: 50px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  transition: filter 0.25s;
}
.stella-partner-item:hover img {
  filter: grayscale(0%) brightness(1);
}

/* ---- LOCATION CARDS ---- */
.stella-location-card {
  background: var(--stella-black2);
  border: 1px solid var(--stella-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.stella-location-card:hover {
  border-color: var(--stella-gold);
  transform: translateY(-4px);
  color: inherit;
}
.stella-location-img {
  height: 200px;
  background: var(--stella-gray);
  overflow: hidden;
  position: relative;
}
.stella-location-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.stella-location-card:hover .stella-location-img img {
  transform: scale(1.05);
}
.stella-location-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stella-muted);
  font-size: 40px;
}
.stella-location-body {
  padding: 20px;
}
.stella-location-code {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--stella-gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.stella-location-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--stella-text);
  margin-bottom: 8px;
}
.stella-location-address {
  font-size: 13px;
  color: var(--stella-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.stella-location-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--stella-border);
}
.stella-status-free {
  font-size: 11px;
  font-weight: 700;
  background: rgba(52, 211, 153, 0.12);
  color: #34D399;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.stella-status-busy {
  font-size: 11px;
  font-weight: 700;
  background: rgba(248, 113, 113, 0.12);
  color: #F87171;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.stella-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--stella-gold);
}

/* ---- FILTER BAR ---- */
.stella-filter-bar {
  background: var(--stella-black2);
  border: 1px solid var(--stella-border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.stella-search-input {
  background: var(--stella-black);
  border: 1px solid var(--stella-border);
  color: var(--stella-text);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  width: 100%;
  transition: border-color 0.25s;
}
.stella-search-input:focus {
  outline: none;
  border-color: var(--stella-gold);
  background: var(--stella-black);
  color: var(--stella-text);
}
.stella-search-input::placeholder {
  color: var(--stella-muted);
}
.stella-select {
  background: var(--stella-black);
  border: 1px solid var(--stella-border);
  color: var(--stella-text);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  width: 100%;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.25s;
}
.stella-select:focus {
  outline: none;
  border-color: var(--stella-gold);
}

/* ---- PAGE HERO (inner pages) ---- */
.stella-page-hero {
  padding: 120px 0 60px;
  background: var(--stella-black2);
  border-bottom: 1px solid var(--stella-border);
}
.stella-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--stella-muted);
  margin-bottom: 16px;
}
.stella-breadcrumb a {
  color: var(--stella-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.stella-breadcrumb a:hover {
  color: var(--stella-gold);
}
.stella-breadcrumb .sep {
  color: var(--stella-border);
}

/* ---- MAP ---- */
#stella-map {
  width: 100%;
  height: 600px;
  border-radius: 12px;
  border: 1px solid var(--stella-border);
}

/* ---- CONTACT ---- */
.stella-contact-card {
  background: var(--stella-black2);
  border: 1px solid var(--stella-border);
  border-radius: 12px;
  padding: 32px;
}
.stella-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--stella-border);
}
.stella-contact-item:last-child {
  border-bottom: none;
}
.stella-contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(235, 209, 99, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stella-contact-icon i {
  font-size: 20px;
  color: var(--stella-gold);
}
.stella-form-group {
  margin-bottom: 20px;
}
.stella-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--stella-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stella-form-control {
  width: 100%;
  background: var(--stella-black);
  border: 1px solid var(--stella-border);
  color: var(--stella-text);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  transition: border-color 0.25s;
}
.stella-form-control:focus {
  outline: none;
  border-color: var(--stella-gold);
  background: var(--stella-black);
  color: var(--stella-text);
}
.stella-form-control::placeholder {
  color: rgba(137, 137, 137, 0.6);
}
textarea.stella-form-control {
  resize: vertical;
  min-height: 120px;
}

/* ---- CTA SECTION ---- */
.stella-cta {
  background: linear-gradient(135deg, var(--stella-gold) 0%, #c9a830 100%);
  padding: 80px 0;
}
.stella-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--stella-black);
  margin-bottom: 16px;
}
.stella-cta p {
  font-size: 18px;
  color: rgba(0,0,0,0.65);
  margin-bottom: 0;
}
.stella-btn-dark {
  background: var(--stella-black);
  color: var(--stella-text) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.stella-btn-dark:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
}

/* ---- FOOTER ---- */
.stella-footer {
  background: var(--stella-black2);
  border-top: 1px solid var(--stella-border);
}
.stella-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.stella-footer-nav li {
  margin-bottom: 10px;
}
.stella-footer-nav a {
  color: var(--stella-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.stella-footer-nav a:hover {
  color: var(--stella-gold);
}
.stella-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.stella-footer-contact li {
  color: var(--stella-muted);
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.stella-footer-contact a {
  color: var(--stella-muted);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.stella-footer-contact a:hover {
  color: var(--stella-gold);
}
.stella-footer-bottom {
  border-top: 1px solid var(--stella-border);
}
.stella-social-link {
  width: 38px;
  height: 38px;
  background: var(--stella-gray);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--stella-muted);
  font-size: 16px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.stella-social-link:hover {
  background: var(--stella-gold);
  color: var(--stella-black);
}

/* ---- MESSAGES ---- */
.stella-messages {
  position: fixed;
  top: calc(var(--header-height) + 16px);
  right: 16px;
  z-index: 1050;
  min-width: 320px;
}
.alert-success {
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #34D399;
}

/* ---- EMPTY STATE ---- */
.stella-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--stella-muted);
}
.stella-empty i {
  font-size: 56px;
  color: var(--stella-border);
  margin-bottom: 20px;
}

/* ---- DIVIDER ---- */
.stella-divider {
  height: 1px;
  background: var(--stella-border);
  margin: 0;
  border: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .stella-stat-item {
    border-right: none;
    border-bottom: 1px solid var(--stella-border);
  }
  .stella-stat-item:nth-child(odd) {
    border-right: 1px solid var(--stella-border);
  }
  .stella-stat-item:last-child,
  .stella-stat-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }
}
@media (max-width: 575px) {
  .stella-hero-title { font-size: 32px; }
  .stella-stat-item .odometer { font-size: 38px; }
  .stella-section { padding: 64px 0; }
  .stella-page-hero { padding: 100px 0 40px; }
}
