/* Base Styles */
:root {
    --primary-color: #e74c3c;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --text-color: #333;
    --text-light: #777;
    --border-color: #ddd;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

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

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

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

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-weight: 500;
}

.btn:hover {
    background-color: darken(var(--primary-color), 10%);
    color: white;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: darken(var(--secondary-color), 10%);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Header */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    height: 60px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
}

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

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
}

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

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

/* Hero Section */
.hero {
    background-color: var(--secondary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    background-image: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-box {
    padding: 30px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

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

.feature-box .icon svg {
    width: 50px;
    height: 50px;
}

.feature-box h3 {
    margin-bottom: 15px;
}

/* Latest Posts Section */
.latest-posts {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.latest-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.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: 20px;
}

.post-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.post-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

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

.see-all {
    text-align: center;
    margin-top: 40px;
}

/* Calculator Section */
.calculator {
    padding: 80px 0;
    background-color: white;
    text-align: center;
}

.calculator h2 {
    margin-bottom: 10px;
}

.calculator p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.calculator-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

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

.form-group select,
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.calculation-result {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--success-color);
    color: white;
    border-radius: var(--border-radius);
    display: none;
}

/* Countdown Section */
.countdown {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
}

.countdown h2 {
    color: white;
    margin-bottom: 30px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.countdown-item {
    margin: 0 15px;
    min-width: 80px;
}

.countdown-item span {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.countdown-item p {
    margin-top: 5px;
    font-size: 1rem;
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
}

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

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
}

.footer-column ul li a:hover {
    color: white;
}

.social-media {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

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

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* Page Header */
.page-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 10px;
}

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

/* Blog Page */
.blog-content {
    padding: 60px 0;
}

.post {
    max-width: 800px;
    margin: 0 auto 60px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

.post-header {
    position: relative;
}

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

.post-header h2 {
    padding: 20px 30px 0;
    margin-bottom: 10px;
}

.post-meta {
    padding: 0 30px 20px;
    color: var(--text-light);
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color);
}

.post-meta span {
    margin-right: 20px;
}

.post-body {
    padding: 30px;
}

.post-body h3 {
    margin-top: 30px;
}

/* About Page */
.about-content {
    padding: 60px 0;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.about-values {
    padding: 60px 0;
    background-color: var(--light-color);
}

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

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

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

.team-section {
    padding: 60px 0;
    text-align: center;
}

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

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

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

.team-member h3 {
    margin-top: 20px;
}

.team-member p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

.achievements {
    padding: 60px 0;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
}

.achievements h2 {
    color: white;
}

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

.achievement-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.testimonials {
    padding: 60px 0;
    text-align: center;
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-top: 40px;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 0 20px;
}

.testimonial-content {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.testimonial-author {
    margin-top: 20px;
}

/* Services Page */
.services-content {
    padding: 60px 0;
}

.services-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

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

.service-icon svg {
    width: 50px;
    height: 50px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card ul {
    margin-bottom: 20px;
}

.process-section {
    padding: 60px 0;
    background-color: var(--light-color);
    text-align: center;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}

.process-step {
    flex: 1 1 200px;
    max-width: 250px;
    margin: 0 15px 30px;
    position: relative;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.pricing {
    padding: 60px 0;
    text-align: center;
}

.pricing-table {
    max-width: 900px;
    margin: 40px auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.pricing-header {
    display: flex;
    background-color: var(--secondary-color);
    color: white;
    font-weight: 700;
}

.pricing-row {
    display: flex;
    background-color: white;
    border-bottom: 1px solid var(--border-color);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-cell {
    flex: 1;
    padding: 15px;
    text-align: left;
}

.pricing-note {
    max-width: 600px;
    margin: 30px auto 0;
}

.brands {
    padding: 60px 0;
    background-color: var(--light-color);
    text-align: center;
}

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

.brand {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.brand h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.brand ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.brand ul li {
    padding: 5px 0;
    border-bottom: 1px solid var(--border-color);
}

.brand ul li:last-child {
    border-bottom: none;
}

.cta-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-buttons {
    margin-top: 30px;
}

.cta-buttons .btn {
    margin: 0 10px;
}

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

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

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
}

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

/* Contact Page */
.contact-content {
    padding: 60px 0;
}

.contact-info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.contact-info {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.info-item {
    display: flex;
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item .icon {
    flex: 0 0 40px;
    color: var(--primary-color);
}

.info-content {
    padding-left: 15px;
}

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

.info-content p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.map-container {
    height: 100%;
    min-height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-form-section {
    max-width: 800px;
    margin: 0 auto 60px;
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.contact-form-section h2 {
    margin-bottom: 10px;
}

.contact-form-section p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.contact-form {
    text-align: left;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

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

.form-checkbox input {
    width: auto;
    margin-right: 10px;
}

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

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    margin-bottom: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    flex: 1;
}

.faq-toggle {
    flex: 0 0 20px;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    transform: rotate(0);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
}

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

.thank-you-message {
    padding: 20px 0;
}

.thank-you-message svg {
    color: var(--success-color);
    margin-bottom: 20px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    color: white;
    padding: 15px 0;
    z-index: 999;
    display: none;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
}

.cookie-buttons button {
    margin: 0 5px 10px;
}

.btn-accept {
    background-color: var(--success-color);
}

.btn-customize {
    background-color: var(--accent-color);
}

.btn-decline {
    background-color: var(--text-light);
}

.cookie-content a {
    color: white;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-info-section {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        min-height: 400px;
    }
    
    .process-step {
        margin-bottom: 40px;
    }
    
    .pricing-cell {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    header {
        height: auto;
        padding: 15px 0;
    }
    
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .post-header img {
        height: 250px;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features .container,
    .post-grid,
    .team-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-item {
        margin: 0 10px;
        min-width: 60px;
    }
    
    .countdown-item span {
        font-size: 2rem;
    }
    
    .pricing-table {
        display: block;
    }
    
    .pricing-header {
        display: none;
    }
    
    .pricing-row {
        display: block;
        margin-bottom: 20px;
    }
    
    .pricing-cell {
        display: block;
        text-align: center;
    }
    
    .pricing-cell:first-child {
        font-weight: 700;
        background-color: var(--light-color);
    }
    
    .cta-buttons .btn {
        display: block;
        margin: 10px auto;
        max-width: 200px;
    }
}
