@import url('https://fonts.cdnfonts.com/css/roxboroughcf');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'RoxboroughCF', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navigation */
.navbar-custom {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 5px 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Default state - at top of page */
.navbar-brand {
    order: 1;
    margin-bottom: 12px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand img {
    height: 60px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-collapse {
    order: 2;
    width: 100%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav {
    margin: 0 auto;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 15px;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #D4AF37 !important;
}

/* Scrolled state - logo left, nav right */
.navbar-custom.scrolled {
    padding: 8px 0;
}

.navbar-custom.scrolled .navbar-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.navbar-custom.scrolled .navbar-brand {
    order: 1;
    margin-bottom: 0;
    margin-right: auto;
}

.navbar-custom.scrolled .navbar-brand img {
    height: 45px;
}

.navbar-custom.scrolled .navbar-collapse {
    order: 2;
    width: auto;
}

.navbar-custom.scrolled .navbar-nav {
    margin: 0;
    margin-left: auto;
}

/* Hero Section */
.hero-section {
    background-image: url('Graphics/hero image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.btn-cta {
    background-color: #D4AF37;
    color: #1a2332;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-cta:hover {
    background-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212,175,55,0.4);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: white;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card.orange {
    background-color: #1a2332;
    color: white;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #D4AF37;
}

.service-card.orange .service-icon {
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.btn-learn-more {
    background-color: #D4AF37;
    color: #1a2332;
    padding: 10px 30px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.service-card.orange .btn-learn-more {
    background-color: #D4AF37;
    color: #1a2332;
}

.btn-learn-more:hover {
    transform: scale(1.05);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #1a2332;
}

.about-section h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1a2332;
}

.about-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.about-section p {
    font-size: 1.25rem;
    line-height: 1.8;
}

.about-logo {
    max-width: 300px;
    margin-bottom: 30px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: #fff8f0;
}

.features-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1a2332;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    height: 100%;
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 2.5rem;
    color: #D4AF37;
    margin-bottom: 15px;
}

.feature-card h5 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Portfolio Section */
.portfolio-section {
    padding: 80px 0;
    background-color: white;
}

.portfolio-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1a2332;
}

.btn-view-projects {
    background-color: #D4AF37;
    color: #1a2332;
    padding: 12px 35px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-view-projects:hover {
    background-color: #FFD700;
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a2332 0%, #2a3f5f 100%);
}

.contact-left {
    background-color: #1a2332;
    padding: 50px;
    border-radius: 10px 0 0 10px;
    color: white;
}

.contact-left h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.social-icons-contact {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons-contact a {
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s;
}

.social-icons-contact a:hover {
    transform: scale(1.2);
    color: #D4AF37;
}

.contact-right {
    background-color: white;
    padding: 50px;
    border-radius: 0 10px 10px 0;
}

.contact-form .form-control {
    margin-bottom: 20px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btn-submit {
    background-color: #D4AF37;
    color: #1a2332;
    padding: 12px 40px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: #FFD700;
    transform: translateY(-2px);
}

/* Clients Section */
.clients-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.clients-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 50px;
    color: #1a2332;
}

.client-logo {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: all 0.3s;
    margin: 20px;
}

.client-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Footer */
.footer {
    background-color: #1a2332;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    color: #D4AF37;
    transform: scale(1.2);
}

.footer-text {
    font-size: 0.9rem;
    color: #bbb;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .contact-left,
    .contact-right {
        border-radius: 10px;
        margin-bottom: 20px;
    }

    .navbar-brand img {
        height: 40px;
    }
}
