/* Hand-drawn Floral Shop CSS */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Indie+Flower&family=Patrick+Hand&display=swap');

:root {
    --primary-color: #183716;
    --secondary-color: #D52217;
    --accent-color: #DB5559;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Patrick Hand', cursive;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hand-drawn effect */
.hand-drawn,
.btn,
.card,
.service-tile,
.advantage-card,
.program-card,
.package-card,
.contact-info-card,
.schedule-card,
.plant-category-card {
    position: relative;
}

.hand-drawn::before,
.btn::before,
.card::before,
.service-tile::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: transparent;
    border: 2px solid currentColor;
    border-radius: inherit;
    transform: rotate(-0.5deg);
    opacity: 0.3;
    pointer-events: none;
}

/* Navigation */
.navbar {
    background: #fff !important;
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    transition: all 0.3s;
}

.navbar-brand:hover {
    transform: rotate(-2deg);
    color: var(--secondary-color) !important;
}

.nav-link {
    font-size: 1.1rem;
    margin: 0 0.5rem;
    color: var(--dark-text) !important;
    position: relative;
    transition: all 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

/* Hero Split Screen */
.hero-split {
    min-height: 80vh;
}

.hero-left {
    background: linear-gradient(135deg, var(--light-bg) 0%, #fff 100%);
    padding: 3rem;
}

.hero-right {
    position: relative;
    overflow: hidden;
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(10%);
}

.hero-content h1 {
    font-family: 'Caveat', cursive;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: wobble 2s ease-in-out infinite;
}

@keyframes wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-1deg); }
    75% { transform: rotate(1deg); }
}

/* Buttons */
.btn-primary {
    background: var(--secondary-color);
    border: 3px solid var(--primary-color);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--primary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px) rotate(-1deg);
    box-shadow: 5px 5px 0 var(--accent-color);
}

.btn-outline-primary {
    background: transparent;
    border: 3px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px) rotate(1deg);
    box-shadow: 5px 5px 0 var(--secondary-color);
}

.btn-light {
    background: #fff;
    border: 3px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-light:hover {
    background: var(--light-bg);
    transform: translateY(-3px);
}

.btn-outline-light {
    border: 3px solid #fff;
    color: #fff;
    font-weight: 600;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.btn-outline-secondary {
    border: 2px solid var(--dark-text);
    color: var(--dark-text);
}

/* Service Tiles */
.service-tile {
    background: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    transition: all 0.3s;
    box-shadow: 4px 4px 0 var(--light-bg);
}

.service-tile:hover {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: 8px 8px 0 var(--accent-color);
}

.service-tile i {
    transition: all 0.3s;
}

.service-tile:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--secondary-color) !important;
}

/* Cards */
.advantage-card,
.advantage-box,
.program-card,
.feature-card {
    background: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    transition: all 0.3s;
    box-shadow: 3px 3px 0 var(--light-bg);
}

.advantage-card:hover,
.program-card:hover,
.feature-card:hover {
    transform: translateY(-5px) rotate(0.5deg);
    box-shadow: 6px 6px 0 var(--accent-color);
}

/* Package Cards */
.package-card {
    background: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

.package-header {
    border-bottom: 3px solid var(--primary-color);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 10px 10px 0 var(--accent-color);
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    border: 3px solid var(--primary-color);
}

.gallery-item img {
    transition: all 0.5s;
    filter: grayscale(20%);
}

.gallery-item:hover img {
    transform: scale(1.1) rotate(2deg);
    filter: grayscale(0%);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(24, 55, 22, 0.9);
    color: #fff;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: all 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Category Tiles */
.category-tile {
    background: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 5px 5px 0 var(--light-bg);
}

.category-tile:hover {
    transform: translateY(-8px) rotate(-0.5deg);
    box-shadow: 10px 10px 0 var(--accent-color);
}

.category-content {
    background: #fff;
}

/* Plant Category Cards */
.plant-category-card {
    background: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    transition: all 0.3s;
}

.plant-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 0 var(--secondary-color);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-left: 120px;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: 35px;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
}

.timeline-content {
    background: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 4px 4px 0 var(--light-bg);
}

/* Schedule Cards */
.schedule-card {
    background: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    transition: all 0.3s;
}

.schedule-card:hover {
    transform: translateY(-5px) rotate(0.5deg);
    box-shadow: 6px 6px 0 var(--accent-color);
}

/* Contact Info Cards */
.contact-info-card {
    background: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    transition: all 0.3s;
    box-shadow: 3px 3px 0 var(--light-bg);
}

.contact-info-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 6px 6px 0 var(--secondary-color);
}

/* Form */
.contact-form-wrapper {
    border: 3px solid var(--primary-color);
    border-radius: 20px;
}

.form-control,
.form-select {
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 0.75rem;
    font-family: 'Patrick Hand', cursive;
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(213, 34, 23, 0.25);
}

/* Trust Badges */
.trust-badge {
    padding: 2rem;
    transition: all 0.3s;
}

.trust-badge:hover {
    transform: scale(1.1) rotate(-2deg);
}

.trust-badge i {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Accordion */
.accordion-item {
    border: 3px solid var(--primary-color) !important;
    border-radius: 15px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.1rem;
    font-weight: 600;
    background: #fff;
    color: var(--primary-color);
    border: none !important;
}

.accordion-button:not(.collapsed) {
    background: var(--light-bg);
    color: var(--secondary-color);
}

.accordion-button:focus {
    box-shadow: none;
}

/* Badges */
.badge {
    font-family: 'Patrick Hand', cursive;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--light-bg) 0%, #fff 100%);
    border-bottom: 4px solid var(--primary-color);
}

.page-header h1 {
    font-family: 'Caveat', cursive;
    color: var(--primary-color);
    font-weight: 700;
}

/* Footer */
footer {
    background: var(--primary-color) !important;
    border-top: 5px solid var(--secondary-color);
}

footer a:hover {
    color: var(--accent-color) !important;
    transform: translateX(5px);
    transition: all 0.3s;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 1.5rem 0;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s;
    border-top: 4px solid var(--secondary-color);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Master Cards */
.master-card {
    background: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    transition: all 0.3s;
}

.master-card:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px 0 var(--accent-color);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-split {
        min-height: auto;
    }
    
    .hero-left,
    .hero-right {
        padding: 2rem 1rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        left: 5px;
    }
}

@media (max-width: 767px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 575px) {
    .service-tile,
    .advantage-card,
    .program-card {
        margin-bottom: 1rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
    }
}

/* Min-width 320px */
@media (min-width: 320px) {
    body {
        min-width: 320px;
        font-size: 14px;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Utilities */
.text-decoration-none:hover {
    text-decoration: underline !important;
}

.rounded {
    border-radius: 15px !important;
}

.shadow {
    box-shadow: 5px 5px 0 var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: 3px 3px 0 var(--primary-color) !important;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

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