/*
Theme Name: rohsigma Property Theme
Theme URI: https://rohsigma.com
Author: Rohsigma
Author URI: https://rohsigma.com
Description: Custom WordPress theme for  properties. Features responsive design, custom templates, and optimized performance for property investment content.
Version: 0.5.0
Requires at least: 6.0
Tested up to: 8.2
Requires PHP: 8.2
License: Proprietary
License URI: See LICENSE.md
Text Domain: smartmove
Tags: custom-colors, custom-menu, custom-logo, editor-style, featured-images, flexible-header, post-formats, responsive-design, theme-options, threaded-comments

Rohsigma Property Theme, Copyright 2026 Rohsigma. All rights reserved. Unauthorized copying, distribution, modification, or use of this theme,
*/

/* ==========================================================================
   Base Styles
   ========================================================================== */

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

:root {
	--color-primary: #003366;
	--color-secondary: #00a8e8;
	--color-accent: #ff6b35;
	--color-text: #333333;
	--color-text-light: #666666;
	--color-background: #ffffff;
	--color-background-alt: #f8f9fa;
	--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-secondary: 'Prata', Georgia, "Times New Roman", Times, serif;
	--spacing-unit: 1rem;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--font-primary);
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text);
	background-color: var(--color-background);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	margin-bottom: calc(var(--spacing-unit) * 0.5);
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
	margin-top: 0;
	margin-bottom: var(--spacing-unit);
}

a {
	color: var(--color-secondary);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover,
a:focus {
	color: var(--color-primary);
	text-decoration: underline;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--spacing-unit);
}

.container-fluid {
	width: 100%;
	padding: 0 calc(var(--spacing-unit) * 2);
	margin: 0;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	background-color: transparent;
	/* blured background with opacity for better readability */
	backdrop-filter: blur(10px);
	color: #ffffff;
	z-index: 1000;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
}

.site-header.scrolled {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	background-color: rgba(255, 255, 255, 0.68);
	backdrop-filter: blur(10px);
	color: #000;
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 2rem;
	padding-top: calc( var(--spacing-unit) * 1);
	padding-bottom: calc( var(--spacing-unit) * 1);
}

.site-main {
	padding: calc(var(--spacing-unit) * 2) 0;
	min-height: 60vh;
	margin-top: 120px; /* Offset for fixed header */
}

/* Full width template: start at absolute top, fixed nav overlays */
body.smartmove-full-width .site-main {
	margin-top: 0;
	padding-top: 0;
}

.site-footer {
	background-color: var(--color-background-alt);
	padding: calc(var(--spacing-unit) * 2) 0;
	margin-top: calc(var(--spacing-unit) * 3);
	border-top: 1px solid #e0e0e0;
}

.footer-widgets {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: flex-start;
}

.footer-widget {
	flex: 1;
	min-width: 180px;
}
.site-info{
	text-align: center;
}
/* ==========================================================================
   Navigation
   ========================================================================== */

.primary-navigation {
	display: flex;
	align-items: center;
}

.primary-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 2rem;
}

.primary-navigation li {
	position: relative;
}

.primary-navigation a {
	color: #ffffff;
	text-decoration: none;
	padding: 0.5rem 0;
	display: block;
	font-weight: 300;
	transition: opacity 0.3s ease;
	font-size: 1.1rem;
}

.primary-navigation a:hover {
	opacity: 0.8;
	text-decoration: none;
}

.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	padding: 0.5rem;
	cursor: pointer;
	color: #ffffff;
}

.menu-toggle-icon {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.menu-toggle-icon .bar {
	width: 25px;
	height: 3px;
	background-color: #ffffff;
	border-radius: 2px;
	transition: all 0.3s ease;
}

/* Submenu */
.primary-navigation .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background-color: var(--color-primary);
	min-width: 200px;
	padding: 0.5rem 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	display: none;
	flex-direction: column;
	gap: 0;
	z-index: 999;
}

.primary-navigation .menu-item-has-children:hover > .sub-menu {
	display: flex;
}

.primary-navigation .sub-menu a {
	padding: 0.75rem 1.5rem;
}
.topbarnavbar{
    opacity: 1;
    background-color: rgba(33, 37, 41, 1) !important;
	height: 32px;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

.text-center {
	text-align: center;
}
#smartadminbar{
	height: 32px;
}
/* ========================================================================== 
   Full Width Template
   ========================================================================== */

.page-template-templatesfull-width-php .site-main .container,
.page-template-templatesfull-width .site-main .container {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.full-width-layout {
	width: 100%;
}

.full-width-layout .entry-header,
.full-width-layout .entry-content,
.full-width-layout .entry-footer {
	width: 100%;
}

.full-width-layout .post-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}
/* Full width image header sits flush under nav */
.full-width-layout .wp-block-group.alignfull:first-child,
.full-width-layout .wp-block-cover.alignfull:first-child,
.entry-content .wp-block-group.alignfull:first-child {
    margin-top: 0 !important;
}
.container-posts{
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--spacing-unit);
}
/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
	:root {
		font-size: 14px;
	}
	
	h1 { font-size: 2rem; }
	h2 { font-size: 1.75rem; }
	h3 { font-size: 1.5rem; }
	
	
	.site-main {
		margin-top: 90px; /* Reduced offset for mobile */
	}
	
	.site-header-inner {
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 1rem;
			padding-top: calc( var(--spacing-unit) * 1);
	padding-bottom: calc( var(--spacing-unit) * 1);

	}
	
	.container-fluid {
		padding: 0 var(--spacing-unit);
	}
	
	/* Mobile Navigation */
	.mobile-menu-toggle {
		display: flex;
	}
	
	.primary-navigation {
		position: fixed;
		top: 70px;
		left: 0;
		right: 0;
		background-color: var(--color-primary);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	}
	
	.primary-navigation.is-open {
		max-height: calc(100vh - 70px);
		overflow-y: auto;
	}
	
	.primary-navigation ul {
		flex-direction: column;
		gap: 0;
		padding: 1rem 0;
	}
	
	.primary-navigation a {
		padding: 1rem 1.5rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
	
	.primary-navigation .sub-menu {
		position: static;
		box-shadow: none;
		padding-left: 1.5rem;
		background-color: rgba(0, 0, 0, 0.1);
		display: none;
	}
	
	.primary-navigation .submenu-open > .sub-menu {
		display: flex;
	}
	
	.primary-navigation .menu-item-has-children > a::after {
		content: " ▼";
		font-size: 0.75em;
	}
	
	body.menu-open {
		overflow: hidden;
	}
	.topbarnavbar{
	display: none;
	}
	#menu-terry-menu-footer{
		flex-direction:column !important;
	}
}
#frontsearchbar{
	padding:0px !important;
}
.terry-colour-1 button{
	background-color:#d0eefe !important;
	color:black !important;
}
.terry-colour-1 button:hover{
	background-color:#a6e2f8 !important;
}
.bg-primary {
	background-color:#a6e2f8 !important;
}
#menu-terry-menu-footer{
	flex-direction:row !important;
}
#menu-terry-menu-footer .nav-link{
	margin-left:8px !important;
}
.nav-link:hover{
	text-decoration:none !important;
}
