
:root {
    --primary-color: #222;
    --secondary-color: #eee;
    --accent-color: #F19A88;
    --font-family: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

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

header {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    border-bottom: 1px solid #444;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

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

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

nav ul li a {
    color: #F19A88;
}

main {
    padding-top: 60px; /* Adjust for fixed header */
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1444703686981-a3abbc4d4fe3?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1.25rem;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.cta-button:hover {
    background-color: #ff6a00;
    transform: translateY(-3px);
}

.parallax-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 2rem;
    color: white;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1; /* Place overlay behind content */
}

#about {
     background-image: url('https://images.unsplash.com/photo-1549449394-44e2745a2273?q=80&w=2070&auto=format&fit=crop');
}

#portfolio {
    background-image: url('https://images.unsplash.com/photo-1480714378408-67cf0d13bc1b?q=80&w=2070&auto=format&fit=crop');
}

#contact {
    background-image: url('https://images.unsplash.com/photo-1506220926022-cc5c12ac7949?q=80&w=2070&auto=format&fit=crop');
}

#about h2, #portfolio h2, #contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

#about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

.portfolio-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background-color: rgba(51, 51, 51, 0.8);
    padding: 2rem;
    border-radius: 5px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.portfolio-item h3 {
    font-size: 1.5rem;
    margin-top: 1rem;
}

#contact form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

#contact input, #contact textarea {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    backdrop-filter: blur(5px);
	font-family: var(--font-family);
}

#contact input::placeholder, #contact textarea::placeholder {
    color: #ccc;
}

#contact button {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1.25rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s, transform 0.3s;
}

#contact button:hover {
    background-color: #ff6a00;
    transform: translateY(-3px);
}

footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 1rem;
    border-top: 1px solid #444;
}
