/* ClairFinance - Main Stylesheet
   Color Palette:
   - Primary: #083D77 (dark azure)
   - Secondary: #FF6B35 (coral orange)
   - Accents: #B5FFE1 (light mint), #F4EBD9 (warm beige)
   - Background: #FFFFFF (white), #F9F9F9 (light gray)
*/

/* Reset & Base Styles */
:root {
    --primary: #083D77;
    --secondary: #FF6B35;
    --accent1: #B5FFE1;
    --accent2: #F4EBD9;
    --white: #FFFFFF;
    --light-gray: #F9F9F9;
    --dark-gray: #333333;
    --text: #2D2D2D;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary);
}

h1 {
    font-size: 3rem;
    margin-bottom: 24px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: var(--dark-gray);
    font-weight: 600;
    padding: 5px;
    position: relative;
}

.nav-menu a:hover {
    color: var(--secondary);
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-menu a:hover:after {
    width: 100%;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    background: linear-gradient(to right, var(--white) 50%, var(--accent1) 50%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    max-height: 500px;
    object-fit: cover;
}

/* About Section */
.about {
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-values {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.value-item {
    flex: 1;
    min-width: 250px;
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-item .icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    color: var(--secondary);
}

/* Services Section */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary);
}

.service-image {
    margin: 20px 0;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.service-image img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.service-image img:hover {
    transform: scale(1.05);
}

.service-card h3 {
    margin-top: 15px;
}

.service-card p {
    margin-bottom: 25px;
    color: var(--dark-gray);
}

/* Benefits Section */
.benefits {
    background-color: var(--primary);
    color: var(--white);
}

.benefits h2 {
    color: var(--white);
}

.benefits h2:after {
    background-color: var(--accent1);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.benefit-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.benefit-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent1);
    margin-bottom: 15px;
    opacity: 0.7;
}

.benefit-item h3 {
    color: var(--white);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-gray);
}

.testimonial-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.testimonial-image {
    flex: 1;
    min-width: 300px;
}

.testimonial-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 340px;
    object-fit: cover;
}

.testimonial-text {
    flex: 1;
    min-width: 300px;
}

.testimonial-carousel {
    position: relative;
}

.testimonial-item {
    display: none;
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.testimonial-item.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-item p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author span {
    color: var(--secondary);
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--accent2);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--secondary);
    transform: scale(1.2);
}

/* CTA Section */
.cta {
    background-color: var(--secondary);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--white);
}

.cta h2:after {
    background-color: var(--accent1);
}

.cta .btn-primary {
    background-color: var(--white);
    color: var(--secondary);
    margin-top: 20px;
}

.cta .btn-primary:hover {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(8, 61, 119, 0.2);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-detail .icon {
    width: 25px;
    height: 25px;
    color: var(--secondary);
    flex-shrink: 0;
}

.contact-detail h3 {
    margin-bottom: 5px;
}

.contact-map {
    margin-top: 30px;
}

.contact-map img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Footer Styles */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo svg {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent1);
}

.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-contact h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-popup .btn {
    margin-top: 10px;
}

.cookie-popup.hidden {
    display: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding-top: 120px;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .hero-content {
        text-align: center;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .about-text {
        margin-bottom: 30px;
    }
    
    .testimonial-image {
        display: none;
    }
    
    .nav-menu {
        display: none;
        margin-top: 15px;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
}

@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .benefit-item,
    .service-card,
    .value-item {
        padding: 20px;
    }
} 