﻿/* ==========================================================================
   1. GLOBAL MASTER STRUCTURE & STYLES (Applies to ALL pages)
   ========================================================================== */
   
   html {
    scroll-behavior: smooth;
}

/* Default global setup (Applies to ALL pages on your website) */
body {
    background-image: url('images/background.gif');
    background-attachment: fixed;
    font-family: 'Open Sans', Arial, sans-serif;
    color: #2b2b2b;
    margin: 0 auto;               /* Centers the page layout container on screens */
    padding: 20px;
    max-width: 800px;             /* Prevents text/elements from spilling full-screen */
    /* background-color has been removed so the gif is completely visible */
}

/* Unified Main Structural Wrapper Component */
.wrapper {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* Master Page Titles (Identical on EVERY page, including Conservatory) */
h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 38px;
    font-weight: bold;
    color: #1a2421;               /* Deep forest charcoal */
    text-align: center;           /* Centers the main header on the page column */
    margin-top: 0;
    margin-bottom: 25px; 
}

/* Master Section Headings (e.g., Opening Hours, Native Walk) */
h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: bold;
    color: #1a2421;
    text-align: center; 
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Master Sub-headings */
h3 {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #2b2b2b;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Master Paragraph Blocks (Justified with 1 line space) */
p {
    margin-top: 0;
    margin-bottom: 1em;           /* Creates a gap equal to exactly one line of text */
    text-align: justify;           /* Justifies the text to both left and right edges */
    text-justify: inter-word;      /* Adjusts spacing between words smoothly */
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Master Responsive and Centered Garden Images (Keeps photos safe from scaling huge) */
img {
    display: block;                /* Changes images from inline to block so they can center */
    max-width: 100%;               /* Prevents images from being wider than 800px */
    height: auto;                  /* Maintains original photo proportions */
    margin: 25px auto;             /* Centers the image and adds space top/bottom */
    border-radius: 6px;            /* Softens photo corners slightly */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Adds a very subtle shadow */
}


/* ==========================================================================
   2. ISOLATED CONSERVATORY STYLES (Only affects the Conservatory Page)
   ========================================================================== */

/* Unique settings for Conservatory page specifically */
body.conservatory-page {
    font-family: Verdana, sans-serif; /* Keeps text inside Conservatory Verdana */
    color: #333333;
    max-width: 800px;
    margin: 0 auto;
    /* background-color transparent overlay removed */
}

/* Target elements sitting inside the Conservatory structures */
.notice {
    font-style: italic;
    background-color: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #1a2421; /* Matches global charcoal accent color */
}

.featured-image img {
    margin: 0 auto 25px auto;
    border-radius: 4px;
}

.promo-block {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.display-list {
    flex: 1 1 450px;
}

.display-list ul {
    list-style-type: none;
    padding: 0;
}

.display-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #cccccc;
    font-size: 1rem;
}

.book-ad {
    flex: 1 1 200px;
    text-align: center;
    border: 1px solid #ddd;
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
}

.book-ad img {
    margin: 0 auto 10px auto;
}

.cta-link {
    display: block;
    text-decoration: none;
    color: #1a2421;
    
    /* Adds a smooth 0.3-second fade effect to the text color */
    transition: color 0.3s ease;
}

.cta-link span {
    display: block;
    font-size: 0.85rem;
    color: #555555;
}

.cta-link:hover {
    color: #4CAF50; /* Vibrantly shifts the title to light leaf green on hover */
}

/* Video grid systems unique to Conservatory */
.media-grid {
    margin: 40px 0;
}

.grid-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eeeeee;
}

.grid-item img {
    width: 250px;
    border-radius: 4px;
    box-shadow: none; /* Strips shadows from grid images to keep grid layouts tidy */
}

.grid-details {
    flex: 1 1 300px;
}

.grid-details h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.grid-details a {
    display: inline-block;
    color: #fff;
    background-color: #1a2421; /* Global Charcoal theme buttons */
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    
    /* Adds a smooth 0.3-second fade effect when changing states */
    transition: background-color 0.3s ease; 
}

.grid-details a:hover {
    background-color: #4CAF50; /* Vibrant light leaf green */
    color: #ffffff;            /* Keeps the text crisp white */
}

/* Bottom Closing Schedules Panel elements styling rules */
.info-panel {
    background-color: #f2f2f7;
    padding: 25px;
    border-radius: 6px;
    margin-top: 30px;
    text-align: center;
}

.closure-heading {
    font-weight: bold;
    text-align: center;
    font-size: 1.1rem;
}

.closure-dates {
    list-style-type: none;
    padding: 0;
    margin: 15px 0;
}

.closure-dates li {
    padding: 6px 0;
    font-size: 0.95rem;
}

.disclaimer {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.contact {
    text-align: center;
    font-size: 1rem;
    margin-top: 15px;
}

/* Global Footer Copyright Image (Applies to the bottom of ALL pages) */
body::after {
    content: "";
    display: block;
    width: 100%;
    height: 60px;                     /* Adjust this height to match your image size */
    background-image: url('images/copyright.gif');
    background-repeat: no-repeat;
    background-position: center bottom;
    margin-top: 50px;                 /* Creates a nice, clean gap below your page text */
    margin-bottom: 20px;
}
