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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.upload-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    text-align: center;
}

.file-input-wrapper {
    margin-bottom: 1rem;
}

input[type="file"] {
    display: none;
}

.file-label {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #3498db;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.file-label:hover {
    background-color: #2980b9;
}

.submit-btn {
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #27ae60;
}

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

.photo-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.photo-link {
    display: block;
    text-decoration: none;
}

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

.photo-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
    transition: opacity 0.3s;
}

.photo-item:hover img {
    opacity: 0.9;
}

.photo-info {
    padding: 1rem;
}

.photo-info p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #444;
}

.photo-info i {
    width: 20px;
    margin-right: 0.8rem;
    color: #3498db;
}

.upload-date,
.has-location,
.date-taken,
.camera-info,
.rating,
.view-count {
    font-size: 0.95rem;
    color: #444;
}

.upload-date {
    font-weight: 500;
    color: #2c3e50;
}

.date-taken {
    color: #666;
}

.view-count {
    color: #666;
}

.view-count i {
    color: #3498db;
}

.site-header {
    text-align: center;
    margin-bottom: 3rem;
}

.site-header h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.site-title {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.site-title:hover {
    color: #3498db;
}

.tagline {
    color: #666;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

/* Logo styling */
.site-logo {
    max-height: 60px;
    width: auto;
    display: block;
}

/* Navigation menu styling */
.main-nav {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #2980b9;
}

.nav-link.active {
    background: #2980b9;
    font-weight: bold;
}

.nav-link i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
    }
    .nav-link {
        text-align: center;
        justify-content: center;
    }
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #666;
    font-size: 0.9rem;
}

.upload-info {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.upload-form .file-label i,
.submit-btn i {
    margin-right: 0.5rem;
}

.recent-photos-section {
    margin-top: 3rem;
}

.recent-photos-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.how-it-works {
    margin-top: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.how-it-works h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

.step i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.step h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.step p {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .recent-photos {
        grid-template-columns: 1fr;
    }
    
    .photo-item img {
        height: 250px;
    }
}

.photo-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.view-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.3s;
    background-color: #3498db;
    color: white;
}

.view-btn:hover {
    background-color: #2980b9;
}

.view-btn i {
    margin-right: 0.5rem;
}

.photo-view {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.photo-view img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.photo-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.detail-item i {
    color: #3498db;
    font-size: 1.2rem;
}

.detail-item strong {
    color: #2c3e50;
    margin-right: 0.5rem;
}

/* Rating styles removed */

.map-container {
    height: 400px;
    border-radius: 4px;
    margin: 2rem 0;
}

.map-links {
    text-align: center;
    margin-bottom: 2rem;
}

.google-maps-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.google-maps-link:hover {
    background: #2980b9;
}

.no-location {
    text-align: center;
    color: #666;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 4px;
    margin: 2rem 0;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 2rem;
    transition: background-color 0.3s;
}

.back-btn:hover {
    background: #2980b9;
}

@media (max-width: 768px) {
    .photo-view {
        padding: 1rem;
    }
    
    .photo-view img {
        max-height: 60vh;
    }
    
    .detail-item {
        padding: 0.8rem;
    }
    
    .map-container {
        height: 300px;
    }
}

.ad-container {
    display: none !important;
}

/* Add any other ad-related classes that need to be hidden */
/* PHOTO_ADS_CSS_ENABLE_V1: eliminata regula care ascundea reclamele */
