/* Modern Minimalist Photography Website - CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #333;
    --text-light: #666;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #fff;
    padding-top: 80px;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    letter-spacing: -0.5px;
}

.logo:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), #5dade2);
    transition: var(--transition);
    border-radius: 2px;
}

.logo:hover::after {
    width: 100%;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Active page indicator */
nav ul li a.active {
    color: var(--secondary-color);
    font-weight: 600;
}

nav ul li a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 24px;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero p {
    font-size: 19px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Content Sections */
.content-section {
    margin-bottom: 60px;
}

.content-section h1 {
    font-size: 40px;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.content-section h2 {
    font-size: 32px;
    margin-bottom: 24px;
    margin-top: 50px;
    color: var(--primary-color);
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.content-section h2:first-of-type {
    margin-top: 0;
}

.content-section h3 {
    font-size: 24px;
    margin: 35px 0 18px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: -0.3px;
}

.content-section p {
    margin-bottom: 18px;
    text-align: justify;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 16px;
}

.content-section ul, .content-section ol {
    margin: 25px 0;
    padding-left: 35px;
    line-height: 1.8;
}

.content-section li {
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 16px;
}

.content-section ul li::marker {
    color: var(--secondary-color);
}

.content-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Image Styles */
.content-image {
    max-width: 450px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0 20px 30px;
    display: block;
    box-shadow: var(--shadow);
    transition: var(--transition);
    float: right;
}

.content-image:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* Clear float after sections */
.content-section::after {
    content: "";
    display: table;
    clear: both;
}

/* For images that should be centered */
.content-image.center {
    float: none;
    margin: 30px auto;
    max-width: 600px;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.card {
    background: var(--light-gray);
    padding: 32px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 20px;
}

.card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: #fff;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    background: var(--light-gray);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 14px;
    margin-bottom: 0;
}

.btn {
    background: var(--secondary-color);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 999;
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-secondary {
    background: #95a5a6;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 0;
        background: #fff;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        opacity: 0;
    }

    nav.active {
        max-height: 600px;
        opacity: 1;
    }

    nav ul {
        flex-direction: column;
        padding: 0 20px 20px 20px;
        gap: 0;
        margin: 0;
    }

    nav ul li {
        border-bottom: 1px solid var(--border-color);
        padding: 16px 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    nav.active ul li {
        opacity: 1;
        transform: translateY(0);
    }

    nav.active ul li:nth-child(1) { transition-delay: 0.05s; }
    nav.active ul li:nth-child(2) { transition-delay: 0.1s; }
    nav.active ul li:nth-child(3) { transition-delay: 0.15s; }
    nav.active ul li:nth-child(4) { transition-delay: 0.2s; }
    nav.active ul li:nth-child(5) { transition-delay: 0.25s; }
    nav.active ul li:nth-child(6) { transition-delay: 0.3s; }
    nav.active ul li:nth-child(7) { transition-delay: 0.35s; }
    nav.active ul li:nth-child(8) { transition-delay: 0.4s; }
    nav.active ul li:nth-child(9) { transition-delay: 0.45s; }

    nav ul li:last-child {
        border-bottom: none;
    }
    
    .content-image {
        float: none;
        margin: 25px auto;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 17px;
    }

    .content-section h1 {
        font-size: 28px;
    }

    .content-section h2 {
        font-size: 24px;
    }
    
    .content-section h3 {
        font-size: 20px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-buttons .btn {
        flex: 1;
        min-width: 150px;
    }

    body {
        padding-top: 80px;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 70px;
    }

    body {
        padding-top: 70px;
    }

    .hero {
        padding: 40px 20px;
    }

    main {
        padding: 20px 15px;
    }
}

