/* Basic Resets & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif; /* Clean sans-serif for body */
    line-height: 1.6;
    color: #333; /* Dark gray for good readability */
    background-color: #F4F0E1; /* Warm, soft background */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif; /* Classy serif for headings */
    color: #4A4A4A; /* Slightly darker than body text */
    margin-bottom: 0.8em;
    font-weight: normal; /* Playfair Display often looks good with normal weight */
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }

a {
    color: #8C6A5D; /* Warm, inviting link color */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #B48D7C; /* Slightly lighter on hover */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem; /* Padding on sides for smaller screens */
}

.section-padding {
    padding: 4rem 0; /* Consistent vertical spacing for sections */
}

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

/* Header & Navigation */
header {
    background-color: #2F2F2F; /* Dark background for header */
    color: #fff;
    padding: 1.2rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.site-title {
    margin: 0;
    font-size: 1.8em;
}

.site-title a {
    color: #fff;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2.5rem;
}

nav ul li a {
    color: #fff;
    font-size: 1.1em;
    padding-bottom: 0.3em; /* For underline effect */
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #E0C7AA; /* Warm underline color */
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh; /* Make it tall, adjust as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the container, cropping if necessary */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 1rem;
}

.hero-content h2 {
    font-size: 3.5em;
    margin-bottom: 0.2em;
    color: #fff;
}

.hero-content h3 {
    font-size: 1.8em;
    color: #E0C7AA; /* Lighter accent color for tagline */
    font-weight: 300;
}

/* Welcome Section */
.intro-paragraph {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
}

/* About Us Page */
#our-story {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 3rem;
}

#our-story p {
    margin-bottom: 1em;
    line-height: 1.8;
}

/* Team Section */
.team-section {
    background-color: #EAE6D6; /* Slightly different background for visual break */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.team-member {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #8C6A5D; /* Border around team photos */
}

.team-member h3 {
    font-size: 1.3em;
    margin-bottom: 0.5em;
    color: #5C4B40;
}

.team-member p {
    font-size: 0.95em;
    color: #555;
}

/* Portfolio Page - Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.project-item img {
    width: 100%;
    height: 250px; /* Consistent height for grid items */
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-item:hover img {
    transform: scale(1.05); /* Slight zoom on hover */
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(140, 106, 93, 0.75); /* Overlay color with transparency */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
    text-align: center;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.4em;
}

.project-overlay p {
    font-size: 1em;
    color: #EAE6D6; /* Lighter text for description */
}


/* Contact Section */
.contact-section {
    background-color: #EAE6D6; /* Matches team section for consistency */
}

.contact-info {
    margin-top: 1.5rem;
    font-size: 1.1em;
}

.contact-info a {
    font-weight: bold;
    color: #8C6A5D;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links img {
    width: 35px; /* Size of social icons */
    height: 35px;
    filter: invert(30%) sepia(10%) saturate(1400%) hue-rotate(340deg) brightness(85%) contrast(80%); /* Custom color via filter */
    transition: filter 0.3s ease;
}

.social-links img:hover {
    filter: invert(50%) sepia(10%) saturate(1800%) hue-rotate(340deg) brightness(95%) contrast(90%); /* Lighter on hover */
}


/* Footer */
footer {
    background-color: #2F2F2F;
    color: #B2B2B2;
    padding: 1.5rem 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0.5rem 1rem;
    }

    .hero-content h2 {
        font-size: 2.5em;
    }

    .hero-content h3 {
        font-size: 1.3em;
    }

    .team-grid, .project-grid {
        grid-template-columns: 1fr; /* Stack columns on small screens */
    }
}