/* Base Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.4;
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    text-align: center;
    background-color: #f8f8f8;
    padding: 30px 20px;
    border-bottom: 3px solid #19224d;
}

.header h1 {
    font-size: 48px;
    color: #19224d;
    margin: 0;
    font-weight: bold;
    letter-spacing: 2px;
}

.header h2 {
    font-size: 24px;
    color: #19224d;
    margin: 10px 0 0 0;
    font-weight: normal;
}

.header .tagline {
    font-size: 20px;
    color: #666666;
    margin: 10px 0 0 0;
    font-style: italic;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 400px;
    background: #19224d;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	margin-bottom: 40px;
}

.hero-sectiongrass {
    position: relative;
    height: 400px;
    background: #19224d;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('Artificial Grass/agrass banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-sectionbespoke {
    position: relative;
    height: 400px;
    background: #19224d;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('bespoke/bespokebanner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}





.nav {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;

  /* fluid width: never smaller than 100px, ideal 10vw, never bigger than 250px */
  width: clamp(125px, 10vw, 275px);

  /* keep it square */
  aspect-ratio: 1 / 1;

  background-image: url('logo small.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 5px;
  text-decoration: none;
}

.logo:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.nav a {
    color: white;
    font-size: 14px;
    text-decoration: none;
    margin-left: 20px;
}

.nav a:hover {
    text-decoration: underline;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-left: 0px;
	padding-left: 0px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: black;
    min-width: 275px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
    border-radius: 5px;
    padding: 10px 0;
	text-align: left;
}

.dropdown-content a {
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    display: block;
    margin: 0;
    font-size: 13px;
    text-align: left;        /* Align text to the left */
    box-sizing: border-box;  /* Ensures padding works properly */
}

}

.dropdown-content a:hover {
    background-color: #333333;
    text-decoration: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown > a {
    color: white;
    font-size: 14px;
    text-decoration: none;
}

.dropdown > a:hover {
    text-decoration: underline;
}

.hero-overlay {
    color: white;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
}

.hero-overlay h1 {
    font-size: 48px;
    color: white;
    margin: 0;
    font-weight: bold;
    letter-spacing: 2px;
    font-family: Georgia, serif;
}

.hero-overlay h2 {
    font-size: 24px;
    color: white;
    margin: 10px 0 0 0;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: Georgia, serif;
}

.hero-overlay .tagline {
    font-size: 20px;
    color: white;
    margin: 10px 0 0 0;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-family: Georgia, serif;
}

/* Main Content */
.main-content {
    padding: 0;
}

.welcome-section h2 {
    font-size: 32px;
    color: #19224d;
    margin-bottom: 20px;
    text-align: center;
}

.welcome-text {
    font-size: 16px;
    margin-bottom: 25px;
    text-align: justify;
    background-color: #e9e9e9;
    padding: 20px;
    border-radius: 5px;
}

.established-text {
    font-size: 16px;
    margin-bottom: 30px;
    text-align: justify;
    background-color: #e9e9e9;
    padding: 20px;
    border-radius: 5px;
}

.full-width-section {
    background-color: #e9e9e9;
    width: 100%;
    margin-left: 0;
    padding: 30px 0;
    margin-top: 0;
    border-radius: 10px;
    overflow: hidden; /* ensures no overflow from inside elements */
}


.full-width-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.combined-text {
    font-size: 16px;
    text-align: justify;
    margin-bottom: 20px;
}

.recent-projects-heading {
    text-align: center;
    margin: 40px 0;
    font-style: italic;
    text-decoration: underline;
    color: #333333;
}

.recent-projects-heading h3 {
    font-family: 'Pacifico', cursive;
    font-size: 24px;
}

/* Image Gallery */
.image-gallery-section {
    background-color: #e9e9e9;
    width: 100%;
    margin-left: 0;
    padding: 30px 0;
    margin-top: 0;
}

.image-gallery-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.image-grid {
    display: flex;
    gap: 20px;
    height: auto;
    width: 80%;
    margin: 0 auto;
}

.left-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.square-image {
    height: 200px;
    background-color: #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 14px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.square-image-1 {
    background-image: url('Home/recent aut25 2.jpg');
}

.square-image-2 {
    background-image: url('Home/recent aut25 3.jpg');
}

.right-images {
    flex: 2;
    height: 420px;
    background-color: #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 14px;
    background-image: url('Home/recent aut25.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Director Message */
.director-message {
    background-color: #e9e9e9;
    padding: 30px;
    margin: 40px 0;
    border-left: 5px solid #19224d;
    border-radius: 5px;
}

.director-message h3 {
    font-size: 24px;
    color: #19224d;
    margin: 0 0 20px 0;
    font-style: normal;
    text-align: center;
}

.director-message p {
    font-size: 16px;
    text-align: justify;
    margin-bottom: 15px;
    font-style: italic;
}

/* Inspiration Section */
.inspiration-section {
    margin: 40px 0;
    background-color: #e9e9e9;
    padding: 30px;
    border-radius: 5px;	
	border-left: 5px solid #19224d;	
}

.inspiration-section h3 {
    font-size: 24px;
    color: #19224d;
    margin-bottom: 20px;
}

.inspiration-section h3:not(:first-child) {
    margin-top: 30px;
}

.inspiration-text {
    font-size: 16px;
    text-align: justify;
    margin-bottom: 20px;
}

.inspiration-section .services-list {
    font-size: 16px;
    line-height: 1.8;
}

.inspiration-section .services-list ul {
    list-style-type: none;
    padding-left: 0;
}

.inspiration-section .services-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.inspiration-section .services-list li:before {
    content: "•";
    color: #19224d;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Services Section */
.services-section {
    background-color: #e9e9e9;
    padding: 20px;
    border-radius: 5px;
}

.services-section h3 {
    font-size: 24px;
    color: #19224d;
    margin: 0 0 20px 0;
}

.services-list {
    font-size: 16px;
    line-height: 1.8;
}

.services-list ul {
    list-style-type: none;
    padding-left: 0;
}

.services-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.services-list li:before {
    content: "•";
    color: #19224d;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact-button {
    display: block;
    background-color: #19224d;
    color: white;
    text-decoration: none;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    margin: 20px auto;
    width: 80%;
    border-radius: 5px;
}

.contact-button:hover {
    background-color: #0f1530;
}

/* Footer */
.footer {
    background-color: #e9e9e9;
    width: 100%;
    margin-left: 0;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    flex: 1;
}

.footer-left h4 {
    font-size: 16px;
    color: #19224d;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.footer-left p {
    font-size: 14px;
    color: #333333;
    margin: 5px 0;
    line-height: 1.4;
}

.footer-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: #19224d;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 60px;
    height: 60px;
    background-color: #cccccc;
    border: 2px solid #999999;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666666;
    font-size: 16px;
    font-weight: bold;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.social-icon:hover {
    background-color: #19224d;
    color: white;
    border-color: #19224d;
}

.facebook-icon {
    background-image: url('Facebook_Logo_2023.jpg');
    border: none;
    background-color: transparent;
    color: transparent;
    font-size: 0;
}

.facebook-icon:hover {
    transform: scale(1.1);
    background-color: transparent;
}

.instagram-icon {
    background-image: url('insta.jpg');
    border: none;
    background-color: transparent;
    color: transparent;
    font-size: 0;
}

.instagram-icon:hover {
    transform: scale(1.1);
    background-color: transparent;
}

.checkatrade-icon {
    background-image: url('check.jpg');
    border: none;
    background-color: transparent;
    color: transparent;
    font-size: 0;
}

.checkatrade-icon:hover {
    transform: scale(1.1);
    background-color: transparent;
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: #666666;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #cccccc;
}

/* Services Page Specific Styles */
.services-page .hero-section {
    height: 400px;
}

.services-page .hero-overlay h1 {
    font-size: 36px;
}

.services-page .hero-overlay h2 {
    font-size: 20px;
}

.page-header {
    background-color: #e9e9e9;
    width: 100%;
    padding: 30px 0;
    margin-top: 0;
}

.page-header-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 32px;
    color: #19224d;
    margin: 0 0 15px 0;
    font-weight: bold;
    text-align: center;
}

.page-header p {
    font-size: 16px;
    color: #333333;
    margin: 0;
    text-align: justify;
}

.services-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}

@media (min-width: 768px) {
    .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}
}

.service-card {
    background-color: #e9e9e9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.service-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 14px;
    font-weight: bold;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.grass-image { background-image: url('Artificial Grass/agrass1.jpg'); }
.leantos-image { background-image: url('services/lean.jpg'); }
.fencing-image { background-image: url('services/fence1.jpg'); }
.walls-image { background-image: url('services/wall1.jpg'); }
.patios-image { background-image: url('services/patio1.jpg'); }
.decking-image { background-image: url('services/softwood.jpg'); }
.turf-image { background-image: url('services/turf1.jpg'); }
.unique-image { background-image: url('services/unique1.jpg'); }

.service-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card h3 {
    font-size: 20px;
    color: #19224d;
    margin: 0 0 15px 0;
    font-weight: bold;
}

.service-card p {
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
    color: #333333;
    line-height: 1.5;
    flex-grow: 1;
}

.service-link {
    display: block;
    background-color: #19224d;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    margin-top: auto;
}

.service-link:hover {
    background-color: #0f1636;
}

.contact-cta {
    background-color: #19224d;
    color: white;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
    border-radius: 5px;
}

.contact-cta h2 {
    font-size: 28px;
    margin: 0 0 15px 0;
    font-family: Georgia, serif;
}

.contact-cta p {
    font-size: 16px;
    margin: 0 0 25px 0;
}

.contact-cta .contact-button {
    display: inline-block;
    background-color: white;
    color: #19224d;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    width: auto;
    margin: 0;
}

.contact-cta .contact-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.services-page .footer {
    background-color: #e9e9e9;
    width: 100%;
    margin-left: 0;
    padding: 40px 0;
    margin-top: 40px;
    box-sizing: border-box;
}

/* Mobile Styles */
@media (max-width: 768px)

    /* Base (mobile) */
	.header-subtext {
		font-size: 32px;
}

	/* Medium screens */
	@media (min-width: 600px) {
	.header-subtext {
		font-size: 28px;
  }
}

	/* Large screens */
	@media (min-width: 1200px) {
	.header-subtext {
		font-size: 32px;
  }
}

 {
    .hero-section { height: 300px; }
    .services-page .hero-section { height: 200px; }
    
    .logo {
        width: 80px;
        height: 80px;
        min-width: 80px;
        min-height: 80px;
        top: 10px;
        left: 10px;
    }
    
    .nav { top: 10px; right: 10px; }
    .nav a { font-size: 12px; margin-left: 10px; }
    
    .dropdown-content {
        min-width: 150px;
        font-size: 11px;
    }
    
    .dropdown-content a {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .hero-overlay {
        padding: 20px;
        margin: 0 10px;
    }
    
    .hero-overlay h1 { font-size: 32px; letter-spacing: 1px; }
    .hero-overlay h2 { font-size: 18px; }
    .hero-overlay .tagline { font-size: 16px; }
    
    .services-page .hero-overlay h1 { font-size: 28px; letter-spacing: 1px; }
    .services-page .hero-overlay h2 { font-size: 16px; }
    
    .welcome-section h2 { font-size: 24px; margin-bottom: 15px; }
    
    .image-grid {
        flex-direction: column;
        width: 95%;
        gap: 15px;
    }
    
    .left-images {
        flex-direction: row;
        gap: 10px;
    }
    
    .square-image {
        height: 150px;
        flex: 1;
    }
    
    .right-images {
        height: 250px;
        flex: none;
    }
    
    .director-message {
        padding: 20px;
        margin: 30px 0;
    }
    
    .director-message h3 { font-size: 20px; }
    .director-message p { font-size: 14px; text-align: left; }
    
    .contact-button {
        width: 90%;
        font-size: 14px;
        padding: 12px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
    }
    
    .footer-center { align-items: center; margin-top: 20px; }
    
    .footer-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .footer-nav a { text-align: center; }
    
    .footer-right {
        justify-content: center;
        margin-top: 20px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .page-header h1 { font-size: 24px; }
    .page-header p { font-size: 14px; text-align: left; }


    .services-container { margin: 20px auto; }
    .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}
    
    .service-content { padding: 20px; }
    .service-card h3 { font-size: 18px; }
    .service-card p { font-size: 13px; }
    
    .contact-cta { padding: 30px 20px; }
    .contact-cta h2 { font-size: 24px; }
    .contact-cta p { font-size: 14px; }
    .contact-cta .contact-button { padding: 12px 25px; font-size: 14px; }
}

.header-subtext {
  text-align: center;
  font-style: italic;
  color: #19224d;      /* matches your accent */
  margin: 20px 0;      /* space above and below */

}



/* Make service cards fully clickable but reset link styles */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.service-card-link p,
.service-card-link h3 {
    text-decoration: none;
    color: inherit;
}


/* Restore service-link styling when used as <div> */
.service-link {
    display: block;
    background-color: #19224d;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    margin-top: auto;
    cursor: pointer;
}

.service-link:hover {
    background-color: #0f1636;
}

/* Stack social icons vertically on small screens */
@media (max-width: 600px) {
  .footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .social-icon {
    width: 30px;
    height: 30px;
    background-size: contain;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.full-width-content {
  box-sizing: border-box;
  width: 100%;
}

input, textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.image-gallery-section {
    border-radius: 10px;
    overflow: hidden; /* Ensures child images don’t spill out */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: for subtle depth */
}

