diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..e2d5874 --- /dev/null +++ b/.htaccess @@ -0,0 +1,12 @@ +Options -Indexes + +RewriteEngine On + +# Redirect /page.php → /page (canonical clean URL) +RewriteCond %{THE_REQUEST} /([^.]+)\.php [NC] +RewriteRule ^ /%1 [R=301,L,NE] + +# Internally serve /page as /page.php +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_FILENAME}\.php -f +RewriteRule ^([^.]+)$ $1.php [L,NC] diff --git a/css/style.css b/css/style.css index 75c68d4..359a50b 100644 --- a/css/style.css +++ b/css/style.css @@ -236,6 +236,11 @@ ul { list-style: none; } background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.22); } +.nav-links a.nav-active { + background: rgba(251,191,36,0.15) !important; + border-color: rgba(251,191,36,0.3) !important; + color: var(--gold) !important; +} .nav-cta { background: linear-gradient(135deg, var(--orange), #EF4444) !important; color: var(--white) !important; diff --git a/estimates.php b/estimates.php index cde6c68..45dd4ac 100644 --- a/estimates.php +++ b/estimates.php @@ -20,15 +20,15 @@