:root {
    --primary-color: #556B2F;
    /* Dark Olive Green */
    --secondary-color: #9370DB;
    /* Medium Purple (Lavender hint) */
    --accent-color: #D2691E;
    /* Chocolate/Earth */
    --bg-light: #F5F5F0;
    /* Off-white/Beige */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --card-bg: #FFFFFF;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    color: var(--text-light);
    position: relative;
    padding: 40px;
}

.hero-title {
    position: absolute;
    top: 40px;
    left: 40px;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin: 0;
    color: var(--text-light);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    max-width: 600px;
    line-height: 1.3;
    font-weight: 400;
    text-align: center;
}

.hero-contacts {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: flex-end;
}

.contact-highlight {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.contact-highlight:hover {
    transform: scale(1.05);
    background-color: #445725;
}

.contact-highlight i {
    margin-right: 15px;
}

.email-highlight {
    background-color: #D2691E;
    /* Dark Orange / Chocolate */
}

.email-highlight:hover {
    background-color: #3E2B24;
}

/* Toast Notification */
.toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 50px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

/* Sections General */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 5 columns */
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    /* Semi-transparent for dark theme */
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.card-icon {
    font-size: 2.5rem;
    color: #FFD700;
    /* Gold for contrast on dark */
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: #F5F5F0;
    /* Light text */
}

/* Blog Card Specifics */
.blog-card {
    background-color: rgba(147, 112, 219, 0.2);
    /* Slight purple tint */
    border: 1px solid rgba(147, 112, 219, 0.4);
}

.blog-card .card-icon {
    color: #E6E6FA;
}

/* Services Section Specifics */
.services-section {
    background-color: #5D4037;
    /* Dark Autumn Brown */
    color: #F5F5F0;
}

.services-section .section-title {
    color: #F5F5F0;
    font-size: 1.6rem;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
}

.services-section .section-title::after {
    background-color: #D2691E;
    /* Chocolate accent */
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 3rem;
        top: 20px;
        left: 20px;
    }

    .hero-contacts {
        bottom: 20px;
        right: 20px;
    }

    .contact-highlight {
        font-size: 1.2rem;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* Testimonials */
.testimonials-section {
    background-color: #556B2F;
    color: #F5F5F0;
    /* Light sage */
}

.testimonials-section .section-title {
    color: #FFD700;
    /* Gold color for better visibility on green background */
}

.personal-note {
    text-align: center;
    max-width: 800px;
    margin: -30px auto 40px;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #F5F5F0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    position: relative;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #F5F5F0;
}

.quote-icon {
    font-size: 2rem;
    color: #FFD700;
    opacity: 0.5;
    margin-bottom: 10px;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #F5F5F0;
}

.client-name {
    font-weight: bold;
    color: #FFD700;
    text-align: right;
}

/* Blog Page */
.blog-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
}

.blog-header h1 {
    color: var(--text-light);
    margin-top: 10px;
}

.back-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 10px;
}

.back-link:hover {
    color: #fff;
}

.blog-post {
    background: #FFF3E0;
    /* Light Orange/Cream background */
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    overflow: hidden;
    /* Ensure image respects border radius */
    padding: 0;
    /* Remove padding from container, move to content */
}

.blog-post-image {
    flex: 0 0 300px;
    /* Fixed width for image container */
    position: relative;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-post-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .blog-post {
        flex-direction: column;
    }

    .blog-post-image {
        flex: auto;
        height: 200px;
    }
}

.blog-post h2 {
    margin-bottom: 10px;
}

.date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.read-more-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: bold;
}

.coming-soon {
    text-align: center;
    padding: 40px;
    color: #777;
    font-style: italic;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 30px 0;
    margin-top: 0;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #cc5500;
}

.modal-title {
    color: #2c3e50;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.modal-option-copy {
    background: #fdf6ec;
    border: 1px solid #eecfa1;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    margin-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.modal-option-copy:active {
    transform: scale(0.98);
}

.modal-option-copy span {
    font-weight: bold;
    color: #cc5500;
}

.modal-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
    color: #888;
    font-size: 0.9rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background-color: #cc5500;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
}

.submit-btn:hover {
    background-color: #a04000;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* CAN Presentation Section */
.can-presentation-section {
    background-color: rgb(110, 4, 44);
    /* Light Salmon Tint */
    padding: 100px 0;
    color: #350a0a;
}

.can-promo-frame {
    display: flex;
    align-items: center;
    gap: 50px;
    background: #E9967A;
    /* Salmon Matte */
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.can-promo-content {
    flex: 1;
    text-align: center;
}

.promo-title {
    font-size: 2.5rem;
    color: #350a0a;
    /* Dark contrast */
    margin-bottom: 30px;
    line-height: 1.2;
}

.promo-btn {
    display: inline-block;
    background-color: #350a0a;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.promo-btn:hover {
    background-color: #D2691E;
    transform: translateY(-3px);
}

.can-promo-animation {
    flex: 1;
    height: 350px;
    background: #eee;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
    border: 4px solid white;
}

.promo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 11px;
}

.promo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 1;
}

.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.animated-plant {
    position: absolute;
    width: 150px;
    /* Adjusted size */
    height: 150px;
    opacity: 0;
    transform: scale(0.5);
    z-index: 10;
}

.animated-plant img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cursor-pointer {
    position: absolute;
    color: #333;
    font-size: 24px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    z-index: 20;
    pointer-events: none;
    top: 100%;
    left: 100%;
}

/* Animations */
@keyframes demoSequenceRefined {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0;
    }

    /* Move to pick plant */
    10% {
        transform: translate(-400px, -50px);
        opacity: 1;
    }

    /* Drag plant to X position (roughly 40% left, 65% top) */
    /* Container is say 500px wide. -400px relative to bottom-right is 100px. */
    /* Target: Left 40% of 500px = 200px. So move -300px. */
    30% {
        transform: translate(-300px, -150px);
    }

    /* Place plant */
    40% {
        transform: translate(-300px, -150px) scale(0.9);
    }

    /* Move away */
    60%,
    95% {
        transform: translate(100px, 100px);
        opacity: 0;
    }
}

@keyframes plantBloodgoodAppear {

    0%,
    29% {
        opacity: 0;
        transform: scale(0.5);
    }

    30% {
        opacity: 1;
        transform: scale(1);
    }

    40% {
        transform: scale(1.05);
    }

    85% {
        opacity: 1;
        transform: scale(1.05);
    }

    90%,
    100% {
        opacity: 0;
    }
}

.cursor-pointer {
    animation: demoSequenceRefined 6s infinite ease-in-out;
}

.plant-bloodgood {
    top: 60%;
    left: 35%;
    animation: plantBloodgoodAppear 6s infinite;
}

@media (max-width: 992px) {
    .can-promo-frame {
        flex-direction: column;
        text-align: center;
    }

    .promo-title {
        font-size: 2rem;
    }

    .can-promo-animation {
        width: 100%;
    }
}