/*
Theme Name: Print Connect
Description: Custom theme for Print Connect Fourways Mall
Author: Sajid
Version: 1.0
*/

/* ----- Core Setup & Reset ----- */
html { scroll-behavior: smooth; }
body { margin: 0; padding: 0; font-family: 'Roboto', sans-serif; background-color: #f4f6f9; color: #333; }
* { box-sizing: border-box; }
a { text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; }

/* ----- Main Header / Navbar ----- */
.header-main { background-color: #fff; padding: 15px 40px; display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid #D32027; box-shadow: 0 4px 6px rgba(0,0,0,0.05); position: relative; z-index: 1000; }
.logo-wrapper { display: flex; flex-direction: column; align-items: center; line-height: 1; text-decoration: none; }
.logo-blocks { display: flex; font-size: 24px; font-weight: 900; font-family: 'Montserrat', sans-serif; letter-spacing: 1px; }
.logo-blocks .print { background-color: #D32027; color: #ffffff; padding: 6px 10px; }
.logo-blocks .connect { background-color: #FFD100; color: #231F20; padding: 6px 10px; }
.logo-sub { font-family: 'Montserrat', sans-serif; font-size: 11px; letter-spacing: 1.5px; color: #231F20; margin-top: 5px; }

/* ----- Navigation Menu ----- */
.nav-links { display: flex; align-items: center; flex-wrap: wrap; }
.nav-links .wp-menu-list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.nav-links .wp-menu-list li { list-style: none; margin: 0; padding: 0; position: relative; padding: 10px 0; }
.nav-links a { margin-left: 20px; color: #333; font-weight: 700; text-transform: uppercase; font-size: 13px; transition: color 0.3s; white-space: nowrap; display: block; }
.nav-links a:hover { color: #D32027; }
.menu-toggle { display: none; font-size: 28px; color: #D32027; cursor: pointer; }

/* ----- Dropdown Menu Styling ----- */
.nav-links .wp-menu-list li::after { content: ""; position: absolute; bottom: -10px; left: 0; width: 100%; height: 10px; background: transparent; }
.nav-links .wp-menu-list .sub-menu { display: none; position: absolute; top: 100%; left: 20px; background-color: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.1); min-width: 220px; z-index: 999; padding: 10px 0; border-top: 3px solid #D32027; }
.nav-links .wp-menu-list li:hover > .sub-menu { display: block; }
.nav-links .wp-menu-list .sub-menu li { width: 100%; padding: 0; }
.nav-links .wp-menu-list .sub-menu li::after { display: none; }
.nav-links .wp-menu-list .sub-menu a { margin: 0; padding: 12px 20px; display: block; font-weight: 500; font-size: 13px; border-bottom: 1px solid #f4f6f9; }
.nav-links .wp-menu-list .sub-menu a:hover { background-color: #f4f6f9; padding-left: 25px; }

/* ----- Hero Section ----- */
.hero { background: linear-gradient(rgba(0, 51, 160, 0.8), rgba(211, 32, 39, 0.8)), url('https://images.unsplash.com/photo-1562564055-71e051d33c19?auto=format&fit=crop&w=1920&q=80') center/cover; color: #fff; text-align: center; padding: 100px 20px; }
.hero h1 { font-size: 3.5em; margin-bottom: 15px; font-weight: 800; text-transform: uppercase; }
.hero p { font-size: 1.3em; margin-bottom: 30px; font-weight: 400; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-btn { background-color: #FFD100; color: #231F20; padding: 15px 30px; font-size: 18px; font-weight: 700; border-radius: 5px; text-transform: uppercase; transition: background 0.3s; display: inline-block; }
.hero-btn:hover { background-color: #fff; color: #D32027; }

/* ----- Services Grid & Thumbnails (SUPER SIZED FOR PC) ----- */
.services-section { padding: 80px 20px; text-align: center; max-width: 1400px; margin: 0 auto; }
.services-section h2 { font-size: 2.8em; color: #0033A0; margin-bottom: 50px; font-weight: 800; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 40px; }
.service-link { text-decoration: none; display: block; color: inherit; }

.card { background: #fff; border-radius: 10px; box-shadow: 0 8px 25px rgba(0,0,0,0.06); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; height: 100%; border-bottom: 5px solid #D32027; padding: 0; }
.service-link:hover .card { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0,0,0,0.15); border-bottom-color: #0033A0; }

.card-img { width: 100%; background-color: #fff; padding: 0; overflow: hidden; }
.card-img img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.service-link:hover .card-img img { transform: scale(1.05); }

.card-content { padding: 30px 20px; flex-grow: 1; display: flex; align-items: center; justify-content: center; background-color: #ffffff; }
.card-content h3 { color: #333; font-size: 1.5em; margin: 0; font-weight: 800; line-height: 1.4; text-align: center; }

/* ----- Generic Pages ----- */
.generic-page-container { max-width: 1200px; margin: 40px auto; padding: 20px; background: #fff; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.page-title { color: #0033A0; margin-top: 0; margin-bottom: 20px; border-bottom: 2px solid #D32027; padding-bottom: 10px; }
.page-content { line-height: 1.6; color: #444; }

/* ----- NAYA MAP / LOCATION SECTION (Dark Theme) ----- */
.location-section { background-color: #1a1a1a; padding: 70px 20px; color: #fff; }
.location-container { max-width: 1200px; margin: 0 auto; }
.badge-find-us { background-color: #FFD100; color: #231F20; padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-bottom: 20px; }
.location-title { font-family: 'Montserrat', sans-serif; font-size: 2.8em; margin-top: 0; margin-bottom: 30px; font-weight: 800; color: #ffffff; }
.location-title span { color: #FFD100; }
.map-wrapper { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.5); background-color: #333; }
.location-footer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 15px; margin-top: 25px; font-size: 14px; color: #ccc; }
.location-footer-bar span { display: flex; align-items: center; }
.location-footer-bar .divider { color: #555; font-size: 16px; }
.location-footer-bar i { margin-right: 10px; font-size: 16px; }
.location-footer-bar .fa-map-marked-alt { color: #4A90E2; }
.location-footer-bar .fa-phone-alt { color: #D32027; }
.location-footer-bar .fa-whatsapp { color: #25D366; font-size: 18px; }

/* ----- Corporate PC Footer Layout ----- */
.footer { background-color: #231F20; color: #fff; padding: 60px 20px 20px; border-top: 5px solid #FFD100; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; text-align: left; flex-wrap: wrap; }
.footer-col { flex: 1; padding: 0 20px; min-width: 250px; margin-bottom: 30px; }
.footer-col h3 { font-size: 1.2em; color: #ffffff; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-top: 0; margin-bottom: 20px; }
.footer-col h3 span { color: #FFD100; }
.footer-address, .footer-contact-text { color: #ddd; line-height: 2; font-size: 15px; }
.footer-address i { color: #D32027; margin-right: 8px; }
.footer-contact-text a { color: #FFD100; font-weight: 700; letter-spacing: 0.5px; }
.footer-contact-text i { width: 20px; color: #D32027; text-align: center; margin-right: 8px; }

/* Quick Links Column */
.quick-links .wp-footer-menu { list-style: none; padding: 0; margin: 0; }
.quick-links .wp-footer-menu li { margin-bottom: 12px; position: relative; }
.quick-links .wp-footer-menu > li > a { display: block; color: #ddd; font-size: 15px; transition: color 0.3s, padding-left 0.3s; }
.quick-links .wp-footer-menu > li > a::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #D32027; margin-right: 8px; font-size: 12px; }
.quick-links .wp-footer-menu > li > a:hover { color: #FFD100; padding-left: 5px; }
.quick-links .wp-footer-menu .sub-menu { display: none; margin-top: 8px; padding-left: 15px; list-style: none !important; }
.quick-links .wp-footer-menu li.open-footer-sub > .sub-menu, .quick-links .wp-footer-menu li:hover > .sub-menu { display: block; }
.quick-links .wp-footer-menu .sub-menu li { list-style-type: none !important; margin-bottom: 8px; }
.quick-links .wp-footer-menu .sub-menu a { font-size: 14px; color: #bbb; display: block; }
.quick-links .wp-footer-menu .sub-menu a:hover { color: #FFD100; }
.quick-links .wp-footer-menu .sub-menu a::before { content: "-"; color: #666; margin-right: 5px; }

.social-icons { margin-top: 25px; }
.social-icons a { display: inline-block; width: 40px; height: 40px; line-height: 40px; text-align: center; background-color: #333; color: #fff; border-radius: 50%; margin-right: 10px; font-size: 18px; transition: all 0.3s ease; }
.social-icons a:hover { background-color: #FFD100; color: #231F20; transform: translateY(-3px); }
.footer-bottom { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 14px; color: #999; text-align: center; }

/* ----- Floating Action Buttons ----- */
.floating-wa, .floating-top { position: fixed; width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; z-index: 1000; box-shadow: 0 4px 10px rgba(0,0,0,0.25); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.floating-wa:hover, .floating-top:hover { transform: translateY(-5px); color: #fff; box-shadow: 0 6px 15px rgba(0,0,0,0.3); }

/* PC par dono right side par */
.floating-wa { right: 25px; bottom: 25px; background-color: #25D366; }
.floating-top { right: 25px; bottom: 95px; background-color: #D32027; }

/* ----- MOBILE RESPONSIVE FIXES ----- */
@media (max-width: 768px) {
  .header-main { padding: 15px 20px; flex-wrap: wrap; }
  .menu-toggle { display: block; }
  .nav-links { display: none; width: 100%; flex-direction: column; margin-top: 15px; padding-top: 10px; border-top: 1px solid #eee; }
  .nav-links.active { display: flex; }
  .nav-links .wp-menu-list { flex-direction: column; width: 100%; }
  
  .nav-links .wp-menu-list li { width: 100%; padding: 0; }
  .nav-links a { margin: 0; padding: 12px 0; font-size: 14px; width: 100%; text-align: center; border-bottom: 1px solid #f9f9f9; }
  .nav-links .wp-menu-list li:last-child a { border-bottom: none; }

  /* Mobile Dropdown Fixes */
  .nav-links .wp-menu-list .sub-menu {
    display: none !important; 
    position: relative; top: 0; left: 0; width: 100%; box-shadow: none; border-top: none; background-color: #f4f6f9; padding: 0;
  }
  .nav-links .wp-menu-list li.open-sub > .sub-menu { display: block !important; }
  .nav-links .wp-menu-list li:hover > .sub-menu { display: none; }
  .nav-links .wp-menu-list li.open-sub:hover > .sub-menu { display: block !important; }
  .nav-links .wp-menu-list .sub-menu a { padding-left: 0; font-size: 13px; border-bottom: 1px solid #ebebeb; text-align: center; }
  .nav-links .wp-menu-list .sub-menu a:hover { padding-left: 0; }
  
  .hero h1 { font-size: 2.2em; }
  .logo-blocks { font-size: 20px; }
  
  /* Mobile par ek line mein sirf ek box aayega */
  .grid { grid-template-columns: repeat(1, 1fr); gap: 25px; } 
  
  .footer-inner { flex-direction: column; text-align: center; gap: 10px; }
  .footer-col { padding: 0; width: 100%; }
  .social-icons { justify-content: center; display: flex; }
  
  /* Mobile Floating Buttons Fix & Footer Padding */
  .floating-wa, .floating-top { width: 45px; height: 45px; font-size: 22px; right: 15px; }
  .floating-wa { bottom: 20px; }
  .floating-top { bottom: 85px; }
  .footer-bottom { padding-bottom: 120px !important; } 
}

/* ========================================================
   NAYA ADD KIYA HAI: SEE MORE BUTTON STYLES 
   ======================================================== */
.see-more-wrapper {
    text-align: center;
    margin-top: 40px;
    width: 100%;
}
.see-more-btn {
    background-color: #0033A0;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    display: none; /* JS isay khud show karega agar 9 se zyada hongi */
}
.see-more-btn:hover {
    background-color: #D32027;
    transform: translateY(-3px);
}