:root{
  --accent1: #ffb347; 
  --accent2: #ff7e00; 
  --black: #111;
  --max-width: 1100px;
  --card-width: 350px;
  --card-height: 200px;
}

*{box-sizing:border-box}

html {
  scroll-behavior: smooth;
}

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:var(--black);
  min-height:100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- PRELOADER --- */
body.loading {
  overflow: hidden;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

#preloader video {
  width: 250px; 
  height: 250px; 
  object-fit: contain;
  border-radius: 20px; 
}

/* --- BACKGROUND --- */
.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: opacity; 
}

.img-1 {
  background-image: url('../images/tra/tr.png');
  z-index: 1;
}

.img-2 {
  background-image: url('../images/tra/tr1.png');
  z-index: 2;
  animation: bgFade 12s infinite ease-in-out;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 3;
}

@keyframes bgFade {
  0% { opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { opacity: 0; }
}

.container{
  width:90%;
  max-width:var(--max-width);
  margin:0 auto;
  padding:24px 0;
}

/* --- HEADER --- */
.site-header{
  position: relative;
  z-index: 10;
  background:transparent;
  padding-top:18px;
  padding-bottom:6px;
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  display:flex;
  gap:14px;
  align-items:center;
  text-decoration:none;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.logo{width:64px;height:64px;border-radius:8px;object-fit:cover;box-shadow:0 6px 18px rgba(0,0,0,0.12)}
.brand-text h1{font-size:18px;margin:0;letter-spacing:0.6px; color: var(--accent1);}
.brand-text .tag{margin:0;font-size:12px;opacity:0.9; color: #fff;}

.main-nav{
  display:flex;
  gap:18px;
  align-items:center;
}
.main-nav a{
  color: #fff;
  text-decoration:none;
  font-weight:600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.main-nav a:hover{ color: var(--accent1); }

/* --- HERO --- */
.hero{padding:48px 0; position: relative; z-index: 10;}
.hero-inner{
  display:flex;
  gap:28px;
  align-items:stretch;
  justify-content:space-between;
}

.hero-copy{
  flex:1 1 50%;
  background: rgba(255, 179, 71, 0.95); 
  padding:28px;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,0.2);
  color: var(--black);
}
.hero-copy h2{margin:0 0 12px;font-size:36px}
.hero-copy p{margin:0 0 18px;font-size:16px;opacity:0.95}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap; align-items: center;}
.btn{display:inline-block;padding:12px 18px;border-radius:10px;text-decoration:none;font-weight:700}
.btn.ghost{background:transparent;color:var(--black);border:2px solid rgba(0,0,0,0.2)}

.hero-card{
  flex: 0 1 420px;
  background: linear-gradient(135deg, #111, #222);
  color: #fff;
  padding: 30px;
  border-radius: 16px;
  align-self: center;
  box-shadow: 0 15px 50px rgba(0,0,0,0.5);
  border: 1px solid var(--accent2);
}

.hero-card h3{
  margin-top:0;
  margin-bottom: 15px;
  color: var(--accent1);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 10px;
}

.contact-block { margin-bottom: 20px; }

.address-block p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 10px;
  color: #ddd;
}

.divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 20px 0;
}

.phone-block a {
  color: var(--accent1) !important;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 15px;
  text-decoration: none;
}

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.phone-grid a {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff !important; 
  text-decoration: none;
  background: rgba(255,179,71, 0.1);
  padding: 8px;
  text-align: center;
  border-radius: 6px;
  border: 1px solid rgba(255,179,71, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
  -webkit-text-decoration-color: rgba(0,0,0,0);
}

.phone-grid a:hover {
  background: rgba(255,179,71, 0.3);
  transform: translateY(-2px);
  cursor: pointer;
}

.features{
  margin-top:32px;
  background:rgba(255,255,255,0.9);
  padding:18px;
  border-radius:10px;
  position: relative; 
  z-index: 10;
}
.feature-list{display:flex;flex-wrap:wrap;gap:12px;list-style:none;padding:0;margin:8px 0 0}
.feature-list li{background:rgba(0,0,0,0.06);padding:10px 12px;border-radius:8px;font-weight:600}

/* --- DIGITAL CARD STYLES --- */
.card-section {
    margin-top: 22px;
    background: rgba(255,255,255,0.9);
    padding: 30px 18px;
    border-radius: 10px;
    position: relative;
    z-index: 10;
    text-align: center;
}

.flip-card {
    background-color: transparent;
    width: var(--card-width);
    height: var(--card-height);
    perspective: 1000px;
    cursor: pointer;
    margin: 20px auto; 
    max-width: 100%;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.is-flipped {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    overflow: hidden;
    border: 1px solid #ddd;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* --- CONTACT SECTION & GOOGLE FORM --- */
.contact-section{
  margin-top:22px;
  background:rgba(255,255,255,0.9); 
  padding:18px;
  border-radius:10px;
  position: relative; 
  z-index: 10;
}

.form-wrapper {
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden; 
  border-radius: 8px;
  background: #fff;
}

.form-wrapper iframe {
  width: 100%;
  max-width: 640px; 
  border: 0;
}

/* --- MAP & FOOTER --- */
.map-section{
  margin: 40px auto 20px;
  text-align: center;
  position: relative;
  z-index: 10;
  background: rgba(255,255,255,0.8);
  padding: 20px;
  border-radius: 12px;
}
.map-section h3{
  margin-bottom: 16px;
  color: var(--black);
}
.map-wrapper{
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.map-wrapper iframe{
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
.map-link a{
  color: var(--black);
  font-weight: 600;
  text-decoration: underline;
}

.site-footer{
  padding:18px 0;
  text-align:center;
  color: #fff;
  text-shadow: 0 1px 2px black;
  font-size: 14px;
  margin-top:28px;
  position: relative; 
  z-index: 10;
}

@media (max-width:880px){
  .hero-inner{flex-direction:column}
  .hero-card{width:100%; flex: auto;}
  .main-nav{display:none}
  .hero-cta{justify-content:center}
  .phone-grid { grid-template-columns: 1fr; }
}

/* ========================================= */
/* STAR BUTTON STYLES                        */
/* ========================================= */
.star-btn {
  position: relative;
  display: inline-block;
  padding: 20px 35px;
  background: #ffffff;
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  box-shadow: 0px 0px 10px 0px rgb(255, 255, 255);
  border-radius: 100px;
  border: none;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  line-height: 1;
}

/* Base Star Styles */
.star-btn [class^="star-"] {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 0 0 #fffdef);
  z-index: -5;
  transition: all 0.8s cubic-bezier(0.05, 0.83, 0.43, 0.96);
}

.star-btn .star-1 { top: 20%; left: 20%; width: 25px; }
.star-btn .star-2 { top: 45%; left: 45%; width: 15px; transition-timing-function: cubic-bezier(0, 0.4, 0, 1.01); }
.star-btn .star-3 { top: 40%; left: 40%; width: 5px;  transition-timing-function: cubic-bezier(0, 0.4, 0, 1.01); }
.star-btn .star-4 { top: 20%; left: 40%; width: 8px;  transition-timing-function: cubic-bezier(0, 0.4, 0, 1.01); }
.star-btn .star-5 { top: 25%; left: 45%; width: 15px; transition-timing-function: cubic-bezier(0, 0.4, 0, 1.01); }
.star-btn .star-6 { top: 5%;  left: 50%; width: 5px;  transition-timing-function: cubic-bezier(0, 0.4, 0, 1.01); }

/* Active State */
.star-btn.active {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 0 80px #ffffff8c;
}
.star-btn.active .star-1 { top: -20%; left: -20%; width: 20px; filter: drop-shadow(0 0 10px #fffdef); z-index: 2; }
.star-btn.active .star-2 { top: 35%;  left: -25%; width: 15px; filter: drop-shadow(0 0 10px #fffdef); z-index: 2; }
.star-btn.active .star-3 { top: 80%;  left: -10%; width: 10px; filter: drop-shadow(0 0 10px #fffdef); z-index: 2; }
.star-btn.active .star-4 { top: -25%; left: 105%; width: 20px; filter: drop-shadow(0 0 10px #fffdef); z-index: 2; }
.star-btn.active .star-5 { top: 30%;  left: 115%; width: 15px; filter: drop-shadow(0 0 10px #fffdef); z-index: 2; }
.star-btn.active .star-6 { top: 80%;  left: 105%; width: 10px; filter: drop-shadow(0 0 10px #fffdef); z-index: 2; }
.fil0 { fill: #fffdef; }


/* ========================================= */
/* PLANE BUTTON STYLES (NEW)                 */
/* ========================================= */
.plane-btn {
  font-family: inherit;
  font-size: 20px;
  background: #000000;
  color: #ffb400; 
  padding: 0.7em 1.2em;
  display: flex;
  align-items: center;
  border: 2px solid #ffb400;
  border-radius: 16px;
  overflow: hidden; /* Important for the slide out effect */
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
  text-decoration: none; /* Removes underline since it's an <a> tag */
  line-height: 1;
}

.plane-btn span {
  display: block;
  margin-left: 0.5em;
  transition: all 0.4s ease-in-out;
  white-space: nowrap;
}

.plane-btn svg {
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}

/* Clicked State (Triggered by JS) */
.plane-btn.clicked .svg-wrapper {
  animation: fly-1 0.6s ease-in-out infinite alternate;
}

.plane-btn.clicked svg {
  /* Centers the plane and angles it */
  transform: translateX(2.5em) rotate(45deg) scale(1.1);
}

.plane-btn.clicked span {
  /* Moves text out of view */
  transform: translateX(150%); 
  opacity: 0; 
}

.plane-btn:active {
  transform: scale(0.95);
}

@keyframes fly-1 {
  from { transform: translateY(0.1em); }
  to { transform: translateY(-0.1em); }
}
