/**
 * Main Stylesheet
 * Dargiv & Co Investment Holding SRL
 */

/* Variables */
:root {
    --header-height: 80px;
    --transition-speed: 0.3s;
}

/* Base */
body {
    font-family: 'Inter', sans-serif;
    padding-top: var(--header-height);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.lead {
    font-weight: 500;
}

/* Header */
.header {
    height: var(--header-height);
}

.navbar {
    height: var(--header-height);
    transition: all var(--transition-speed);
}

.navbar.scrolled {
    height: 60px;
}

.navbar-brand img {
    height: 40px;
    transition: height var(--transition-speed);
}

.navbar.scrolled .navbar-brand img {
    height: 30px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('../images/pattern.png');
    opacity: 0.1;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Sections */
section {
    padding: 80px 0;
}

/* Cards */
.service-card,
.project-card {
    transition: transform var(--transition-speed);
    height: 100%;
}

.service-card:hover,
.project-card:hover {
    transform: translateY(-5px);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all var(--transition-speed);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-color);
    filter: brightness(90%);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all var(--transition-speed);
}

.social-link:hover {
    background: white;
    color: var(--primary-color);
}

/* Forms */
.form-control {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}

/* Footer */
.footer {
    background: #1a1a1a;
}

.footer h5 {
    margin-bottom: 1.5rem;
    color: white;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer a:hover {
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

/* Responsive */
@media (max-width: 991.98px) {
    :root {
        --header-height: 60px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand img {
        height: 30px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}
