/* Base Styles */
:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFD166;
    --dark-color: #2A363B;
    --light-color: #F7FFF7;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #FF9E7A);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #6BE4D8);
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease-in-out;
    --font-primary: 'Nunito', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
}

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

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

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

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

ul {
    list-style: none;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

.highlight-on-hover {
    position: relative;
    display: inline-block;
    transition: var(--transition);
}

.highlight-on-hover:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.highlight-on-hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.highlight-on-hover:hover::after {
    width: 100%;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 107, 107, 0.3);
    color: white;
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--dark-color);
    box-shadow: var(--box-shadow);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(78, 205, 196, 0.3);
    color: var(--dark-color);
}

.btn-cookie {
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    margin: 0 5px;
}

.btn-cookie.accept {
    background-color: var(--secondary-color);
    color: white;
}

.btn-cookie.customize, .btn-cookie.decline {
    background-color: transparent;
    border: 1px solid var(--dark-color);
    color: var(--dark-color);
}

.btn-cookie:hover {
    transform: translateY(-2px);
}

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

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

.logo {
    width: 120px;
    height: auto;
}

.nav-links {
    display: flex;
}

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

.nav-links a {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 5px 0;
    position: relative;
}

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

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

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

/* Hero Section */
.hero {
    display: flex;
    padding: 80px 5%;
    background-color: #fff;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Countdown Timer */
.countdown-container {
    margin: 20px 0 30px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.countdown-container h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

#countdown {
    display: flex;
    justify-content: space-between;
}

.countdown-box {
    text-align: center;
    background: var(--gradient-secondary);
    color: white;
    padding: 15px;
    border-radius: var(--border-radius);
    min-width: 80px;
    box-shadow: 0 3px 10px rgba(78, 205, 196, 0.3);
}

.countdown-box span {
    display: block;
}

#days, #hours, #minutes, #seconds {
    font-size: 1.8rem;
    font-weight: 700;
}

.countdown-label {
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Featured Posts Section */
.featured-posts {
    padding: 80px 5%;
    background-color: #f9f9f9;
    text-align: center;
}

.featured-posts h2 {
    margin-bottom: 40px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.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(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.post-content {
    padding: 20px;
}

.post-content h3 {
    margin-bottom: 10px;
}

.post-content p {
    margin-bottom: 15px;
    color: #555;
}

/* About Preview Section */
.about-preview {
    display: flex;
    padding: 80px 5%;
    align-items: center;
    justify-content: space-between;
    background-color: white;
}

.about-content {
    flex: 1;
    padding-right: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 5% 20px;
}

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

.footer-logo p {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.logo-small {
    width: 100px;
    height: auto;
}

.footer-links ul {
    margin-top: 10px;
}

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

.footer-links a {
    color: white;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-social h4 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

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

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

.legal-links {
    margin-top: 10px;
}

.legal-links a {
    color: white;
    margin: 0 10px;
    opacity: 0.8;
}

.legal-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

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

.cookie-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-buttons {
    margin-bottom: 10px;
}

.cookie-more-info {
    font-size: 0.9rem;
    text-decoration: underline;
    margin-top: 10px;
}

/* Blog Page Styles */
.blog-header {
    text-align: center;
    padding: 60px 5% 30px;
    background-color: #f9f9f9;
}

.blog-posts {
    padding: 40px 5% 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.post-card-large {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
    transition: var(--transition);
}

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

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

.post-date {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.post-excerpt {
    margin-bottom: 20px;
}

/* About Page Styles */
.about-header {
    text-align: center;
    padding: 60px 5% 30px;
    background-color: #f9f9f9;
}

.about-story {
    display: flex;
    padding: 60px 5%;
    align-items: center;
    background-color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
    padding: 60px 5%;
    background-color: #f9f9f9;
}

.value-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.value-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.our-values {
    text-align: center;
    padding-top: 60px;
    background-color: #f9f9f9;
}

.team-section {
    text-align: center;
    padding: 80px 5%;
    background-color: white;
}

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

.team-card {
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.team-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.team-card h3 {
    margin: 15px 0 5px;
}

.team-card p {
    padding: 0 15px 15px;
    margin-bottom: 10px;
}

.team-card .social-icons {
    justify-content: center;
    margin-bottom: 20px;
}

.testimonials {
    padding: 80px 5%;
    background-color: #f9f9f9;
    text-align: center;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin-top: 40px;
    padding-bottom: 20px;
}

.testimonial-slider::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.testimonial-slider::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.testimonial-slider::-webkit-scrollbar-track {
    background: transparent;
}

.testimonial-card {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 300px;
    margin-right: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    transition: var(--transition);
}

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

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-content h4 {
    color: var(--primary-color);
}

/* Contact Page Styles */
.contact-header {
    text-align: center;
    padding: 60px 5% 30px;
    background-color: #f9f9f9;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    padding: 60px 5%;
    background-color: white;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding-right: 50px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-icon {
    margin-right: 15px;
    color: var(--primary-color);
}

.info-text h3 {
    margin-bottom: 5px;
}

.social-media-contact h3 {
    margin-bottom: 15px;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.map-section {
    padding: 60px 5% 80px;
    background-color: #f9f9f9;
    text-align: center;
}

.map-container {
    margin-top: 30px;
}

.responsive-map {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.responsive-map iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

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

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border-radius: var(--border-radius);
    width: 80%;
    max-width: 500px;
    box-shadow: var(--box-shadow);
    position: relative;
}

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

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

.thank-you-container {
    text-align: center;
    padding: 20px;
}

.thank-you-container svg {
    margin-bottom: 15px;
}

.thank-you-container h2 {
    margin-bottom: 15px;
}

.thank-you-container p {
    margin-bottom: 20px;
}

/* Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 5% 80px;
}

.post-header {
    text-align: center;
    margin-bottom: 30px;
}

.post-meta {
    display: flex;
    justify-content: center;
    color: #777;
    font-size: 0.9rem;
    margin-top: 10px;
}

.post-meta span {
    margin: 0 10px;
}

.post-featured-image {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-content {
    line-height: 1.8;
}

.post-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-inline-image {
    margin: 30px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-tags {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
}

.tag {
    background-color: #f0f0f0;
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-navigation {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.prev-post, .next-post, .back-to-blog {
    margin: 10px 0;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero, .about-preview, .about-story {
        flex-direction: column;
    }
    
    .hero-content, .about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .countdown-box {
        min-width: 60px;
        padding: 10px;
    }
    
    #days, #hours, #minutes, #seconds {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    
    .nav-links {
        margin-top: 20px;
    }
    
    .nav-links li {
        margin: 0 15px;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .post-card-large img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 5px 10px;
    }
    
    .hero, .about-preview, .featured-posts, .blog-posts, .about-story, .contact-container {
        padding: 40px 5%;
    }
    
    .countdown-container {
        padding: 15px;
    }
    
    #countdown {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .countdown-box {
        margin: 5px;
    }
    
    .modal-content {
        width: 95%;
    }
}

/* Icon styles */
.icon-location, .icon-phone, .icon-email {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-location {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23FFD166'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

.icon-phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23FFD166'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

.icon-email {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23FFD166'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}
