:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
    --light-text: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
}

.hero-section {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh; /* Make it full screen height */
    display: flex;
    align-items: center;
     color: white;
}


.hero-section h1 {
    color: #ffffff; /* Title color */
}

.hero-section p {
    color: #f0f0f0; /* Subtitle color */
}

.hero-section .btn-primary {
    background-color: #ee1616; /* Button background */
    border-color: #000000;
    color: white; /* Button text */
}

.hero-section .btn-outline-primary {
    border-color: #070707; /* Outline color */
    color: white;           /* Outline text */
}

.hero-section .btn-primary:hover {
    border-color: #070707;
    background-color: #ffffff00; /* Hover background */
    color: #ffffff;            /* Hover text */
}
.hero-section .btn-outline-primary:hover {
    background-color: #ffffff; /* Hover background */
    color: #e00c0c;            /* Hover text */
}


/* Section Padding & Titles */
.section-padding { padding: 80px 0; }

.section-title {
    position: relative;
    margin-bottom: 40px;
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

/* Portfolio */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover { transform: translateY(-5px); }

.portfolio-img { height: 300px; object-fit: cover; width: 100%; }

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

/* Service Cards */
.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.service-card:hover { transform: translateY(-5px); }

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.testimonial-text { font-style: italic; margin-bottom: 20px; }

.testimonial-author { font-weight: 600; color: var(--primary-color); }

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.form-control {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e1e1e1;
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    transition: top 0.4s ease, background 0.3s ease, padding 0.3s ease;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0); /* Transparent at top */
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95); /* Solid background after scroll */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0; /* Optional: shrink padding */
}
/* Default navbar links (transparent background) */
.navbar .nav-link {
    color: white;          /* White text on top */
    transition: color 0.3s ease;
}

/* Navbar brand text (if you use text instead of logo) */
.navbar .navbar-brand {
    color: white;
    transition: color 0.3s ease;
}

/* Navbar links after scrolling (with background) */
.navbar.navbar-scrolled .nav-link {
    color: #333;           /* Dark text when scrolled */
}

/* Navbar brand after scrolling */
.navbar.navbar-scrolled .navbar-brand {
    color: #333;
}

/* Hover effect */
.navbar .nav-link:hover {
    color: #94281a;        /* Change on hover */
}
.custom-navbar {
  background: linear-gradient(to right, #ffffff, #f0f0f0);
}
/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show { opacity: 1; }


/* Social Icons */
.social-icons a {
    color: var(--dark-text);
    margin-right: 15px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover { color: var(--secondary-color); }

@media (max-width: 768px) {
    .hero-section { min-height: 80vh; }
    .section-padding { padding: 60px 0; }
    .contact-form { padding: 20px; }
}
