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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: url(images/background.jpg);
    min-height: 100vh;
    position: relative;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(34, 139, 34, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    min-height: 70px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #228b22;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #228b22;
}

.social-icon {
    display: flex;
    align-items: center;
}

.social-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon a:hover {
    background: #228b22;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 30vh;
    max-height: 30vh;
    min-height: 250px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-nav svg {
    color: #333;
}

/* Pagination Dots */
.slider-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active,
.pagination-dot:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
}

/* Main Content */
.main-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin: 0 auto 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 80%;
    max-width: 960px;
}

.content-wrapper {
    padding: 3rem 2rem;
    margin: 0 auto;
    text-align: center;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    text-align: center;
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 2rem;
    text-align: center;
}

.intro-text {
    margin-bottom: 2.5rem;
    text-align: left;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 0;
}

.info-section {
    margin-bottom: 2.5rem;
}

.hours h4,
.contact h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.hours,
.contact {
    margin-bottom: 1rem;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.facebook-link,
.catalogue-link {
    color: #000;
    text-decoration: underline;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.facebook-link:hover,
.catalogue-link:hover {
    color: #228b22;
}

/* Video Section */
.video-section {
    margin-top: 2rem;
}

.video-player {
    width: 100%;
    max-width: 600px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.video-player:hover {
    transform: scale(1.02);
}

.video-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .nav-menu ul {
        gap: 1.5rem;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .hero {
        height: 30vh;
        max-height: 30vh;
        min-height: 200px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
    }

    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }

    .content-wrapper {
        padding: 2rem 1.5rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .intro-text p {
        font-size: 1rem;
    }

    .video-player {
        height: 250px;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu ul {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }

    .hero {
        height: 25vh;
        max-height: 25vh;
        min-height: 180px;
    }

    .content-wrapper {
        padding: 1.5rem 1rem;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .hours h4,
    .contact h4 {
        font-size: 1rem;
    }

    .facebook-link,
    .catalogue-link {
        font-size: 1rem;
    }

    .video-player {
        height: 200px;
    }

    .play-button {
        width: 50px;
        height: 50px;
    }
}

/* Additional responsive adjustments for very small screens */
@media (max-width: 320px) {
    .logo h1 {
        font-size: 1.1rem;
    }

    .nav-menu ul {
        gap: 0.8rem;
    }

    .nav-menu a {
        font-size: 0.85rem;
    }

    .main-title {
        font-size: 1.6rem;
    }

    .content-wrapper {
        padding: 1rem 0.8rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
a:focus {
    outline: 2px solid #228b22;
    outline-offset: 2px;
}

/* Plants Page Styles */
.plants-page .content-wrapper {
    padding: 2rem 1rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
    text-align: center;
}

.plants-page .intro-text {
    margin-bottom: 3rem;
    text-align: center;
}

.plants-page .intro-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

.plant-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #228b22;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: capitalize;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.image-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f8f9fa;
}

.image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.image-item:hover img {
    transform: scale(1.05);
}

.image-item.hidden {
    display: none;
}

.show-more-btn {
    display: block;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    background: #228b22;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: #1e7b1e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 139, 34, 0.3);
}

/* Modal Lightbox Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-caption {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 1rem;
    text-align: center;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #228b22;
    text-decoration: none;
}

/* Responsive Design for Plants Page */
@media (max-width: 1024px) {
    .image-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .plants-page .content-wrapper {
        padding: 1.5rem 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .image-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 15px;
    }

    .modal-content img {
        max-height: 60vh;
    }

    .close {
        top: 10px;
        right: 25px;
        font-size: 30px;
    }

    .show-more-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .plants-page .content-wrapper {
        padding: 1rem 0.5rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .category-title {
        font-size: 1.3rem;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .modal-content {
        margin: 15% auto;
        padding: 10px;
    }

    .modal-content img {
        max-height: 50vh;
    }

    .modal-caption {
        font-size: 1rem;
    }

    .close {
        top: 5px;
        right: 20px;
        font-size: 25px;
    }
}

/* Guarantee Page Styles */
.guarantee-page .content-wrapper {
    padding: 3rem 2rem;
}

.guarantee-content {
    text-align: left;
    line-height: 1.8;
}

.guarantee-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.guarantee-content .signature {
    font-style: italic;
    margin-top: 2rem;
    text-align: left;
}

/* Contact Page Styles */
.contact-page .content-wrapper {
    padding: 2rem 1rem;
}

.contact-info {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-info a {
    color: #000;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #228b22;
}

.map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
}

/* Footer Styles */
.footer {
    background: #000;
    margin-top: 2rem;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    padding: 1rem 0;
    margin: 0;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-nav a:hover,
.footer-nav a.active {
    color: #228b22;
}

.footer-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #228b22;
}

/* Responsive Design for Guarantee and Contact Pages */
@media (max-width: 768px) {
    .guarantee-page .content-wrapper,
    .contact-page .content-wrapper {
        padding: 2rem 1rem;
    }

    .guarantee-content p,
    .contact-info p {
        font-size: 1rem;
    }

    .map-container iframe {
        height: 300px;
    }

    .footer-nav ul {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .footer-nav a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .guarantee-page .content-wrapper,
    .contact-page .content-wrapper {
        padding: 1.5rem 0.8rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .map-container iframe {
        height: 250px;
    }

    .footer-nav ul {
        gap: 1rem;
    }

    .footer-nav a {
        font-size: 0.85rem;
    }
}

/* Print styles */
@media print {
    .header,
    .hero,
    .video-section,
    .modal,
    .footer {
        display: none;
    }

    .main-content {
        box-shadow: none;
        background: white;
    }

    .image-item {
        break-inside: avoid;
        margin-bottom: 1rem;
    }

    .show-more-btn {
        display: none;
    }

    .map-container {
        display: none;
    }
}
