/* Smart Wit Services - Main Stylesheet */
/* Brand Colors: Black (#000000), Gold (#C9A871), White */

/* ===== CSS RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-black: #000000;
    --color-gold: #C9A871;
    --color-gold-light: #D4B88A;
    --color-gold-dark: #B8956A;
    --color-white: #FFFFFF;
    --color-gray-light: #E5E5E5;
    --color-gray: #888888;
    --color-gray-dark: #333333;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Montserrat', var(--font-primary);

    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    --shadow-soft: 0 4px 20px rgba(201, 168, 113, 0.1);
    --shadow-medium: 0 8px 30px rgba(201, 168, 113, 0.15);
    --shadow-strong: 0 12px 40px rgba(201, 168, 113, 0.2);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-gray-light);
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-gold-light);
}

/* ===== UTILITY CLASSES ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gold {
    color: var(--color-gold);
}

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

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-black);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-black);
    transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 168, 113, 0.1);
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: var(--shadow-soft);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.nav-logo span {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--color-white);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-fast);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(201, 168, 113, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 120px;
    height: auto;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.hero h1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-tagline {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--color-gray-light);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(201, 168, 113, 0.15);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 168, 113, 0.3);
    box-shadow: var(--shadow-medium);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 168, 113, 0.15) 0%, rgba(201, 168, 113, 0.05) 100%);
    border-radius: 12px;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-gold);
}

.service-card h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-gray-light);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gold);
    font-weight: 600;
}

.service-link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ===== TRUST SECTION ===== */
.trust-section {
    background: linear-gradient(180deg, transparent 0%, rgba(201, 168, 113, 0.03) 50%, transparent 100%);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.trust-item {
    padding: 2rem;
}

.trust-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: var(--color-gold);
}

.trust-icon svg {
    width: 100%;
    height: 100%;
}

.trust-item h4 {
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.trust-item p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* ===== SERVICES PAGE DETAILED ===== */
.page-hero {
    padding: 10rem 0 5rem;
    text-align: center;
    background: radial-gradient(ellipse at center top, rgba(201, 168, 113, 0.08) 0%, transparent 60%);
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.service-detail {
    padding: 5rem 0;
    border-bottom: 1px solid rgba(201, 168, 113, 0.1);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail:nth-child(even) .service-detail-content {
    direction: rtl;
}

.service-detail:nth-child(even) .service-detail-content > * {
    direction: ltr;
}

.service-detail-text h2 {
    color: var(--color-gold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.service-detail-text h3 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.service-detail-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.service-features {
    list-style: none;
    margin-top: 2rem;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--color-gray-light);
}

.service-features li svg {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.service-detail-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-graphic {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: linear-gradient(145deg, rgba(201, 168, 113, 0.1) 0%, rgba(201, 168, 113, 0.02) 100%);
    border-radius: 20px;
    border: 1px solid rgba(201, 168, 113, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-graphic svg {
    width: 50%;
    height: 50%;
    color: var(--color-gold);
    opacity: 0.8;
}

/* ===== ABOUT PAGE ===== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.value-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(201, 168, 113, 0.15);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.value-card svg {
    width: 48px;
    height: 48px;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.value-card h4 {
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

/* ===== CONTACT PAGE ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-method svg {
    width: 24px;
    height: 24px;
    color: var(--color-gold);
}

.contact-method span {
    color: var(--color-gray-light);
}

.contact-method a {
    color: var(--color-white);
}

.contact-form {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(201, 168, 113, 0.15);
    border-radius: 12px;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-white);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 113, 0.2);
    border-radius: 6px;
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 113, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23C9A871' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    cursor: pointer;
}

.form-group select option {
    background: var(--color-black);
    color: var(--color-white);
}

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

.form-submit {
    width: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, transparent 0%, rgba(201, 168, 113, 0.03) 100%);
    border-top: 1px solid rgba(201, 168, 113, 0.1);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-brand p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

.footer-links h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-gray);
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--color-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 168, 113, 0.1);
}

.footer-bottom p {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(201, 168, 113, 0.05) 50%, transparent 100%);
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 500px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail:nth-child(even) .service-detail-content {
        direction: ltr;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-medium);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 7rem 0 4rem;
        min-height: auto;
    }

    .hero-logo {
        width: 100px;
    }

    .section {
        padding: 4rem 0;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .trust-item {
        padding: 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        width: 100%;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }
}
