/* KNJ TUR - Premium Luxury Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --primary: #E8842A;
  --primary-light: #E5D5C0;
  --ink: #111111;
  --ink-darkest: #0A0A0A;
  --gold: #C9A84C;
  --surface: #FFFFFF;
  --surface-alt: #FFFFFF;
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Inter', sans-serif;
  --font-display: 'Inter', sans-serif;
}

body {
  background-color: var(--ink-darkest);
  color: var(--primary-light);
  font-family: var(--font-sans);
  font-weight: 400;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Luxury Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
}

button {
  font-family: var(--font-display);
  font-weight: 600;
}

.font-serif {
  font-family: var(--font-serif);
}

.font-display {
  font-family: var(--font-display);
}

.text-gold {
  color: var(--primary);
}

/* Minimal Luxury Button */
.btn-luxury {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem 2.5rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-luxury-primary {
  background-color: var(--primary);
  color: var(--ink);
}

.btn-luxury-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(232, 132, 42, 0.2);
  background-color: var(--gold);
}

.btn-luxury-secondary {
  border: 1px solid rgba(229, 213, 192, 0.3);
  color: var(--primary-light);
  background: transparent;
}

.btn-luxury-secondary:hover {
  background-color: var(--primary-light);
  color: var(--ink-darkest);
  border-color: var(--primary-light);
  transform: translateY(-5px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--ink-darkest);
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Custom Utilities */
.glass-surface {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(229, 213, 192, 0.1);
}

.section-white {
  background-color: var(--surface);
  color: var(--ink);
}

.section-beige {
  background-color: var(--surface-alt);
  color: var(--ink);
}

/* Luxury Header Styling */
header.fixed {
    z-index: 110 !important;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    height: 6rem; /* h-24 */
}

header.fixed.header-scrolled {
    height: 5rem; /* h-20 */
}

@media (max-width: 768px) {
    header.fixed, header.fixed.header-scrolled {
        height: 5rem !important; /* Always h-20 on mobile */
    }
    header .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    header img {
        height: 2.25rem !important;
    }
}

/* Mobile Menu Base State */
#mobile-menu {
    z-index: 100 !important;
}

/* Mobile Menu Active State */
#mobile-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Responsive Typography Adjustments */
@media (max-width: 640px) {
    h1 {
        font-size: 2.25rem !important;
        line-height: 1.2 !important;
        letter-spacing: -0.04em !important;
    }
    h2 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        letter-spacing: -0.03em !important;
    }
    h3 {
        font-size: 1.75rem !important;
    }
    .btn-luxury {
        padding: 1.15rem 1.5rem;
        font-size: 0.7rem;
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }
}

/* Responsive Padding Adjustments */
@media (max-width: 640px) {
    .container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
    .p-12, .p-10, .p-14 {
        padding: 1.5rem !important;
    }
    .rounded-\[4rem\], .rounded-\[3rem\], .rounded-\[2\.5rem\] {
        border-radius: 1.75rem !important;
    }
    .blog-card a {
        aspect-ratio: 16 / 10 !important;
    }
    article header [class*="aspect-video"] {
        aspect-ratio: 16 / 10 !important;
    }
    @media (min-width: 768px) {
        .blog-card a {
            aspect-ratio: 4 / 5 !important;
        }
        article header [class*="aspect-video"] {
            aspect-ratio: 16 / 9 !important;
        }
    }
    .blog-post img {
        filter: none !important;
    }
    section {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }
    .pt-52 {
        padding-top: 8rem !important;
    }
}

/* Animations */
.reveal {
  opacity: 0;
  transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-up { transform: translateY(60px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }

.active.reveal {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Blog Post Typography and Layout */
.prose {
    color: var(--primary-light);
    line-height: 1.8;
}

.prose h2 {
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
    line-height: 1.2;
    color: white;
    font-style: italic;
    font-family: var(--font-display);
    font-weight: 900;
}

.prose h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    color: white;
    font-family: var(--font-display);
}

.prose p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.prose ul, .prose ol {
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 1rem;
    position: relative;
    list-style: none;
}

.prose ul li::before {
    content: "—";
    color: var(--primary);
    position: absolute;
    left: -1.5rem;
    font-weight: bold;
}

.prose strong {
    color: white;
    font-weight: 700;
}

.cta-box {
    background: rgba(232, 132, 42, 0.05);
    border: 1px solid rgba(232, 132, 42, 0.1);
    padding: 3.5rem;
    border-radius: 3rem;
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

@media (max-width: 640px) {
    .prose h2 {
        font-size: 1.85rem;
        margin-top: 2.5rem;
    }
    .cta-box {
        padding: 2.5rem 1.5rem;
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
    .prose p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
}

/* Luxury Divider */
.luxury-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.3;
}

/* WhatsApp Float - Premium Style */
.whatsapp-float {
  background-color: #25D366;
  color: var(--ink-darkest);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
  transition: all 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
}

/* Navigation Premium Underline */
.nav-link-premium {
    position: relative;
    padding-bottom: 2px;
    font-size: 13px; /* Increased font size */
}

/* Floating Actions Container */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 60;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    border: none;
    cursor: pointer;
}

.float-btn i {
    display: block;
    line-height: 0;
}

.float-whatsapp i {
    transform: translateY(1px); /* Optical centering for message-circle icon */
}

.float-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

.float-whatsapp {
    background-color: #25D366;
    color: white;
}

.float-top {
    background-color: var(--primary);
    color: white;
}

@media (max-width: 640px) {
    .floating-actions {
        bottom: 1.5rem;
        right: 1.5rem;
        gap: 0.75rem;
    }
    .float-btn {
        width: 48px;
        height: 48px;
    }
}

.nav-link-premium::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link-premium:hover::after,
.nav-link-premium.active::after {
    width: 100%;
}

/* Choice of selection */
::selection {
  background-color: var(--primary);
  color: var(--ink);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

/* Layout Helper */
.hero-gradient {
  background: linear-gradient(to right, rgba(10, 10, 10, 1) 40%, rgba(10, 10, 10, 0) 100%);
}

@media (max-width: 768px) {
  .hero-gradient {
     background: linear-gradient(to bottom, rgba(10, 10, 10, 1) 40%, rgba(10, 10, 10, 0) 100%);
  }
}

/* Animations */
@keyframes float-slow {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.animate-float-slow {
  animation: float-slow 8s ease-in-out infinite;
}

/* FAQ Accordion Styles */
.faq-trigger i {
  transition: transform 0.3s ease;
}

.faq-content {
  transition: max-height 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s ease;
  opacity: 0;
}

.active .faq-content {
  opacity: 1;
}

/* eSIM Menu Badge Styles */
@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

.nav-chip-link {
    background: #F59E0B !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    padding: 6px 14px !important;
    font-size: 0.85rem !important;
    animation: pulse-badge 2.5s infinite;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    line-height: 1.2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    border: none !important;
    margin-left: 10px;
}

.nav-chip-link:hover {
    background: #D97706 !important;
    transform: scale(1.05) translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(217, 119, 6, 0.4);
}

.nav-chip-link span.subtexto {
    display: block !important;
    font-size: 0.55rem !important;
    font-weight: 400 !important;
    opacity: 0.9;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    margin-top: -2px;
}

/* Mobile Menu Adjustments */
@media (max-width: 768px) {
    .nav-chip-link {
        width: fit-content !important;
        margin: 1.5rem auto !important;
        padding: 12px 24px !important;
        font-size: 1rem !important;
    }
    .nav-chip-link span.subtexto {
        display: none !important;
    }
}

/* Blog Enhancements */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.blog-post.active {
    opacity: 1;
    transform: translateY(0);
}
