/*
Theme Name: CTS
Description: Custom WordPress theme built on BlankSlate framework with ACF page builder functionality, responsive design, and modern features.
Author: Web Solutions IOM
Author URI: https://www.websolutions.im
Version: 1.0
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: cts2026
Tags: custom-menu, featured-images, threaded-comments, translation-ready, page-builder
*/

/* ========================================
   CSS CUSTOM PROPERTIES (CSS VARIABLES)
   ======================================== */
:root {
	/* Primary Brand Colors */
	--color-primary: #333333;
	--color-primary-dark: #1a1a1a;
	--color-primary-light: #555555;

	/* Secondary Colors */
	--color-secondary: #666666;
	--color-secondary-dark: #444444;
	--color-secondary-light: #999999;
	--color-accent: #007acc;

	/* Text Colors */
	--color-text-primary: #242424;
	--color-text-secondary: #1d1d1d;
	--color-text-light: #666;
	--color-text-muted: #999;
	--color-text-white: #ffffff;

	/* Background Colors */
	--color-bg-primary: #ffffff;
	--color-bg-secondary: #f2f2f2;
	--color-bg-light: #f7f7f7;
	--color-bg-dark: #242424;
	--color-bg-accent: #f5f5f5;

	/* Button Colors */
	--color-button-primary: #333333;
	--color-button-primary-hover: #242424;
	--color-button-text: #ffffff;
	--color-button-text-alt: #333333;
	--color-button-border: #333333;

	/* Button Variations */
	--color-button-blue: #007acc;
	--color-button-blue-hover: #0099ff;
	--color-button-orange: #ff6b35;
	--color-button-green: #28a745;

	/* Contact Form 7 & Form Colors */
	--color-form-bg: #d9e9ee;
	--color-form-border: #2c5bad;
	--color-form-text: #2c5bad;
	--color-form-error: #CF0404;

	/* Border Colors */
	--color-border-light: #f8f7f6;
	--color-border-medium: #ccc;
	--color-border-dark: #242424;

	/* Header Colors */
	--color-header-h1: #242424;
	--color-header-h2: #333333;
	--color-header-h3: #666666;
	--color-header-h4: #1d1d1d;
	--color-header-h5: #333333;
	--color-header-h6: #242424;

	/* Link Colors */
	--color-link: #007acc;
	--color-link-hover: #005a9c;
	--color-link-footer: #f2f2f2;
	--color-link-footer-hover: #007acc;

	/* Status Colors */
	--color-success: #28a745;
	--color-warning: #f5b901;
	--color-error: #CF0404;
	--color-info: #007acc;

	/* Typography - Font Families */
	--font-body: 'Crimson Pro', serif; /* Body text font */
	--font-heading: 'Raleway', sans-serif; /* Heading font */
	
	/* Additional colors for enhanced grid and icon blocks */
	--color-white: #ffffff;
	--color-light-gray: #e9ecef;
	
	/* Border radius variables */
	--border-radius-small: 4px;
	--border-radius-medium: 8px;
	--border-radius-large: 16px;
	
	/* Background variations for grid items */
	--color-background-light: #f8f9fa;
}

/* ========================================
   BROWSER RESET & NORMALIZE
   ======================================== */

/* CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

/* Base HTML elements */
html { scroll-behavior: smooth; }

nav ul, nav ol { list-style: none; margin: 0; padding: 0; }

blockquote, q { quotes: none; }
blockquote::before, blockquote::after,
q::before, q::after { content: none; }

q { display: inline; font-style: italic; }
q::before, q::after { content: '"'; font-style: normal; }

table { border-collapse: collapse; border-spacing: 0; }
th, td { padding: 2px; }

textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}

button { outline: 0;}
/* Text elements */
big { font-size: 120%; }
small, sup, sub { font-size: 80%; }
sup { vertical-align: super; }
sub { vertical-align: sub; }
dd { margin-left: 20px; }
kbd, tt { font-family: monospace; font-size: 12px; }
ins { text-decoration: underline; }
del, strike, s { text-decoration: line-through; }
dt { font-weight: bold; }
address, cite, var { font-style: italic; }

/* Links */
a { text-decoration-skip-ink: auto; }
a[href^="tel"] { color: inherit; text-decoration: none; }

/* Accessibility */
.screen-reader-text,
.visually-hidden:not(:focus):not(:active),
.form-allowed-tags:not(:focus):not(:active) {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.screen-reader-text:focus,
.skip-link:focus {
	background: #f7f7f7;
	border-radius: 3px;
	box-shadow: 0 0 2px rgba(0,0,0,.6);
	color: #007acc;
	font-size: .875rem; font-weight: 700;
	line-height: normal;
	padding: 15px 23px 14px;
	position: absolute;
	top: 5px; left: 6px; right: auto;
	width: auto; height: auto;
	z-index: 100000;
}

.skip-link {
	left: -9999rem;
	top: 2.5rem;
	text-decoration: underline;
}


/* ========================================
   BODY & BASE STYLES
   ======================================== */

body {
	line-height: 1.2;
	font-family: var(--font-body);
	font-size: 1.1rem;
	color: var(--color-text-primary);
	background-color: var(--color-bg-primary);
}
#wrapper {
	width: 100%;
	max-width: 2000px;
	margin: 0 auto;
	font-family: var(--font-body);
	font-size: 1.1rem;
}
.content-block {
	width: 100%;
	max-width: 1240px;
	padding: 3em 1em;
	margin: 0 auto;
	box-sizing: border-box;
	overflow: hidden;
	
}

/* Typography - Apply font variables */
body, p, div, span, td, th, li, dd, dt {
	font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
}

.full-screen .content-block {
	max-width: 2000px;
	padding: 2em 0;
}
.small {
	margin: -4em 0 0 0;
}
blockquote {
	padding: 2em;
	color: var(--color-secondary);
	width: 100%;
	max-width: 900px;
	margin: .5em auto;
	box-sizing: border-box;
	background: var(--color-bg-secondary);
	font-size: 1.2em;
	line-height: 1.3;
}
blockquote,q {
	quotes:none;
}
blockquote:before,blockquote:after,q:before,q:after {
	content:'';
	content:none;
	
	
}


table {
	border-collapse:collapse;
	border-spacing:0;
}
article, aside , details , figcaption , figure , footer , header , hgroup , menu , nav , section {
	display:block;
}
.clear {
	clear:both;
}
.screen-reader-text {
	clip:rect(1px, 1px, 1px, 1px);
	position:absolute !important;
}
.aligncenter {
	text-align: center;
	margin: .5em auto;
	display:block;
}
.aligncenter img {
	width: 100%;
	max-width: 600px;
	height: auto;
}
img {	
   max-width: 100%;
   height: auto;
}

/*TEXT STYLING*/

ol,
ul {
	list-style: none;
}

ul , ol {
	list-style: disc;
	line-height: 1.4;
	font-size: 1.1em;
	margin: 1em  0 1em 2em;
	color: var(--color-secondary);
}
ol {
	list-style: decimal;
}
a {
	color: var(--color-link);
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	color: var(--color-link-hover);
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: 500;
}

h1{
	font-size: clamp(1.8rem, 5.5vw, 2.9rem);
	font-weight: bold;
	margin: .5em 0;
	color: var(--color-header-h1);

}

h2{
	font-size: clamp(1.5rem, 5vw, 2.4rem);
	color: var(--color-header-h2);
	margin-bottom: .5em;

}


h3{
	font-size: clamp(1.8rem, 6vw, 2.7rem);
	/*font-weight: bold; */
	margin-bottom: .3em;
	color: var(--color-header-h3);
}

h4{
	font-size: clamp(1.1rem, 4vw, 1.4rem);
	color: var(--color-header-h4);
	margin-bottom: .1em;
}

h5{
	font-size: clamp(1rem, 3vw, 1.2rem);
	color: var(--color-header-h5);
	font-style: italic;
	line-height: 1.4;
}

h6{
	font-size: clamp(0.6rem, 2.5vw, 0.7rem);
	color: var(--color-header-h6);
}

b, strong {
	font-weight: 600;
}

em,
i {
	font-style: italic;
}

pre {
	padding: 12px;
	letter-spacing: 2px;
	font-style: italic;
	margin: 0.5em;
}


p {
	margin-bottom: 15px;
    line-height: 1.2;
}

/*blockquote {
	border-left: 4px solid  #999;
	background: #F0F0F0;
	font-style: italic;
	font-weight: 300;
	line-height: 1.27em;
	margin-bottom: 14px;
	padding-left: 25px;
} */

.alignright {
	float: right;
	margin: 0 0 .5em .5em;
}

img alignright {
	float: right;
	margin: 0 0 .5em .5em;
}


.aligncenter  img , .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.alignleft {
	float: left;
	margin: 0 .5em .5em 0;
}

.entry-title {
	font-size: 1.9em;
}

.entry-title ul {
	list-style: none;
}

legend {

	font-size: 1.2em;
	padding: 5px;
	font-weight: bold;
}

.entry-meta {
	display: none;
}

.entry-footer {
	display: none;
}


/* ********** Page Header *********/
#logo {
	text-align: center;
}
.background-black {
	background: rgba(102, 102, 102, .8); /* Using --color-secondary with opacity */
	margin-bottom:  450px;

}
.main-logo {
	overflow: hidden;
}
.main-logo img {
	width: 100%;
	max-width: 400px;
	height: auto;
}

.main-background {
      background: url(uploads/2019/02/main-header.jpg) bottom center no-repeat #273657;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
	  background-attachment: fixed;
}


#strap-line {
	background: rgba(102, 102, 102, .5); /* Using --color-secondary with opacity */
	padding: 2em;
	width: 100%;
	max-width: 700px;
	font-size: 1.7em;
	position: relative;
	margin: -300px auto 275px auto;
	border-radius: 2px;
}
#small-strap {
	background: var(--color-bg-dark);
	padding: .7em 0;
	color: var(--color-text-white);
	font-size: 125%;
	/*margin-top: -.5em;
	text-align: right;
	padding-right: 2em;
	*/
}

/* START   Icons with tool tips ******/
#icon-list {
	background: var(--color-bg-primary);
}
.icon-displays {
	padding: .3em;
	float: left;
}
.tooltip {
    position: relative;
    display: inline-block;
	padding: 0 1em;
}
.tooltip img {
	width: 100%;
	max-width: 100px;
	height: auto;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 180px;
    background-color: var(--color-secondary);
    color: var(--color-text-white);
    text-align: center;
    border-radius: 2px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 110%;
    left: 50%;
    margin-left: -90px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--color-secondary) transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
.list-icons {
	list-style: none;
	line-height: 3.5;
	vertical-align: top;
}
.list-icons li {
	width: 50%;
	float: left;
	padding: 0 .2em;
	box-sizing: border-box;
}
.list-icons img {
	width: 100%;
	max-width: 45px;
	height: auto;
	vertical-align: middle;
	margin-right: .5em;
}
/* END   Icons with tool tips ******/

/**** Contact Form Styling  *****/
.red-required {
	color: var(--color-form-error);
	font-size: .8em;
	font-weight: bold;
}
#enquiry-form {
	padding: 2em;
	box-sizing: border-box;
	border-radius: 2px;
	background: #fff;
}
#form-your-details , #form-camping-details {
	padding: 1em;
	box-sizing: border-box;
	border: solid 1px #fff;
	margin: .5em 0;
}
.form-50 {
	width: 48%;
	float: left;
	padding: .2em 0;
	box-sizing: border-box;
	margin: 0 1%;
}
.small-text {
	font-size: 80%;
	color: var(--color-text-primary);
	margin-left: 100px;
}
input {
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
}
input[type=text] , input[type=email] , input[type=url]  {
	width:100%;
}
select {
	padding: 12px 20px !important;
    margin: 8px 0 !important;
    box-sizing: border-box;
}
textarea {
    width: 100%;
    padding: 12px 20px;
	margin: 8px 0;
    box-sizing: border-box;   
    border-radius: 4px;
}

span.wpcf7-list-item { 
     display: block !important; 
	 padding: .3em 0;
}
input[type=submit] {
	width: 100%;
    max-width: 450px;
	padding: 1em 2em;
	background: var(--color-button-primary);
	color: var(--color-button-text);
	font-size: 1.2em;
	overflow: hidden;
	border: solid 1px var(--color-button-border);
	border-radius: 3px;
	cursor: pointer;
	-webkit-transition: background .5s;
    transition: background .5s;
	box-sizing: border-box;
    margin-top: 1em;

}
input[type=submit]:hover , .more-button:hover  {
	background: var(--color-button-primary-hover);
	color: var(--color-button-text);
}
#enquiry-form h3 {
	background: var(--color-bg-secondary);
	padding: .5em;
	box-sizing: border-box;
	margin: .5em 0;
	border-radius: 2px;
}
hr.soft {
	border: solid 5px var(--color-bg-secondary);
	margin: 1em 0;
	clear: both;
}

hr.soft-small {
	border: solid 5px var(--color-bg-primary);
	margin: 1em 0;
	clear: both;
}
/************ Custom Code ***********/
/*  Anchor Links Offset 
p .anchor-point {
	padding-top: 200px !important;
	position: relative;
}
This works ....
a[name] {
	padding-top: 200px;
        margin-top: -200px;
	display: inline-block;
}
*/
.top-space {
	margin-top: 2em;
}

/* ********** START FOOTER *********/
#footer {
	background: var(--color-bg-dark);
	padding: 2em 0;
	font-size: 90%;
}
#footer h3 {
	color: var(--color-text-white);
}
#footer a:link , #footer a:visited {
	color: var(--color-link-footer);

	transition: all ease-in-out .3s;
}
#footer a:hover {
	color: var(--color-link-footer-hover);
}
#footer-left , #footer-middle , #footer-right {
	width: 33.3%;
	float: left;
	padding: 1em;
	box-sizing: border-box;
	overflow: hidden;
	list-style: none;
}
.footer-widget ul {
	list-style: none;
	color: var(--color-link-footer);
}
.footer-widget ul li {
	line-height: 2;
}
#business-details {
	text-align: center;
	background: var(--color-bg-secondary);
}
#business-details a:link , #business-details a:visited {
	color: var(--color-text-primary);
}
#copyright {
	padding: 1em 0;
	font-size: .9em;
	text-align: center;
	color: var(--color-text-primary);
	background: var(--color-bg-secondary);
	}
#copyright a:link , #copyright a:visited {
    color: var(--color-link);
}
#copyright a:hover {
	color: var(--color-text-primary);
	font-weight: bold;
}

/* ********** END FOOTER*********/

/****** Media Queries moved to style-responsive.css *******/