/* Home Page Styles */

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../assets/facade.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    animation: zoom 20s infinite alternate;
    margin-top: 120px;
    padding-top: 0;
}

.hero div {
    max-width: 600px;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero button {
    margin-top: 20px;
    padding: 15px 40px;
    font-size: 18px;
}

@keyframes zoom {
    from {
        background-size: 100%;
    }
    to {
        background-size: 120%;
    }
}

/* Services Section */
.services {
    padding: 70px 40px;
    text-align: center;
    color: rgba(0, 0, 0, 1);
    background-color: rgba(24, 24, 24, 0.229);
}

.services h2 {
    font-size: 42px;
    margin-bottom: 30px;
    color: #070529;
}

.service-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 20px;
}

.project-title h2 {
    text-align: center;
    font-size: 42px;
    margin-top: 30px;
    color: #070529;
}

/* Slider */
.slider {
  width: 100%;
  max-width: 900px;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.slides {
  display: flex;
  width: 500%; /* number of slides x 100% */
  animation: slideAnimation 25s infinite;
}

.slide {
  width: 20%; /* 100% / number of slides */
  position: relative;
}

.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.slide p {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 16px;
}

@keyframes slideAnimation {
  0% { transform: translateX(0); }
  16% { transform: translateX(0); }
  20% { transform: translateX(-20%); }
  36% { transform: translateX(-20%); }
  40% { transform: translateX(-40%); }
  56% { transform: translateX(-40%); }
  60% { transform: translateX(-60%); }
  76% { transform: translateX(-60%); }
  80% { transform: translateX(-80%); }
  96% { transform: translateX(-80%); }
  100% { transform: translateX(0); }
}

@keyframes slideAnimation {
  0% {transform: translateX(0);}
  16% {transform: translateX(0);}
  20% {transform: translateX(-20%);}
  36% {transform: translateX(-20%);}
  40% {transform: translateX(-40%);}
  56% {transform: translateX(-40%);}
  60% {transform: translateX(-60%);}
  76% {transform: translateX(-60%);}
  80% {transform: translateX(-80%);}
  96% {transform: translateX(-80%);}
  100% {transform: translateX(0);}
}

/* Arrows */
.arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.arrow {
  font-size: 30px;
  color: #fff;
  padding: 8px 12px;
  cursor: pointer;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  transition: background 0.3s;
}

.arrow:hover {
  background: rgba(0,0,0,0.7);
}

/* Hide radio inputs */
input[name="slider"] {
  display: none;
}

.footer{
    background:#070529;
    color:#fff;
    padding:40px 20px 10px;
}

.footer-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
    max-width:1200px;
    margin:auto;
}

.footer-column h3,
.footer-column h4{
    margin-bottom:15px;
}

.footer-column p{
    line-height:1.6;
}

.footer-column ul{
    list-style:none;
    padding:0;
}

.footer-column ul li{
    margin-bottom:8px;
}

.footer-column ul li a{
    color:#ccc;
    text-decoration:none;
}

.footer-column ul li a:hover{
    color:#fff;
}

.footer-bottom{
    text-align:center;
    margin-top:30px;
    border-top:1px solid #333;
    padding-top:15px;
    font-size:14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        padding-top: 100px;
        margin-top: 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .services {
        padding: 50px 20px;
    }

    .services h2 {
        font-size: 32px;
    }

    .service-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        max-width: 300px;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .card1 img {
        height: 150px;
    }

    .arrows span {
        font-size: 28px;
        padding: 8px 12px;
    }

    .slider {
        padding: 20px 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
        padding-top: 80px;
        margin-top: 0;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero button {
        padding: 12px 25px;
        font-size: 16px;
    }

    .services {
        padding: 30px 15px;
    }

    .services h2 {
        font-size: 24px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .card1 img {
        height: 120px;
    }

    .arrows {
        display: none;
    }

    .slides {
        animation: none;
        width: 100%;
        transform: translateX(0%);
    }
}

.floating-social {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10000;
}

.floating-social a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 5, 41, 0.95);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-icon {
    width: 24px;
    height: 24px;
    filter: invert(1); /* white icon on dark background */
}

.floating-social a:hover .social-icon {
    filter: invert(0.9) drop-shadow(0 0 2px rgba(255,255,255,0.8));
}

.floating-social a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.45);
}

@media (max-width: 768px) {
    .floating-social {
        right: 12px;
        bottom: 80px;
    }

    .floating-social a {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .floating-social {
        right: 10px;
        bottom: 70px;
    }

    .floating-social a {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}

