/* ============================================
   ALJANOUBPRESS.COM - Carbon Copy
   Accent Gold: #fdb913
   Body BG: #fff
   Text: #000, #333
   Fonts: Open Sans (body), Oswald (nav/headings)
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #000;
  background: #fff;
  overflow-x: hidden;
}

a { color: #fdb913; text-decoration: none; transition: color 0.3s; }
a:hover { color: #e0a200; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
::selection { background: #fdb913; color: #fff; }

/* === PRELOADER === */
#preloader {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: #fff; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.loader { width: 40px; height: 40px; border: 4px solid #eee; border-top-color: #fdb913; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 400; color: #000; line-height: 1.2;
}
h1 { font-size: 80px; }
h2 { font-size: 36px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

.subtitle {
  font-size: 25px; font-weight: 300; text-transform: uppercase;
  font-family: 'Oswald', sans-serif; color: #000;
}

.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { display: inline-block; position: relative; padding-bottom: 15px; }
.section-title h2::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px; background: #fdb913;
}

.gold { color: #fdb913; }
.highlight { color: #fdb913; }

/* === CONTAINER === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === GRID === */
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-1 { width: 8.333%; padding: 0 15px; }
.col-2 { width: 16.666%; padding: 0 15px; }
.col-3 { width: 25%; padding: 0 15px; }
.col-4 { width: 33.333%; padding: 0 15px; }
.col-5 { width: 41.666%; padding: 0 15px; }
.col-6 { width: 50%; padding: 0 15px; }
.col-8 { width: 66.666%; padding: 0 15px; }
.col-12 { width: 100%; padding: 0 15px; }

/* === NAVIGATION === */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 9000;
  background: transparent; transition: all 0.3s;
  padding: 15px 0;
}
.navbar.scrolled {
  background: #fdb913; padding: 8px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.navbar .nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar .nav-logo img { height: 45px; }
.navbar .nav-menu { display: flex; gap: 5px; }
.navbar .nav-menu li a {
  font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 400;
  text-transform: uppercase; color: #fff; padding: 8px 12px;
  transition: all 0.3s; display: block;
}
.navbar.scrolled .nav-menu li a { color: #242424; }
.navbar .nav-menu li a:hover,
.navbar .nav-menu li a.active { color: #fdb913; }
.navbar.scrolled .nav-menu li a:hover,
.navbar.scrolled .nav-menu li a.active { color: #fff; background: rgba(0,0,0,0.1); }

.nav-toggle-btn {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 24px; color: #fff;
}
.navbar.scrolled .nav-toggle-btn { color: #242424; }

/* === HERO === */
.hero {
  position: relative; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #000;
}
.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.hero-bg::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
}
.hero-content {
  position: relative; z-index: 2; text-align: center; color: #fff;
}
.hero-content .hero-logo { max-width: 400px; margin-bottom: 30px; }
.hero-slider-text {
  min-height: 120px; display: flex; align-items: center; justify-content: center;
}
.hero-slider-text h1 {
  font-size: 60px; color: #fff; text-transform: uppercase;
  letter-spacing: 3px; opacity: 0; animation: fadeInSlide 0.8s forwards;
}
.hero-slider-text h1 .highlight { color: #fdb913; }
@keyframes fadeInSlide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .scroll-down {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: #fff; font-size: 30px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-15px); }
  60% { transform: translateX(-50%) translateY(-8px); }
}

/* === SECTIONS === */
.section { padding: 80px 0; }
.section-gray { background: #f6f6f6; }
.section-white { background: #fff; }

/* === ABOUT === */
.about-intro { max-width: 800px; margin: 0 auto 50px; text-align: center; }
.about-intro p { font-size: 14px; line-height: 1.8; color: #333; }

.what-we-do { text-align: center; margin-bottom: 40px; }
.what-we-do h4 { font-size: 18px; margin-bottom: 5px; }
.what-we-do h2 { font-size: 24px; color: #fdb913; font-style: italic; }

/* Service cards */
.service-card {
  text-align: center; padding: 30px 20px; margin-bottom: 30px;
  background: #f6f6f6; transition: all 0.3s;
}
.service-card:hover { box-shadow: 0 3px 0 #fdb913; }
.service-card img { height: 60px; margin-bottom: 15px; }
.service-card h4 { font-size: 16px; margin-bottom: 10px; text-transform: uppercase; }
.service-card p { font-size: 13px; color: #333; line-height: 1.7; }

/* Fun Facts */
.fun-facts { padding: 50px 0; text-align: center; }
.fun-facts h2 { margin-bottom: 40px; }
.fact-item { text-align: center; padding: 20px; }
.fact-number {
  font-family: 'Oswald', sans-serif; font-size: 60px; font-weight: 700;
  color: #fdb913; line-height: 1;
}
.fact-label { font-size: 14px; color: #333; margin-top: 10px; }

/* === PARALLAX DIVIDER === */
.parallax-divider {
  position: relative; padding: 80px 0; background-attachment: fixed;
  background-size: cover; background-position: center; text-align: center;
  color: #fff;
}
.parallax-divider::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}
.parallax-divider .container { position: relative; z-index: 1; }
.parallax-divider h1 { color: #fff; font-size: 45px; }
.parallax-divider h2 { color: #fff; font-size: 30px; }
.parallax-divider p { color: rgba(255,255,255,0.8); font-size: 16px; max-width: 700px; margin: 15px auto; }
.parallax-divider .author { font-style: italic; color: #fdb913; font-size: 14px; margin-top: 10px; }

/* Contact info parallax */
.contact-details-parallax h1 { font-size: 50px; color: #fff; margin-bottom: 5px; }
.contact-details-parallax h3 { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 30px; font-weight: 300; }

/* === GALLERY SECTIONS (Outdoors & Magazines) === */
.gallery-grid {
  display: flex; flex-wrap: wrap; gap: 5px; justify-content: center;
  padding: 0 15px;
}
.gallery-grid.cols-9 .gallery-thumb { width: calc(11.11% - 5px); }
.gallery-grid.cols-7 .gallery-thumb { width: calc(14.28% - 5px); }

.gallery-thumb {
  position: relative; overflow: hidden; border: 2px solid #cfcfcf;
  cursor: pointer; aspect-ratio: 1; background: #f0f0f0;
}
.gallery-thumb img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  transition: transform 0.3s;
}
.gallery-thumb:hover img { transform: scale(1.1); }
.gallery-thumb .caption {
  position: absolute; bottom: 0; left: 0; width: 100%;
  background: rgba(0,0,0,0.7); color: #fff; font-size: 10px;
  text-align: center; padding: 3px; opacity: 0; transition: opacity 0.3s;
}
.gallery-thumb:hover .caption { opacity: 1; }

/* === LED SCREEN === */
.led-section .led-content { margin-bottom: 30px; }
.led-section h3 { color: #fdb913; margin-bottom: 15px; }
.led-section p { color: #333; line-height: 1.8; margin-bottom: 10px; }
.led-images { display: flex; gap: 15px; flex-wrap: wrap; }
.led-images .led-img {
  flex: 1; min-width: 200px; text-align: center;
}
.led-images .led-img img { width: 100%; border: 2px solid #cfcfcf; }
.led-images .led-img .caption {
  font-size: 12px; color: #333; margin-top: 5px; font-style: italic;
}

/* === TABS (Websites) === */
.tabs-container { max-width: 900px; margin: 0 auto; }
.tabs-nav {
  display: flex; border-bottom: 2px solid #eee; margin-bottom: 30px; flex-wrap: wrap;
}
.tabs-nav button {
  flex: 1; padding: 12px 15px; background: none; border: none;
  border-top: 3px solid transparent; font-family: 'Oswald', sans-serif;
  font-size: 14px; text-transform: uppercase; cursor: pointer;
  color: #333; transition: all 0.3s; min-width: 120px;
}
.tabs-nav button.active,
.tabs-nav button:hover { border-top-color: #fdb913; color: #fdb913; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel .row { align-items: center; }
.tab-panel img { width: 100%; border: 2px solid #eee; }
.tab-panel p { font-size: 14px; color: #333; line-height: 1.8; }
.tab-panel .tab-author { font-weight: 700; color: #fdb913; margin-top: 15px; font-size: 12px; }
.tab-panel .tab-link { display: inline-block; margin-top: 10px; font-weight: 700; }

/* === PDF / Downloads === */
.pdf-section .pdf-grid {
  display: flex; gap: 30px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 50px;
}
.pdf-item {
  text-align: center; flex: 1; max-width: 320px; min-width: 250px;
  cursor: pointer; transition: transform 0.3s;
  background: #fff; padding: 15px; border: 1px solid #eee;
}
.pdf-item:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.pdf-item .pdf-thumb { width: 100%; height: 200px; overflow: hidden; margin-bottom: 15px; border: 2px solid #cfcfcf; }
.pdf-item .pdf-thumb img { width: 100%; height: 100%; object-fit: cover; border: none; }
.pdf-item h4 { font-size: 16px; margin-bottom: 5px; }
.pdf-item p { font-size: 12px; color: #666; margin-bottom: 10px; }
.pdf-item .download-btn {
  display: inline-block; padding: 8px 25px; background: #fdb913;
  color: #fff; font-family: 'Oswald', sans-serif; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px; transition: background 0.3s;
}
.pdf-item .download-btn:hover { background: #e0a200; }
.pdf-item .download-btn img { display: none; }

/* Client logos */
.client-logos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
  align-items: center; padding: 30px 0;
}
.client-logos img {
  height: 50px; opacity: 0.7; transition: opacity 0.3s;
  filter: grayscale(30%);
}
.client-logos img:hover { opacity: 1; filter: none; }

/* === TESTIMONIALS SLIDER === */
.testimonials-slider { position: relative; max-width: 700px; margin: 0 auto; }
.testimonial-slide {
  display: none; text-align: center; animation: fadeIn 0.5s;
}
.testimonial-slide.active { display: block; }
.testimonial-slide h2 { color: #fff; font-size: 28px; margin-bottom: 15px; line-height: 1.4; }
.testimonial-slide p { color: #fdb913; font-size: 14px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.slider-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 25px;
}
.slider-dots span {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; transition: background 0.3s;
}
.slider-dots span.active { background: #fdb913; }

/* === PORTFOLIO === */
.portfolio-filters {
  display: flex; justify-content: center; gap: 5px; flex-wrap: wrap;
  margin-bottom: 30px;
}
.portfolio-filters button {
  font-family: 'Oswald', sans-serif; font-size: 13px; text-transform: uppercase;
  padding: 8px 18px; border: 1px solid #ddd; background: #fff;
  cursor: pointer; transition: all 0.3s; color: #333;
}
.portfolio-filters button.active,
.portfolio-filters button:hover {
  background: #fdb913; border-color: #fdb913; color: #fff;
}

.portfolio-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
}
.portfolio-item {
  position: relative; overflow: hidden; aspect-ratio: 370/241;
  background: #111;
}
.portfolio-item img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  transition: transform 0.4s;
}
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-item .overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(253, 185, 19, 0.85); display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.4s;
}
.portfolio-item:hover .overlay { opacity: 1; }
.portfolio-item .overlay h4 { color: #fff; font-size: 16px; margin-bottom: 5px; }
.portfolio-item .overlay span {
  font-size: 11px; color: #fff; background: rgba(0,0,0,0.3);
  padding: 3px 10px; text-transform: uppercase;
}

/* === CONTACT === */
.map-container { width: 100%; height: 400px; }
.map-container iframe { width: 100%; height: 100%; border: none; }

.contact-form-ajp input,
.contact-form-ajp textarea {
  width: 100%; padding: 12px 15px; margin-bottom: 12px;
  border: 1px solid #ddd; background: #f9f9f9;
  font-family: 'Open Sans', sans-serif; font-size: 13px;
  color: #333; outline: none; transition: border-color 0.3s;
}
.contact-form-ajp input:focus,
.contact-form-ajp textarea:focus { border-color: #fdb913; }
.contact-form-ajp input::placeholder,
.contact-form-ajp textarea::placeholder { color: #999; }
.contact-form-ajp textarea { height: 120px; resize: vertical; }

.contact-form-ajp .captcha-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap;
}
.contact-form-ajp .captcha-canvas { border-radius: 3px; }
.contact-form-ajp .captcha-input {
  width: 70px !important; text-align: center; font-size: 15px; letter-spacing: 2px;
}
.contact-form-ajp .captcha-refresh {
  background: none; border: 1px solid #ddd; color: #333;
  width: 34px; height: 34px; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px; transition: border-color 0.3s;
}
.contact-form-ajp .captcha-refresh:hover { border-color: #fdb913; color: #fdb913; }

.contact-form-ajp button[type="submit"] {
  font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; padding: 12px 40px;
  background: #fdb913; color: #fff; border: 2px solid #fdb913;
  cursor: pointer; transition: all 0.3s;
}
.contact-form-ajp button[type="submit"]:hover {
  background: transparent; color: #fdb913;
}
.contact-form-ajp .form-message { margin-top: 10px; padding: 8px; display: none; font-size: 13px; }
.contact-form-ajp .form-message.success { display: block; color: #4caf50; }
.contact-form-ajp .form-message.error { display: block; color: #f44336; }

/* === LIGHTBOX === */
.lightbox-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9); z-index: 99990;
  align-items: center; justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 90%; max-height: 85vh; object-fit: contain;
}
.lightbox-close {
  position: absolute; top: 20px; right: 30px; color: #fff;
  font-size: 36px; cursor: pointer; z-index: 99991;
}
.lightbox-close:hover { color: #fdb913; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 40px; cursor: pointer; padding: 10px;
  z-index: 99991;
}
.lightbox-nav:hover { color: #fdb913; }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

/* === FOOTER === */
.footer {
  background: #fdb913; padding: 20px 0; text-align: center;
}
.footer p { color: #fff; font-size: 14px; }
.footer a { color: #fff; }
.footer a:hover { color: #000; }
.footer .social-icons {
  margin-top: 10px; display: flex; justify-content: center; gap: 15px;
}
.footer .social-icons a {
  color: #fff; font-size: 18px; transition: color 0.3s;
}
.footer .social-icons a:hover { color: #000; }

.back-to-top {
  display: inline-block; margin-top: 10px; font-family: 'Oswald', sans-serif;
  font-size: 12px; text-transform: uppercase; letter-spacing: 2px;
  color: #fff; cursor: pointer;
}
.back-to-top:hover { color: #000; }

/* === SCROLL ANIMATIONS === */
.animate { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.animate.fadeInUp { opacity: 1; transform: translateY(0); }
.animate.bounceIn { opacity: 1; transform: scale(1); }

/* === RESPONSIVE === */
@media (max-width: 991px) {
  .navbar .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: #fdb913; padding: 10px 0; }
  .navbar .nav-menu.open { display: flex; }
  .navbar .nav-menu li a { color: #242424; padding: 10px 20px; }
  .nav-toggle-btn { display: block; }
  .gallery-grid.cols-9 .gallery-thumb { width: calc(20% - 5px); }
  .gallery-grid.cols-7 .gallery-thumb { width: calc(25% - 5px); }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  h1 { font-size: 50px; }
  .hero-slider-text h1 { font-size: 40px; }
}

@media (max-width: 767px) {
  .col-3, .col-4, .col-5, .col-6, .col-8 { width: 100%; }
  .section { padding: 50px 0; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .hero-slider-text h1 { font-size: 28px; }
  .hero-content .hero-logo { max-width: 250px; }
  .gallery-grid.cols-9 .gallery-thumb { width: calc(33.33% - 5px); }
  .gallery-grid.cols-7 .gallery-thumb { width: calc(33.33% - 5px); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .parallax-divider { background-attachment: scroll; }
  .led-images { flex-direction: column; }
  .contact-details-parallax h1 { font-size: 30px; }
  .fact-number { font-size: 42px; }
  .tabs-nav button { font-size: 12px; min-width: 80px; padding: 8px 8px; }
}

@media (max-width: 479px) {
  .hero-slider-text h1 { font-size: 22px; width: 280px; margin: 0 auto; }
  .gallery-grid.cols-9 .gallery-thumb,
  .gallery-grid.cols-7 .gallery-thumb { width: calc(50% - 5px); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .client-logos img { height: 35px; }
}
