﻿/*============= <link> 2: Tokens, Baselines, & Layouts ==================== */
/* 

Secure browsing with Domains Search Engine. It instantly launches, routes, and streams web destinations securely. 
Experience premium performance with zero tracking and automated instant memory purging.Domains Search Engine - Secure Redirect Portal

            :root {
            --bg: #eeeeee;
            --surface: #1f2937;
            --border: #eeeeee;
            --text: #f3f4f6;
            --text-muted: #9ca3af;
            --accent: #10b981;
            --accent-hover: #059669;
            --accent-glow: #34d399;
        }
 */   
 /* ==========================================================================
   1. DESIGN SYSTEM VARIABLES (Modern Light Theme Optimization)
   ========================================================================== */ 
            :root 
        {
            --bg: #f4f4f7; 
            --surface: #ffffff;
            --border: #e4e4e7;
            --text: #333;
            --text-muted: #71717a;         
            --accent: #27272a;
            --accent-hover: #333;   
            --accent-glow: #333;
        }
        


 /* ==========================================================================
	3. Modern Responsive Media Reset
   ========================================================================== */ 

        img, picture, video, canvas, svg {
          max-width: 100%; /* Restored: prevents layout blowouts */
          height: auto;    /* Restored: maintains correct proportions */
          display: block;  /* Keeps: removes the annoying 3px bottom gap */
        }
        
        body {
            font-family: system-ui, -apple-system, sans-serif;
            background-color: var(--bg);
            color: var(--text);
        }

        a {
            color: var(--accent);
            text-decoration: none;
        }

        a:hover {
            text-decoration: underline;
            color: var(--accent-hover);
        }

        h1,h2,h3,h4,h5.hover{ color: var(--accent); }

        h1,h2,h3,h4,h5 
        { 
            color: var(--text); border-bottom: 1px solid var(--border);  padding-bottom: 8px;margin: 10px auto;
        }
        p { color: var(--text-muted); }

/* ==========================================================================
   3. NAVIGATION CONTAINER LAYOUT
   ========================================================================== */
        nav {
            display: flex;            
            background-color: var(--surface);
            border-radius: 25px;            
            justify-content: space-between;
            align-items: center;
            margin: 20px;
            padding: 10px;
            border-bottom: 1px solid var(--border);
            line-height: 1.6;            

        }
        nav .text {
            font-weight: 700;
            color: var(--accent);
            text-decoration: none;
            font-size: 1.2rem;

        }
        nav ul {
            display: flex;
            list-style: none;
            gap: 20px;
        }
        nav ul li a {
            color: var(--accent);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.2s;
        }

        nav ul li a:hover {
            color: var(--text);
        }
/* ==========================================================================
   4. CENTRAL GATEWAY WRAPPER & CORE ENGINE TOOL
   ========================================================================== */
        .main-wrapper {
            margin: 20px;
            padding: 10px;
            background-color: var(--surface);
            border: 1px solid var(--border);
            border-radius: 12px;
            line-height: 1.6;
        }
        .logo 
        {
            width: 50px;
            height: 50px;
            margin-left: auto;
            margin-right: auto;
        }
        .icon
        {
            width: 150px;
            height: 150px;
            margin-left: auto;
            margin-right: auto;
        }

        .container {
            background-color: var(--surface);
            border-radius: 12px;
            padding: 30px;
            margin: 20px;
        }

        .address-form {
            display: flex;
            flex-direction: row;
            gap: 12px;
            margin: 100px auto;
        }

        #queryInput {
            flex: 1;
            min-width: 0;
            border: 1px solid var(--border);
            border-radius: 25px;
            font-size: 1rem;
            outline: none;
            text-align: center;
            transition: box-shadow 0.2s;
	        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        #queryInput:focus {
                 border: 1px solid var(--accent);
        }

        #queryOutput {
            color: var(--bg);
            border: none;
            border-radius: 25px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            transition: background-color 0.2s, transform 0.1s;	    	    
        }


		#queryOutput img {
			padding: 10px;
			width: 50px;
			height: 50px;       

		}


        #queryOutput img:hover {
            color: var(--bg);

        }

        #queryOutput:active {
            transform: scale(0.98);     

        }

        .badge {
            font-size: 0.75rem;
            font-family: monospace;
            color: var(--accent-glow);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            text-align: center;
        }
/* ==========================================================================
   5. COMPONENTS & CONTENT BLOCKS
   ========================================================================== */      	
        .homepage-guide-box {
            background: #ffffff; 
            max-width: 1280px; 
            margin: 30px auto; 
            padding: 25px; 
            border-radius: 12px; 
            text-align: left;
            border-left: 4px solid #60a5fa;
            border-right: 4px solid #60a5fa;
        }

        .ad-placeholder {
            background: #1f2937;
            border: 1px dashed #4b5563;
            border-radius: 6px;
            padding: 20px;
            text-align: center;
            color: var(--text-muted);
            font-size: 0.85rem;
            margin: 20px 0;
        }

        .content-section {
            margin-top: 40px;
        }

        .content-section h1, .content-section h2 {
            color: var(--text);
            margin-bottom: 16px;
        }

        .content-section h2 {
            margin-top: 30px;
        }

        .content-section p {
            color: var(--text-muted);
            margin-bottom: 16px;
        }

        .feature-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin: 24px 0;
        }

        .feature-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 20px;
        }

        .feature-card h3 {
            color: var(--accent);
            margin-bottom: 8px;
        }


/* ==========================================================================
   6. CONTACT & INPUT GROUP COMPONENT DESIGNS
   ========================================================================== */

/* about css */


        .flex-box {
            display: flex;
            gap: 20px;
            align-items: center;
            margin: 30px 0;
        }
        .flex-box img {
            width: 150px;
            height: 150px;
            border-radius: 8px;
            object-fit: cover;
        }


/* contact css */

        .form-group {
            margin-bottom: 20px;
        }
        label {
            display: block;
            margin-bottom: 8px;
            color: var(--text);
            font-size: 0.9rem;
        }
        #queryEmail{
            width: 100%;
            background: var(--surface);
            border: 1px solid var(--border);
            color: var(--text);
            padding: 12px;
            border-radius: 6px;
            font-size: 1rem;
            outline: none;            
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }
        #queryEmail:focus {
            border: 1px solid var(--accent);
        }

        #queryMessage{
            width: 100%;
            background: var(--surface);
            border: 1px solid var(--border);
            color: var(--text);
            padding: 12px;
            border-radius: 6px;
            font-size: 1rem;
            outline: none;            
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }
        #queryMessage:focus {
            border: 1px solid var(--accent);
        }
                
        #querySubmit {
            border: none;
            padding: 12px 24px;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            font-size: 1rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            background: var(--surface);
            color: var(--accent);            
        }
        #querySubmit:hover {

            background: var(--accent);
            color: var(--bg);
        }
		
/* ==========================================================================
   7. BLOG MODULE STYLING
   ========================================================================== */        
/* blog css */


       .post-card {
            background-color: var(--surface);
            border: 1px solid var(--accent);
            border-radius: 12px;
            padding: 24px;
            margin-bottom: 20px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }
        .post-card h2 { margin-top: 0; font-size: 1.4rem; }
        .post-card h2 a { color: var(--text); text-decoration: none; }
        .post-card h2 a:hover { color: var(--accent); }
        .post-card p { color: var(--text-muted); font-size: 0.95rem; }
        .meta { font-size: 0.8rem; color: var(--accent); font-family: monospace; text-transform: uppercase; }
        .back-link { display: inline-block; margin-bottom: 20px; font-size: 0.9rem; font-weight: 600; color: var(--accent); text-decoration: none; }

        /* Clean, sharp text link styling */
        .error {
		   text-align: center;
		}

		.error-btn {
		    display: inline-block;
		    color: #007bff; /* Keeps your brand's blue color */
		    text-decoration: underline; /* Standard, recognizable link underline */
		    font-weight: 500;
		    margin-top: 20px; /* Gives it breathing room below the paragraph */
		}

		/* Optional hover state to make it feel responsive */
		.error-btn:hover {
		    color: #0056b3; 
		}



/* ==========================================================================
   8. FOOTER METRICS AND LAYOUTS
   ========================================================================== */
        /* Modern Reset & Font Configuration */
        .site-footer {
            font-family: 'Inter', sans-serif;
            background-color: var(--surface); 
            color: var(--text-muted);
            margin: 20px;
            padding: 40px 20px;
            text-align: center;
            border-top: 1px solid #e9ecef;
            line-height: 1.6;            
        }

        /* Modernized Logo Container Styling */
        .footer-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 24px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.15rem;
        }

        /* Logo Image Control */
        .footer-logo img {
            height: 32px; /* Set your desired logo height */
            width: auto;  /* Maintains aspect ratio automatically */
            display: block;
            object-fit: contain;
        }

        /* Clean Link Navigation Container */
        .footer-nav {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 28px; 
            margin-bottom: 24px;
            list-style: none;
            padding: 0;
        }

        .footer-link {
            text-decoration: none;
            color: var(--accent); 
            font-size: 0.95rem;
            font-weight: 500;
            transition: color 0.2s ease;
        }

        /* Subtle, responsive hover interaction */
        .footer-link:hover {
            color: var(--accent-hover);
        }

        /* Visual Divider Line */
        .footer-divider {
            max-width: 700px;
            margin: 0 auto 24px auto;
            border: 0;
            border-top: 1px solid var(--border);
        }

        /* Understated Copyright Section */
        .footer-copyright {
            font-size: 0.85rem;
            color: var(--accent); 
            margin: 0;
        }


/* ==========================================================================
   9. MOBILE RESPONSIVE MEDIA QUERIES (700px and under)
   ========================================================================== */
        /*  Responsive Mobile Adjustments */
        @media (max-width: 700px) {
        
 		
         #queryInput {
        padding: 20px;
        }
		#queryOutput {
		width: 50px;
		height: auto;
		margin: auto;
		        }
          .feature-grid {
            grid-template-columns: 1fr; /* Stacks grid columns vertically on mobile screens */
          }
          .flex-box {
            flex-direction: column;
            text-align: center;
          }
          nav {
            flex-direction: column;
            gap: 12px;
            border-radius: 16px;
          }
          nav ul {
            gap: 12px;
          }

        .address-form {
            flex-direction: column; /* Keeps form horizontal even on small phone layers */
        }
          
        }        
        /*  Responsive Mobile Adjustments over*/
