/**
 * MURASEM - Consolidated CSS File
 * Contains all styles for the website
 */

/**** Base Colors ****/
:root {
    /* Theme colors */
    --primary-green: #4a7c59;
    --light-green: #7cb45a;
    --dark-green: #2b5035;
    --primary-yellow: #f5b841;
    --light-yellow: #fbdfaa;
    --light-bg: #f9f7f0;
    --text-dark: #333;
    --text-light: #fff;
    
    /* Original blue theme colors - kept for reference */
    --primary-blue: #3498db;
    --dark-blue: #2980b9;
}

/**** Reset and base styles ****/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

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

a {
    text-decoration: none;
    color: inherit;
}

/**** Buttons ****/
.btn-primary {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--dark-green), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-green);
    padding: 10px 25px;
    border: 2px solid var(--primary-green);
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--text-light);
}

/**** Navigation ****/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, var(--dark-green), var(--light-green));
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.navbar .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    padding: 0;
    margin: 0;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-yellow);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-yellow);
}

.nav-menu a.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-yellow);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 101; /* Ensure it's above the menu */
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Add styles for the active menu toggle */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/**** Hero Section ****/
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/animale_new.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding-top: 76px; /* Aceeași înălțime ca navbar-ul pentru a evita suprapunerea */
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/**** Introduction Section ****/
.intro {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--light-bg), var(--light-yellow));
}

.intro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var (--dark-green);
}

.intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-dark);
}

/**** Features Section ****/
.features {
    padding: 80px 0;
    text-align: center;
    background-color: var(--light-bg);
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark-green);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-green);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-green);
}

.feature-card p {
    color: var(--text-dark);
}

/**** Call-to-Action Section ****/
.cta {
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Removed newsletter button and form related CSS */

/**** Products Styling ****/
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-img {
    height: 200px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.product-info p {
    color: #7f8c8d;
    margin-bottom: 15px;
}

.price {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 1.1rem;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.filter-btn {
    background-color: var(--light-yellow);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-green);
    color: var(--text-light);
}

/**** Footer ****/
footer {
    background: linear-gradient(to right, var(--dark-green), var(--primary-green));
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-yellow);
}

.footer-section p {
    margin-bottom: 20px;
    color: #bdc3c7;
}

.contact span {
    display: block;
    margin-bottom: 10px;
    color: #bdc3c7;
}

.socials a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.2rem;
    color: white;
    transition: color 0.3s ease;
}

.socials a:hover {
    color: var(--primary-yellow);
}

.footer-section.links ul {
    list-style: none;
}

.footer-section.links li {
    margin-bottom: 10px;
}

.footer-section.links a {
    color: #bdc3c7;
    transition: all 0.3s ease;
}

.footer-section.links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.creator-credit {
    margin-top: 8px;
    font-size: 0.7rem;
    opacity: 0.5;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.creator-credit:hover {
    opacity: 0.7;
}

.creator-credit .fa-heart {
    animation: heartbeat 1.5s infinite;
    display: inline-block;
    margin: 0 3px;
    font-size: 0.7rem;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/**** Responsive Design ****/
@media screen and (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }
    
    .logo {
        margin-right: 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 76px; /* Adjusted to match navbar height */
        left: 0;
        width: 100%;
        background: linear-gradient(to right, var(--dark-green), var(--light-green));
        display: none;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 99;
        margin: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 20px 0;
        margin-left: 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        color: var(--text-light);
    }
    
    /* Fix footer contact elements alignment */
    .footer-section.about .contact {
        display: flex;
        flex-direction: column;
    }
    
    .footer-section.about .contact span {
        margin-bottom: 10px;
        display: inline-flex;
        align-items: center;
    }
    
    .footer-section.about .contact span i {
        margin-right: 8px;
        flex-shrink: 0;
    }

    /* Hero section - Corectează suprapunerea cu meniul și poziționarea butonului */
    .hero {
        height: 70vh !important;
        padding-top: 120px !important;
        min-height: auto !important;
    }
    
    .hero-content {
        padding: 0 15px;
        margin-top: -40px !important;
    }
    
    .hero h1 {
        font-size: 1.85rem !important;
        margin-bottom: 8px !important;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    }
    
    .hero p {
        font-size: 0.9rem !important;
        margin-bottom: 12px !important;
        line-height: 1.3;
    }
    
    .hero .btn-primary {
        margin-top: 0 !important;
        padding: 7px 18px !important;
        font-size: 0.85rem !important;
    }

    .feature-card {
        padding: 30px 20px;
    }

    /* Improved mobile menu */
    .menu-toggle {
        padding: 10px;  /* Larger touch target */
    }
    
    /* Add negative space at bottom of mobile menu for better UX */
    .nav-menu {
        padding-bottom: 100px;
    }
    
    /* Fix issue with mobile position:fixed cutting off content */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
    
    /* Improve font sizes on mobile */
    h1 {
        font-size: 2.2rem !important;
    }
    
    h2 {
        font-size: 1.8rem !important;
    }
    
    /* Improve spacing in sections on mobile */
    .coming-soon, .contact-page {
        padding: 40px 0;
    }
    
    /* Ajustări pentru secțiunile coming-soon pe mobil */
    .coming-soon {
        height: auto !important;
        min-height: auto !important;
        padding: 100px 0 40px 0 !important;
        margin-top: 0 !important;
    }
    
    .coming-soon-container {
        width: 92% !important;
        min-height: auto !important;
        padding: 25px 15px !important;
        margin: 20px auto 30px !important;
    }
    
    /* Improve form elements on mobile */
    input, textarea, button {
        font-size: 16px !important; /* Prevents iOS zoom on focus */
    }
    
    /* Add more space between form fields on mobile */

/* --- Scroll To Top Button --- */
#scrollTopBtn {
    position: fixed !important;
    right: 32px !important;
    bottom: 32px !important;
    left: auto !important;
    top: auto !important;
    z-index: 1200 !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-yellow)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 18px rgba(44,62,80,0.18) !important;
    font-size: 2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0.88 !important;
    transition: opacity 0.2s, transform 0.2s !important;
    cursor: pointer !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
#scrollTopBtn i {
    pointer-events: none !important;
}
#scrollTopBtn:hover, #scrollTopBtn:focus {
    opacity: 1 !important;
    transform: scale(1.07) !important;
}
#scrollTopBtn[hidden] {
    display: none !important;
}

@media screen and (max-width: 600px) {
    #scrollTopBtn {
        right: 16px !important;
        bottom: 16px !important;
        width: 56px !important;
        height: 56px !important;
        font-size: 2rem !important;
        box-shadow: 0 2px 10px rgba(44,62,80,0.22) !important;
    }
}


#scrollTopBtn:hover, #scrollTopBtn:focus {
    opacity: 1;
    transform: scale(1.07);
}
#scrollTopBtn[hidden] {
    display: none !important;
}

@media screen and (max-width: 600px) {
    #scrollTopBtn {
        right: 16px !important;
        bottom: 16px !important;
        width: 56px !important;
        height: 56px !important;
        font-size: 2rem !important;
        box-shadow: 0 2px 10px rgba(44,62,80,0.22) !important;
        padding: 0 !important;
    }
}
/* --- END Scroll To Top Button --- */

/* --- FORCE FLOATING STYLE FOR #scrollTopBtn --- */
#scrollTopBtn {
    display: none !important;
}

@media screen and (max-width: 600px) {
    #scrollTopBtn {
        position: fixed !important;
        right: 16px !important;
        bottom: 16px !important;
        left: auto !important;
        top: auto !important;
        z-index: 1200 !important;
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        max-width: 56px !important;
        max-height: 56px !important;
        background: linear-gradient(135deg, var(--primary-green), var(--primary-yellow)) !important;
        color: #fff !important;
        border: none !important;
        border-radius: 50% !important;
        box-shadow: 0 4px 18px rgba(44,62,80,0.18) !important;
        font-size: 2rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 0.88 !important;
        transition: opacity 0.2s, transform 0.2s !important;
        cursor: pointer !important;
        outline: none !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }
    #scrollTopBtn:hover, #scrollTopBtn:focus {
        opacity: 1 !important;
        transform: scale(1.07) !important;
    }
    #scrollTopBtn[hidden] {
        display: none !important;
    }
}

#scrollTopBtn i {
    pointer-events: none !important;
}
#scrollTopBtn:hover, #scrollTopBtn:focus {
    opacity: 1 !important;
    transform: scale(1.07) !important;
}
#scrollTopBtn[hidden] {
    display: none !important;
}
@media screen and (max-width: 600px) {
    #scrollTopBtn {
        right: 16px !important;
        bottom: 16px !important;
    }
}
/* --- END FORCE FLOATING STYLE --- */

}

/* Removed additional newsletter CSS fragments */

    .contact-field {
        margin-bottom: 25px;
    }
    
    /* Adjust contact form padding on small screens */
    .contact-form-container, .contact-info {
        padding: 25px 20px;
    }
    
    /* Increase touch targets on mobile */
    .footer-section.links li {
        padding: 8px 0;
    }
    
    /* Better spacing for footer items */
    .footer-section {
        margin-bottom: 30px;
    }

    /* Adaugă spațiu mai mare între secțiuni pe mobil */
    .cta {
        padding: 60px 0 70px;
        margin: 0 auto;
        max-width: 100%;
        flex-direction: column;
        gap: 15px;
        border-radius: 5px;
        box-shadow: none;
    }
    
    .cta h2 {
        margin-bottom: 15px;
    }
    
    .cta p {
        margin-bottom: 25px;
    }
}

/**** Newsletter Form ****/
.newsletter-container {
    max-width: 500px;
    margin: 0 auto;
    background: transparent;
    padding: 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.newsletter-form {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 450px;
}

.newsletter-input-group {
    display: flex;
    width: 100%;
    justify-content: center;
}

.newsletter-input {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.95rem;
    background-color: #f2f2ff;
    height: 40px;
    color: #555;
    text-align: center;
}

.newsletter-input:focus {
    outline: none;
    background-color: #fff;
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-submit-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: #f5b841;
    color: #225c2b;
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-submit-btn:hover {
    background: #e8a800;
}

.newsletter-submit-btn i {
    font-size: 1rem;
}

.newsletter-response {
    display: none;
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
}

.newsletter-success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #2e7d32;
}

.newsletter-error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #c62828;
}

@media (max-width: 768px) {
    .newsletter-input,
    .newsletter-submit-btn {
        height: 45px;
    }
}
