/* Base styles */
:root {
    --primary-color: #4a6c6f;
    --secondary-color: #8ba3a6;
    --accent-color: #d9ae94;
    --dark-color: #333333;
    --light-color: #f9f9f9;
    --text-color: #444444;
    --heading-color: #2e4446;
    --link-color: #619b8a;
    --link-hover: #4f7c71;
    --success-color: #619b8a;
    --error-color: #e76f51;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

/* Reset & General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--link-color);
    transition: var(--transition);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

button, .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-align: center;
}

button:hover, .btn:hover {
    background-color: var(--link-hover);
    transform: translateY(-2px);
}

input, textarea, select {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-main);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

section {
    padding: 4rem 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

header h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 1.5rem;
}

nav a {
    font-weight: 600;
    color: var(--dark-color);
    position: relative;
    padding: 0.5rem 0;
}

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

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

nav a i {
    margin-right: 0.3rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 5rem 5%;
    background-color: var(--light-color);
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Tip of the Day */
.daily-tip {
    background-color: var(--accent-color);
    padding: 2rem 5%;
    margin: 2rem 5%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.tip-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.tip-header h2 {
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 0;
}

.tip-header h2 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.tip-content p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0;
}

/* Featured Posts */
.featured-posts {
    padding: 4rem 5%;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.featured-posts h2 i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.post-content p {
    color: var(--text-color);
    margin-bottom: 1.2rem;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-block;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 0.3rem;
    transition: var(--transition);
}

.read-more:hover::after {
    margin-left: 0.6rem;
}

/* Newsletter */
.newsletter {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 4rem 5%;
    margin-top: 2rem;
}

.newsletter h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex-grow: 1;
    margin-right: 0.5rem;
    margin-bottom: 0;
    border: none;
}

.newsletter-form .btn {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

.newsletter-form .btn:hover {
    background-color: #c89d84;
}

/* Blog Page Styles */
.blog-container {
    padding: 0 5%;
}

.blog-header {
    text-align: center;
    padding: 3rem 0;
}

.blog-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.blog-content {
    max-width: 1000px;
    margin: 0 auto;
}

.blog-post {
    margin-bottom: 4rem;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.blog-post:last-child {
    margin-bottom: 0;
}

.post-image {
    height: 400px;
}

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

.post-details {
    padding: 2rem;
}

.post-details h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.post-details h3 i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #777;
}

.post-meta span {
    display: flex;
    align-items: center;
}

.post-meta i {
    margin-right: 0.3rem;
}

.post-excerpt h4 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem;
}

.read-more-toggle {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

.read-more-toggle::after {
    content: '→';
    margin-left: 0.3rem;
    transition: var(--transition);
}

.read-more-toggle:hover::after {
    margin-left: 0.6rem;
}

/* About Page Styles */
.about-header {
    text-align: center;
    padding: 3rem 5%;
}

.about-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.about-story {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem 5%;
    background-color: white;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.about-content {
    flex: 1;
}

.about-content h3 {
    margin-bottom: 1.5rem;
}

.about-content h3 i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.team-section {
    padding: 4rem 5%;
    text-align: center;
}

.team-section h3 {
    margin-bottom: 3rem;
}

.team-section h3 i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.3rem;
    margin: 1.2rem 0 0.3rem;
}

.team-member p {
    padding: 0 1rem;
    margin-bottom: 0.8rem;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0 1.5rem;
}

.member-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.values-section {
    padding: 4rem 5%;
    background-color: var(--light-color);
    text-align: center;
}

.values-section h3 {
    margin-bottom: 3rem;
}

.values-section h3 i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 0.95rem;
}

/* Contact Page Styles */
.contact-header {
    text-align: center;
    padding: 3rem 5%;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    padding: 2rem 5%;
}

.contact-info h3, .contact-form-container h3 {
    margin-bottom: 2rem;
}

.contact-info h3 i, .contact-form-container h3 i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    min-width: 30px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    margin-bottom: 0.3rem;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.form-checkbox input {
    width: auto;
    margin-right: 0.8rem;
    margin-top: 0.3rem;
}

.form-checkbox label {
    font-weight: 400;
    font-size: 0.9rem;
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

.map-section {
    padding: 4rem 5%;
    text-align: center;
}

.map-section h3 {
    margin-bottom: 2rem;
}

.map-section h3 i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq-section {
    padding: 4rem 5%;
    background-color: var(--light-color);
}

.faq-section h3 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-section h3 i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.faq-item p {
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 0 5% 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links h4, .footer-contact h4 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #ccc;
    transition: var(--transition);
}

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

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    color: #ccc;
}

.footer-contact p i {
    margin-right: 0.8rem;
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 0;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    z-index: 1000;
    display: none;
}

.cookie-content {
    padding: 1.5rem;
}

.cookie-content p {
    margin-bottom: 1.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn-accept {
    background-color: var(--success-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-customize {
    background-color: transparent;
    color: var(--dark-color);
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.btn-decline {
    background-color: transparent;
    color: var(--error-color);
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--error-color);
    cursor: pointer;
    transition: var(--transition);
}

.btn-accept:hover {
    background-color: #4f7c71;
}

.btn-customize:hover {
    background-color: #f0f0f0;
}

.btn-decline:hover {
    background-color: rgba(231, 111, 81, 0.1);
}

.cookie-more {
    font-size: 0.9rem;
    color: var(--link-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #aaa;
}

.close-modal:hover {
    color: var(--dark-color);
}

.modal-icon {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.modal-btn {
    margin-top: 1.5rem;
    background-color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero {
        flex-direction: column;
    }
    
    .about-story {
        flex-direction: column;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .daily-tip, .featured-posts, .newsletter, 
    .about-header, .about-story, .team-section, .values-section,
    .contact-header, .contact-content, .map-section, .faq-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .blog-container {
        padding: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-links h4::after, .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
