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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #228B22;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-gray: #f5f6fa;
    --medium-gray: #95a5a6;
    --dark-gray: #2c3e50;
    --white: #ffffff;
    --max-width: 1200px;
    --header-height: 70px;
    --footer-height: 60px;
}

/* Dark mode variables */
[data-theme="dark"] {
    --primary-color: #34495e;
    --secondary-color: #2ecc40;
    --accent-color: #e74c3c;
    --text-color: #e8e6e3;
    --light-gray: #2c3e50;
    --medium-gray: #7f8c8d;
    --dark-gray: #e8e6e3;
    --white: #1a1a1a;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Futura+PT:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

/* Page Transitions */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.loaded {
    opacity: 1;
    transform: translateY(0);
}

.page-exit {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-exit.exiting {
    opacity: 0;
    transform: translateY(-10px);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* CTA Link */
.cta-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-family: 'Futura PT', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.02em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 2px solid transparent;
}

.cta-link:hover {
    color: #000000;
    border-bottom: 2px solid #000000;
}

/* Dark Mode Toggle */
.theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: 2px solid var(--medium-gray);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-color);
}

.theme-toggle:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.sidebar .theme-toggle {
    position: static;
    margin-bottom: 1rem;
    width: 100%;
    border-radius: 0;
    height: auto;
    padding: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Futura PT', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
    justify-content: flex-start;
}

.sidebar .theme-toggle:hover {
    color: var(--white);
    background-color: #000000;
    border: 2px solid #000000;
    transform: translateX(4px);
}

/* Mobile Header - Hidden on Desktop */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 60px;
}

.mobile-header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    height: 100%;
    position: relative;
}

.mobile-header .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    margin-top: auto;
    margin-bottom: auto;
}

.mobile-header .hamburger-menu {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-header .logo a {
    font-family: "Young Serif", serif;
    font-size: 1.25rem;
    font-weight: 400;
    font-style: normal;
    color: var(--primary-color);
    text-decoration: none;
}

/* Hamburger Menu */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--dark-gray);
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.9);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
}

.mobile-nav {
    margin-bottom: 3rem;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 1.5rem;
}

.mobile-nav-link {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--secondary-color);
}

/* Mobile Contact Info */
.mobile-contact-info {
    margin-bottom: 2rem;
    text-align: center;
}

.mobile-contact-info p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.mobile-contact-info p:last-child {
    margin-bottom: 0;
}

.mobile-contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-contact-info a:hover {
    color: var(--white);
}

.mobile-filters {
    margin-bottom: 3rem;
}

.mobile-filters h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.mobile-filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.mobile-filter-buttons .filter-btn {
    padding: 1rem 2rem;
    border: 2px solid var(--secondary-color);
    background-color: transparent;
    color: var(--secondary-color);
    font-family: 'Futura PT', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    font-weight: 500;
    min-width: 200px;
    letter-spacing: 0.02em;
}

.mobile-filter-buttons .filter-btn:hover,
.mobile-filter-buttons .filter-btn.active {
    background-color: #000000;
    color: var(--white);
    border: 2px solid #000000;
}

.mobile-social .social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.mobile-social .social-links a {
    color: var(--white);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-social .social-links a:hover {
    color: var(--secondary-color);
}

/* Mobile Albums Timeline in Hamburger Menu */
.mobile-albums-timeline {
    width: 100%;
    max-width: 300px;
    margin-top: 2rem;
    text-align: left;
}

.mobile-albums-timeline h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 600;
}

.mobile-albums-timeline .timeline-content {
    max-height: 40vh;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.mobile-albums-timeline .timeline-year-group {
    margin-bottom: 1rem;
}

.mobile-albums-timeline .timeline-year-header {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.mobile-albums-timeline .timeline-item {
    display: block;
    padding: 0.6rem 0.75rem;
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
}

.mobile-albums-timeline .timeline-item:hover {
    background-color: rgba(255,255,255,0.1);
}

.mobile-albums-timeline .timeline-item .album-title,
.mobile-albums-timeline .timeline-title {
    display: block;
    font-weight: 500;
    color: #ffffff;
}

.mobile-albums-timeline .timeline-item .photo-count {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

/* App Container - Sidebar Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 20%;
    min-width: 280px;
    background-color: var(--white);
    color: var(--text-color);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-content {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.logo {
    margin-bottom: 3rem;
}

.logo a {
    font-family: "Young Serif", serif;
    font-size: 1.75rem;
    font-weight: 400;
    font-style: normal;
    color: var(--dark-gray);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.sidebar-nav {
    margin-bottom: 1.5rem;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Sidebar Contact Info */
.sidebar-contact-info {
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.sidebar-contact-info p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.sidebar-contact-info p:last-child {
    margin-bottom: 0;
}

.sidebar-contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all;
}

.sidebar-contact-info a:hover {
    color: var(--primary-color);
}

.nav-links li {
    margin-bottom: 1rem;
}

.nav-link {
    color: var(--text-color);
    font-family: 'Futura PT', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    letter-spacing: 0.02em;
}

.nav-link:hover {
    color: var(--white);
    background-color: #000000;
    border: 2px solid #000000;
    transform: translateX(4px);
}

.nav-link.active {
    color: var(--white);
    background-color: #333333;
    border: 2px solid #333333;
}

.gallery-filters {
    margin-bottom: auto;
}

.gallery-filters h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-family: 'Futura PT', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.sidebar-footer {
    margin-top: auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-footer .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sidebar-footer .social-links a {
    color: var(--medium-gray);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    padding: 0.5rem;
    border-radius: 4px;
}

.sidebar-footer .social-links a:hover {
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.copyright {
    color: var(--medium-gray);
    font-size: 0.85rem;
    margin: 0;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 20%;
    min-height: 100vh;
}

.gallery-container {
    padding: 2rem;
    min-height: 100vh;
}

/* Buttons */
.btn, button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover, button:hover {
    background-color: var(--primary-color);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 1rem 0;
    height: var(--footer-height);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: var(--white);
    margin-right: 1rem;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Album Page Styles */
.album-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
}

.album-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.album-header h1 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

.album-header p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.album-actions {
    margin-top: 1.5rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.share-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.share-btn .icon {
    font-size: 1rem;
}

/* Loading spinner for album page */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    min-height: 200px;
}

.loading-spinner .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* About Page Styles */
.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Contact Page Styles */
.contact-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.about-hero {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 5rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--light-gray);
}

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

.profile-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 30%;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: scale(1.8);
}

.profile-image img:hover {
    transform: scale(1.85);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.profile-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid var(--secondary-color);
    background-color: var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.profile-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.profile-placeholder p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.hero-text {
    flex: 1;
}

.tagline {
    font-size: 1.25rem;
    color: var(--medium-gray);
    font-style: italic;
}

.bio,
.equipment,
.achievements,
.social-connect,
.resume {
    margin-bottom: 4rem;
    padding: 0;
}

.bio h2,
.equipment h2,
.social-connect h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--dark-gray);
}

.bio p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.equipment-list {
    display: grid;
    gap: 1.5rem;
}

.equipment-list h3 {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.equipment-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.equipment-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.equipment-list li:last-child {
    border-bottom: none;
}

/* Social Connect Section */
.social-connect {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
}

.social-connect h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.social-connect .links-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.dev-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.dev-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.awards-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.specialty-item {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.specialty-item h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.specialty-item p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

.download-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none; } 