:root {
    --bg-color: #F9F8F4;
    --text-color: #2D2D2D;
    --accent-color: #2D2D2D;
    /* Deep Charcoal */
    --padding-section: 80px;
    --font-heading: 'Tenor Sans', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition-speed: 0.6s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Links & Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

/* Header */
header {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 10;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 3rem;
}

nav ul li a {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Overlay for better readability if needed, keeping it very subtle */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(249, 248, 244, 0.45);
    /* Soften the image with the cream color */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

/* Services Section */
.services {
    padding: var(--padding-section) 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.service-column {
    text-align: center;
    border-right: 1px solid rgba(45, 45, 45, 0.1);
    padding: 0 2rem;
}

.service-column:last-child {
    border-right: none;
}

@media (max-width: 900px) {
    .service-column {
        border-right: none;
        border-bottom: 1px solid rgba(45, 45, 45, 0.1);
        padding-bottom: 2rem;
    }

    .service-column:last-child {
        border-bottom: none;
    }
}

.service-focus {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

/* About Section */
.about {
    padding: var(--padding-section) 0;
    background-color: rgba(0, 0, 0, 0.02);
}

.about-intro {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
    text-align: left;
}

.about-image {
    flex: 1;
    max-width: 450px;
}

.about-image img {
    width: 100%;
    height: auto;
    filter: grayscale(10%);
}

.about-text {
    flex: 1.5;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(45, 45, 45, 0.1);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.about-testimonials {
    padding: 4rem 0;
    text-align: center;
}

.about-testimonials h3 {
    font-family: var(--font-heading);
    margin-bottom: 3rem;
    font-size: 1.5rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border: 1px solid rgba(45, 45, 45, 0.05);
}

.testimonial-card p {
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

@media (max-width: 900px) {
    .about-intro {
        flex-direction: column;
        text-align: center;
    }

    .about-text h2 {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .about-gallery {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact {
    padding: var(--padding-section) 0;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    text-align: left;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.form-group input {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid var(--text-color);
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    color: var(--text-color);
}

.form-group textarea {
    width: 100%;
    padding: 10px 0;
    margin: 0;
    border: none;
    border-bottom: 1px solid var(--text-color);
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    color: var(--text-color);
    resize: none;
    min-height: 120px;
    line-height: 1.6;
    vertical-align: top;
    overflow-y: auto;
    display: block;
    text-align: left;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-width: 2px;
}

/* Custom scrollbar styling for textarea */
.form-group textarea::-webkit-scrollbar {
    width: 6px;
}

.form-group textarea::-webkit-scrollbar-track {
    background: transparent;
}

.form-group textarea::-webkit-scrollbar-thumb {
    background: rgba(45, 45, 45, 0.3);
    border-radius: 3px;
}

.form-group textarea::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 45, 45, 0.5);
}

/* Firefox scrollbar */
.form-group textarea {
    scrollbar-width: thin;
    scrollbar-color: rgba(45, 45, 45, 0.3) transparent;
}

.contact .btn {
    display: block;
    width: 100%;
    margin-top: 2rem;
    text-align: center;
}

.contact .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-error {
    color: #d32f2f;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #d32f2f;
    background-color: rgba(211, 47, 47, 0.1);
    font-size: 0.9rem;
    border-radius: 2px;
}

.form-group input:invalid:not(:focus):not(:placeholder-shown) {
    border-bottom-color: #d32f2f;
}

.form-group input:valid:not(:focus):not(:placeholder-shown) {
    border-bottom-color: #2d2d2d;
}

/* Error state for form fields */
.form-group input.error,
.form-group textarea.error {
    border-bottom-color: #d32f2f;
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    border-bottom-color: #d32f2f;
    border-bottom-width: 2px;
}

/* Textarea doesn't need validation styling since it's optional */
.form-group textarea {
    border-bottom-color: var(--text-color);
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}