/* CSS Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "Times New Roman", Times, serif;
    line-height: 1.6;
    color: #f5f5f5;
    background: url('images/IMG_1303.jpeg') center/cover no-repeat fixed;
    min-height: 100vh;
    position: relative;
}

/* Navigation */
.nav {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 8px;
}

.nav-link {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #D4AF37;
}

/* Home Section */
.home-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 40px 40px;
}

.main-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.content-wrapper {
    flex: 1;
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    max-width: 500px;
}

.name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 15px;
    line-height: 1.2;
}

.description {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-link {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.contact-link:hover {
    color: #D4AF37;
    border-color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
}

.profile-image {
    flex-shrink: 0;
}

.profile-img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Projects Section */
.projects-section {
    padding: 80px 40px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

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

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.project-item {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.project-item:hover {
    transform: translateY(-4px);
    background: rgba(0, 0, 0, 0.7);
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 12px;
    line-height: 1.3;
}

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

.project-link:hover {
    color: #e0e0e0;
    text-decoration: underline;
}

.project-description {
    color: #c0c0c0;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tech {
    color: #a0a0a0;
    font-style: italic;
}

.project-demo {
    color: #f5f5f5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-demo:hover {
    color: #e0e0e0;
    text-decoration: underline;
}

/* Photography Section */
.photography-section {
    padding: 80px 40px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

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

.photography-intro {
    text-align: center;
    color: #c0c0c0;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-style: italic;
}

.photography-instructions {
    text-align: center;
    color: #f5f5f5;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 50px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.photography-instructions::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    opacity: 0.6;
}

.photo-collections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.collection-item {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    transition: transform 0.3s ease;
}

.collection-item:hover {
    transform: translateY(-8px);
}

.collection-preview {
    position: relative;
    width: 100%;
    height: 100%;
}

.collection-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: filter 0.3s ease;
}

.collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #ffffff;
    padding: 30px 20px 20px;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.collection-item:hover .collection-overlay {
    transform: translateY(0);
    opacity: 1;
}

.collection-item:hover .collection-image {
    filter: brightness(0.7);
}

.collection-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #ffffff;
}

.collection-count {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 10px;
}

.view-collection {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90vw;
    max-width: 1200px;
    max-height: 80vh;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 12px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #cccccc;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.gallery-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Blog Section */
.blog-section {
    padding: 80px 40px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

/* Friends Section */
.friends-section {
    padding: 80px 40px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.friends-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.friend-link:hover {
    color: #D4AF37;
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 40px;
    text-align: center;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-item {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-4px);
    background: rgba(0, 0, 0, 0.7);
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-excerpt {
    color: #c0c0c0;
    margin-bottom: 15px;
    line-height: 1.5;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-date {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.read-more {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #B8941F;
}

/* Collection Page Styles */
.collection-page-section {
    padding: 100px 40px 80px;
    min-height: 100vh;
}

.collection-page-content {
    max-width: 1200px;
    margin: 0 auto;
}

.collection-header {
    text-align: center;
    margin-bottom: 50px;
    background: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.collection-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 15px;
    line-height: 1.3;
}

.collection-page-count {
    color: #a0a0a0;
    font-size: 1.1rem;
}

.collection-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.photo-item {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.photo-item:hover {
    transform: translateY(-8px);
}

.collection-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    cursor: pointer;
    transition: filter 0.3s ease;
}

.collection-photo:hover {
    filter: brightness(0.9);
}

/* Copyright Footer */
.collection-copyright {
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.copyright-text {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.copyright-notice {
    color: #f5f5f5;
    font-weight: 500;
    font-size: 1rem;
}

/* Mobile viewport fix for background */
@media (max-width: 768px) {
    html {
        width: 100%;
        height: 100%;
    }
    
    body {
        width: 100%;
        height: 100%;
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
    }
    
    .nav {
        top: 10px;
        right: 10px;
        gap: 15px;
        padding: 8px 15px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .home-section {
        padding: 60px 20px 20px;
    }
    
    .main-content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    
    .content-wrapper {
        padding: 25px 20px;
        max-width: 400px;
    }
    
    .name {
        font-size: 1.1rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .contact-links {
        justify-content: center;
        gap: 10px;
    }
    
    .contact-link {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .profile-img {
        width: 150px;
        height: 190px;
    }
    
    .projects-section {
        padding: 60px 20px;
    }
    
    .project-item {
        padding: 25px 20px;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
    
    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .photography-section {
        padding: 60px 20px;
    }
    
    .photo-collections {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .collection-title {
        font-size: 1.1rem;
    }
    
    .gallery-modal {
        width: 95vw;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
        padding: 20px;
    }
    
    .blog-section {
        padding: 60px 20px;
    }
    
    .blog-item {
        padding: 25px 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .blog-title {
        font-size: 1.1rem;
    }

    .friends-section {
        padding: 60px 20px;
    }

    .coming-soon-section {
        padding: 60px 20px;
    }

    .coming-soon-content {
        padding: 30px 25px;
    }

    .coming-soon-content h1 {
        font-size: 2rem;
    }

    .coming-soon-text {
        font-size: 1.1rem;
    }

    /* Collection Page Responsive */
    .collection-page-section {
        padding: 80px 20px 60px;
    }
    
    .collection-header {
        padding: 30px 25px;
    }
    
    .collection-page-title {
        font-size: 2rem;
    }
    
    .collection-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .collection-photo {
        height: 300px;
    }
    
    .collection-copyright {
        padding: 25px 20px;
        margin-top: 35px;
    }
    
    .copyright-text {
        font-size: 0.85rem;
    }
    
    .copyright-notice {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    html {
        width: 100%;
        height: 100%;
    }
    
    body {
        width: 100%;
        height: 100%;
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
    }
    
    .nav {
        gap: 10px;
        padding: 6px 12px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .home-section {
        padding: 50px 15px 15px;
    }
    
    .content-wrapper {
        padding: 20px 15px;
        max-width: 350px;
    }
    
    .name {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .contact-links {
        gap: 8px;
    }
    
    .contact-link {
        font-size: 12px;
        padding: 5px 8px;
    }
    
    .profile-img {
        width: 120px;
        height: 150px;
    }
    
    .projects-section {
        padding: 50px 15px;
    }
    
    .project-item {
        padding: 20px 15px;
    }
    
    .project-title {
        font-size: 1rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
    
    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        font-size: 0.85rem;
    }
    
    .photography-section {
        padding: 50px 15px;
    }
    
    .photo-collections {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .photography-intro {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .photography-instructions {
        font-size: 0.9rem;
        margin-bottom: 30px;
        padding: 15px 0;
    }
    
    .collection-title {
        font-size: 1rem;
    }
    
    .collection-count {
        font-size: 0.8rem;
    }
    
    .gallery-modal {
        width: 98vw;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 10px 15px;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
        padding: 15px;
        max-height: 70vh;
    }
    
    .blog-section {
        padding: 50px 15px;
    }
    
    .blog-item {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }
    
    .blog-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .photography-instructions {
        font-size: 0.85rem;
        margin-bottom: 25px;
        padding: 12px 0;
    }

    .friends-section {
        padding: 50px 15px;
    }

    .coming-soon-section {
        padding: 50px 15px;
    }

    .coming-soon-content {
        padding: 25px 20px;
    }

    .coming-soon-content h1 {
        font-size: 1.6rem;
    }

    .coming-soon-text {
        font-size: 1rem;
    }

    /* Collection Page Mobile */
    .collection-page-section {
        padding: 70px 15px 50px;
    }
    
    .collection-header {
        padding: 25px 20px;
    }
    
    .collection-page-title {
        font-size: 1.6rem;
    }
    
    .collection-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .collection-photo {
        height: 250px;
    }
    
    .collection-copyright {
        padding: 20px 15px;
        margin-top: 30px;
    }
    
    .copyright-text {
        font-size: 0.8rem;
    }
    
    .copyright-notice {
        font-size: 0.9rem;
    }
}

/* Blog Post Page Styles */
.blog-post-section {
    padding: 80px 40px;
    min-height: 100vh;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-post-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 20px;
}

.blog-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #a0a0a0;
    font-size: 0.9rem;
}

.blog-post-body {
    line-height: 1.8;
}

.blog-post-body p {
    margin-bottom: 20px;
    color: #e0e0e0;
    font-size: 1.1rem;
}

.blog-quote {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #D4AF37;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
    font-style: italic;
}

.blog-quote p {
    color: #f5f5f5;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.blog-post-signature {
    text-align: right;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #a0a0a0;
}

.blog-post-signature p {
    margin-bottom: 5px;
    font-size: 1rem;
}

.blog-post-footer {
    margin-top: 40px;
    text-align: center;
}

.back-link {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border: 1px solid #D4AF37;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #D4AF37;
    color: #000;
}

/* Responsive styles for blog post */
@media (max-width: 768px) {
    .blog-post-section {
        padding: 60px 20px;
    }
    
    .blog-post-content {
        padding: 30px 25px;
    }
    
    .blog-post-title {
        font-size: 2rem;
    }
    
    .blog-post-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .blog-post-body p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-post-section {
        padding: 50px 15px;
    }
    
    .blog-post-content {
        padding: 25px 20px;
    }
    
    .blog-post-title {
        font-size: 1.6rem;
    }
    
    .blog-quote {
        padding: 15px;
        margin: 20px 0;
    }
}

/* Coming Soon / Projects Page */
.coming-soon-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px 40px;
}

.coming-soon-content {
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    text-align: center;
}

.coming-soon-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 20px;
    line-height: 1.3;
}

.coming-soon-text {
    font-size: 1.2rem;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Dark mode adjustments for better contrast */
@media (prefers-color-scheme: dark) {
    .contact-link {
        border-color: rgba(255, 255, 255, 0.4);
        background: rgba(255, 255, 255, 0.15);
    }
    
    .blog-item {
        background: rgba(0, 0, 0, 0.8);
        border-color: rgba(255, 255, 255, 0.15);
    }
    
    .blog-item:hover {
        background: rgba(0, 0, 0, 0.9);
    }
} 