/*!
Theme Name: wallahi-matrimony
Theme URI: https://wallahi.com/
Author: wallahi.com
Author URI: https://wallahi.com/
Description: A clean, custom matrimony WordPress theme.
Version: 1.0.0
Tested up to: 6.6
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wallahi-matrimony
Tags: custom-background, custom-logo, custom-menu, featured-images, translation-ready
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# Utilities
	- Accessibility
	- Alignments
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize - Essential reset only */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

a {
  background-color: transparent;
}

b,
strong {
  font-weight: bolder;
}

img {
  border-style: none;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

/* Box sizing */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography */
body,
button,
input,
select,
textarea {
  color: #404040;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  margin: 0.67em 0;
}

p {
  margin-bottom: 1.5em;
}

/* Elements */
html {
  background: #ffffff;
}

body {
  background: hsl(0, 0%, 100%);
}
ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

/* Links */
a {
  color: #4169e1;
  text-decoration: none;
}

a:visited {
  color: #800080;
}

a:hover,
a:focus,
a:active {
  color: #191970;
}

/* Forms */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
  cursor: pointer;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
  background: #d6d6d6;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 0.5em;
  width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
textarea:focus {
  color: #111;
  border-color: #4169e1;
  outline: none;
}

select {
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 0.5em;
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/* Add your custom layout styles here */

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation */
.main-navigation {
  display: block;
  width: 100%;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}

.main-navigation ul ul a {
  width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
  padding: 0.5em 1em;
}

/* Mobile menu */
.menu-toggle {
  display: block;
  background: none;
  border: 1px solid #ccc;
  padding: 0.5em 1em;
  cursor: pointer;
}

.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }

  .main-navigation ul {
    display: flex;
  }
}

/* Posts and pages */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0 0 1.5em;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

/* Comments */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media */
.custom-logo-link {
  display: inline-block;
}

/* Captions */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
  text-align: center;
}

/* Galleries - Simplified */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Alignments */
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* Responsive images */
img {
  height: auto;
  max-width: 100%;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
  max-width: 100%;
}





/* ---------------------------------
   /* Hide scrollbar globally for ALL browsers and contexts */
---------------------------------- */

#pwa-scroll-container {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

#pwa-scroll-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

/* Optional: Apply to entire site for even cleaner look */
html {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}















/*--------------------------------------------------------------
# Disable rotation of website on mobile and zoom
--------------------------------------------------------------*/

/* Disable zooming on mobile */
html {
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Prevent double-tap zoom on iOS */
body {
  -webkit-tap-highlight-color: transparent;
}

/* Landscape mode warning — ONLY on mobile (max-width: 768px) */
@media screen and (max-width: 768px) and (orientation: landscape) {
  body::after {
    content: "📱 Please rotate your device to portrait mode.";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    z-index: 999999;
    pointer-events: none;
  }

  body {
    overflow: hidden;
  }
}





/* ---------------------------------
   Disable link preview / highlight / selection globally on buttons and links
---------------------------------- */
a,
button,
img {
  /* Standard property first */
  user-select: none;

  /* Vendor prefixes for compatibility */
  -webkit-user-select: none; /* Safari, iOS, older Chrome */
  -ms-user-select: none; /* Legacy Edge */
  -webkit-touch-callout: none; /* Disable link preview on iOS Safari */
  -webkit-tap-highlight-color: transparent; /* Remove gray tap highlight */
}




















/* --------------------------------------------------------------
# Footer pages template for (terms and condition,cookies policy,privacy policy)
# Styled like About Wallahi page – clean layout
--------------------------------------------------------------*/

/* Container for footer pages */
.footer-page {
  max-width: 900px; /* Limit content width */
  margin: 4rem auto; /* Center with top/bottom spacing like About Wallahi */
  padding: 0 1rem; /* Side padding for small screens */
  color: #000; /* text color same as About Wallahi */
}

/* Page title styling */
.footer-page-title {
  text-align: center;
  font-size: 2.6rem; /* matches About Wallahi desktop size */
  font-weight: 700;
  margin-bottom: 5rem;
  color: #000000;
}

/* Page content styling */
.footer-page-content {
  font-size: 0.95rem; /* same as About Wallahi content */
  line-height: 1.9;
  color: #000; /* black text */
}

.footer-page-content p {
  margin-bottom: 1.6rem;
}

/* Optional: styling links inside content */
.footer-page-content a {
  color: #0073aa;
  text-decoration: none;
}

.footer-page-content a:hover {
  text-decoration: underline;
}

/* -----------------------------
   Mobile Adjustments (screens < 768px)
------------------------------ */
@media (max-width: 767px) {
  .footer-page {
    margin: 2rem auto;
    padding: 0 1rem;
  }

  .footer-page-title {
    font-size: 2rem; /* smaller on mobile */
  }

  .footer-page-content {
    font-size: 0.9rem;
    line-height: 1.7;
  }
}







/* -----------------------------
  Footer "About Wallahi" Page – Clean Layout
------------------------------ */
.about-wallahi-page {
  max-width: 900px; /* Limit content width */
  margin: 4rem auto; /* Center with top/bottom spacing */
  padding: 0 1rem; /* Side padding for small screens */
  color: #000;
}

/* Page Title */
.about-wallahi-title {
  text-align: center;
  font-size: 2.6rem; /* desktop size */
  font-weight: 700;
  margin-bottom: 5rem;
  color: #000000;
}

/* Page Content */
.about-wallahi-content {
  font-size: 0.95rem; /* desktop size */
  line-height: 1.9;
}

.about-wallahi-content p {
  margin-bottom: 1.6rem;
}

/* -----------------------------
   Butterfly Hero Image
------------------------------ */
.about-wallahi-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.about-hero-image {
  width: 20%; /* desktop size */
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 1rem;
}

/* -----------------------------
   Mobile Adjustments (screens < 768px)
------------------------------ */
@media (max-width: 767px) {
  .about-wallahi-page {
    margin: 2rem auto;
  }

  .about-wallahi-title {
    font-size: 2rem; /* smaller on mobile */
  }

  .about-wallahi-content {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .about-hero-image {
    width: 35%; /* smaller image for mobile */
    max-width: none; /* remove desktop max-width restriction */
    border-radius: 0.5rem;
  }
}









/* -----------------------------
  Footer "FAQ" Page – Clean Layout
------------------------------ */
.faq-page {
  max-width: 900px; /* Limit content width */
  margin: 4rem auto; /* Center with top/bottom spacing */
  padding: 0 1rem; /* Side padding for small screens */
  color: #000000;
}

/* Page Title */
.faq-title {
  text-align: center;
  font-size: 2.6rem; /* desktop size */
  font-weight: 700;
  margin-bottom: 5rem;
  color: #000000;
}

/* Page Content */
.faq-content {
  font-size: 0.95rem; /* desktop size */
  line-height: 1.9;
}

.faq-content p {
  margin-bottom: 1.6rem;
}

/* -----------------------------
   Mobile Adjustments (screens < 768px)
------------------------------ */
@media (max-width: 767px) {
  .faq-page {
    margin: 2rem auto;
  }

  .faq-title {
    font-size: 2rem; /* smaller on mobile */
  }

  .faq-content {
    font-size: 0.9rem;
    line-height: 1.7;
  }
}







/* -----------------------------
  Behaviour Page – Clean Layout
------------------------------ */

.behaviour-page {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1rem;
  color: #000000;
}

/* Page Title */
.behaviour-title {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 5rem;
  color: #000000;
}

/* Page Content */
.behaviour-content {
  font-size: 0.95rem;
  line-height: 1.9;
}

.behaviour-content p {
  margin-bottom: 1.6rem;
}

/* -----------------------------
   Hero Image
------------------------------ */
.behaviour-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.behaviour-hero-image {
  width: 20%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 1rem;
}

/* -----------------------------
   Mobile Adjustments
------------------------------ */
@media (max-width: 767px) {
  .behaviour-page {
    margin: 2rem auto;
  }

  .behaviour-title {
    font-size: 2rem;
  }

  .behaviour-content {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .behaviour-hero-image {
    width: 35%;
    max-width: none;
    border-radius: 0.5rem;
  }
}











/* -----------------------------
  Marriage in Islam Page – Clean Layout
------------------------------ */

.marriage-islam-page {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1rem;
  color: #000000;
}

/* Page Title */
.marriage-islam-title {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 5rem;
  color: #000000;
}

/* Page Content */
.marriage-islam-content {
  font-size: 0.95rem;
  line-height: 1.9;
}

.marriage-islam-content p {
  margin-bottom: 1.6rem;
}

/* -----------------------------
   Hero Image
------------------------------ */
.marriage-islam-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.marriage-islam-hero-image {
  width: 20%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 1rem;
}

/* -----------------------------
   Mobile Adjustments
------------------------------ */
@media (max-width: 767px) {
  .marriage-islam-page {
    margin: 2rem auto;
  }

  .marriage-islam-title {
    font-size: 2rem;
  }

  .marriage-islam-content {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .marriage-islam-hero-image {
    width: 35%;
    max-width: none;
    border-radius: 0.5rem;
  }
}









/* -----------------------------
  Contact Us Page – Clean Layout
------------------------------ */

.contact-us-page {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1rem;
  color: #000000;
}

/* Page Title */
.contact-us-title {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 5rem;
  color: #000000;
}

/* Page Content */
.contact-us-content {
  font-size: 0.95rem;
  line-height: 1.9;
}

.contact-us-content p {
  margin-bottom: 1.6rem;
}

/* -----------------------------
   Hero Image
------------------------------ */
.contact-us-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-us-hero-image {
  width: 20%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 1rem;
}

/* -----------------------------
   Mobile Adjustments
------------------------------ */
@media (max-width: 767px) {
  .contact-us-page {
    margin: 2rem auto;
  }

  .contact-us-title {
    font-size: 2rem;
  }

  .contact-us-content {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .contact-us-hero-image {
    width: 35%;
    max-width: none;
    border-radius: 0.5rem;
  }
}
















/*---------------------------------------------
# Blocked User Page
---------------------------------------------*/

.blocked-container {
  text-align: center;
  background-color: #fff;
  padding: 50px 40px;
  margin: 100px auto;
  max-width: 600px;
  border: 2px solid #e74c3c;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.blocked-container h1 {
  color: #e74c3c;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.blocked-container p {
  color: #555;
  font-size: 1.2rem;
}













