/* 
   New Port Media Group
   Apple-Inspired White/Beige Minimalist Design
*/

:root {
    --bg-color: #fbfbfd; /* Apple-esque off-white */
    --text-color: #1d1d1f; /* Deep charcoal/black */
    --secondary-text: #86868b; /* Medium gray */
    --accent-color: #e3dcd2; /* Sophisticated beige */
    --card-bg: #ffffff;
    --font-heading: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --spacing-container: 120px;
    --border-radius: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.47059;
    letter-spacing: -0.022em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px; /* Tighter Apple-like container */
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background-color: rgba(251, 251, 253, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-color);
    z-index: 1001;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 12px;
    color: var(--text-color);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
    color: #000;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 20px;
    height: 1.5px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

/* Sections General */
section {
    padding: var(--spacing-container) 0;
    position: relative;
    overflow: hidden;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 60px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.5s;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.015em;
    color: #1d1d1f;
}

.hero-content p {
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 18px 36px;
    background-color: #0071e3; /* Classic Apple Blue Action Color */
    color: #fff;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 500;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0077ed;
    transform: scale(1.02);
}

/* Images & Visuals */
.hero-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: translateY(-5px);
}

/* Services */
#services {
    background-color: #fff;
}

.section-head {
    margin-bottom: 80px;
    text-align: center;
}

.section-head h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: var(--border-radius);
    transition: all 0.4s ease;
    cursor: default;
}

.service-card:hover {
    transform: scale(1.02);
    background-color: #f2f2f5;
}

.service-number {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-text);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.service-card p {
    font-size: 17px;
    color: var(--secondary-text);
    line-height: 1.5;
}

/* Contact & Impressum */
.footer-section {
    background-color: #f5f5f7;
    padding: 80px 0 40px;
    border-top: 1px solid #d2d2d7;
}

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

.footer-heading {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.impressum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.impressum-grid h4 {
    font-size: 12px;
    color: var(--secondary-text);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.impressum-grid p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.5;
}

.copyright {
    border-top: 1px solid #d2d2d7;
    padding-top: 20px;
    font-size: 12px;
    color: var(--secondary-text);
    display: flex;
    justify-content: space-between;
}

/* Utility Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media(max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        background-color: rgba(255,255,255,0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        transition: 0.4s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 24px;
        margin: 10px 0;
    }

    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 36px;
    }
}

