/* 
   HeARTful Expressions - Custom Styles
   Based on the color scheme from the logo
*/

/* ===== Variables ===== */
:root {
    /* Primary Colors (from heart in logo) */
    --primary: #e83a54;
    --primary-light: #ff6b8b;
    --primary-dark: #c01f3e;
    
    /* Secondary Colors (from paintbrushes in logo) */
    --secondary: #3498db;
    --secondary-light: #5dade2;
    --secondary-dark: #2874a6;
    
    /* Accent Colors (from palette and leaves in logo) */
    --accent-yellow: #f1c40f;
    --accent-orange: #e67e22;
    --accent-green: #2ecc71;
    
    /* Neutral Colors */
    --dark: #333333;
    --medium: #777777;
    --light: #f5f5f5;
    --white: #ffffff;
    
    /* Fonts */
    --font-heading: 'Caveat', cursive;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Border Radius */
    --border-radius: 8px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===== Base Styles ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    color: var(--primary-dark);
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: var(--spacing-xs) auto 0;
}

/* ===== Header & Navigation ===== */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

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

.logo img {
    height: 60px;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: var(--spacing-md);
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

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

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    background-size: cover;
    background-position: center;
    padding: calc(var(--spacing-xl) * 1.5) 0 var(--spacing-xl);
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.stars-background {
    background: transparent;
}

.hero h1 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
    animation: fadeInDown 1s ease;
}

.hero h2 {
    color: var(--medium);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-body);
    font-weight: 400;
    animation: fadeInUp 1s ease;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(232, 58, 84, 0.3);
    transition: var(--transition);
    animation: fadeIn 1.5s ease;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 58, 84, 0.4);
}

/* ===== About Section ===== */
.about {
    padding: var(--spacing-xl) 0;
    background-color: var(--light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 5px solid var(--white);
}

.about-text {
    flex: 2;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

/* ===== Services Section ===== */
.services {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card:nth-child(1) .service-icon {
    color: var(--primary);
}

.service-card:nth-child(2) .service-icon {
    color: var(--secondary);
}

.service-card:nth-child(3) .service-icon {
    color: var(--accent-yellow);
}

.service-card:nth-child(4) .service-icon {
    color: var(--accent-green);
}

.service-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-dark);
}

/* Icon styles using pseudo-elements */
.icon-heart::before {
    content: "❤";
    font-size: 2.5rem;
}

.icon-paint::before {
    content: "🖌️";
    font-size: 2.5rem;
}

.icon-book::before {
    content: "📚";
    font-size: 2.5rem;
}

.icon-people::before {
    content: "👥";
    font-size: 2.5rem;
}

/* ===== Pricing Section ===== */
.pricing {
    padding: var(--spacing-xl) 0;
    background-color: var(--light);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.pricing-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.pricing-card h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.price span {
    font-size: 1rem;
    color: var(--medium);
}

.pricing-card ul {
    text-align: left;
    margin-bottom: var(--spacing-md);
}

.pricing-card li {
    margin-bottom: var(--spacing-xs);
    position: relative;
    padding-left: 25px;
}

.pricing-card li::before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
}

/* ===== Gallery Section with Splide Carousel ===== */
.gallery {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

/* Splide Carousel Custom Styling */
.splide {
    max-width: 1000px;
    margin: 0 auto;
}

.splide__slide {
    padding: 10px;
}

.splide__slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.splide__slide img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Style the Splide arrows */
.splide__arrow {
    background-color: var(--primary) !important;
    opacity: 1 !important;
    width: 40px !important;
    height: 40px !important;
}

.splide__arrow svg {
    fill: var(--white) !important;
}

/* Style the Splide pagination */
.splide__pagination__page {
    background-color: var(--medium) !important;
    width: 12px !important;
    height: 12px !important;
    margin: 8px !important;
    opacity: 1 !important;
}

.splide__pagination__page.is-active {
    background-color: var(--primary) !important;
    transform: scale(1.2) !important;
}

/* Responsive adjustments for the Splide carousel */
@media (max-width: 768px) {
    .splide__slide img {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .splide__slide img {
        height: 200px;
    }
    
    .splide__arrow {
        width: 30px !important;
        height: 30px !important;
    }
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--spacing-xl) 0;
    background-color: var(--primary-dark);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact .section-title::after {
    background-color: var(--white);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.contact-item {
    text-align: center;
    padding: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 50%;
    color: var(--primary);
}

.contact-item h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.contact-item a {
    color: var(--white);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-yellow);
}

.icon-email::before {
    content: "✉️";
    font-size: 1.8rem;
}

.icon-phone::before {
    content: "📞";
    font-size: 1.8rem;
}

.splide__arrow--prev{
    left: -3rem!important;
}

.splide__arrow--next{
    right: -3rem!important;
}

/* ===== Footer ===== */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: var(--spacing-md) 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Media Queries ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image {
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }

    .splide__arrow--prev{
        left: -2rem!important;
    }
    
    .splide__arrow--next{
        right: -2rem!important;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: var(--spacing-md) 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: var(--spacing-xs) 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: var(--spacing-lg) 0;
    }
    
    .section-title {
        margin-bottom: var(--spacing-md);
    }
    
    .pricing-cards, .service-cards, .contact-info {
        grid-template-columns: 1fr;
    }
}
