/* Premium High-End Portfolio Design */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@300;400;500;600;700&display=swap');

:root {
    --gold: #d4af37;
    --gold-light: #f4e4bc;
    --gold-dark: #b8941f;
    --platinum: #e5e4e2;
    --charcoal: #1a1a1a;
    --charcoal-light: #2a2a2a;
    --charcoal-lighter: #3a3a3a;
    --ivory: #faf9f6;
    --ivory-dark: #f5f3f0;
    --text-primary: #1a1a1a;
    --text-secondary: #6b6b6b;
    --text-light: #b8b8b8;
    --accent: #c9a961;
    --accent-dark: #a68b4f;
    --shadow-premium: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.1);
    --border-premium: 1px solid rgba(212, 175, 55, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--ivory);
    line-height: 1.8;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Premium Navigation */
.navbar {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: var(--border-premium);
    padding: 1.5rem 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1000;
    position: fixed;
    width: 100%;
    top: 0;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    padding: 1rem 0;
    box-shadow: var(--shadow-soft);
}

.navbar-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold) !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding-left: 1rem;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
}

.nav-link {
    font-weight: 500;
    color: var(--platinum) !important;
    margin: 0 0.25rem;
    padding: 0.5rem 1.25rem !important;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.navbar .btn-primary {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.75rem 2rem;
    border-radius: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.navbar .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.navbar .btn-primary:hover {
    color: var(--charcoal);
    border-color: var(--gold);
}

.navbar .btn-primary:hover::before {
    left: 0;
}

/* Premium Hero Section */
.hero-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
}

@media (min-width: 769px) {
    .hero-section {
        background-attachment: fixed;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(26, 26, 26, 0.75) 50%, rgba(15, 15, 15, 0.85) 100%);
    z-index: 1;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    animation: premiumGlow 20s ease-in-out infinite;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(212, 175, 55, 0.05) 2px, rgba(212, 175, 55, 0.05) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(212, 175, 55, 0.05) 2px, rgba(212, 175, 55, 0.05) 4px);
    background-size: 100px 100px;
    opacity: 0.4;
}

@keyframes premiumGlow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 300;
    color: var(--ivory);
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    position: relative;
}

.hero-section h1::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-section .lead {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 650px;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-section .btn {
    padding: 1.25rem 3rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
}

.hero-section .btn-primary {
    background: var(--gold);
    color: var(--charcoal);
    border-color: var(--gold);
}

.hero-section .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-section .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.hero-section .btn-outline-light {
    border-color: rgba(250, 249, 246, 0.3);
    color: var(--ivory);
}

.hero-section .btn-outline-light:hover {
    background: rgba(250, 249, 246, 0.1);
    border-color: var(--ivory);
    color: var(--ivory);
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

/* Premium Solutions Section */
#solutions {
    background: var(--ivory);
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.solution-card {
    background: white;
    border: var(--border-premium);
    padding: 0;
    height: 100%;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.solution-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 300px;
    margin: 0;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    display: block;
}

.solution-card:hover .solution-image img {
    transform: scale(1.08);
}

.solution-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.solution-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-color: var(--gold);
}

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

.solution-card:hover::after {
    opacity: 1;
}


.solution-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
    font-weight: 400;
}

.solution-card .subtitle {
    color: var(--gold);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: 'Space Grotesk', sans-serif;
}

.solution-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.solution-card ul {
    list-style: none;
    padding: 0;
}

.solution-card ul li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    font-size: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.solution-card ul li:last-child {
    border-bottom: none;
}

.solution-card ul li:hover {
    color: var(--charcoal);
    padding-left: 0.5rem;
}

.solution-card ul li i {
    color: var(--gold);
    margin-right: 1rem;
    font-size: 1rem;
}

/* Premium Methodology Section */
#methodology {
    background: var(--charcoal);
    padding: 8rem 0;
    position: relative;
    color: var(--ivory);
}

#methodology .section-header h2,
#methodology .section-header p {
    color: var(--ivory);
}

.methodology-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 3rem;
    height: 100%;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.methodology-step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.methodology-step:hover {
    transform: translateX(15px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
}

.methodology-step:hover::before {
    transform: scaleY(1);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 1.75rem;
    font-weight: 300;
    margin-bottom: 2rem;
    font-family: 'Cormorant Garamond', serif;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.methodology-step:hover .step-number {
    background: var(--gold);
    color: var(--charcoal);
    transform: rotate(5deg);
}

.methodology-step h4 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--ivory);
    font-weight: 400;
}

.methodology-step p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Premium About Section */
#about {
    background: var(--ivory-dark);
    padding: 8rem 0;
    position: relative;
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-image:hover img {
    transform: scale(1.03);
}

#about .container {
    position: relative;
}

#about h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--charcoal);
    margin-bottom: 3rem;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.05em;
}

#about .lead {
    font-size: 1.75rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.8;
}

#about p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 2rem;
    max-width: 800px;
}

/* Technical Standards */
.tech-section {
    background: var(--charcoal);
    padding: 6rem 0;
    border-top: var(--border-premium);
    border-bottom: var(--border-premium);
}

.tech-section h3 {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Space Grotesk', sans-serif;
}

.tech-logo {
    padding: 2.5rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(212, 175, 55, 0.1);
    margin: 1rem;
}

.tech-logo:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.tech-logo i {
    transition: all 0.6s ease;
    filter: grayscale(100%);
    opacity: 0.5;
}

.tech-logo:hover i {
    filter: grayscale(0%);
    opacity: 1;
    color: var(--gold) !important;
}

/* Premium Contact Section */
#contact {
    background: var(--ivory);
    padding: 8rem 0;
}

.contact-form {
    background: white;
    border: var(--border-premium);
    padding: 4rem;
    box-shadow: var(--shadow-soft);
}

.form-control,
.form-select {
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 0;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    background: var(--ivory);
    font-family: 'Space Grotesk', sans-serif;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    outline: none;
}

.form-label {
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-primary {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: var(--charcoal);
    padding: 1.25rem 3rem;
    font-weight: 500;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.contact-info {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-light) 100%);
    padding: 4rem;
    color: var(--ivory);
    border: var(--border-premium);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.contact-info>* {
    position: relative;
    z-index: 1;
}

.contact-info h4 {
    color: var(--gold);
    margin-bottom: 2rem;
    font-weight: 400;
    font-size: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.9;
}

.contact-map {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 250px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 0;
    transition: all 0.3s ease;
}

.contact-map iframe:hover {
    border-color: rgba(212, 175, 55, 0.6);
}

.contact-info div {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--ivory);
}

.contact-info i {
    font-size: 1.5rem;
    margin-right: 1.5rem;
    color: var(--gold);
    width: 30px;
}

/* Premium Footer */
footer {
    background: var(--charcoal);
    padding: 3rem 0;
    border-top: var(--border-premium);
}

footer p,
footer a {
    color: var(--text-light);
    transition: color 0.4s ease;
    font-size: 0.95rem;
}

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

footer .fw-semibold {
    color: var(--gold);
    font-weight: 500;
}

/* Premium Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.page-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.page-section.active {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--ivory);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .solution-card,
    .methodology-step {
        margin-bottom: 2rem;
    }

    .contact-form,
    .contact-info {
        margin-bottom: 2rem;
        padding: 2.5rem;
    }

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

/* Loading State */
.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Premium Text Selection */
::selection {
    background: var(--gold);
    color: var(--charcoal);
}

::-moz-selection {
    background: var(--gold);
    color: var(--charcoal);
}