:root {
    --color-beige: #eeebd9;      /* Neutral beige background */
    --color-green: #5c7054;      /* Vintage green from logo inspiration */
    --color-green-dark: #3a4734; /* Darker green for text/headings */
    --color-yellow: #d1b156;     /* Vintage mustard yellow */
    --color-yellow-dark: #b89944;/* Darker yellow for hover */
    --color-text: #2c2c2c;       /* Dark text */
    --color-white: #ffffff;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-green-dark);
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-yellow);
}

.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

h2.no-underline::after {
    display: none;
}

p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
}

a {
    text-decoration: none;
    color: var(--color-green);
    transition: all 0.3s ease;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: var(--color-yellow);
    color: var(--color-white);
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--color-yellow);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.btn:hover {
    background-color: transparent;
    color: var(--color-yellow-dark);
    border-color: var(--color-yellow-dark);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

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

/* Header */
header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    height: 80px;
    object-fit: contain;
}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--color-green-dark);
}

nav ul li a:hover {
    color: var(--color-yellow);
}

nav ul li a.btn {
    color: var(--color-white);
}
nav ul li a.btn:hover {
    color: var(--color-yellow-dark);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background-color: var(--color-beige);
    border-bottom: 5px solid var(--color-green);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--color-green-dark);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #444;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    display: block;
    margin: 0 auto;
    /* Removed the shadow, borders and background completely for transparent PNG */
}

/* Services Section */
.services {
    padding: 100px 0;
    /* Inherits beige background */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card2 {
    border-radius: 8px;
    overflow: hidden;
}

.service-card2 img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--color-green-dark);
    margin-bottom: 15px;
}

.service-content p {
    color: #555;
    margin-bottom: 0;
}

/* Portfolio Carousel Section */
.portfolio {
    padding: 100px 0;
    background-color: var(--color-white); /* Alternative backgrounds for sections */
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 50px;
}

.portfolio-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    padding: 20px 0;
    width: 100%;
}

.portfolio-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 400px;
    flex: 0 0 calc(33.333% - 20px); /* 3 items side by side */
    scroll-snap-align: start;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(58, 71, 52, 0.95), rgba(58, 71, 52, 0.6), transparent);
    padding: 40px 30px 20px;
    color: var(--color-white);
}

.portfolio-overlay h3 {
    color: var(--color-white);
    margin-bottom: 5px;
}

.portfolio-overlay p {
    font-size: 0.95rem;
    color: #eee;
    margin-bottom: 0;
}

.carousel-btn {
    background-color: var(--color-yellow);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: var(--color-yellow-dark);
    transform: scale(1.1);
}

.carousel-btn.left {
    left: -20px;
}

.carousel-btn.right {
    right: -20px;
}

/* Footer */
footer {
    background-color: var(--color-green-dark);
    color: var(--color-white);
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-contact {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.footer-contact h3 {
    color: var(--color-yellow);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-contact p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

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

.btn-linkedin:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-color: var(--color-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 900px) {
    .portfolio-item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        margin: 10px;
    }
    .hero {
        padding: 80px 0;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-content {
        padding: 20px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image {
        order: -1;
    }
    .footer-buttons {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .portfolio-item {
        flex: 0 0 100%;
    }
    .carousel-btn {
        display: none; /* Hide arrows on small screens, users can just swipe */
    }
}
