/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #2d3748;
    background-color: #fafafa;
}

/* Design System - Colour Palette */
:root {
    /* Primary colours - vibrant magenta/pink scheme */
    --primary-pink: #AE2962;
    --primary-purple: #8B4A9E;
    --secondary-pink: #e48bb2;
    --secondary-purple: #cba8d6;
    --accent-pink: #C1477A;
    --accent-purple: #824897;
    
    /* Neutral colours */
    --white: #ffffff;
    --light-grey: #f7fafc;
    --medium-grey: #ABABAB;
    --dark-grey: #23252D;
    --charcoal: #2d3748;
    --black: #07090C;
    
    /* Semantic colours */
    --success: #48bb78;
    --warning: #ed8936;
    --error: #f56565;
    --info: #4299e1;
    
    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-logo: 'Send Flowers', cursive;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-xl);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--charcoal);
}

h1 {
    font-size: 2.5rem;
    font-weight: 500;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--space-md);
    color: var(--dark-grey);
}

a {
    color: var(--accent-purple);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-purple);
}

/* Remove underline from navigation links */
.nav__link,
.nav__logo-link,
.footer__column a {
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    line-height: 1;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn--secondary {
    background: var(--white);
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn--secondary:hover {
    background: var(--primary-purple);
    color: var(--white);
}

/* Section Styling */
.section__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section__title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section__subtitle {
    font-size: 1.125rem;
    color: var(--dark-grey);
    max-width: 600px;
    margin: 0 auto;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-md);
    min-height: 80px;
}

.nav__brand {
    flex-shrink: 0;
}

.nav__logo {
    font-family: var(--font-logo);
    font-size: 2rem;
    font-weight: 400;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav__logo-link {
    text-decoration: none;
    display: inline-block;
}

.nav__tagline {
    font-size: 0.875rem;
    color: var(--dark-grey);
    margin: 0;
    font-style: italic;
}

.nav__menu {
    display: none;
    list-style: none;
    gap: var(--space-xl);
}

.nav__link {
    font-weight: 500;
    color: var(--charcoal);
    transition: color var(--transition-fast);
}

.nav__link:hover {
    color: var(--primary-purple);
}

.nav__contact {
    display: none;
}

.nav__phone {
    font-weight: 400;
    color: var(--primary-purple);
    margin: 0;
}

.nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-purple);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

/* Hamburger to X animation */
.nav__toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.nav__toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (min-width: 768px) {
    .nav__menu {
        display: flex;
    }
    
    .nav__contact {
        display: block;
    }
    
    .nav__toggle {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero__text {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.9);
    padding: var(--space-3xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.hero__title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--dark-grey);
    margin-bottom: var(--space-xl);
}

.hero__buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__text {
        padding: var(--space-xl);
    }
    
    .hero__buttons {
        flex-direction: column;
    }
}

/* Services Section */
.services {
    padding: var(--space-3xl) 0;
    background: var(--light-grey);
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service__card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.service__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service__icon {
    /* font-size: 3rem; */
    margin-bottom: var(--space-sm);
    text-align: center;
}

.service__icon svg {
    height: 72px;
    /* width: 72px; */
}

.service__title {
    color: var(--primary-purple);
    margin-bottom: var(--space-md);
}

.service__description {
    margin-bottom: var(--space-lg);
}

.service__features {
    list-style: none;
}

.service__features li {
    padding: var(--space-sm) 0;
    position: relative;
    padding-left: var(--space-lg);
    color: var(--dark-grey);
}

.service__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 500;
}

/* Availability Section */
.availability {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.availability__notice {
    background: var(--secondary-pink);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 500;
    color: var(--dark-grey);
    margin-bottom: var(--space-xl);
}

.availability__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

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

.calendar__container {
    background: var(--light-grey);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    min-height: 400px;
}

.calendar__container h3 {
    color: var(--primary-purple);
    margin-bottom: var(--space-lg);
}

.calendar__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: var(--dark-grey);
}

.calendar__fallback h3 {
    color: var(--primary-purple);
    margin-bottom: var(--space-lg);
}

.availability__schedule {
    margin-bottom: var(--space-lg);
}

.schedule__day {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--medium-grey);
}

.schedule__note {
    background: var(--secondary-purple);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
}

.availability__info {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.availability__info h3 {
    color: var(--primary-purple);
    margin-bottom: var(--space-lg);
}

.availability__info ul {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.availability__info li {
    padding: var(--space-sm) 0;
    position: relative;
    padding-left: var(--space-lg);
}

.availability__info li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: 500;
}

.availability__contact {
    background: var(--light-grey);
    padding: var(--space-md);
    border-radius: var(--radius-md);
}

.availability__contact p {
    margin-bottom: var(--space-sm);
}

.availability__contact p:last-child {
    margin-bottom: 0;
}

/* Coverage Section */
.coverage {
    padding: var(--space-3xl) 0;
    background: var(--light-grey);
}

.coverage__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

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

.map__container {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

.map {
    width: 100%;
    height: 400px;
    background: var(--medium-grey);
}

/* Leaflet controls z-index fix - keep controls above map but below header */
.leaflet-control-container {
    z-index: 400 !important;
}

.leaflet-control {
    z-index: 400 !important;
}

.leaflet-top,
.leaflet-bottom {
    z-index: 400 !important;
}

.map__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--dark-grey);
}

.map__fallback {
    padding: var(--space-xl);
}

.map__fallback h3 {
    color: var(--primary-purple);
    margin-bottom: var(--space-lg);
}

.coverage__areas {
    display: grid;
    gap: var(--space-lg);
}

.area__primary, .area__extended {
    background: var(--light-grey);
    padding: var(--space-md);
    border-radius: var(--radius-md);
}

.area__primary h4, .area__extended h4 {
    color: var(--primary-purple);
    margin-bottom: var(--space-md);
}

.area__primary ul, .area__extended ul {
    list-style: none;
    columns: 2;
    column-gap: var(--space-md);
}

.area__primary li, .area__extended li {
    padding: var(--space-xs) 0;
    break-inside: avoid;
}

.coverage__note {
    font-style: italic;
    color: var(--dark-grey);
    margin-top: var(--space-lg);
}

.coverage__info {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.coverage__info h3 {
    color: var(--primary-purple);
    margin-bottom: var(--space-lg);
}

.coverage__details {
    display: grid;
    gap: var(--space-lg);
}

.detail__item {
    border-bottom: 1px solid var(--medium-grey);
    padding-bottom: var(--space-md);
}

.detail__item:last-child {
    border-bottom: none;
}

.detail__item h4 {
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
}

/* About Section */
.about {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

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

.about__description {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.about__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .about__features {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature {
    background: var(--light-grey);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-purple);
}

.feature h3 {
    color: var(--primary-purple);
    margin-bottom: var(--space-sm);
}

.feature p {
    margin: 0;
    font-size: 0.875rem;
}

.about__values {
    background: linear-gradient(135deg, var(--secondary-pink), var(--secondary-purple));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

.about__values h3 {
    color: var(--dark-grey);
    margin-bottom: var(--space-md);
}

.about__values p {
    margin: 0;
    color: var(--dark-grey);
}

.about__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image__placeholder {
    background: var(--medium-grey);
    width: 300px;
    height: 300px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-grey);
    text-align: center;
}

/* Contact Section */
.contact {
    padding: var(--space-3xl) 0;
    background: var(--light-grey);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

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

.contact__info {
    display: grid;
    gap: var(--space-xl);
}

.contact__method {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contact__method h3 {
    color: var(--primary-purple);
    margin-bottom: var(--space-md);
}

.contact__method p {
    margin-bottom: var(--space-sm);
}

.contact__method p:last-child {
    margin-bottom: 0;
}

.contact__method a {
    font-weight: 400;
}

/* Contact Form */
.contact__form {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form h3 {
    color: var(--primary-purple);
    margin-bottom: var(--space-lg);
}

.form__group {
    margin-bottom: var(--space-lg);
}

.form__label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--charcoal);
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--medium-grey);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__submit {
    width: 100%;
    margin-top: var(--space-md);
}

.form__response {
    margin-top: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
}

.form__success {
    background: var(--success);
    color: var(--white);
    margin: 0;
    padding: var(--space-md);
    border-radius: var(--radius-md);
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-xl) 0;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .footer__content {
        grid-template-columns: 2fr 3fr;
    }
}

.footer__brand h3 {
    color: var(--secondary-pink);
    margin-bottom: var(--space-md);
}

.footer__brand p {
    color: var(--light-grey);
    margin-bottom: var(--space-md);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.footer__column h4 {
    color: var(--secondary-pink);
    margin-bottom: var(--space-md);
    font-size: 1.125rem;
}

.footer__column ul {
    list-style: none;
}

.footer__column li {
    margin-bottom: var(--space-sm);
    color: var(--light-grey);
}

.footer__column a {
    color: var(--light-grey);
    transition: color var(--transition-fast);
}

.footer__column a:hover {
    color: var(--secondary-purple);
}

.footer__bottom {
    border-top: 1px solid var(--dark-grey);
    padding-top: var(--space-xl);
    text-align: center;
    color: var(--medium-grey);
}

.footer__bottom p {
    margin-bottom: var(--space-sm);
    color: var(--medium-grey);
}

.footer__bottom p:last-child {
    margin-bottom: 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

/* Responsive Design */
@media (max-width: 767px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: var(--space-sm);
    }
    
    .hero__buttons .btn {
        margin-bottom: var(--space-md);
    }
    
    .hero__buttons .btn:last-child {
        margin-bottom: 0;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav__toggle,
    .form,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        min-height: auto;
        page-break-inside: avoid;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for better accessibility - keyboard only */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px dashed var(--primary-purple);
    outline-offset: 2px;
}

/* Remove default outline on mouse click */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Business hours indicator styles */
.business-hours-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}

.business-hours-indicator.open {
    background: rgba(72, 187, 120, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.business-hours-indicator.closed {
    background: rgba(237, 137, 54, 0.1);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.status-dot {
    display: none;
}

.status-dot.open {
    background: var(--success);
    animation: pulse 2s infinite;
}

.status-dot.closed {
    background: var(--warning);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(72, 187, 120, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0);
    }
}

/* Form error styling */
.form__error {
    background: var(--error);
    color: white;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin: 0;
}

/* Enhanced mobile navigation styles */
@media (max-width: 767px) {
    .nav__menu--active {
        animation: slideDown 0.3s ease forwards;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-pink: #d1477a;
        --primary-purple: #8b5cf6;
        --charcoal: #000000;
        --white: #ffffff;
    }
}