/* Base Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #f0f0f0;
    background-color: #1b1b1b;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(22, 22, 22, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    flex-wrap: wrap;
}

.header .logo {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.header .logo img {
    height: 50px;
    width: auto;
    border-radius: 50%;
}

/* Navigation */
.header nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.header nav ul li {
    margin: 0 15px;
}

.header nav ul li a {
    color: #f0f0f0;
    transition: color 0.3s ease;
}

.header nav ul li a:hover {
    color: #ff6f61;
}

/* Social Links */
.header .social-links {
    display: flex;
    gap: 15px;
}

.header .social-links a {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.header .social-links a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header .social-links a:hover {
    color: #ff6f61;
}

/* Hero Section */
.hero {
    max-width: 100%;
    height: 100vh;
    background: url('../Images/IMG-20210206-WA0000.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero h1 {
    font-size: 4em;
    margin: 0;
    animation: fadeInUp 1.5s ease-in-out;
}

.hero p {
    font-size: 1.5em;
    margin: 10px 0;
    animation: fadeInUp 2s ease-in-out;
}

.scroll-indicator {
    color: whitesmoke;
    margin-top: 50px;
    font-size: 1.2em;
    cursor: pointer;
    animation: fadeInUp 2.5s ease-in-out;
}

.scroll-indicator:hover {
    color: #ff6f61;
}

/* About Section */
.about {
    padding: 100px 20px;
    background-color: #282828;
}

.about .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2em;
    line-height: 1.6em;
}

/* Projects Section */
.projects {
    padding: 100px 20px;
    background-color: #1b1b1b;
}

.projects .content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.projects h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
}

.project {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 50px;
}

.project img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
    transform: scale(0.5);
}

.project-info {
    padding: 20px;
    max-width: 600px;
}

.project h3 {
    font-size: 2em;
    margin-top: 0;
}

.project p {
    font-size: 1.1em;
    line-height: 1.5em;
}

.project:hover img {
    transform: scale(0.55);
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background-color: #282828;
    text-align: center;
}

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

.contact h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.contact form input,
.contact form textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    background-color: #1b1b1b;
    color: #fff;
    border: 1px solid #444;
    border-radius: 5px;
    font-size: 1em;
}

.contact form .button {
    padding: 1em 2em;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 5px;
    text-transform: uppercase;
    cursor: pointer;
    color: #ff6f61;
    background: transparent;
    outline: 2px solid #ff6f61;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.button:hover {
    transform: scale(1.1);
    outline: 2px solid #f3f0f0;
    box-shadow: 4px 5px 17px -4px #f47a64;
}

.button::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #070707;
    transform: skewX(45deg);
    z-index: -1;
    transition: width 0.3s ease;
}

.button:hover::before {
    width: 250%;
}

/* Accessibility */
a:focus {
    outline: 2px dashed #ff6f61;
    outline-offset: 4px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: #f0f0f0;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    background: rgba(22, 22, 22, 0.95);
    backdrop-filter: blur(20px);
    padding: 80px 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 999;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav a {
    font-size: 1.2rem;
    display: block;
    color: #f0f0f0;
}

.mobile-nav a:hover {
    color: #ff6f61;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.burger-menu.active span:nth-child(2) {
    opacity: 0;
}
.burger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive */
@media (max-width: 1024px) {
    .burger-menu { display: flex; }
    .header nav { display: none; }
}

@media (max-width: 768px) {
    .header { padding: 15px; }
    .hero h1 { font-size: 2.8em; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2em; }
    .hero p { font-size: 1.1em; }
}
