/* styles.css */
/* body {
    font-family: 'Arial', sans-serif;
    background-color: #F0F8FF;
    margin: 20;
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
} */



/* === Shorts Downloader === */

.shorts-wrapper {
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shorts-title {
  margin-top: 32px;
  margin-bottom: 24px;
  text-align: center;
  margin-top: 3em;
}

/* form layout */
.shorts-form {
  display: flex;
  width: 100%;
  max-width: 800px;
  gap: 12px;
  align-items: center;
}

/* input */
.shorts-input {
  flex-grow: 1;
  height: 64px;
  padding: 0 24px;
  font-size: 18px;
  border-radius: 18px;
  border: 1.5px solid #d0d0d0;
  outline: none;
  color: #000;
  min-width: 0;
}

.shorts-input::placeholder {
  color: #b5b5b5;
  font-weight: 500;
}

.shorts-input:focus {
  border-color: #000;
}

/* button */
.shorts-btn {
  height: 64px;
  padding: 0 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 14px;
  border: none;
  background: #000;
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  flex-shrink: 0;
}

.shorts-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.shorts-btn:active {
  transform: translateY(0);
}

/* responsive */
@media (max-width: 600px) {
  .shorts-form {
    flex-direction: column;
    align-items: stretch;
  }

  .shorts-input,
  .shorts-btn {
    width: 100%;
  }
}







/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* --- Navigation --- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #f1f5f9;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo a {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    font-size: 15px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item:hover {
    color: #0f172a;
}

.contact-btn {
    padding: 10px 24px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-btn:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

/* --- Dropdown Desktop --- */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 200px;
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 12px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #f8fafc;
    color: #0f172a;
}

.dropdown-menu hr {
    border: 0;
    border-top: 1px solid #f1f5f9;
    margin: 8px 0;
}

.chevron-icon {
    opacity: 0.6;
}
/* Force hide hamburger on desktop */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

/* --- Mobile Menu Styles (FIXED) --- */

/* Hide mobile elements by default */
.mobile-only {
    display: none;
}

/* Hamburger button */
.mobile-menu-toggle {
    background: none;
    border: none;
    color: #0f172a;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
}

/* Off-canvas mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);

    /* IMPORTANT: fully hidden by default */
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;

    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.3s ease;

    display: flex;
    flex-direction: column;
}

/* Menu visible state */
.mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

/* Header */
.mobile-menu-header {
    height: 72px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
}

/* Close button */
.close-menu {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
}

/* Links */
.mobile-links {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.mobile-links a,
.mobile-dropdown-toggle {
    padding: 12px 14px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #000000;
    border: none;
    width: 100%;
    text-align: left;
}

/* Dropdown */
.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 16px;
    background-color: #000000;
}

.mobile-dropdown-content.active {
    max-height: 240px;
}

.mobile-dropdown-content a {
    font-size: 14px;
    color: #ffffff;
}

/* CTA button */
.contact-btn-mobile {
    margin-top: 1px;
    padding: 14px;
    background-color: #0f172a;
    color: #fff !important;
    border-radius: 0px;
    text-align: center;
    justify-content: center !important;
}

/* Overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(2px);
    z-index: 999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Prevent horizontal scroll */
html,
body {
    overflow-x: hidden;
}

/* Disable background scroll when menu open */
body.menu-open {
    overflow: hidden;
}

/* Mobile only */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: flex;
        align-items: center;
    }
}


/* Mian Content Container */

/* Content Container */
.content-container {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Paragraph Design Blocks */
.para-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.subheading {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    letter-spacing: -0.01em;
}

.body-text {
    font-size: 15px;
    color: #8e8e93; /* Subtle gray as seen in the image */
    font-weight: 400;
    line-height: 1.4;
}

/* Main content */
.main-content {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  padding: 2rem;
}

.main-text h1 {
  font-size: 2.25rem;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
}

.main-text p {
  color: #94a3b8;
}

      






/* Thumbnail wrapper */
#thumbnailContainer {
  max-width: 800px;
  margin: 20px auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  background: #fff;
  text-align: center;
}

/* Thumbnail image inside container */
#thumbnailContainer img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px 18px 0 0;
}

/* Download button */
#downloadLink {
  display: none;
  width: calc(52% - 40px);
  margin: 15px auto;
  padding: 12px;
  background: #000000;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  transition: 0.2s ease;
}

/* Hover effect */
#downloadLink:hover {
  background: #1C1C1C;
  transform: scale(1.02);
}



/* Mobile fix */
@media (max-width: 600px) {
  #thumbnailContainer {
    margin: 2px;
  }
}
