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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.47059;
    color: #1d1d1f;
    background: #f5f5f7;
    letter-spacing: -0.022em;
}

.video-section {
    margin-top: 60px;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    position: relative;
}

.video-section video {
    width: 100%;
    height: auto;
    display: block;
    max-width: 1250px;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 22px;
}

header {
    background: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1250px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

header p {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    font-weight: 400;
    opacity: 0.9;
}

nav {
    background: rgba(29, 29, 31, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav.scrolled {
    background: rgba(29, 29, 31, 0.9);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0 1rem;
}

nav a {
    color: rgba(245, 245, 247, 0.92);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 18px;
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
    font-size: 0.9375rem;
    font-weight: 400;
}

nav a:hover {
    background: rgba(245, 245, 247, 0.1);
    color: white;
}

main {
    padding: 2rem 0;
    background: #f5f5f7;
    position: relative;
    z-index: 1;
}

.blog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1rem 0 3rem 0;
    justify-content: center;
}

.blog-post {
    background: white;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    flex: 0 0 320px;
    max-width: 320px;
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 20px rgba(0, 122, 255, 0.4);
}

.blog-post.collapsed {
    opacity: 0.5;
    filter: grayscale(100%);
    transform: scale(0.95);
    cursor: pointer;
}

.blog-post.collapsed:hover {
    transform: scale(1);
    filter: grayscale(50%);
}

section {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem 1.5rem 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.connect-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 1rem 0 3rem 0;
}

.connect-card {
    background: white;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-align: center;
    padding: 2rem;
}

.connect-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 20px rgba(0, 122, 255, 0.4);
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.2);
}

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

.social-icon {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-date {
    color: #86868b;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.post-title {
    color: #1d1d1f;
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.21053;
    letter-spacing: -0.022em;
}

.post-excerpt {
    color: #515154;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.47059;
    flex: 1;
}

.read-more {
    color: #007aff;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
    margin-top: auto;
}

.read-more:hover {
    color: #0051d5;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

@media (max-width: 600px) {
    .stats {
        grid-template-columns: 1fr;
    }
    
    .connect-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 20px rgba(0, 122, 255, 0.4);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: #007aff;
    margin-bottom: 0.25rem;
}

.photos-carousel {
    position: relative;
    margin: 1rem 0 3rem 0;
    overflow: hidden;
}

.photos-container {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    padding: 0 60px;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
}

.photos-container:active {
    cursor: grabbing;
}

.photos-carousel::before,
.photos-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    pointer-events: none;
    z-index: 5;
}

.photos-carousel::before {
    left: 0;
    background: linear-gradient(to right, rgba(245, 245, 247, 0.4), transparent);
}

.photos-carousel::after {
    right: 0;
    background: linear-gradient(to left, rgba(245, 245, 247, 0.4), transparent);
}

.photo-card {
    background: white;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    flex: 0 0 320px;
    min-width: 320px;
}

.photo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 20px rgba(0, 122, 255, 0.4);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 24px;
    font-weight: bold;
    color: #1d1d1f;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.photo-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

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

.photo-content {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.photo-title {
    color: #1d1d1f;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.21053;
    letter-spacing: -0.022em;
}

.photo-date {
    color: #86868b;
    font-size: 0.875rem;
    font-weight: 400;
}

footer {
    background: #1d1d1f;
    color: #f5f5f7;
    text-align: center;
    padding: 3rem 0;
    margin-top: 2rem;
}

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

.modal[style*="block"] {
    display: flex !important;
}

body.modal-open > *:not(.modal) {
    filter: grayscale(30%);
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
}

.close:hover {
    color: #000;
}

/* Photo Modal Styles */
.photo-modal-content {
    background: transparent;
    padding: 0;
    border-radius: 0;
    max-width: fit-content;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    width: 100%;
}

.photo-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    float: none;
    line-height: 0;
    padding-bottom: 2px;
}

.photo-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
    color: white;
}

#modalPhoto {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

#modalPhotoCaption {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    margin-top: 1rem;
    text-align: center;
}

#modalPhotoCaption h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

#modalPhotoCaption p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

#photoModal {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

/* All Photos Modal Styles */
.all-photos-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 18px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    width: 1000px;
}

.all-photos-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    float: none;
}

.all-photos-close:hover {
    color: #000;
}

.all-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.all-photos-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.all-photos-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.all-photos-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.all-photos-item:hover img {
    transform: scale(1.05);
}

.all-photos-item-content {
    padding: 0.75rem;
}

.all-photos-item-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.all-photos-item-date {
    font-size: 0.75rem;
    color: #86868b;
    font-weight: 400;
}

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

.hamburger span {
    width: 20px;
    height: 2px;
    background: rgba(245, 245, 247, 0.92);
    margin: 2px 0;
    transition: 0.3s;
}

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

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

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

#map-container {
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 1.75rem 1.5rem;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    position: relative;
}

.zoom-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.zoom-controls button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #1d1d1f;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.zoom-controls button:hover {
    background: white;
    transform: scale(1.1);
}

.zoom-controls button:disabled {
    background: rgba(200, 200, 200, 0.5);
    color: #999;
    cursor: not-allowed;
    transform: none;
}

.zoom-controls button:disabled:hover {
    background: rgba(200, 200, 200, 0.5);
    transform: none;
}

#map-image {
    transition: transform 0.3s ease;
    transform-origin: center;
}

#map-container:hover #map-image {
    transform: scale(1.2);
}

/* Like Button Styles */
.like-btn {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.like-btn:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.like-btn:not(.liked):hover .heart-icon {
    color: #333;
    -webkit-text-stroke: 0.5px #000;
    transform: scale(1.1);
}

.like-btn.liked {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
}

.like-btn.liked:hover {
    background: white;
}

.like-btn.liked .heart-icon {
    color: #ff4757;
}

.like-btn:not(.liked) .heart-icon {
    color: #666;
    -webkit-text-stroke: 0.5px #333;
}

.like-btn .heart-icon {
    font-size: 1rem;
    line-height: 1;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    color: #666;
    font-weight: normal;
    -webkit-font-feature-settings: "liga" on;
    font-feature-settings: "liga" on;
    -webkit-text-stroke: 0.5px #333;
}

.like-btn .heart-icon.liked {
    color: #ff4757;
    -webkit-text-stroke: 0.5px #ff4757;
}

.like-btn .like-count {
    font-weight: 600;
    color: #1d1d1f;
    min-width: 1rem;
    text-align: center;
}

.like-btn.like-animation {
    animation: likeAnimation 0.3s ease;
}

@keyframes likeAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Pulsing animation for current location marker */
@keyframes pulseMarker {
    0% {
        border: 2px solid rgba(0, 122, 255, 1);
        border-radius: 50%;
    }
    50% {
        border: 6px solid rgba(0, 122, 255, 1);
        border-radius: 50%;
    }
    100% {
        border: 2px solid rgba(0, 122, 255, 1);
        border-radius: 50%;
    }
}

/* Apply pulsing animation to current location marker */
.gm-style img[src*="aaronanddarko.png"],
.gm-style img[src*="data:image/png"][alt="Aaron & Darko"] {
    animation: pulseMarker 2s infinite !important;
    border-radius: 50% !important;
}



/* Photo card like button positioning */
.photo-card {
    position: relative;
}

.photo-card .like-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
}

/* Modal photo like button */
.modal-like-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.modal-like-container .like-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-like-container .like-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.modal-like-container .like-btn .like-count {
    color: white;
}

/* Modal navigation buttons */
.modal-nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 24px;
    font-weight: bold;
    color: #1d1d1f;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1003;
}

.modal-nav-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.modal-prev-btn {
    left: 20px;
}

.modal-next-btn {
    right: 20px;
}

@media (max-width: 768px) {
    .photo-modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    #modalPhotoCaption {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .all-photos-modal-content {
        width: 95vw;
        padding: 1.5rem;
    }
    
    .all-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }
    
    .all-photos-item img {
        height: 120px;
    }
    
    .all-photos-item-content {
        padding: 0.5rem;
    }
    
    .like-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .photo-card .like-btn {
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .photo-card {
        flex: 0 0 45%;
        min-width: 45%;
    }
    
    .photos-container {
        padding: 0 20px;
    }
    
    .hamburger {
        display: flex;
    }

    nav ul {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(29, 29, 31, 0.95);
        backdrop-filter: saturate(180%) blur(20px);
        padding: 1rem 0;
        flex-direction: column;
        gap: 0;
    }

    nav ul.show {
        display: flex;
    }

    nav ul a {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .container {
        padding: 0 16px;
    }

    .video-section {
        min-height: 50vh;
        position: relative;
        background: #000;
    }

    .video-section video {
        height: 50vh;
        width: 100%;
        object-fit: cover;
        z-index: 0;
        position: relative;
    }

    header {
        z-index: 2;
    }

    main {
        padding: 3rem 0 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}/* Map
 Style Switcher Styles */
.style-btn:hover {
    background: #f5f5f7 !important;
    color: #1d1d1f !important;
}

.style-btn.active {
    background: #007aff !important;
    color: white !important;
    border-color: #007aff !important;
}

.style-btn.active:hover {
    background: #0056cc !important;
    color: white !important;
}

@media (max-width: 768px) {
    .map-style-switcher {
        top: 5px !important;
        left: 5px !important;
        padding: 6px !important;
    }
    
    .style-btn {
        padding: 4px 8px !important;
        font-size: 10px !important;
    }
}