@charset "utf-8";
/* CSS Document
ESP 10/10/25
*/

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Libre Franklin, sans-serif, Arial;
    background: #ece8db;
    color: #000;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(218, 214, 200, 0.98);
    z-index: 1000;
    padding: 20px 40px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e6e6e6;
}

.nav-container {
    max-width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
}

.nav-logo {
    margin-right: auto;
    height: 19px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.nav-logo:hover {
    opacity: 1;
}

.nav-link {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #000;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000;
}

/* Moon Phase Widget */
.moon-phase {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
    letter-spacing: 0.3px;
}

.moon-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: relative;
    background: #ddd;
    overflow: hidden;
}

.moon-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.moon-new::before { transform: translateX(0%); }
.moon-waxing-crescent::before { transform: translateX(-25%); }
.moon-first-quarter::before { transform: translateX(-50%); }
.moon-waxing-gibbous::before { transform: translateX(-75%); }
.moon-full::before { transform: translateX(-100%); }
.moon-waning-gibbous::before { transform: translateX(-75%) scaleX(-1); }
.moon-last-quarter::before { transform: translateX(-50%) scaleX(-1); }
.moon-waning-crescent::before { transform: translateX(-25%) scaleX(-1); }

/* Main Content */
.main-content {
    flex: 1;
    margin-top: 80px;
    padding-top: 20px;
}

/* Photo Grid */
.photo-container {
    margin-top: 80px;
    padding: 0 8px 40px 8px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    max-width: 100%;
}

.photo-item {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
    cursor: pointer;
    aspect-ratio: 1/1;
    width: 100%;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s;
    opacity: 0;
}

.photo-item img.loaded {
    opacity: 1;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    z-index: 1;
}

.photo-item.loaded::before {
    display: none;
}

/* Jumbotron Styles */
.jumbotron-hero {
    background: rgba(218, 214, 200, 0.5);
    border-radius: 8px;
    padding: 60px 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(230, 230, 230, 0.5);
}

.jumbotron-hero h1 {
    font-family: Libre Franklin, sans-serif;
    font-weight: 300;
    font-size: 3rem;
    letter-spacing: -0.5px;
    color: #000;
    margin-bottom: 20px;
}

.jumbotron-hero p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    letter-spacing: 0.3px;
    margin-bottom: 30px;
}

/* Buttons */
.btn-custom {
    background: #333;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-custom:hover {
    background: #000;
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-custom {
    background: transparent;
    color: #333;
    border: 1px solid #333;
    padding: 12px 30px;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    background: #333;
    color: #fff;
}

.btn-group-custom {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Service Cards */
.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    height: 100%;
    border: 1px solid rgba(230, 230, 230, 0.5);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.service-card-dark {
    background: #2a2a2a;
    color: #fff;
}

.service-card-dark h2,
.service-card-dark p {
    color: #fff;
}

.service-card-dark .btn-outline-custom {
    color: #fff;
    border-color: #fff;
}

.service-card-dark .btn-outline-custom:hover {
    background: #fff;
    color: #2a2a2a;
}

.service-card h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 0.3px;
}

.service-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
    letter-spacing: 0.3px;
}

/* Featured Section */
.featured-section {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    margin: 60px 0;
    border: 1px solid rgba(230, 230, 230, 0.5);
}

.featured-section h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.featured-section p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px;
    letter-spacing: 0.3px;
}

/* Small Cards */
.small-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px 25px;
    border: 1px solid rgba(230, 230, 230, 0.5);
    transition: all 0.3s;
    height: 100%;
}

.small-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.small-card h5 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.small-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.small-card a {
    font-size: 13px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.small-card a:hover {
    color: #000;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-text-wrapper {
    display: inline-block;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
}

.lightbox-text {
    width: 100%;
    padding: 10px 0;
    font-family: Libre Franklin, sans-serif;
    text-align: right;
    margin-top: 10px;
}

.lightbox-text h3 {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.lightbox-text p {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin: 0 0 8px 0;
}

.lightbox-text .photo-details {
    font-size: 11px;
    color: #999;
    letter-spacing: 0.3px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 30px;
    color: #666;
    cursor: pointer;
    background: none;
    border: none;
    font-weight: 300;
    transition: color 0.3s;
    z-index: 2001;
}

.lightbox-close:hover {
    color: #000;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #666;
    cursor: pointer;
    background: none;
    border: none;
    padding: 20px;
    transition: color 0.3s;
}

.lightbox-nav:hover {
    color: #000;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.image-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: #666;
    letter-spacing: 0.5px;
}

/* Footer */
.site-footer {
    background: rgba(218, 214, 200, 0.98);
    border-top: 1px solid #e6e6e6;
    padding: 40px 40px 30px 40px;
    margin-top: auto;
}

.footer-container {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    text-align: center;
}

.footer-section h4 {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 15px;
}

.footer-link {
    display: block;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #000;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #e6e6e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 12px;
    color: #999;
    letter-spacing: 0.3px;
}

.footer-logo {
    height: 16px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 0.9;
}

/* Animations */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Media Queries */
@media (max-width: 1400px) {
    .photo-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1200px) {
    .photo-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .nav-container {
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .nav-header {
        padding: 18px 30px;
    }
    
    .nav-container {
        gap: 20px;
    }
    
    .nav-logo {
        height: 18px;
        flex-shrink: 0;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .moon-phase {
        font-size: 11px;
        gap: 6px;
    }
    
    .moon-icon {
        width: 18px;
        height: 18px;
    }
    
    .photo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 820px) {
    .nav-header {
        padding: 16px 25px;
    }
    
    .nav-container {
        gap: 16px;
    }
    
    .nav-logo {
        height: 17px;
    }
    
    .nav-link {
        font-size: 12px;
        letter-spacing: 0.3px;
    }
    
    .moon-phase {
        font-size: 10px;
    }
    
    .moon-icon {
        width: 16px;
        height: 16px;
    }
    
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .photo-container {
        padding: 0 6px 30px 6px;
    }
}

@media (max-width: 768px) {
    .nav-header {
        padding: 15px 20px;
    }

    .nav-container {
        gap: 12px;
    }

    .nav-link {
        font-size: 12px;
    }

    .nav-logo {
        height: 16px;
    }

    .moon-phase {
        font-size: 10px;
        gap: 5px;
    }
    
    .moon-icon {
        width: 14px;
        height: 14px;
    }

    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

    .photo-container {
        margin-top: 60px;
        padding: 0 4px 30px 4px;
    }
    
    /* Jumbotron responsive */
    .main-content {
        margin-top: 100px;
        padding-top: 20px;
    }

    .jumbotron-hero {
        padding: 40px 25px;
    }

    .jumbotron-hero h1 {
        font-size: 2rem;
    }

    .service-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .featured-section {
        padding: 40px 25px;
    }

    .featured-section h1 {
        font-size: 1.8rem;
    }

    .btn-group-custom {
        flex-direction: column;
        align-items: center;
    }

    .btn-custom, .btn-outline-custom {
        width: 100%;
        max-width: 250px;
    }

    /* Lightbox responsive */
    .lightbox-text {
        padding: 8px 0;
        margin-top: 8px;
    }

    .lightbox-text h3 {
        font-size: 14px;
    }

    .lightbox-text p {
        font-size: 12px;
    }

    .lightbox-text .photo-details {
        font-size: 10px;
    }

    /* Footer responsive */
    .site-footer {
        padding: 30px 20px 20px 20px;
    }

    .footer-container {
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-section h4 {
        font-size: 13px;
    }

    .footer-link {
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .nav-header {
        padding: 12px 15px;
    }

    .nav-container {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-logo {
        height: 20px;
        width: 100%;
        margin-bottom: 8px;
        order: 1;
    }

    .moon-phase {
        width: 100%;
        justify-content: center;
        margin-bottom: 8px;
        order: 2;
        font-size: 11px;
    }
    
    .nav-link {
        font-size: 13px;
        order: 3;
    }

    .photo-container {
        margin-top: 100px;
    }
    
    .main-content {
        margin-top: 120px;
        padding-top: 15px;
    }
}

@media (max-width: 576px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3px;
    }

    .photo-container {
        padding: 0 3px 20px 3px;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
    }

    .lightbox-nav {
        font-size: 20px;
        padding: 10px;
    }

    .lightbox-text {
        width: 100%;
        padding: 8px 0;
        margin-top: 8px;
        text-align: center;
    }

    .lightbox-text h3 {
        font-size: 13px;
    }

    .lightbox-text p {
        font-size: 11px;
    }

    .site-footer {
        padding: 25px 15px 15px 15px;
    }

    .footer-container {
        flex-direction: column;
        gap: 35px;
        align-items: center;
    }

    .footer-section {
        text-align: center;
        width: 100%;
    }

    .footer-section h4 {
        font-size: 14px;
        text-align: center;
    }

    .footer-link {
        font-size: 16px;
        margin-bottom: 12px;
        text-align: center;
    }

    .footer-copyright {
        font-size: 13px;
    }

    .footer-logo {
        height: 14px;
    }
}

@media (max-width: 480px) {
    .nav-link {
        font-size: 12px;
        letter-spacing: 0.3px;
    }
}

/* Touch device specific */
@media (hover: none) {
    .photo-item:active {
        transform: scale(0.98);
    }
}