/* Reset */
html {
    scroll-behavior: smooth;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fonts & Base */
body {
    font-family: 'Roboto', sans-serif;
    background: #f9f9f9;
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Page Fade-in Animation */
body {
    opacity: 0;            /* start invisible */
    transition: opacity 1s ease-in-out; /* fade-in effect */
}

body.loaded {
    opacity: 1;            /* become fully visible */
}


/* Header / Navigation */
header {
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo */
.logo {
    font-family: 'Michroma', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    cursor: pointer;
}

/* Hamburger Menu */
#menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animate Hamburger into X */
#menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navigation Links */
nav .nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links li a {
    font-family: 'Michroma', sans-serif;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #555;
}

/* Mobile Styles */
@media(max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem 0;
        display: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    #menu-toggle:checked ~ nav .nav-links {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    text-align: center;
    max-width: 800px;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero h1 {
    font-family: 'Michroma', sans-serif;
    font-size: 3rem;
    font-weight: 700;
}

.hero .subtitle {
    font-family: 'Michroma', sans-serif;
    font-size: 1.2rem;
    color: #555;
}

.hero p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.button {
    font-family: 'Michroma', sans-serif;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #1a1a1a;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.button:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* Sections */
section {
    margin-top: 4rem;
    padding: 2rem;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

section h2 {
    font-family: 'Michroma', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

section p, section li {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

section ul {
    list-style: disc;
    padding-left: 1.5rem;
    text-align: left;
}

/* Footer */
footer {
    margin-top: 4rem;
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

/* Contact Section */
.contact {
    margin-top: 4rem;
    padding: 2.5rem 2rem;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
}

/* Contact Heading */
.contact h2 {
    font-family: 'Michroma', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Contact Text */
.contact p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* Contact Links */
.contact a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

/* Underline animation */
.contact a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: #1a1a1a;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

/* Hover effect */
.contact a:hover {
    color: #333;
}

.contact a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Email / social spacing */
.contact span {
    display: block;
    margin-top: 0.3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contact h2 {
        font-size: 1.6rem;
    }

    .contact p {
        font-size: 1rem;
    }
}

/* Responsive Typography */
@media(max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    section h2 {
        font-size: 1.6rem;
    }

    section p, section li {
        font-size: 1rem;
    }

    .nav-links {
        gap: 0.75rem;
    }
}
