/* --- GLOBAL STYLES & TYPOGRAPHY --- */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: #443e4b; 
    margin: 0;
    padding: 0;
    background-color: #f7f3f9; 
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #5d3a7e; 
    margin-top: 0;
}

h1 {
    font-size: clamp(2em, 5vw, 3em);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

h2 {
    font-size: clamp(1.5em, 4vw, 2.2em);
    text-align: center;
    margin-bottom: 1.5em;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #c9b148; 
    margin: 10px auto 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2em;
}

/* --- HEADER & NAVIGATION --- */

/* Default Header for all pages (Solid Purple) */
header {
    background-color: #5d3a7e; 
    padding: 1rem 0;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Specific styles for the transparent header on index.html */
.transparent-header {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: none;
}

/* Header Content & Links */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2em;
    width: 100%;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 100px;
    max-width: 100%;
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.desktop-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2em;
    align-items: center;
}

.desktop-nav li {
    margin: 0;
}

/* Hide mobile nav on desktop */
.mobile-nav {
    display: none;
}

/* Default link color for all headers*/
header a {
    text-decoration: none;
    color: #f7f3f9; 
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Specific link color for the transparent header */
.transparent-header a {
    color: #ffffff;
}

/* Hover effect */
header a:hover, header a.active {
    color: #c9b148;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center; 
    align-items: center; 
    text-align: center;
}

.hero-text-container {
    padding: 1em 2em;
    max-width: 90%;
}

.hero-text-container h1 {
    font-size: clamp(2.5em, 8vw, 5em);
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #fff;
    margin: 0;
}

.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9em;
    letter-spacing: 0.2em;
    color: #fff;
    text-transform: uppercase;
}

/* --- BUTTON STYLING --- */

/* Base button style */
.button {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: clamp(0.8em, 2vw, 0.9em);
    cursor: pointer;
    text-align: center;
    
    /* Animation */
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Primary Button (Gold/Accent Color) */
.button-primary {
    background-color: #c9b148; 
    color: #5d3a7e; 
    border-color: #c9b148;
    
    padding: 15px 40px; 
    font-size: clamp(0.9em, 2.5vw, 1.1em); 
}

.button-primary:hover {
    background-color: transparent;
    color: #c9b148;
    border-color: #c9b148;
}

/* Secondary Button (Used for 'See More' on Services page - Purple outline) */
.button {
    background-color: transparent;
    color: #5d3a7e; 
    border-color: #5d3a7e; 
}

.button:hover {
    background-color: #5d3a7e;
    color: #fff; 
}

/* --- HOME PAGE SECTIONS --- */
.page-content, .services-page-content, .about-section {
    padding: 4em 0;
    text-align: center;
}

.services-overview, .cta-section {
    padding: 4em 2em;
    text-align: center;
}

.services-overview {
    background-color: #f7f3f9;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    text-align: left;
    margin-top: 3em;
}

.service-card {
    background-color: white;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.cta-section {
    background-color: #e6e2e9;
}


/* Explore Cards Section */
.explore-services-section {
    background-color: #f7f3f9;
    padding: 4em 2em;
    text-align: center;
}

.explore-services-section p {
    max-width: 600px;
    margin: 0 auto 2em;
    font-size: clamp(1em, 2vw, 1.1em);
}

.explore-cards-container {
    display: flex;
    justify-content: center;
    gap: 2em;
    flex-wrap: wrap; 
}

.explore-card {
    background-color: #fff;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    flex: 1;
    min-width: 280px; 
    max-width: 400px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.explore-card:hover {
    transform: translateY(-5px);
}

.explore-card h3 {
    color: #5d3a7e;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1em;
}

/* --- SERVICES PAGE --- */
.services-page-content {
    padding: 4em 2em;
}

.service-details {
    background-color: #fff;
    padding: 3em;
    margin-bottom: 3em;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.service-details h2 {
    text-align: left;
    margin-bottom: 1em;
}

.service-details h2::after {
    margin-left: 0;
}

.service-details ul {
    list-style: none;
    padding: 0;
}

.service-details ul li {
    /* Gold Checkmark SVG for service lists */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23c9b148"><path d="M9 20.4L2.6 14 5 11.6 9 15.6 19 5.6 21.4 8 9 20.4z"/></svg>') no-repeat left center;
    background-size: 20px 20px;
    padding-left: 30px;
    margin-bottom: 10px;
    text-align: left;

}

.pricing-table {
    text-align: center;
    background-color: #e6e2e9;
    padding: 2em;
    border-radius: 10px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto 1em;
    min-width: 300px;
}

th, td {
    padding: 1em;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #5d3a7e;
    color: white;
    text-align: left;
}

td {
    text-align: left;
}

/* --- BOOKING OPTIONS PAGE --- */
.booking-options-section {
    padding: 4em 2em;
    text-align: center;
    background-color: #f7f3f9;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    justify-items: center;
}

.service-option {
    background-color: #ffffff;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-option:hover {
    transform: translateY(-5px);
}

.service-option h3 {
    color: #5d3a7e;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5em;
}

.service-footer {
    width: 100%;
    margin-top: auto;
}

.service-footer p {
    margin: 1em 0;
}

/* --- REMOTE OPTION --- */
.remote-option-container {
    margin-top: 4em;
    padding-top: 3em;
    border-top: 2px solid #c9b148; 
    text-align: center;
}


.remote-option-container .intro-paragraph {
    max-width: 800px;
    margin: 0 auto 2em; 
}


.remote-option-container .services-container {

    display: flex; 
    justify-content: center;
}


.remote-option-container .service-option {
    max-width: 400px;
    width: 100%; 
    margin: 0;
}

/* --- ABOUT PAGE --- */
.about-container {
    display: flex;
    align-items: flex-start;
    gap: 3em;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    text-align: center;
    min-width: 250px;   
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about-text {
    flex: 2;
    padding-top: 2em;
    text-align: left;
    min-width: 300px;
}

/* ... (Existing CSS code above) ... */

/* --- ABOUT PAGE --- */
.about-container {
    display: flex;
    align-items: flex-start;
    gap: 3em;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    text-align: center;
    min-width: 250px;   
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about-text {
    flex: 2;
    padding-top: 2em;
    text-align: left;
    min-width: 300px;
}

/* --- CERTIFICATES SECTION --- */
.certificates-section {
    padding: 4em 2em;
    text-align: center;
    background-color: #e6e2e9; 
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    margin-top: 2em;
    justify-content: center;
}

.certificate-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1em;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.certificate-item a {
    display: block; 
    text-decoration: none;
    color: inherit;
}

.certificate-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
    aspect-ratio: 4/3; 
}

.certificate-item p {
    font-size: 1em;
    font-weight: 500;
    color: #5d3a7e;
    margin: 0.8em 0 0.5em;
}


/* --- MOBILE STYLES (max-width: 768px) --- */
@media (max-width: 768px) {
    /* ... (Existing mobile styles) ... */

    /* NEW MOBILE RULE FOR CERTIFICATES */
    .certificates-section {
        padding: 2.5em 1em;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr; /* Stack certificates vertically on small screens */
    }
    
    .certificate-item img {
        aspect-ratio: 4/3; /* Maintain ratio, but now takes full width */
    }

    /* ... (Rest of the mobile styles) ... */
}

/* --- GIFT VOUCHERS PAGE --- */
.voucher-details {
    background-color: #e6e2e9;
    padding: 2em;
    border-radius: 10px;
    margin-bottom: 2em;
}

.voucher-details h3 {
    color: #5d3a7e;
}

.voucher-details ul {
    list-style: none;
    padding: 0;
    max-width: 400px;
    margin: 0 auto;
}

.voucher-details li {
    /* Gold Checkmark SVG for voucher lists */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23c9b148"><path d="M9 20.4L2.6 14 5 11.6 9 15.6 19 5.6 21.4 8 9 20.4z"/></svg>') no-repeat left center;
    background-size: 20px 20px;
    padding-left: 30px;
    margin-bottom: 10px;
    text-align: left;
}

.call-to-action-box {
    background-color: #fff;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* --- ARTICLE LAYOUT (REIKI/OGHAM PAGES) --- */
.article-section {
    margin-bottom: 2em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid #dcdcdc;
}

.article-section h2 {
    text-align: center;
    margin-top: 1.5em;
}

.callout-box {
    background-color: #f2eef6;
    border-left: 5px solid #5d3a7e;
    padding: 1.5em;
    margin: 2em 0;
    border-radius: 5px;
    text-align: left;
}

/* Image styling for responsiveness */
figure {
    text-align: center;
    margin: 2em 0;
}

figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

figcaption {
    font-style: italic;
    color: #555;
    margin-top: 0.5em;
}

/* List item styling for alignment */
.callout-box li {
    display: flex;
    align-items: flex-start;
    gap: 0.8em; 
    margin-bottom: 0.5em;
}

/* Checkmark styling */
.callout-box li::before {
    content: '✔';
    color: #5d3a7e;
    font-weight: bold;
}

/* --- CONTACT SECTION & MAP --- */
.contact-section {
    padding: 4em 2em;
    text-align: center;
    background-color: #f7f3f9;
}

.contact-details-container {
    display: flex;
    justify-content: center;
    gap: 2em;
    margin-bottom: 2em;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8em;
}

.contact-icon {
    width: 24px;
    height: 24px;
}

.contact-item p {
    margin: 0;
}

/* Email/Contact Link Fix */
.contact-item a {
    color: #5d3a7e; 
    text-decoration: none; 
}

.contact-item a:hover {
    color: #c9b148; 
    text-decoration: underline; 
}

.map-container {
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- FOOTER --- */
footer {
    background-color: #5d3a7e;
    color: #f7f3f9;
    padding: 2em;
    text-align: center;
}

.footer-social-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2em;
}

.divider {
    flex-grow: 1;
    height: 1px;
    background-color: #c9b148;
    max-width: 400px;
}

.social-icons {
    display: flex;
    gap: 1.5em;
    padding: 0 2em;
}

.social-icons img {
    height: 25px;
    width: 25px;
    filter: none;
}

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

.footer-logo img {
    max-height: 50px;
    margin-bottom: 0.5em;
    filter: none;
}

.footer-logo p, .copyright, .footer-links a {
    color: #f7f3f9;
}

.copyright {
    font-size: 0.9em;
    margin: 1em 0;
}

.footer-links {
    display: flex;
    gap: 1.5em;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #c9b148;
}

/* --- TABLET STYLES (768px - 1024px) --- */
@media (max-width: 1024px) {
    .header-content {
        padding: 0 1.5em;
    }
    
    .desktop-nav ul {
        gap: 1em;
    }
    
    .desktop-nav a {
        font-size: 0.9em;
    }
}

/* --- MOBILE STYLES (max-width: 768px) --- */
@media (max-width: 768px) {
    /* --- HIDE DESKTOP NAV, SHOW MOBILE NAV --- */
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-nav {
        display: block;
        position: relative;
    }
    
    /* Hamburger Icon Styling */
    .hamburger-icon {
        background-color: transparent;
        padding: 12px 15px;
        border-radius: 5px;
        display: inline-block;
        transition: background-color 0.3s ease;
        cursor: pointer;
    }
    
    .hamburger-icon:hover {
        background-color: rgba(201, 177, 72, 0.2);
    }
    
    .hamburger-icon i {
        font-size: 1.5em;
        color: #ffffff;
    }
    
    /* Mobile Links (Hidden by default) */
    .mobile-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        background-color: rgba(93, 58, 126, 0.98);
        width: 250px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        z-index: 999;
        border-radius: 5px;
    }
    
    .mobile-links a {
        display: block;
        padding: 15px 20px;
        text-decoration: none;
        color: #ffffff;
        font-size: 1em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: background-color 0.3s ease;
    }
    
    .mobile-links a:hover {
        background-color: rgba(201, 177, 72, 0.2);
        color: #c9b148;
    }
    
    .mobile-links a:last-child {
        border-bottom: none;
    }
    
    /* --- GLOBAL ADJUSTMENTS --- */
    .container {
        padding: 1em; 
    }
    
    .page-content, .services-page-content, .about-section, .services-overview, .cta-section {
        padding: 2.5em 1em; 
    }

    /* --- TYPOGRAPHY --- */
    .intro-paragraph {
        font-size: 1em; 
    }

    /* --- HEADER & NAVIGATION --- */
    .header-content {
        padding: 0.8em 1em;
        background-color: transparent;
    }
    
    .logo img {
        height: 60px;
    }
    
    /* Transparent Header - Remove dark background on mobile */
    .transparent-header {
        background-color: transparent;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
    
    .transparent-header .header-content {
        background-color: transparent;
        padding: 0.8em 1em;
    }
    
    /* Solid header for other pages */
    header:not(.transparent-header) {
        background-color: #5d3a7e;
        position: relative;
    }

    /* --- HERO SECTION --- */
    .hero-section {
        height: 100vh;
        margin-top: 0;
        padding-top: 0;
    }
    
    .hero-text-container {
        padding: 1em;
        margin-top: 80px;
    }
    
    .scroll-down {
        display: none;
    }

    /* --- HOME PAGE CARDS --- */
    .service-cards, .services-container {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }

    .explore-card, .service-option, .service-card {
        min-width: 100%;
        max-width: 100%;
        padding: 1.5em;
    }
    
    /* --- ABOUT PAGE --- */
    .about-container {
        flex-direction: column;
        align-items: center;
    }
    
    .about-image {
        margin-bottom: 1.5em;
        width: 100%;
    }
    
    .about-text {
        padding-top: 0;
        text-align: left;
        width: 100%;
    }
    
    /* --- SERVICES / ARTICLE PAGES --- */
    .service-details {
        padding: 1.5em;
    }
    
    .pricing-table {
        padding: 1em;
    }
    
    table {
        font-size: 0.85em;
    }
    
    th, td {
        padding: 0.7em 0.5em;
    }

    /* --- CONTACT SECTION --- */
    .contact-details-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5em;
    }
    
    .contact-item {
        width: 100%;
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    /* --- FOOTER --- */
    footer {
        padding: 1.5em 1em;
    }
    
    .footer-social-section {
        margin-bottom: 1.5em;
    }

    .divider {
        display: none;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5em;
    }
    
    .footer-links a {
        margin: 0.3em 0;
    }
}

/* --- SMALL MOBILE (max-width: 480px) --- */
@media (max-width: 480px) {
    .logo img {
        height: 50px;
    }
    
    .button {
        padding: 8px 20px;
        font-size: 0.85em;
    }
    
    .button-primary {
        padding: 12px 30px;
    }
    
    .service-card, .explore-card, .service-option {
        padding: 1.2em;
    }
    
    table {
        font-size: 0.75em;
    }
}