/* Global Styles */
:root {
    --primary-color: #3a6ea5;
    --secondary-color: #c0392b;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

img {
    width: 100%;
    display: block;
}

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

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

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

section {
    padding: 80px 0;
}

h1, h2, h3 {
    margin-bottom: 20px;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

header h1 {
    margin-bottom: 0;
    font-size: 28px;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px;
    border-radius: 5px;
    transition: var(--transition);
}

nav ul li a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                linear-gradient(to right, #3a6ea5, #6a3a9e);
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 24px;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

#profile-placeholder {
    background-color: #ddd;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
    font-size: 18px;
}

/* Photography Section */
.photography {
    background-color: var(--light-color);
    text-align: center;
}

.photography p {
    margin-bottom: 40px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    height: 300px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-info {
    text-align: center;
    padding: 0 20px;
}

.gallery-info h3 {
    margin-bottom: 10px;
}

.placeholder {
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-content {
    text-align: center;
    color: #888;
}

.placeholder-content i {
    font-size: 48px;
    margin-bottom: 10px;
}

/* Stories Section */
.stories {
    background-color: white;
    text-align: center;
}

.stories p {
    margin-bottom: 40px;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.story-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: left;
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-10px);
}

.story-meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 15px;
}

.story-excerpt {
    margin-bottom: 20px;
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
    text-align: center;
}

.contact p {
    margin-bottom: 40px;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3,
.footer-social h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
}

.social-links li {
    margin-right: 15px;
}

.social-links a {
    color: white;
    font-size: 24px;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    .about-content,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 500px) {
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .gallery,
    .stories-grid {
        grid-template-columns: 1fr;
    }
}
