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

html {
    scroll-behavior: smooth;
}

body {
    font-family: .Inter., .Helvetica Neue., sans-serif;
    line-height: 1.7;
    color: #000000;
    overflow-x: hidden;
    font-weight: 300;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #e8c4c0 !important;
    background: #e8c4c0 !important;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav-logo h2 {
    color: #000000;
    font-weight: 300;
    font-size: 1.8rem;
    font-family: .Inter., .Helvetica Neue., sans-serif;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    transition: color 0.3s ease;
    position: relative;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #000000;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Portfolio Section (Combined Hero + Portfolio) */
.hero-portfolio {
    padding: 100px 0 80px;
    background: white;
    color: #000000;
    min-height: 100vh;
}

/* Portfolio Section */
.portfolio {
    background: white;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #a3a77a;
    background: transparent;
    color: #a3a77a;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.filter-btn:hover,
.filter-btn.active {
    background: #a3a77a;
    color: white;
    transform: translateY(-2px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, repeat(3, 1fr));
    gap: 3rem;
}

.portfolio-item {
    width: auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    height: 320px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.image-placeholder {
    width: 100%;
    height: 320px;
    background: #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #666;
    font-size: 1.1rem;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
    color: #999;
}



.view-project {
    background: #a3a77a;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    pointer-events: auto;
}

.view-project:hover {
    background: #8a8a66;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(163, 167, 122, 0.3);
}

/* About Section */
.about {
    padding: 120px 0;
    background: #f2e5d2;
}

.about .section-title {
    color: #000000;
    font-family: .Inter., .Helvetica Neue., sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.about .section-subtitle {
    color: #000000;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    letter-spacing: 0.3px;
}

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

.about-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.skills h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #000000;
    font-family: .Inter., .Helvetica Neue., sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.4);
    color: #000000;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-placeholder {
    width: 300px;
    height: 320px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #666;
    font-size: 1.1rem;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
}

.about-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
    color: #999;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: #e8c4c0;
}

.contact .section-title {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #000000;
    font-family: .Inter., .Helvetica Neue., sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.contact .section-subtitle {
    color: #000000;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.contact-content {
    min-height: 60vh;
    display: flex;
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #a3a77a;
    width: 40px;
    text-align: center;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #000000;
    font-family: .Inter., .Helvetica Neue., sans-serif;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.contact-item p {
    color: #000000;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    letter-sping: 0.2px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a3a77a;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #a3a77a;
    color: #000000;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    font-family: .Inter., .Helvetica Neue., sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.footer-logo p {
    opacity: 0.8;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(44, 62, 80, 0.1);
    color: #000000;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #a3a77a;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(44, 62, 80, 0.1);
    opacity: 0.8;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    letter-spacing: 0.2px;
}



/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #e8c4c0;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .about-content,
    .contact-content {
    min-height: 60vh;
    display: flex;
    align-items: center;
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
        grid-template-columns: 1fr;
    }
    
.modal-body {
    display: flex;
    flex-direction: row;
    height: 100%;
    gap: 0;
    background: transparent;
}    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: transparent;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 1400px;
    height: 80vh;
    overflow: visible;
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1001;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.95);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-body {
    height: 100%;
}

.modal-image {
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 0;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        height: 75vh;
    }
    
    .modal-image {
        height: 100%;
        padding: 0;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 98%;
        margin: 5% auto;
        height: 85vh;
    }
}

/* Password Section */
.password-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f2e5d2 0%, #e8c4c0 100%);
    padding: 120px 0;
}

.password-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.password-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000000;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.password-header p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
}

.password-form {
    margin-bottom: 2rem;
}

.password-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.password-form input[type="password"] {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.password-form input[type="password"]:focus {
    outline: none;
    border-color: #a3a77a;
    box-shadow: 0 0 0 3px rgba(163, 167, 122, 0.1);
}

.submit-btn {
    background: #a3a77a;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: #8a8a66;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(163, 167, 122, 0.3);
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #ffcdd2;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.password-footer {
    border-top: 1px solid #e0e0e0;
    padding-top: 1.5rem;
}

.password-footer p {
    color: #666;
    font-size: 0.9rem;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
}

.password-footer a {
    color: #a3a77a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.password-footer a:hover {
    color: #8a8a66;
}

/* Password page responsive design */
@media (max-width: 768px) {
    .password-content {
        margin: 0 1rem;
        padding: 2rem;
    }
    
    .password-header h1 {
        font-size: 2rem;
    }
    
    .password-form .form-group {
        gap: 0.8rem;
    }
}

/* Protected Content Section */
.protected-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f2e5d2 0%, #e8c4c0 100%);
    min-height: 80vh;
}

.protected-header {
    text-align: center;
    margin-bottom: 4rem;
}

.protected-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #000000;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.protected-header p {
    font-size: 1.2rem;
    color: #555;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
}

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

.content-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.content-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000000;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.content-card h2 i {
    color: #a3a77a;
}

.content-card p {
    color: #555;
    line-height: 1.6;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
}

.protected-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #a3a77a;
    color: white;
}

.btn-primary:hover {
    background: #8a8a66;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(163, 167, 122, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #a3a77a;
    border: 2px solid #a3a77a;
}

.btn-secondary:hover {
    background: #a3a77a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(163, 167, 122, 0.3);
}

/* Protected content responsive design */
@media (max-width: 768px) {
    .protected-header h1 {
        font-size: 2.5rem;
    }
    
    .protected-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .protected-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Portfolio Password Overlay */
.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f2e5d2 0%, #e8c4c0 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.password-overlay .password-content {
    max-width: 500px;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.password-overlay .password-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000000;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.password-overlay .password-header p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
}

.password-overlay .password-form {
    margin-bottom: 2rem;
}

.password-overlay .password-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.password-overlay .password-form input[type="password"] {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.password-overlay .password-form input[type="password"]:focus {
    outline: none;
    border-color: #a3a77a;
    box-shadow: 0 0 0 3px rgba(163, 167, 122, 0.1);
}

.password-overlay .submit-btn {
    background: #a3a77a;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.password-overlay .submit-btn:hover {
    background: #8a8a66;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(163, 167, 122, 0.3);
}

.password-overlay .error-message {
    background: #ffebee;
    color: #c62828;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #ffcdd2;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.password-overlay .password-footer {
    border-top: 1px solid #e0e0e0;
    padding-top: 1.5rem;
}

.password-overlay .password-footer p {
    color: #666;
    font-size: 0.9rem;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
}

.password-overlay .password-footer a {
    color: #a3a77a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.password-overlay .password-footer a:hover {
    color: #8a8a66;
}

/* Portfolio overlay responsive design */
@media (max-width: 768px) {
    .password-overlay .password-content {
        margin: 0 1rem;
        padding: 2rem;
    }
    
    .password-overlay .password-header h1 {
        font-size: 2rem;
    }
    
    .password-overlay .password-form .form-group {
        gap: 0.8rem;
    }
}
