/* ============================================
   Modern Minimal CSS - Alnssor Enterprise
   ============================================ */

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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #0066ff;
    --accent-hover: #0052cc;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f0f0f0;
    --border-color: #e5e5e5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================
   Header Styles
   ============================================ */

.header {
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header:hover {
    box-shadow: var(--shadow-md);
}

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

.logo {
    text-decoration: none;
    color: inherit;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.logo:hover .logo-text {
    color: var(--accent-color);
}

.nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.6;
}

/* Sticky Hero with Scroll Overlay */
.hero {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: 100vh;
    min-height: 100vh;
}

.content-overlay {
    position: relative;
    z-index: 2;
    background-color: var(--bg-primary);
    margin-top: 100vh;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.footer {
    position: relative;
    z-index: 3;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    padding: 60px 0 40px;
}

/* ============================================
   Section Titles
   ============================================ */

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 64px;
    letter-spacing: -0.5px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #00a8ff);
    border-radius: 2px;
}

/* ============================================
   Partners Section
   ============================================ */

.partners {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.partners-scroll {
    overflow: hidden;
    position: relative;
    height: 120px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    gap: 64px;
    align-items: center;
    will-change: transform;
}

.partners-track img {
    height: 80px;
    width: auto;
    object-fit: contain;
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}

.partners-track img:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

/* ============================================
   About Section
   ============================================ */

.about {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

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

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

.about-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo img {
    max-width: 300px;
    width: 100%;
    height: auto;
    transition: var(--transition);
    filter: drop-shadow(var(--shadow-md));
}

.about-logo img:hover {
    transform: scale(1.05);
}

.about-essay {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.about-essay:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.essay-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.essay-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ============================================
   Services Section
   ============================================ */

.services {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

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

.service-card {
    background-color: var(--bg-primary);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-color), #00a8ff);
    transform: scaleY(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
}

.contact-form {
    background-color: var(--bg-primary);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.attach-files {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    padding: 12px;
    border: 1.5px dashed var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-secondary);
}

.attach-files:hover {
    color: var(--text-secondary);
    border-color: var(--accent-color);
    background-color: rgba(0, 102, 255, 0.05);
}

.attach-icon {
    font-size: 1.1rem;
}

.file-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background-color: var(--bg-secondary);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.file-item-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-item-remove {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px 8px;
    font-size: 1.2rem;
    line-height: 1;
    transition: var(--transition);
}

.file-item-remove:hover {
    color: #e74c3c;
}

.turnstile-container {
    margin: 24px 0;
    display: flex;
    justify-content: center;
}

.submit-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 16px 0;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.submit-btn:hover {
    background-color: var(--accent-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.visit-info {
    background-color: var(--bg-primary);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.visit-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

.visit-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.whatsapp-btn,
.email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 32px;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.whatsapp-btn:hover {
    background-color: #25D366;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.email-btn:hover {
    background-color: var(--accent-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.whatsapp-btn img,
.email-btn svg {
    height: 24px;
    width: 24px;
    flex-shrink: 0;
}

.email-btn svg {
    stroke: currentColor;
}

.address {
    margin-bottom: 32px;
}

.address-line {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.business-hours {
    margin-top: 32px;
}

.hours-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.hours-list {
    list-style: none;
    padding: 0;
}

.hours-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
}

.hours-list li:last-child {
    border-bottom: none;
}

.closed {
    color: #e74c3c;
    font-weight: 600;
}

/* ============================================
   Map Section
   ============================================ */

.map-section {
    background-color: var(--bg-secondary);
}

.map-container-full {
    width: 100%;
    max-width: 100%;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    padding: 60px 0 40px;
    position: relative;
    z-index: 3;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-copyright p {
    margin-bottom: 8px;
}

.footer-copyright .footer-link {
    text-transform: none;
    letter-spacing: normal;
}

/* ============================================
   Privacy Policy Page
   ============================================ */

.privacy-main {
    padding: 120px 0 80px;
    background-color: var(--bg-secondary);
    min-height: calc(100vh - 200px);
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-primary);
    padding: 64px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.privacy-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.5px;
}

.privacy-date {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-size: 0.95rem;
}

.privacy-section {
    margin-bottom: 48px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.privacy-section p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.privacy-list {
    list-style: none;
    padding-left: 0;
    margin: 24px 0;
}

.privacy-list li {
    padding: 12px 0 12px 24px;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.privacy-list li:last-child {
    border-bottom: none;
}

.privacy-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.privacy-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.privacy-link:hover {
    text-decoration: underline;
    color: var(--accent-hover);
}

/* ============================================
   Custom Site Alert/Notification
   ============================================ */

.site-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 300px;
    max-width: 500px;
    background-color: var(--bg-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.site-alert.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.site-alert-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 16px;
}

.site-alert-message {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.site-alert-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.site-alert-close:hover {
    color: var(--text-primary);
}

.site-alert.success {
    border-left: 4px solid #27ae60;
}

.site-alert.error {
    border-left: 4px solid #e74c3c;
}

.site-alert.warning {
    border-left: 4px solid #f39c12;
}

.site-alert.info {
    border-left: 4px solid var(--accent-color);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        padding: 16px 0;
    }

    .nav {
        gap: 24px;
    }

    .hero {
        padding-top: 120px;
        min-height: 80vh;
    }

    .partners,
    .about,
    .services,
    .contact {
        padding: 80px 0;
    }

    .section-title {
        margin-bottom: 48px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-essay,
    .contact-form,
    .visit-info {
        padding: 32px;
    }

    .privacy-content {
        padding: 40px 32px;
    }

    .partners-track img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .partners,
    .about,
    .services,
    .contact {
        padding: 60px 0;
    }

    .hero {
        padding-top: 100px;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .about-essay,
    .contact-form,
    .visit-info {
        padding: 24px;
    }

    .privacy-content {
        padding: 32px 24px;
    }

    .partners-scroll {
        height: 100px;
    }

    .partners-track img {
        height: 50px;
    }

    .site-alert {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}
