/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Freeman', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Big Shoulders Inline Display', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 5rem 0;
}

/* Navigation */
nav {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 20px;
}

.logo {
    font-family: 'Big Shoulders Inline Display', sans-serif;
    font-size: 2rem;
    text-decoration: none;
    color: #333;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-family: 'Freeman', sans-serif;
    font-size: 1.2rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #007bff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

.hamburger.active .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .line2 {
    opacity: 0;
}

.hamburger.active .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #f0f4f8;
    padding-top: 80px;
    padding-bottom: 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    animation: fadeIn 1s ease-in;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #007bff;
}

.hero-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #555;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Freeman', sans-serif;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* About Section */
#about {
    background-color: white;
    text-align: center;
    padding: 60px 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    animation: fadeIn 1s ease-out;
    max-width: 900px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
    height: 300px;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.about-image:hover {
    background-color: #ddd;
}

.about-text {
    color: #333;
    max-width: 600px;
    margin: 0 auto;
    font-weight: bold;
}

.about-text h2 {
    font-size: 36px;
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.about-text p {
    font-size: 18px;
    margin: 10px 0;
    line-height: 1.6;
    color: #333;
}

.about-text strong {
    color: #222;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Work Section */
#work {
    background-color: #f0f4f8;
    text-align: center;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
}

.work-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.work-image {
    height: 200px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-content {
    padding: 1.5rem;
}

.work-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Contact Section */
#contact {
    background-color: white;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Freeman', sans-serif;
    font-size: 1.2rem;
    text-align: left;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Freeman', sans-serif;
    font-size: 1rem;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

button[type="submit"] {
    padding: 0.8rem 2rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-family: 'Freeman', sans-serif;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Styles for the Form Message Area */
.message-area {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    display: none; /* Hidden by default */
    opacity: 0; /* Start with hidden opacity */
    transition: opacity 0.5s ease-in-out; /* Smooth transition for visibility */
}

.message-area.info {
    background-color: #e7f3fe;
    color: #0056b3;
    border: 1px solid #a8d5ff;
    opacity: 1; /* Show on info */
}

.message-area.success {
    background-color: #d4edda;
    color: #28a745;
    border: 1px solid #c3e6cb;
    opacity: 1; /* Show on success */
}

.message-area.error {
    background-color: #f8d7da;
    color: #dc3545;
    border: 1px solid #f5c6cb;
    opacity: 1; /* Show on error */
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 4rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    text-align: left;
}

.footer-logo {
    font-family: 'Big Shoulders Inline Display', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-links, .social-links {
    list-style: none;
}

.footer-links li, .social-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-family: 'Freeman', sans-serif;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #007bff;
    transform: scale(1.2);
}

.social-links a i {
    margin-right: 0.5rem;
}

.copyright {
    text-align: center;
    color: #aaa;
    font-size: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 200;
    }

    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        background-color: white;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        text-align: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        padding-top: 80px;
        z-index: 100;
    }

    .nav-links.active {
        transform: translateX(0%);
    }

    .nav-links li {
        margin: 0;
        padding: 1rem 0;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    #home {
        padding-top: 100px;
        height: auto;
        min-height: 100vh;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .footer-links, .social-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-links li, .social-links li {
        margin: 0.5rem 1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        margin-top: 1rem;
    }

    section {
        padding: 2.5rem 0;
    }

    .nav-container {
        padding: 1rem 20px;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    input, textarea {
        padding: 0.6rem;
    }

    .container {
        padding: 0 15px;
    }
}

.heart {
    display: inline-block;
    animation: heartbeat 1.2s infinite;
    transform-origin: center;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.clara {
    font-weight: bold;
    color:  #11ff00;
    margin-left: 4px;
    font-size: 2.3em;
}
