/*
Theme Name: LDA Developments
Description: Luxury home development WordPress theme based on Bespoke Figma design - August 2025
Author: Trident Marketing Anglia Ltd
Author URI: https://tridentmarketinganglia.co.uk
Theme URI: https://ldadevelopments.co.uk
Version: 2.4
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lda-developments
Domain Path: /languages
Tags: business, real-estate, luxury, development, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns, right-sidebar, custom-colors, custom-header, custom-background, sticky-post, theme-options, portfolio
*/

/* CSS Custom Properties for consistent theming */
:root {
    --primary-navy: #000130;
    --primary-gold: #C2A66A;
    --light-gold: #f4e9d1;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --background-light: #f5f5f5;
	--background-pattern-blue: url('https://dev.tmuk.uk/lda/wp-content/uploads/2025/08/footer-1.png');
	--background-pattern-yellow: url('https://dev.tmuk.uk/lda/wp-content/uploads/2025/09/footer-bg-yellow.png');
	--background-pattern: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 120 120"><g fill="none" stroke="%23ffffff" stroke-width="1" opacity="0.06"><line x1="5" y1="55" x2="55" y2="5"/><line x1="65" y1="5" x2="115" y2="55"/><line x1="115" y1="65" x2="65" y2="115"/><line x1="55" y1="115" x2="5" y2="65"/></g></svg>');
    --transition-speed: 0.4s;
    --off-canvas-width: 400px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
	color: var(--primary-navy)!important;
}

.blue-container {
    width: 100%; /* Full width background */
    background: var(--primary-navy);
    background-image: var(--background-pattern);
    color: var(--text-light)!important;
    position: relative;
    padding: 60px 0; /* Vertical padding only */
}

.gold-container {
    width: 100%;;
    background: var(--primary-gold);
    background-image: var(--background-pattern);
    color: var(--primary-navy)!important;
    position: relative;
	padding: 60px 0; /* Vertical padding only */
}

/* Optional: Add some responsive padding */
@media (max-width: 768px) {
    .blue-container,
    .gold-container {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .blue-container,
    .gold-container {
        padding: 30px 15px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

h1 { 
    font-size: 3.5rem; 
    font-weight: 300;
}
h2 { 
    font-size: 36px;
    font-weight: 300;
	letter-spacing: 2px;
}
h3 { 
    font-size: 1.8rem; 
}
h4 { 
    font-size: 1.4rem; 
}

p {
    font-family: 'Montserrat', 'Arial', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.subtitle {
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-size: 13px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 6px;
    z-index: 999999;
    padding: 8px 16px;
    background: var(--primary-navy);
    color: var(--text-light);
    text-decoration: none;
}

.skip-link:focus {
    left: 6px;
}

/* Header Styles */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
    transition: background var(--transition-speed) ease;
}

@media (max-width: 768px) {
	.site-header {
    padding: 10px 0;
}
}
/*
 * No longer scrolling 
 
.site-header.scrolled {
    background: rgba(0, 1, 48, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
}
*/

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
}

/* Logo Styles */
.site-header img.custom-logo {
    max-width: 220px !important;
    height: auto !important;
}

.site-footer img.custom-logo {
    
    height: auto !important;
	margin:auto;
}

.custom-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.custom-logo {
    transition: opacity 0.3s ease;
}

.custom-logo:hover {
    opacity: 0.8;
}

/* Default Logo (when no custom logo is set) */
.default-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    width: 60px;
    height: 60px;
    background: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transform: rotate(45deg);
    flex-shrink: 0;
}

.site-logo::before {
    content: "LDA";
    color: var(--primary-navy);
    font-weight: bold;
    font-size: 12px;
    transform: rotate(-45deg);
    font-family: 'Montserrat', sans-serif;
}

.site-title {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

/* Navigation */
.main-navigation {
    position: relative;
}

/* Hamburger Menu Button */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    position: relative;
}

.hamburger {
    display: flex;
    flex-direction: column;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.hamburger .line {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text-light);
    transition: all var(--transition-speed) ease;
    transform-origin: center;
}

/* Hamburger animation when menu is open */
.menu-open .hamburger .line-1 {
    transform: translateY(10.5px) rotate(45deg);
}

.menu-open .hamburger .line-2 {
    opacity: 0;
}

.menu-open .hamburger .line-3 {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Off-Canvas Menu */
.off-canvas-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    visibility: hidden;
    transition: visibility var(--transition-speed) ease;
}

.off-canvas-menu.active {
    visibility: visible;
}

.off-canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 1, 48, 0.8);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    cursor: pointer;
}

.off-canvas-menu.active .off-canvas-overlay {
    opacity: 1;
}

.off-canvas-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: var(--off-canvas-width);
    max-width: 90vw;
    height: 100%;
    background: var(--primary-navy);
    background-image: var(--background-pattern);
    color: var(--text-light);
    transform: translateX(100%);
    transition: transform var(--transition-speed) ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.off-canvas-menu.active .off-canvas-panel {
    transform: translateX(0);
}

/* Off-Canvas Header */
.off-canvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.off-canvas-logo {
    display: flex;
    align-items: center;
}

.off-canvas-logo .site-logo {
    margin-right: 15px;
    width: 40px;
    height: 40px;
}

.off-canvas-logo .site-logo::before {
    font-size: 10px;
}

.off-canvas-logo-img {
    max-width: 120px;
    height: auto;
    margin-right: 15px;
}

.off-canvas-logo h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.off-canvas-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--text-light);
}

.close-icon {
    display: block;
    width: 24px;
    height: 24px;
    position: relative;
}

.close-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

.close-line-1 {
    transform: translateY(-50%) rotate(45deg);
}

.close-line-2 {
    transform: translateY(-50%) rotate(-45deg);
}

/* Off-Canvas Content */
.off-canvas-content {
    flex: 1;
    padding: 30px;
}

.off-canvas-navigation {
    margin-bottom: 40px;
}

.off-canvas-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.off-canvas-menu-list li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.off-canvas-menu-list li:last-child {
    border-bottom: none;
}

.off-canvas-menu-list li a {
    display: block;
    color: var(--text-light);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 300;
    text-decoration: none;
    padding: 20px 0;
    transition: all 0.3s ease;
    position: relative;
}

.off-canvas-menu-list li a:hover,
.off-canvas-menu-list li.current-menu-item a {
    color: var(--primary-gold);
    padding-left: 20px;
}

.off-canvas-menu-list li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
    transform: translateY(-50%);
}

.off-canvas-menu-list li a:hover::before,
.off-canvas-menu-list li.current-menu-item a::before {
    width: 15px;
}

/* Off-Canvas Contact */
.off-canvas-contact {
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media only screen and (max-width: 780px) {
span.phone-number-menu {
    word-break: break-word;
    font-size: small;
}
}

.off-canvas-contact h4 {
    color: var(--text-light);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.off-canvas-contact p {
    margin-bottom: 10px;
}

.off-canvas-contact a {
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.off-canvas-contact a:hover {
    color: var(--primary-gold);
}

.contact-icon {
    margin-right: 10px;
    font-size: 16px;
}

/* Off-Canvas Social */
.off-canvas-social {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.off-canvas-social h4 {
    color: var(--text-light);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.social-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.social-menu li a {
    color: var(--text-light);
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-menu li a:hover {
    color: var(--primary-gold);
}

/* Update the Hero Section CSS - replace the existing hero section styles with this: */

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
}

/* Fallback background if no ACF image is set */
.hero-section:not([style*="background-image"]) {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('hero-bg.jpg');
}

.home .hero-content {
    display: block;
    max-width: 1000px;
    padding: 80px 40px;
    z-index: 2;
    position: relative;
    margin-top: 15vh;
    /* Solid fallback for iOS compatibility */
    background-color: #000000;
    background-color: rgba(0, 0, 0, 0.4);
    /* Force new stacking context */
    isolation: isolate;
}

/* Backup overlay using pseudo-element */
.home .hero-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    background: rgba(0, 0, 0, 0.4);
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: -1;
    pointer-events: none;
    /* Force layer creation */
    will-change: opacity;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.page .hero-content:not(.home .hero-content) {
    max-width: 1000px;
    padding: 0 20px;
    z-index: 2;
    position: relative;
}

@media (max-width: 480px) {
    .home .hero-overlay {
        padding: 20px;
    }
    
    .home .hero-content {
        display: block;
        padding: 80px 40px;
        max-width: 90vw;
        /* Force background on mobile */
        background-color: #000000 !important;
        background-color: rgba(0, 0, 0, 0.4) !important;
    }
    
    /* Ensure pseudo-element shows on mobile */
    .home .hero-content::after {
        display: block !important;
        opacity: 1 !important;
        background: #000000 !important;
        background: rgba(0, 0, 0, 0.4) !important;
        /* Force repaint on iOS Chrome */
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1rem;
   
    font-family: 'Playfair Display', serif;
    color: var(--text-light);
	text-transform: uppercase;
	text-align: center;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.75);
}


.plot-hero-location {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.75);
    font-family: 'Playfair Display', serif;
    color: var(--text-light);
	text-transform: uppercase;
	text-align: center;
}

.hero-content .subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
	text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 5px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--text-light);
    border-color: var(--primary-gold);
}

.btn-primary:hover {
    background: var(--text-light);
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--text-light);
}


/* Responsive adjustments for hero section */
@media (max-width: 768px) {
    .hero-content h1, .plot-hero-location {
        font-size: 2rem;
    }
    
    .hero-content .subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 80vh;
        min-height: 600px;
    }
    
    .hero-content h1, .plot-hero-location {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    .hero-content .subtitle {
        font-size: 0.8rem;
    }
}

/* Ensure proper background image handling */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll; /* Better performance on mobile */
    }
}

/* IMAGE HERO SECTION STYLES - for development page layout */
.image-hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
/*     background: rgba(0, 0, 0, 0.4);

    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)); */
	background: linear-gradient(0deg, rgba(0, 0, 0, 0) 70%, #2C282A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    /* Force hardware acceleration */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.hero-overlay .hero-content {
    max-width: 1000px;
    padding: 60px 40px;
    text-align: center;
    color: var(--text-light);
    position: relative;
    z-index: 3;
}

.hero-overlay .hero-content h1.banner-text {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    color: var(--text-light);
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.75);
    line-height: 1.2;
}

.hero-overlay .hero-content .development-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-overlay .hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}


@media (max-width: 1200px) {
		.image-hero-section:not(.home .image-hero-section) {
		height: 60vh;
		min-height: auto;
	}
}
/* Mobile styles for image hero section */
@media (max-width: 768px) {
    .hero-overlay .hero-content h1.banner-text {
        font-size: 2.5rem;
    }
	    .hero-overlay .banner-text:not(.home .hero-overlay .banner-text) {
        margin-top: 5rem;
    }
	
	.home .hero-content {
		margin: auto 10px;
	}
    
    .hero-overlay .hero-content .development-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-overlay .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
	.image-hero-section:not(.home .image-hero-section) {
		height: 30vh;
		min-height: auto;
	}
	
	  .hero-overlay .hero-content h1.banner-text {
        font-size: 1.8rem;
        line-height: 1.3;
		  margin: auto;
    }
    
    .hero-overlay .hero-content .development-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {

	 .home .image-hero-section {
        height: 55vh;
       
    }
    .image-hero-section {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-overlay {
        /* Force background display on mobile */
      
/*         background: rgba(0, 0, 0, 0.4) !important; */
		    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 70%, #2C282A 100%)!important;
/*         background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)) !important; */
        /* Force hardware acceleration for iOS */
        -webkit-transform: translate3d(0, 0, 0) !important;
        transform: translate3d(0, 0, 0) !important;
        /* Create new layer */
        will-change: opacity;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    .hero-overlay .hero-content {
        padding: 0px;
        max-width: 90vw;
		margin: auto;
    }
	
	 .home .hero-overlay .hero-content {
        padding: 40px 20px;
        max-width: 90vw;
		margin: auto;
		 top: 40px;
    }
    
 
}

/* Section Styles */
.section {
    padding: 100px 0;
}

/* Footer */
.site-footer {
    background-image: var(--background-pattern-blue);
    color: var(--text-light);
    position: relative;
    font-family: 'Montserrat', sans-serif;
	padding: 50px 0;
}

/* Footer HR Lines */
.footer-hr-top,
.footer-hr-middle {
    height: 1px;
    background: var(--primary-gold);
    width: 100%;
}

.footer-hr-top,
.footer-hr-middle {
    margin: 0 auto;
	max-width: 1200px;
}

.footer-content {
    padding: 60px 0 40px;
}

/* Footer Grid - 50%, 25%, 25% */
.footer-grid {
	display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0px;
    align-items: flex-start;
    max-width: 750px;
    margin: auto;
}
.footer-link {
	display: flex;
	gap:5px;
}

@media (max-width: 768px) {
	.footer-link {
		flex-wrap: wrap;
	}
}
.footer-link p {
	color:white;
}
.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo .custom-logo-link,
.footer-logo .default-logo-link {
    display: flex;
    align-items: center;
}

.footer-logo .site-logo {
    margin-right: 15px;
}

.footer-logo .site-title {
    color: var(--text-light);
    font-size: 1.5rem;
    margin: 0;
    font-family: 'Playfair Display', serif;
}


.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-menu li a {
    color: var(--primary-gold);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.footer-menu li a:hover {
    color: var(--text-light);
}

/* Footer Column 2 - Address */
.footer-address {
    /* 25% width column */
}

.footer-address h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
	text-transform: uppercase;
}

.footer-address p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0.5rem;
	color: var(--text-light);
}

/* Footer Column 3 - Contact */
.footer-contact {
    /* 25% width column */
}

.footer-bottom a
 {
    color: white;
}

.footer-contact h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
	text-transform: uppercase;
}

.footer-contact p {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;

}

.footer-contact a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    margin: 0;
    opacity: 0.7;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing:1px;
	
}

/* Widget Styles */
.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-navy);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.site-footer .widget-title {
    color: var(--text-light);
}

.widget p,
.widget ul li,
.widget a,
.widget span {
    font-family: 'Montserrat', sans-serif;
}

.site-footer .widget {
    margin-bottom: 20px;
}

.site-footer .widget p,
.site-footer .widget ul li,
.site-footer .widget a {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.footer-grid li{
   margin: 5px auto;
   
}
.footer-grid li a {
    color: var(--primary-gold);
    text-decoration: none;
    text-transform: uppercase;
   
}

/* Form Elements */
input,
textarea,
select,
button {
    font-family: 'Montserrat', sans-serif;
}

/* Search Form */
.search-form {
    display: flex;
    max-width: 400px;
    margin: 20px auto 0;
}

.search-field {
    flex: 1;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px 0 0 6px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

.search-submit {
    background: var(--primary-gold);
    color: var(--primary-navy);
    border: 2px solid var(--primary-gold);
    padding: 12px 20px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-submit:hover {
    background: var(--primary-navy);
    color: var(--text-light);
    border-color: var(--primary-navy);
}

/* Posts and Pages */
.post-content,
.page-content {
    font-family: 'Montserrat', sans-serif;
}

.post-meta {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
}

.post-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
}

.post-title a:hover {
    color: var(--primary-gold);
}

/* Comments */
.comment-content,
.comment-meta,
.comment-form label,
.comment-form input,
.comment-form textarea {
    font-family: 'Montserrat', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --off-canvas-width: 320px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .development-feature {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Footer responsive - stack columns on mobile */
    .footer-grid {
        grid-template-columns: 1fr;
		gap:0px;
       
    }
	
	.footer-contact {
		margin-top:50px;
}
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    
    .off-canvas-menu-list li a {
        font-size: 1.2rem;
        padding: 15px 0;
    }
    
    .off-canvas-content {
        padding: 20px;
    }
    
    /* Mobile logo adjustments */
    .site-header img.custom-logo {
        max-width: 160px !important;
    }
    
    
    .off-canvas-logo-img {
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    :root {
        --off-canvas-width: 280px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        gap: 0px;
    }
    
    .off-canvas-header {
        padding: 15px 20px;
    }
    
    .off-canvas-logo h3 {
        font-size: 1rem;
    }
	.footer-contact a {
		word-break: break-word;
	}
    
    /* Small mobile logo adjustments */
    .site-header img.custom-logo {
        max-width: 140px !important;
    }
    

}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .hero-section,
    .off-canvas-menu {
        display: none;
    }
    
    .section {
        padding: 20px 0;
    }
    
    * {
        font-family: 'Times New Roman', serif !important;
    }
}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Focus styles for better accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-navy: #000000;
        --primary-gold: #ffcc00;
    }
}

/* Add this to your existing CSS - just the additional/updated off-canvas logo styles */

/* Off-Canvas Header */
.off-canvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.off-canvas-logo {
    display: flex;
    align-items: center;
}

/* Off-canvas logo link styles */
.off-canvas-logo-link,
.off-canvas-default-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.off-canvas-logo-img {
    max-width: 120px;
    height: auto;
}

/* Default logo in off-canvas (when no custom logo) */
.off-canvas-default-logo {
    width: 40px;
    height: 40px;
    margin: 0; /* Remove margin-right since no text follows */
}

.off-canvas-default-logo::before {
    font-size: 10px;
}

/* Remove the h3 text styling for off-canvas since we removed it */
.off-canvas-logo h3 {
    display: none; /* Hide if somehow still present */
}

/* Mobile adjustments for off-canvas logo */
@media (max-width: 768px) {
    .off-canvas-logo-img {
        max-width: 100px;
    }
    
    .off-canvas-default-logo {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .off-canvas-logo-img {
        max-width: 90px;
    }
    
    .off-canvas-default-logo {
        width: 30px;
        height: 30px;
    }
    
    .off-canvas-default-logo::before {
        font-size: 8px;
    }
}
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}