/* General Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    position: relative;
}

/* Decorative Background Elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(44, 62, 80, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(44, 62, 80, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(44, 62, 80, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(44, 62, 80, 0.03) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    pointer-events: none;
    z-index: -1;
}

/* Section Backgrounds */
section {
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(231, 76, 60, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(44, 62, 80, 0.03) 0%, transparent 20%);
    pointer-events: none;
}

/* Construction-themed decorative elements */
.services-section::after {
    content: '';
    position: absolute;
    right: -50px;
    top: 50%;
    width: 200px;
    height: 200px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10h80v80h-80z' fill='none' stroke='%232c3e50' stroke-width='1' stroke-opacity='0.1'/%3E%3Cpath d='M30 30h40v40h-40z' fill='none' stroke='%232c3e50' stroke-width='1' stroke-opacity='0.1'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    transform: translateY(-50%);
    pointer-events: none;
}

.designs-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(231, 76, 60, 0.03) 0%,
        rgba(44, 62, 80, 0.02) 25%,
        transparent 50%
    );
    animation: rotateGradient 20s linear infinite;
    pointer-events: none;
}

.constructions-section::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: 20%;
    width: 180px;
    height: 180px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h100v100H0z' fill='none' stroke='%232c3e50' stroke-width='1' stroke-opacity='0.1'/%3E%3Cpath d='M0 50h100M50 0v100' stroke='%232c3e50' stroke-width='1' stroke-opacity='0.1'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    pointer-events: none;
}

/* Update existing section styles */
#services {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
}

#designs {
    background: linear-gradient(135deg, rgba(248,249,250,0.95) 0%, rgba(255,255,255,0.95) 100%);
}

#constructions {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
}

#about {
    background: linear-gradient(135deg, rgba(248,249,250,0.95) 0%, rgba(255,255,255,0.95) 100%);
}

/* Add subtle grid pattern to cards */
.service-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.9) 100%);
    border: 1px solid rgba(44, 62, 80, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(44, 62, 80, 0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(44, 62, 80, 0.02) 25%, transparent 25%);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: -1;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    color: white;
    padding-top: 80px;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100vh;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), var(--bg-image);
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide .container {
    position: relative;
    z-index: 2;
}

.banner-controls {
    position: absolute;
    bottom: 50%;
    width: 100%;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.banner-prev,
.banner-next {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(255, 255, 255, 0.5);
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.7s;
}

.hero-section .btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.9s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.service-card {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background: white;
    margin-bottom: 2rem;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    color: var(--secondary-color);
}

/* About Section */
#about img {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact-info i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.form-control {
    border-radius: 5px;
    padding: 0.8rem;
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
}

footer h5 {
    color: white;
    margin-bottom: 1rem;
}

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

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
}

.divider-line {
    height: 2px;
    width: 50px;
    background: var(--secondary-color);
    margin: 0 15px;
}

.divider-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

/* Service Cards */
.service-card {
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    background: white;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card:hover .service-icon {
    background: var(--secondary-color);
    transform: rotateY(180deg);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.service-features li {
    margin-bottom: 0.8rem;
    color: #666;
}

.service-features i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Project Cards (Designs & Constructions) */
.project-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    background: white;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.9);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.project-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.project-card:hover .card-img-top {
    transform: scale(1.05);
}

.project-card .card-body {
    padding: 1.5rem;
}

.project-card .card-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.project-card .card-text {
    color: #666;
    margin-bottom: 1rem;
}

.project-card .btn {
    width: 100%;
    margin-top: 1rem;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(231, 76, 60, 0.05) 0%,
        rgba(44, 62, 80, 0.05) 100%
    );
    border-radius: 15px;
    z-index: -1;
    transition: all 0.3s ease;
}

.project-card:hover::before {
    background: linear-gradient(
        45deg,
        rgba(231, 76, 60, 0.1) 0%,
        rgba(44, 62, 80, 0.1) 100%
    );
}

/* Buttons */
.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
}

/* Designs Section Animations */
.designs-section {
    position: relative;
    overflow: hidden;
}

/* Floating Elements */
.designs-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l30 30-30 30L0 30z' fill='%232c3e50' fill-opacity='0.02'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0l20 20-20 20L0 20z' fill='%23e74c3c' fill-opacity='0.02'/%3E%3C/svg%3E");
    background-position: 0 0, 20px 20px;
    animation: floatBackground 30s linear infinite;
    opacity: 0.5;
    pointer-events: none;
}

/* Glowing Orbs */
.designs-section .glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.15;
    animation: floatOrb 8s ease-in-out infinite;
}

.designs-section .glow-orb:nth-child(1) {
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.designs-section .glow-orb:nth-child(2) {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    top: 60%;
    right: 10%;
    animation-delay: -4s;
}

/* Animations */
@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes floatBackground {
    0% {
        background-position: 0 0, 20px 20px;
    }
    100% {
        background-position: 60px 60px, 80px 80px;
    }
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, 20px);
    }
}

/* Add shimmer effect to project cards */
.project-card .card-img-top {
    position: relative;
    overflow: hidden;
}

.project-card .card-img-top::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }
    100% {
        transform: translateX(100%) rotate(30deg);
    }
} 