/* css/style.css */
html {
    scroll-behavior: smooth;
}

body { 
    font-family: sans-serif; 
    margin: 0; 
    line-height: 1.6; 
    color: #333; 
}

/* The Hero Section - This is the "canvas" for glass menu */
.hero { 
    /* A smooth transition from deep forest green to a lighter leaf green */
    background: linear-gradient(135deg, #1b3022 0%, #2e4f2d 50%, #4a7c44 100%);

    /* Give it enough height to see the effect */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white; /* Make text white to stand out against the dark green */
    padding: 120px 20px 80px 20px;
    margin-bottom: -30px;
}

.logo-circle {
    width: 250px; /* Adjust size as needed */
    height: 250px;
    background: rgb(255, 255, 255); /* white */
    border: 5px solid rgba(170, 176, 0, 0.546); /* Subtle gold border */
    border-radius: 50%; /* Makes it a circle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px; /* Space between logo and text */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.logo-circle img {
    width: 70%; /* Keeps the logo centered with breathing room */
    height: auto;
    object-fit: contain;
}

/* Adjusting the text so it doesn't get lost */
.hero h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0px 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
}

.container { 
    padding: 20px; 
    max-width: 800px; 
    margin: auto; 
}

.about-brief {
    width: 100%;
    background-color: #d2f3d3; /*chosen mint green */
    border-top-left-radius: 2%;
    border-top-right-radius: 2%;
    padding: 80px 0; /* Vertical padding only */
    display: flex;
    justify-content: center;
}


.subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #b39347; /* Gold/Mustard taken directly from logo icons */
    margin-bottom: 10px;
    font-weight: bold;
}

.about-brief h2 {
    font-size: 2.2rem;
    color: #1b3022; /* Keep this dark so it pops against the mint */
    margin-bottom: 20px;
}

.about-brief p {
    font-size: 1.15rem;
    color: #2d4434; /* A dark "moss" green instead of grey for better harmony */
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 30px auto;
}

/* Layout Container */
.split-layout {
    display: flex;
    align-items: center; /* Centers items vertically */
    justify-content: space-between;
    column-gap: 40px;
    row-gap: 400px;
    max-width: 1600px; /* Wider to accommodate two columns */
    margin: 0 auto;
}

/* Text Column */
.about-text {
    flex: 1;
    padding-left: 5%; /* Adds a nice offset */
}

/* Image Column */
.about-visual {
    flex: 1.2; /* Makes the image side slightly larger */
    display: flex;
    justify-content: flex-end;
}

.image-wrapper {
    width: 100%;
    /* No max-width here so it can fill its half of the screen */
    height: 500px; 
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the photo fills the space perfectly */
}

/* Mobile Fix: Stacks them when the screen gets tight */
@media (max-width: 992px) {
    .split-layout {
        flex-direction: column;
        width: 95%;
        gap: 20px; /* Reduced from 60px to 20px for mobile */
    }
    .about-text {
        padding-left: 0;
        text-align: center;
    }
    .image-wrapper {
        height: 350px; /* Slightly shorter height for mobile screens */
        width: 82vw;
    }
}

.link-more {
    color: #2e4f2d;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #4a7c44;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.link-more:hover {
    color: #e67e22; /* Adds a touch of warmth on hover */
    border-bottom-color: #e67e22;
}

.btn { 
    background: #c1a908; 
    color: white; 
    padding: 10px 20px; 
    text-decoration: none; 
    border-radius: 5px; 
}


.services-section {
    padding: 100px 20px;
    background-color: #2e4f2d; /* A deeper green to contrast the mint section */
    color: white;
    text-align: center;
}

.subtitle-light {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #d2f3d3; /* Mint green text for the label */
    margin-bottom: 10px;
    font-weight: bold;
}

.services-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

/* Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Service Cards */
.service-card {
    background: rgba(255, 255, 255, 0.05); /* Very subtle glass effect */
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
    color: white;
    text-decoration: none;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #d2f3d3;
}

.service-card .time {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.service-card .description {
    font-size: 1rem;
    opacity: 0.8;
}


.view-all-container {
    text-align: center;
    margin-top: 60px;
    padding: 40px 0;
    border-radius: 2em;
    border-top: 1px solid rgba(74, 124, 68, 0.1); /* Very faint green line */
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    background-color: rgba(255, 255, 255, 0.05);
}

.view-all-container p {
    font-size: 1.1rem;
    text-wrap-mode: wrap;
    color: white;
    margin-bottom: 15px;
}

.view-all-link {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #d2f3d3;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.arrow-slide {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 5px;
}

/* Hover Effects */
.view-all-link:hover {
    color: #b39347; 
}

.view-all-link:hover .arrow-slide {
    transform: translateX(8px); /* The arrow 'points' forward on hover */
}

/* Optional: Add a subtle underline that grows from the center */
.view-all-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #b39347; /* Logo Gold underline */
    transition: width 0.3s ease;
}

.view-all-link:hover::after {
    width: 100%;
}


.contact-section {
    padding: 100px 0;
    background-color: #fcf9f2; /* cream */
    width: 100%;
    display: flex;
    justify-content: center;
}
/* ensure the text stays centered next to tall map */
.contact-section .split-layout {
    align-items: center; 
    gap: 80px; /* Increased gap for a more premium look */
}

.contact-info {
    flex: 1;
    padding-left: 5%;
}

.contact-info h2 {
    color: #1b3022;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.notice-box {
    display: flex;
    gap: 15px;
    background-color: #eaf7eb; /* mint */
    border-left: 4px solid #4a7c44; /* brand-green accent */
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
    line-height: 1.5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.notice-icon {
    color: #4a7c44;
    flex-shrink: 0; /* Prevents the icon from squishing */
    padding-top: 2px;
}

.notice-content p {
    font-size: 0.95rem !important; /* Slightly smaller for a "notice" feel */
    color: #2d4434 !important;
    margin: 0 !important;
}

.notice-content strong {
    color: #1b3022;
}

/* Ensure the link inside the notice is different colour */
.notice-content a {
    color: #4a7c44;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.contact-details {
    margin-top: 40px;
}

.detail-item {
    margin-bottom: 25px;
}

.detail-item strong {
    display: block;
    color: #4a7c44;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.detail-item p {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

/* links */
.detail-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.detail-item a:hover {
    color: #4a7c44; /* Highlights green when hovered */
}

/* Styling the links for the animation */
.detail-item p a {
    color: #1b3022; /* Dark green for readability */
    text-decoration: none; /* Removes the default static underline */
    position: relative; /* Necessary to anchor the animated line */
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

/* Creating the "invisible" underline */
.detail-item p a::after {
    content: '';
    position: absolute;
    width: 0; /* Starts at nothing */
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #4a7c44; /* Dcc green */
    transition: width 0.3s ease; /* animation part */
}

/* The Hover State: Grow the line to 100% */
.detail-item p a:hover::after {
    width: 100%;
}

.detail-item p a:hover {
    color: #4a7c44; /* Slightly changes text color to match the line */
}

.map-area {
    flex: 1;
    display: flex;
    justify-content: center;
    padding-right: 1%;
    width: 60vw;
    flex: 1.2; /* Makes the map slightly wider than the text area */
}
.map-area iframe {
    border-radius: 30px; /* rounded corner look */
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Ensure mobile stacking works here too */
@media (max-width: 992px) {
    .contact-section .split-layout {
        flex-direction: column;
        gap: 40px;
    }
    .contact-info, .map-area {
        padding: 0 20px;
        text-align: center;
    }
    .map-area iframe{
        height: 400px;
    }
}
