/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(44, 62, 80, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo img {
    height: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #d4af37;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    height: 80vh;
    position: relative;
    background-image: url('shakespeare_writes_1749840690883.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.parallax-container {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}



.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.3));
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    z-index: 2;
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #2c3e50;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

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

.portrait {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Projects Section */
.projects-section {
    padding: 0;
}

.projects-heading {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    padding: 60px 0 20px 0;
    margin: 0;
    background: #ffffff;
}

.project-item {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100%;
}

.king-john {
    background-image: url('king_john_1749841267863.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hamlet {
    background-image: url('hamlet_skull_scene_1749841342197.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.project-content {
    position: relative;
    z-index: 10;
    padding: 50px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

.project-content-left {
    position: absolute;
    left: 80px;
    top: 50%;
    transform: translateY(-50%);
}

.project-content-right {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
}

.project-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.project-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Projects Status Section */
.projects-status {
    background: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.projects-status-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #2c3e50;
    color: white;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(255, 255, 255, 0.15);
}

.submit-btn {
    background: #d4af37;
    color: #2c3e50;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

.submit-btn:hover {
    background: #b8941f;
    transform: translateY(-2px);
}

.contact-info {
    margin-top: 40px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #d4af37;
}

.phone-link {
    color: #d4af37;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.phone-link:hover {
    text-decoration: underline;
}

/* Copyright Section */
.copyright-section {
    background: #34495e;
    padding: 30px 0;
    text-align: center;
}

.copyright-text {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin: 0;
}

.webmail-link {
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
}

.webmail-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-left: 5px;
    filter: invert(1);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.webmail-link:hover .webmail-icon {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .projects-heading {
        font-size: 2rem;
        padding: 60px 0 40px 0;
    }
    
    .project-item {
        min-height: 80vh;
    }
    
    .project-content-left,
    .project-content-right {
        position: relative;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 20px;
        max-width: none;
        padding: 30px 20px;
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .project-description {
        font-size: 0.95rem;
    }
    
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .king-john,
    .hamlet {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
        padding: 0 15px;
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .project-content {
        padding: 30px 15px;
        margin: 0 15px;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .about-text p {
        font-size: 1.1rem;
    }
}

/* Parallax Effect Enhancement */
@media (min-width: 769px) {
    .parallax-bg {
        background-attachment: fixed;
    }
}

/* Smooth transitions for all interactive elements */
a, button, img {
    transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8941f;
}
