/* Base Styles */
:root {
    --dark-green: #1a3a2a;
    --medium-green: #2d5a40;
    --light-green: #4c7a5e;
    --accent-green: #6baa75;
    --text-light: #e8f0eb;
    --text-dark: #1a1a1a;
    --background-dark: #0f1f14;
    --background-light: #f5f5f5;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-title {
    position: relative;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-green);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

.btn.primary {
    background-color: var(--medium-green);
    color: var(--text-light);
    border: 2px solid var(--medium-green);
}

.btn.primary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn.secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn.secondary:hover {
    background-color: var(--text-light);
    color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background-color: rgba(15, 31, 20, 0.8);
    backdrop-filter: blur(10px);
}

header.scrolled {
    padding: 15px 5%;
    background-color: rgba(15, 31, 20, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-green);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li.active a::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-green);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.3s, height 0.3s, border 0.3s;
    display: none;
}

.cursor.active {
    width: 50px;
    height: 50px;
    border: 3px solid var(--accent-green);
    background: rgba(107, 170, 117, 0.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: var(--dark-green);
    background-image: linear-gradient(135deg, rgba(26, 58, 42, 0.9) 0%, rgba(15, 31, 20, 0.9) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('placeholder-hero.jpg'); /* Replace with your own background image */
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--accent-green);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 2rem;
}

/* Animation Classes */
.animate-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

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

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--background-dark);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.image-frame {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
    aspect-ratio: 4/5;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--medium-green);
    color: var(--text-light);
    font-size: 4rem;
    font-weight: 700;
}

.about-text {
    flex: 1.5;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Work Section */
.work {
    padding: 100px 0;
    background-color: var(--background-dark);
}

.work-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    opacity: 0.9;
    font-weight: 300;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    aspect-ratio: 16/9;
}

.work-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.work-image {
    width: 100%;
    height: 100%;
    background-color: var(--medium-green);
}

.work-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--medium-green);
    color: var(--text-light);
    font-size: 3rem;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(0deg, rgba(15, 31, 20, 0.9) 0%, rgba(15, 31, 20, 0) 100%);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

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

.work-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.work-overlay p {
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: #0a1610;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #b8c7be;
}

.footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark-green);
    color: var(--text-light);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--accent-green);
    transform: translateY(-5px);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav a {
    color: #b8c7be;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--accent-green);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(184, 199, 190, 0.2);
    text-align: center;
    color: #b8c7be;
    font-size: 0.9rem;
}

/* Photography Page Styles */
.photography-main {
    padding-top: 80px;
}

.collections-container {
    display: flex;
    height: calc(100vh - 80px);
}

.collections-sidebar {
    width: 250px;
    background-color: var(--dark-green);
    padding: 30px 0;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.collection-btn {
    display: block;
    padding: 15px 25px;
    text-align: left;
    width: 100%;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.collection-btn::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background-color: var(--accent-green);
    transition: var(--transition);
    z-index: -1;
}

.collection-btn:hover {
    color: var(--text-light);
}

.collection-btn:hover::after {
    width: 5px;
}

.collection-btn.active {
    color: var(--text-light);
    background-color: rgba(107, 170, 117, 0.2);
}

.collection-btn.active::after {
    width: 5px;
}

.gallery-container {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.gallery-header {
    margin-bottom: 30px;
}

.gallery-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.gallery-header p {
    color: #b8c7be;
    font-size: 1.1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    background-color: var(--medium-green);
}

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

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 40px;
}

.lightbox-image-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-prev, 
.lightbox-next {
    cursor: pointer;
    color: var(--text-light);
    font-size: 2rem;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    transition: var(--transition);
    flex-shrink: 0;
}

.lightbox-prev:hover, 
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-title {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 80%;
    text-align: center;
    pointer-events: none;
}

.lightbox-title.active {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lightbox-content {
        padding: 0 20px;
    }
    
    .lightbox-prev, 
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        padding: 15px;
    }
    
    .lightbox-image-container {
        max-width: 100%;
    }
}
.lightbox-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    cursor: grab;
}

.lightbox-image-wrapper.grabbing {
    cursor: grabbing;
}

.lightbox-image {
    transform-origin: 0 0;
    transition: transform 0.25s ease;
    will-change: transform;
}

.lightbox-zoom-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 2001;
}

.lightbox-zoom-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-zoom-controls button:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .lightbox-zoom-controls {
        bottom: 10px;
        right: 10px;
    }
    
    .lightbox-zoom-controls button {
        width: 35px;
        height: 35px;
    }
}

/* Development Page Styles */
.development-main {
    padding-top: 80px;
}

.skills-section {
    padding: 80px 0;
    background-color: var(--background-dark);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.skill-card {
    background-color: var(--dark-green);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 30px 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-color: var(--medium-green);
}

.skill-icon {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.skill-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.skill-level {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.skill-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--accent-green);
    border-radius: 3px;
    transition: width 1s ease;
}

.projects-section {
    padding: 80px 0;
    background-color: var(--dark-green);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--background-dark);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    background-color: var(--medium-green);
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-description {
    margin-bottom: 20px;
    color: #b8c7be;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-tag {
    padding: 5px 12px;
    background-color: rgba(107, 170, 117, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-green);
}

.project-links {
    display: flex;
    justify-content: space-between;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-green);
    font-weight: 600;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--text-light);
}

/* Contact Page Styles */
.contact-main {
    padding-top: 80px;
}

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}


.contact-info {
    padding-right: 30px;
}

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

.contact-info p {
    margin-bottom: 30px;
    color: #b8c7be;
    line-height: 1.8;
    grid-column: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--dark-green);
    border-radius: 50%;
    color: var(--accent-green);
    font-size: 1.2rem;
}

.contact-detail h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-detail p {
    margin: 0;
    color: #b8c7be;
}

.contact-map {
    width: 100%;
    height: 200px;
    background-color: var(--dark-green);
    border-radius: 10px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
}

.contact-form-container {
    grid-column: 2;
    background-color: var(--dark-green);
    border-radius: 10px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-green);
    background-color: rgba(255, 255, 255, 0.15);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--medium-green);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background-color: var(--accent-green);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image {
        max-width: 350px;
        margin: 0 auto 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 992px) {
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .collections-container {
        flex-direction: column;
        height: auto;
    }
    
    .collections-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px 0;
        overflow-x: auto;
        display: flex;
    }
    
    .collection-btn {
        white-space: nowrap;
        padding: 10px 20px;
    }
    
    .collection-btn::after {
        width: 0;
        height: 3px;
        bottom: 0;
        top: auto;
    }
    
    .collection-btn:hover::after,
    .collection-btn.active::after {
        width: 100%;
    }
    
    .gallery-container {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--dark-green);
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}
