/*
Theme Name: Martyna InstaPlan
Theme URI: 
Description: Profesjonalny temat dla social media manager
Version: 1.0
Author: Martyna
Author URI: 
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: martyna-instaplan
Domain Path: /languages
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #84150b;
    --primary-warm: #c97b65;
    --accent-light: #ffe4e4;
    --text-dark: #2c2c2c;
    --text-light: #ffffff;
    --border-color: rgba(132, 21, 11, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fafafa;
}

/* ===== NAVIGATION ===== */
nav {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-warm) 100%);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(132, 21, 11, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 50px;
    height: 50px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-dark);
    font-size: 22px;
}

.brand-name {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-warm) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 228, 228, 0.1);
    border-radius: 50%;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: var(--accent-light);
    color: var(--primary-dark);
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-light);
    cursor: pointer;
}

.cta-button:hover {
    background: transparent;
    color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 228, 228, 0.3);
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 80px 20px;
    background: linear-gradient(180deg, #fafafa 0%, var(--primary-dark) 100%);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 38px;
    margin-bottom: 60px;
    color: var(--primary-dark);
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--accent-light);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(132, 21, 11, 0.08);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(132, 21, 11, 0.15);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-dark);
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    padding: 80px 20px;
    background: #fafafa;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    background: var(--accent-light);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(132, 21, 11, 0.1);
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(132, 21, 11, 0.2);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(132, 21, 11, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay p {
    font-size: 16px;
    font-weight: 600;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-warm) 100%);
    color: var(--text-light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 25px;
    font-weight: 700;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.95;
}

.about-image {
    width: 100%;
    height: 350px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-weight: 600;
}

/* ===== FORM SECTION ===== */
.contact {
    padding: 80px 20px;
    background: #fafafa;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--text-light);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(132, 21, 11, 0.1);
}

.contact-form h2 {
    text-align: center;
    color: var(--primary-dark);
    font-size: 32px;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-warm);
    box-shadow: 0 0 0 3px rgba(201, 123, 101, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-warm) 100%);
    color: var(--text-light);
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(132, 21, 11, 0.2);
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-dark);
    color: var(--text-light);
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
        font-size: 12px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px;
    }
}
