/* --- General & Reset Styles --- */
:root {
    --primary-color: #3a3a3a;
    --secondary-color: #AF84DA; /* A guess from the image code */
    --light-gray: #f4f4f4;
    --dark-gray: #333;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

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

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

h1, h2, h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; text-align: center; }
h3 { font-size: 1.5rem; }

section {
    padding: 60px 0;
}

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

/* --- Buttons --- */
.btn-main {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.btn-main:hover {
    background: var(--dark-gray);
}

/* --- Header --- */
header {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: padding 0.3s ease-in-out; 
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 25vh;
    width: auto;
    display: block;
    transition: height 0.3s ease-in-out;
}
header nav {
    display: flex;
    align-items: center;
    gap: 30px; /* Space between phone and contact link */
}
header nav a {
    font-weight: 700;
    display: flex;
    align-items: center;
}
.header-phone {
    font-size: 1rem;
}
.header-phone i {
    margin-right: 5px; /* Small space between icon and text */
}

/* Styles for the shrunken header */
header.scrolled {
    padding: 10px 0;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15); 
}
header.scrolled .logo img {
    height: 15vh; 
}


/* --- Hero Section --- */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* --- Contact Form Section --- */
.contact-form-section {
    background: var(--light-gray);
}
.contact-form-section form {
    max-width: 600px;
    margin: 20px auto 0 auto;
    display: flex;
    flex-direction: column;
}
.form-row {
    display: flex;
    gap: 20px;
}
.form-row input {
    flex: 1;
}
form input, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    font-family: var(--font-body);
    font-size: 1rem;
}
form button {
    align-self: flex-start;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.service-card {
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden; 
}
.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block; 
}
.service-card h3 {
    padding: 20px;
    margin: 0;
    background: var(--white);
}

/* --- About Section --- */
.about-section {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}
.about-section h2, .about-section h3 {
    color: var(--white);
}
.about-section h3 {
    font-family: var(--font-body);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.about-section p {
    max-width: 700px;
    margin: 0 auto;
}

/* --- Footer --- */
footer {
    background: var(--dark-gray);
    color: #ccc;
    padding: 40px 0;
    text-align: center;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
.footer-contact p {
    margin: 5px 0;
}
.footer-contact a {
    color: var(--white);
}
.footer-social a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 10px;
}
.footer-legal {
    margin-bottom: 20px;
    font-size: 0.8rem;
}
.footer-legal a {
    color: #ccc;
    margin: 0 10px;
}
.footer-copyright {
    font-size: 0.8rem;
}

/* --- Legal Page Styles --- */
.legal-page-content {
    padding: 60px 0;
}
.legal-page-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: left;
}
.legal-page-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 0.5rem;
}
.legal-page-content p, .legal-page-content li {
    line-height: 1.8;
    margin-bottom: 1rem;
}
.legal-page-content ul {
    list-style-position: inside;
    padding-left: 10px;
}
.legal-page-content .disclaimer {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 4px;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero {
        height: 60vh;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* This rule hides the phone text on smaller screens */
    .phone-text {
        display: none;
    }
    
    header nav {
        gap: 20px; /* Reduce gap on smaller screens */
    }
}

/* --- Animations --- */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-element.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card:nth-child(1) { transition-delay: 100ms; }
.service-card:nth-child(2) { transition-delay: 200ms; }
.service-card:nth-child(3) { transition-delay: 300ms; }
.service-card:nth-child(4) { transition-delay: 400ms; }

/* Add this to the end of the "About Section" styles in your style.css file */

.about-intro {
    max-width: 700px;
    margin: 0 auto 40px auto; /* Adds space below the intro paragraph */
    font-size: 1.1rem;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto; /* Center the grid */
    text-align: center;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-item p {
    font-size: 0.95rem;
    color: #ccc; /* Lighter text for the description */
}