/* --- Global Styles & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@400;700&family=Young+Serif&display=swap');

:root {
    --primary-color: #5D5D8A; /* Darker Purple for accents and main text */
    --secondary-color: #6C8D89; /* Teal/Green accent */
    --background-light: #DDD0F7; /* Lilac background */
    --background-white: #ffffff;
    --text-dark: #333;
    --text-body: #4A4A4A; /* Slightly softer dark text */
	--border-color: #B2A2D4; /* Border color related to new palette */	
    --font-heading: 'Young Serif', serif;
    --font-body: 'Bitter', serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.6;
    background-color: var(--background-light); /* New lilac background */
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400; /* Young Serif is usually regular weight */
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; } /* Slightly larger for card titles */

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--secondary-color); /* Links use accent green */
    transition: color 0.3s ease;
}

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

section {
    padding: 60px 0;
}

.text-center {
    text-align: center;
}

/* --- Header / Navbar --- */
.navbar {
    /* ADDED/CHANGED properties */
    background-color: rgba(221, 208, 247, 0.75); /* Semi-transparent lilac background */
    /*backdrop-filter: blur(10px); /* This blurs the content behind it */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* The drop shadow */

    /* KEPT properties */
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: none;  /* Add this line */
    margin: 0;        /* Add this line */
    padding: 0 40px;  /* Add this line */
}

.logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.7rem; /* Adjusted for Young Serif */
    font-weight: 400;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-family: var(--font-body);
    color: var(--primary-color); /* Nav links are darker purple */
    font-weight: 700;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color); /* Active/hover is accent green */
    border-bottom-color: var(--secondary-color);
}

/* --- Mobile Nav --- */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color); /* Hamburger color */
    position: relative;
    transition: background 0.2s ease-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--primary-color); /* Hamburger color */
    left: 0;
    transition: all 0.2s ease-out;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Mobile Nav Active State (toggled by JS) */
.nav-menu.active {
    /* ADDED/CHANGED properties */
    background-color: rgba(221, 208, 247, 0.90); /* Matches the navbar background */
    backdrop-filter: blur(10px); /* Matches the navbar blur */

    /* KEPT properties */
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    text-align: center;
    gap: 15px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}
.nav-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 6px);
}
.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px; /* Slightly more padding */
    border-radius: 30px; /* More rounded */
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-family: var(--font-body); /* Buttons use body font */
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

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

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

/* --- Hero Section (Home) --- */
/* --- Hero Section (Home) --- */
.hero {
    background-color: var(--background-light); 
    text-align: center;
    position: relative;
    overflow: hidden; 
	
	background-image: url("images/linen.png");
	background-repeat: repeat;
    
    /* 1. Pull the whole section UP by 90px (our navbar's estimated height) */
    margin-top: -90px; 
    
    /* 2. Add that 90px to the top padding (80px + 90px = 170px) to push the content DOWN */
    padding: 170px 0 80px 0;
}

/* --- NEW BRUSH STROKE STYLES --- */
.brush-strokes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Sits behind the content */
    overflow: hidden; /* Keeps strokes inside hero */
}

.stroke {
    position: absolute;
    opacity: 0.5; /* Makes them faint like the blobs */
    pointer-events: none; /* Prevents them from being clicked */
}

/* You can change the position, width, and rotation 
   of each stroke to get the look you want!
*/

.stroke-1 {
    width: 50px;
    top: 25%;
    left: 10%;
    transform: rotate(45deg);
}

.stroke-2 {
    width: 50px;
    top: 65%;
    right: 5%;
    transform: rotate(60deg);
}

.stroke-3 {
    width: 50px;
    top: 40%;
    right: 20%;
    transform: rotate(100deg);
}

.stroke-4 {
    width: 50px;
    top: 0%;
    left: 5%;
    transform: rotate(20deg);
}

.stroke-5 {
    width: 50px;
    top: 1%;
    right: 10%;
    transform: rotate(60deg);
}

.stroke-6 {
    width: 50px;
    top: 50%;
    right: 40%;
    transform: rotate(75deg);
}

.stroke-7 {
    width: 50px;
    top: 80%;
    left: 15%;
    transform: rotate(-25deg);
}

.stroke-8 {
    width: 50px;
    top: 50%;
    right: 80%;
    transform: rotate(110deg);
}

.stroke-9 {
    width: 50px;
    top: 40%;
    right: 70%;
    transform: rotate(100deg);
}


.hero .container {
    position: relative; /* To make sure text is above pseudo-elements */
    z-index: 2;
}


.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-logo-wrapper {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Space between dino and text logo */
}

/* --- THIS IS UPDATED --- */
.hero-logo-wrapper .dino-logo {
    width: 240px; /* Made twice as large */
    height: auto;
}

/* --- THIS IS UPDATED --- */
.hero-logo-wrapper .text-logo {
    font-family: var(--font-heading);
    color: #2A5459; /* New specific color */
    font-size: 3rem;
    line-height: 1.1; /* Adjusted for stacked text */
    text-align: left;
    white-space: nowrap; 
}

.hero h1 {
    font-size: 3.8rem; /* Main hero text is larger */
    margin-top: 20px;
    margin-bottom: 30px;
    color: var(--primary-color); /* Primary heading color */
    font-family: var(--font-heading);
}

/* --- THIS IS UPDATED --- */
.hero .tagline {
    font-family: var(--font-body); /* This is 'Bitter' */
    font-size: 1.5rem; 
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: var(--primary-color); /* New purple color */
}

/* --- Services Overview (Home) --- */
.services-overview {
    background-color: var(--background-white); /* White background for sections */
}
.services-overview h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background-color: var(--background-white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* Soft shadow */
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--secondary-color); /* Service titles in accent green */
    font-family: var(--font-heading);
    font-size: 1.6rem;
}

/* --- Testimonial (Home) --- */
.testimonial {
    background-color: var(--primary-color); /* Darker purple background */
    color: var(--background-white);
    padding: 80px 0;
}

.testimonial blockquote {
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 400;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border: none;
    line-height: 1.5;
}

.testimonial cite {
    display: block;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 20px;
    opacity: 0.9;
    color: rgba(255,255,255,0.8);
}

/* --- Page Header (Rates, Contact, About) --- */
.page-header {
    background: var(--background-light); /* Lilac background */
    text-align: center;
    padding: 60px 0 40px;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}
.page-header p {
    font-family: var(--font-body);
    font-size: 1.2rem;
    margin-bottom: 0;
    color: var(--text-body);
}

/* --- Pricing Table (Rates) --- */
.pricing-intro {
    background-color: var(--background-light);
    text-align: center;
    padding-bottom: 0;
}

.pricing-intro h2 {
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.onboarding-box {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    display: inline-block;
    max-width: 800px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.onboarding-box h3 {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.7rem;
}

.onboarding-box p {
    margin-bottom: 0;
    font-family: var(--font-body);
}

.pricing-table {
    background-color: var(--background-light); /* Matches main background */
    padding-top: 40px; /* Adjusted padding */
}

.text-center {
    text-align: center;
}

.subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
    color: var(--text-body);
}

.pricing-grid {
    display: grid;
	grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background: var(--background-white);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
}

.pricing-card .price {
    font-family: var(--font-body);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--secondary-color); /* Price in accent green */
    margin-bottom: 10px;
}

.pricing-card .price span {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-body);
}

.pricing-card .plan-description {
    font-family: var(--font-body);
    font-style: italic;
    min-height: 60px; /* Align lists */
}

.pricing-card ul {
    list-style: none;
    margin: 20px 0;
    flex-grow: 1; /* Pushes button to bottom */
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-body);
}

.pricing-card ul li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color); /* Dashed border for style */
}

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

.pricing-card.featured {
    border-width: 3px;
    border-color: var(--secondary-color); /* Featured card border in accent green */
    position: relative;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color); /* Badge in accent green */
    color: var(--background-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card .price.custom-quote {
    font-size: 2.2rem;
    padding-top: 18px; /* Aligns it vertically with other prices */
    padding-bottom: 18px;
    color: var(--primary-color); /* Custom quote in primary purple */
}

/* --- Contact Form --- */
.contact-form-section {
    background-color: var(--background-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

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

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--primary-color); /* Labels in primary purple */
    font-family: var(--font-body);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    background-color: #fcfcfc;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color); /* Focus border in accent green */
    box-shadow: 0 0 5px rgba(108, 141, 137, 0.3);
}

.contact-details {
    padding: 30px;
    background: var(--background-light); /* Lilac background for details box */
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.contact-details h3 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-details p {
    margin-bottom: 15px;
    font-family: var(--font-body);
    color: var(--text-body);
}

.contact-details a {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Form Validation */
.form-group .error-message {
    display: none;
    color: #cc0000; /* Stronger error color */
    font-size: 0.9rem;
    margin-top: 5px;
    font-family: var(--font-body);
}

.form-group.error input,
.form-group.error textarea {
    border-color: #cc0000;
}

.form-guide.error .error-message {
    display: block;
}

.success-message {
    display: none;
    background: #e6ffed; /* Soft green success */
    color: #1a6d2f;
    border: 1px solid #c7e8d0;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
    font-family: var(--font-body);
}

/* --- Footer --- */
.footer {
    background: var(--primary-color); /* Darker purple footer */
    color: var(--background-white);
    padding: 40px 0;
    text-align: center;
    font-family: var(--font-body);
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--background-white);
    margin: 0 10px;
    font-size: 0.95rem;
    font-weight: 400;
}

.footer-links a:hover {
    text-decoration: underline;
    color: var(--secondary-color); /* Accent green on hover */
}

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

/* --- About Page --- */
.about-section {
    background-color: var(--background-white);
    padding: 60px 0;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Photo | Text */
    gap: 40px;
    align-items: flex-start;
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1; /* Makes it a square */
    background-color: var(--background-light);
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-body);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.5;
    font-family: var(--font-body);
}

.about-photo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.about-text h2 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-body);
}

.about-text p:last-of-type {
    margin-bottom: 30px;
}
.about-text .btn {
    font-size: 1.1rem;
}


/* --- Responsive Styles --- */

@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    .hero h1 { font-size: 3rem; }
    .hero-logo-wrapper .text-logo { font-size: 2.5rem; }

    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .pricing-card.featured {
        order: -1; 
        grid-column: 1 / -1; 
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero .tagline { font-size: 1.2rem; }
    .hero-logo-wrapper { flex-direction: column; gap: 10px; }
    
    /* --- UPDATED Rule for mobile text logo --- */
    .hero-logo-wrapper .text-logo { 
        font-size: 2.5rem; /* Larger on mobile */
        text-align: center; /* Centered */
    }

    /* Mobile Nav Toggle */
    .nav-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
    }

    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        order: -1; 
        transform: scale(1);
        grid-column: auto; 
    }

    .contact-wrapper,
    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .onboarding-box {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .hero h1 { font-size: 2rem; }
    .hero-logo-wrapper .dino-logo { width: 180px; } /* Slightly smaller for small screens */
    .hero-logo-wrapper .text-logo { font-size: 2rem; }
    .hero .tagline { font-size: 1rem; }
    .testimonial blockquote { font-size: 1.3rem; }
    .pricing-card h3 { font-size: 1.6rem; }
    .pricing-card .price { font-size: 2.2rem; }
    .about-text h2 { font-size: 1.8rem; }
    .about-text p { font-size: 1rem; }
}

/* --- Rotating Quote Fade Effect --- */
#quote-container {
    transition: opacity 0.5s ease-in-out;
}