/* 
  GlobalGes - Apple Style CSS
*/

:root {
    /* Colors */
    --color-black: #000000;
    --color-dark: #1d1d1f;
    --color-gray-dark: #86868b;
    --color-light: #f5f5f7;
    --color-white: #ffffff;
    --color-accent: #2997ff; /* Apple Blue */
    --color-accent-hover: #0071e3;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: var(--color-dark);
    background-color: var(--color-black);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.text-center { text-align: center; }

/* Typography Scale */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.04em;
}

/* Themes */
.dark-theme {
    background-color: var(--color-black);
    color: var(--color-light);
}

.light-theme {
    background-color: var(--color-light);
    color: var(--color-dark);
}

.light-theme h2, .light-theme h3 {
    color: var(--color-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.022em;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

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

.btn:active {
    transform: scale(0.96);
}

.btn-white:hover {
    background-color: var(--color-light);
    transform: scale(1.02);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

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

.btn-black {
    background-color: var(--color-dark);
    color: var(--color-white);
}

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

/* Navigation */
.apple-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.nav-logo img {
    height: 24px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--color-light);
    font-size: 12px;
    opacity: 0.8;
    letter-spacing: -0.01em;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Video Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Darkens video so text is readable */
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    max-width: 800px;
    margin-top: 48px; /* Offset for nav */
}

.hero-title {
    font-size: clamp(40px, 8vw, 80px);
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.05em;
    color: var(--color-white);
}

.hero-subtitle {
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 32px;
    color: var(--color-light);
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Vision / Intro Section */
.vision-section {
    padding: 160px 0;
}

.vision-section .headline {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    margin-bottom: 24px;
}

.vision-section .intro-text {
    font-size: clamp(20px, 3vw, 28px);
    color: var(--color-gray-dark);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
}

/* Services / Grid Section */
.services {
    padding: 120px 0;
    background-color: var(--color-white); /* Real Apple white background */
}

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

.section-title {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.05;
    margin-bottom: 16px;
}

.section-description {
    font-size: 21px;
    color: var(--color-gray-dark);
}

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

.apple-card {
    background-color: var(--color-light);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    height: 500px;
    transition: transform 0.3s ease;
}

.apple-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-text {
    text-align: center;
    padding: 0 32px;
    margin-bottom: 40px;
    z-index: 2;
}

.card-text h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.card-text p {
    font-size: 17px;
    color: var(--color-gray-dark);
}

.card-img {
    width: 80%;
    margin: 0 auto;
    object-fit: contain;
    margin-top: auto;
    position: relative;
    z-index: 1;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -10px 20px rgba(0,0,0,0.05);
}

/* Quote Section */
.quote-section {
    padding: 160px 0;
    text-align: center;
}

.large-quote {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    font-weight: 600;
    max-width: 900px;
    margin: 0 auto 32px;
    background: linear-gradient(180deg, #fff 0%, #86868b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quote-author {
    font-size: 19px;
    color: var(--color-gray-dark);
}

/* Contact Section */
.contact {
    padding: 120px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info p {
    font-size: 19px;
    margin-bottom: 12px;
}

.contact-desc {
    font-size: 24px;
    color: var(--color-gray-dark);
    margin-bottom: 40px !important;
}

.apple-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

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

.apple-form input,
.apple-form textarea {
    width: 100%;
    padding: 16px;
    border: none;
    border-bottom: 1px solid #d2d2d7;
    background: transparent;
    font-family: var(--font-main);
    font-size: 17px;
    transition: border-color 0.3s ease;
}

.apple-form input:focus,
.apple-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.apple-form .btn {
    width: 100%;
    margin-top: 16px;
}

.form-message {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
    color: #34c759;
    display: none;
}

/* Footer */
.apple-footer {
    padding: 24px 0;
    border-top: 1px solid #d2d2d7;
    background-color: var(--color-light);
    color: var(--color-gray-dark);
    font-size: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: var(--color-dark);
}

.footer-links .divider {
    margin: 0 8px;
    color: #d2d2d7;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 834px) {
    .nav-links {
        display: none;
    }
    
    .nav-links.mobile-menu-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 48px;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.85);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        padding: 40px 24px;
        gap: 32px;
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.mobile-menu-active a {
        font-size: 24px;
    }
    
    .mobile-menu-btn {
        display: block;
        transition: transform 0.3s ease;
    }

    .mobile-menu-btn.active {
        transform: rotate(90deg);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
