/* Modern HTML5 Template CSS for Urban Photography Website */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="city" patternUnits="userSpaceOnUse" width="100" height="100"><rect width="100" height="100" fill="%23ffffff" opacity="0.02"/><rect x="0" y="80" width="20" height="20" fill="%23ffffff" opacity="0.05"/><rect x="30" y="60" width="15" height="40" fill="%23ffffff" opacity="0.05"/><rect x="50" y="70" width="25" height="30" fill="%23ffffff" opacity="0.05"/><rect x="80" y="50" width="20" height="50" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23city)"/></svg>');
    opacity: 0.1;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1 {
    font-size: 2.8em;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    letter-spacing: -1px;
}

.header-subtitle {
    font-size: 1.3em;
    opacity: 0.9;
    font-weight: 300;
    margin-top: 0.5rem;
}

/* Navigation Styles */
.main-nav {
    background: rgba(52, 73, 94, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 3px solid #3498db;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.main-nav li {
    margin: 0 1.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    background: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 400px);
}

/* Content Sections */
.content-section,
.hero-section,
.contact-section {
    background: white;
    margin: 2rem 0;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #e74c3c, #f39c12);
}

h2 {
    color: #2c3e50;
    font-size: 2.2em;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #3498db;
    border-radius: 2px;
}

h3 {
    color: #34495e;
    font-size: 1.5em;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
    color: #444;
    font-size: 1.05em;
}

/* Time Display */
.time-display {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-align: center;
    margin: 2rem auto;
    font-size: 1.1em;
    font-weight: 500;
    max-width: 600px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.hero-image,
.image-showcase {
    text-align: center;
    margin: 3rem 0;
}

.hero-image img,
.image-showcase img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

figcaption {
    font-style: italic;
    color: #666;
    margin-top: 1rem;
    font-size: 0.95em;
    text-align: center;
}

/* Equipment Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.equipment-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    position: relative;
    overflow: hidden;
}

.equipment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.6s ease;
}

.equipment-card:hover::before {
    left: 100%;
}

.equipment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.equipment-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.equipment-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3em;
}

.equipment-card p {
    color: #555;
    font-size: 0.95em;
    text-align: center;
}

/* Equipment Showcase */
.equipment-showcase {
    position: relative;
    margin: 3rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.equipment-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.3em;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: #ddd;
    font-size: 0.9em;
    text-align: left;
}

/* Audio Section */
.audio-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
    border: 2px dashed #3498db;
}

.audio-player {
    width: 100%;
    max-width: 500px;
    margin: 1rem auto;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Video Section */
.video-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
}

.video-placeholder {
    background: rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: 10px;
    border: 2px dashed rgba(255,255,255,0.3);
}

.video-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

/* Contact Form */
.contact-form-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.05em;
}

input, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 4rem;
    position: relative;
}

footer p {
    margin-bottom: 0.5rem;
    text-align: center;
}

footer a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #5dade2;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }
    
    .header-subtitle {
        font-size: 1.1em;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
    }
    
    .main-nav li {
        margin: 0.25rem 0;
    }
    
    main {
        padding: 1rem;
    }
    
    .content-section,
    .hero-section,
    .contact-section {
        padding: 2rem 1.5rem;
        margin: 1rem 0;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    h2 {
        font-size: 1.8em;
    }
    
    .equipment-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }
    
    .content-section,
    .hero-section,
    .contact-section {
        padding: 1.5rem 1rem;
    }
    
    .time-display {
        font-size: 0.9em;
        padding: 0.8rem 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}