/* ===========================
   GLOBAL BASE
=========================== */
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
}

/* ===========================
   HEADER & NAV
=========================== */
header {
    background: #ff4081;
    padding: 18px 20px;
    color: #fff;
    text-align: center;
}

.logo {
    width: 150px;
    display: block;
    margin: 0 auto 8px;
    border-radius: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 14px;
}

nav ul li a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffbed1;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, transform 0.1s;
}

.btn:active {
    transform: scale(0.97);
}

.primary-btn {
    background: #ff4081;
    color: #fff;
}

.primary-btn:hover {
    background: #ff5a8d;
}

.secondary-btn {
    background: transparent;
    border: 1px solid #ffbed1;
    color: #ffbed1;
}

.secondary-btn:hover {
    background: #ffbed1;
    color: #000;
}

/* Text link style */
.text-link {
    color: #ffbed1;
    text-decoration: none;
    font-size: 0.95rem;
}

.text-link:hover {
    text-decoration: underline;
}

/* ===========================
   HERO (GENERIC)
=========================== */
.hero {
    background: url("images/background.jpg") center/cover no-repeat;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 20px 20px;
    position: relative;
    margin-bottom: 32px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    border-radius: 0 0 20px 20px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    text-align: center;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.3rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px #000;
}

.hero-content p {
    font-size: 1.05rem;
    margin-bottom: 16px;
    text-shadow: 1px 1px 4px #000;
}

/* ===========================
   HOME PAGE HERO
=========================== */
.home-hero {
    min-height: 55vh;
    margin-bottom: 40px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 64, 129, 0.25), transparent 55%);
    border-radius: 0 0 20px 20px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.hero-tagline {
    font-size: 0.95rem;
    color: #ffbed1;
    margin-top: 4px;
}

/* ===========================
   GENERIC CONTENT SECTION
=========================== */
.content-section {
    background: #111;
    padding: 32px 22px;
    max-width: 1100px;
    margin: 0 auto 26px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255,64,129,0.25);
    text-align: left;
}

.content-section h2 {
    color: #ffbed1;
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 1.8rem;
}

.content-section p,
.content-section li {
    color: #ccc;
    line-height: 1.6;
}

/* ===========================
   HOME PAGE LAYOUT
=========================== */
.home-main {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 0 16px;
}

/* Intro grid */
.home-intro {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
    gap: 26px;
}

.home-intro-text p {
    margin-bottom: 10px;
}

.checklist {
    list-style: none;
    padding-left: 0;
    margin-top: 8px;
}

.checklist li {
    margin-bottom: 6px;
    color: #ccc;
}

.home-intro-card {
    background: #181818;
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 0 10px rgba(255, 64, 129, 0.34);
}

.home-intro-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffbed1;
}

.home-intro-card ul {
    padding-left: 18px;
    margin: 8px 0 12px;
}

/* Services preview */
.home-services {
    text-align: center;
}

.section-subtitle {
    color: #ccc;
    margin-bottom: 22px;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-bottom: 14px;
}

.service-card {
    background: #181818;
    padding: 18px 16px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 0 8px rgba(255, 64, 129, 0.25);
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #ffbed1;
}

.home-services-btn {
    margin-top: 6px;
}

/* Projects preview */
.home-projects-preview {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.home-projects-text p {
    margin-bottom: 14px;
}

.home-projects-thumb img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0,0,0,0.7);
}

/* CTA strip */
.home-cta-strip {
    margin-top: 26px;
    padding: 26px 18px;
    background: linear-gradient(90deg, #ff4081, #ff7aa8);
    border-radius: 12px;
    text-align: center;
}

.home-cta-strip h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.home-cta-strip p {
    margin-bottom: 14px;
}

/* ===========================
   SERVICES PAGE ELEMENTS
=========================== */
.services-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 18px;
}

.services-list li {
    margin-bottom: 6px;
}

/* Old services boxes (if used on /services) */
.services .service-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.services .service-box {
    background: #181818;
    border-radius: 10px;
    padding: 18px 16px;
    min-width: 240px;
    max-width: 280px;
    box-shadow: 0 0 8px rgba(255,64,129,0.25);
}

/* ===========================
   CONTACT PAGE
=========================== */
/* ===========================
   CONTACT PAGE – NEW LAYOUT
=========================== */

.contact-page .content-section {
    text-align: left;
}

/* Wrapper uses same layout as project preview (2-column) */
.contact-wrapper-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 26px;
    margin-top: 20px;
}

/* Contact cards */
.contact-card {
    background: #181818;
    padding: 20px 22px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255,64,129,0.25);
    margin-bottom: 18px;
}

.contact-card h3 {
    color: #ffbed1;
    margin: 0 0 6px;
    font-size: 1.2rem;
}

.contact-card p {
    margin: 4px 0;
    color: #ccc;
}

/* Right-side CTA box */
.contact-cta {
    background: #181818;
    padding: 26px 22px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(255,64,129,0.35);
    text-align: center;
}

.contact-cta h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.contact-cta p {
    margin-bottom: 16px;
}

/* Call button inside card */
.contact-cta .btn {
    width: 100%;
    display: block;
    padding: 14px;
    font-size: 1.05rem;
}

/* CTA strip overrides if needed */
.contact-page .home-cta-strip {
    margin-top: 40px;
}

/* Mobile tweaks */
@media (max-width: 900px) {
    .contact-wrapper-grid {
        grid-template-columns: 1fr;
    }
}

.contact-box {
    background: #181818;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255,64,129,0.3);
}

.contact-section form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 16px;
}

.contact-section input,
.contact-section textarea {
    width: 90%;
    max-width: 430px;
    padding: 10px;
    margin: 8px 0;
    border-radius: 5px;
    border: none;
}

/* ===========================
   PROJECTS PAGE – CATEGORY BLOCKS
=========================== */
.project-category {
    max-width: 650px;
    margin: 46px auto 32px;
    padding: 0 18px;
    text-align: center;
}

.project-category h2 {
    font-size: 1.9rem;
    margin-bottom: 14px;
    color: #ffbed1;
}

/* ===========================
   FIXED SLIDER SYSTEM
=========================== */
.slider {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

/* arrows */
.slider button.prev,
.slider button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.55);
    border: none;
    color: #fff;
    padding: 9px 14px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
}

.slider button.prev { left: 10px; }
.slider button.next { right: 10px; }

.slider button:hover {
    background: rgba(0,0,0,0.8);
}

/* dots */
.dots {
    margin-top: 10px;
}

.dots div {
    width: 9px;
    height: 9px;
    display: inline-block;
    background: #777;
    border-radius: 50%;
    margin: 4px;
    cursor: pointer;
}

.dots .active {
    background: #fff;
}

/* description */
.project-description {
    margin-top: 10px;
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ===========================
   FOOTER
=========================== */
footer {
    margin-top: 40px;
    background: #ff4081;
    padding: 12px;
    color: #fff;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
    .home-intro,
    .home-projects-preview {
        grid-template-columns: 1fr;
    }

    .home-projects-thumb {
        order: -1; /* show image first on mobile */
    }

    .content-section {
        padding: 26px 16px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .slides img {
        height: 260px;
    }
}

@media (max-width: 500px) {
    nav ul li {
        margin: 0 8px;
    }
}
