/* font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

.footer-left a {
    color: #EAECF0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-left a:hover {
    color: #FE7F2D;
}

/* Navigation Bar */
.navbar {
    background-color: #000000;
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #EAECF0;
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-toggle {
    display: none;
}

.dropdown {
    position: relative;
}

.dropdown-toggle .arrow {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000000;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    z-index: 1000;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #EAECF0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-align: left;
}

.dropdown-item:hover {
    background-color: #000000;
    color: #FE7F2D;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown:hover .dropdown-toggle .arrow {
    transform: rotate(180deg);
}

.dropdown-toggle {
    cursor: default !important;
}

/* Logo & Image */
.nav-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-logo-text {
    color: #EAECF0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-logo-text span span {
    color: #FE7F2D;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-item {
    color: #EAECF0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-item:hover {
    color: #FE7F2D;
}

/*.nav-btn {
    background-color: #FE7F2D;
    color: #000000;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-btn:hover {
    background-color: #EAECF0;
    color: #000000;
}*/

/* Home Page */
.hero-section {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: #000000;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #EAECF0;
    text-align: center;
    padding: 0 20px;
}

.hero-overlay h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-overlay p {
    font-size: 20px;
    font-weight: 300;
    color: #FE7F2D;
}

.post-content {
    text-align: left;
    line-height: 1.6;
    color: #233D4D;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Home Page Content */
.main-content-centered {
    max-width: 1300px;
     margin: 60px auto;
    padding: 0 20px 40px;
    text-align: center;
}

.main-content-centered h2 {
    font-size: 42px;
    color: #233D4D;
    margin-bottom: 30px;
    font-weight: 700;
}

.lead-text {
    max-width: 1100px;
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 1.35;
    color: #000000;
    font-weight: 300;
}

.body-text {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.40;
    color: #000000;
}

.services-section{
    max-width:1200px;
    margin:90px auto;
    padding:0 20px;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:45px;
}

.service-circle{
    width:320px;
    height:320px;
    margin:auto;
    border-radius:50%;
    background:#233D4D;
    color:#EAECF0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:35px;
    transition:.35s;
}

/* Home page review */
.review-form-section {
    max-width: 600px;
    margin: 80px auto;
    padding: 40px 30px;
    background-color: #233D4D;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.review-form-section h2 {
    color: #FE7F2D;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
}

.review-form-section .body-text {
    color: #EAECF0;
    font-size: 16px;
    margin-bottom: 30px;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    width: 100%;
    text-align: left;
}

.rating-label {
    display: block;
    color: #EAECF0;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 10px;
    font-size: 32px;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    color: #b5b8bd;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.star-rating input[type="radio"]:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #FE7F2D;
}

.review-form input[type="text"],
.review-form select,
.review-form textarea {
    width: 100%;
    padding: 15px;
    background-color: #EAECF0;
    color: #000000;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.review-form input::placeholder,
.review-form textarea::placeholder {
    color: #666;
}

.review-form input[type="text"]:focus,
.review-form select:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #FE7F2D;
    background-color: #EAECF0;
}

.review-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: #FE7F2D;
    color: #000000;
    border: none;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #e56b1f;
}

.submit-btn:active {
    transform: scale(0.98);
}

.form-response {
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    min-height: 24px;
}

.reviews-display-section {
    max-width: 1200px;
    margin: 80px auto 40px auto;
    padding: 0 20px;
    text-align: center;
}

.reviews-display-section h2 {
    font-size: 36px;
    color: #233D4D;
    margin-bottom: 40px;
    font-weight: 700;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background-color: #EAECF0;
    border-left: 5px solid #233D4D;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.review-stars {
    margin-bottom: 15px;
}

.stars-count {
    font-size: 16px;
    font-weight: 700;
    color: #FE7F2D;
    background-color: rgba(254, 127, 45, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
}

.review-comment {
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
}

.review-author {
    font-size: 15px;
    font-weight: 600;
    color: #233D4D;
    margin: 0;
    text-transform: capitalize;
}

@keyframes fadeInReview {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.new-review-fade {
    animation: fadeInReview 0.6s ease-out forwards;
}

/*.service-circle:hover{
    transform:translateY(-10px);
    background:#FE7F2D;
}*/

.service-circle span{
    font-size:34px;
    color:#FE7F2D;
    font-weight:bold;
    margin-bottom:15px;
}

.service-circle:hover span{
    color:#EAECF0;
}

.service-circle h3{
    font-size:22px;
    margin-bottom:15px;
}

.service-circle p{
    font-size:15px;
    line-height:1.6;
}

/* Renovation-speConst-furnitures-doors-corian-frames Pages */
.renovations-page {
    background-color: #EAECF0 !important;
}

.renovations-container {
    max-width: 1000px;
    margin: 80px auto 120px auto;
    padding: 0 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #000000;
    margin: 5px 0 15px 0;
}

.page-header .accent-line {
    width: 60px;
    height: 4px;
    background-color: #FE7F2D;
    margin: 0 auto;
}

.renovation-project {
    background-color: #EAECF0;
    border-radius: 6px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(35, 61, 77, 0.06);
    scroll-margin-top: 60px;
}

.project-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
    margin-top: 0;
    margin-bottom: 15px;
}

.project-description {
    text-align: left;
    line-height: 1.6;
    color: #233D4D;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-description.expanded {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.read-more-btn {
    display: inline-block;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.read-more-btn:hover {
    text-decoration: underline;
}

/* --- Carousel --- */
.project-carousel-wrapper {
    position: relative;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    height: 500px;
    background-color: #757575;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(35, 61, 77, 0.85);
    color: #EAECF0;
    border: none;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color:  #EAECF0;
    color: #000000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.btn-prev { left: 20px; }
.btn-next { right: 20px; }

.carousel-slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* quick navigation in Pages(Renovation, SpeConst, furnitures, doors, corian) */
.projects-quick-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 20px;
    margin-bottom: 60px;
    padding: 0 15px;
}

.quick-nav-item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.quick-nav-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.quick-nav-item:nth-child(4) {
    grid-row: span 2;
}

.quick-nav-item:nth-child(5) {
    grid-column: span 2;
}

.quick-nav-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.4s ease;
}

.quick-nav-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.quick-nav-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.03);
}

.quick-nav-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    color: #EAECF0;
    padding: 20px 15px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Helvetica Neue', sans-serif;
    transition: padding-bottom 0.3s ease;
}

.quick-nav-item:hover .quick-nav-title {
    padding-bottom: 25px;
}

/*  About Page */
.about-page-body {
    background-color:#EAECF0 !important;
}

.about-container {
    max-width: 900px;
    margin: 100px auto 140px auto;
    padding: 0 25px;
}

.about-orange-box {
    background-color: #FE7F2D;
    border-radius: 4px;
    padding: 60px 50px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 350px;
    align-items: center;
    box-shadow: 0 15px 40px rgba(254, 127, 45, 0.15);
}

.about-text-content {
    color: #EAECF0;
    padding-right: 20px;
}

.about-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.9;
    display: block;
    margin-bottom: 10px;
}

.about-text-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 25px 0;
    letter-spacing: -1px;
    line-height: 1.1;
}

.about-text-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 0;
    margin-bottom: 18px;
    opacity: 0.95;
}

.about-text-content strong {
    color: #000000;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.about-profile-img {
    width: 400px;
    height: 110%;
    object-fit: cover;
    border-radius: 4px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(19%);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #EAECF0;
    color:  #000000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;

    transform: rotate(90deg);
    font-size: 1.2rem;
    font-weight: bold;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}

.back-to-top-btn:hover {
    background-color: #EAECF0;
    color: #FE7F2D;
    transform: rotate(90deg) scale(1.1);
}

.back-to-top-btn.show {
    opacity: 1;
    pointer-events: auto;
}

/* Error Page */
.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    text-align: center;
    padding: 20px;
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    color: #000000;;
    line-height: 1;
    margin-bottom: 10px;
}

/* Footer Pages */
.footer {
    background-color: #233D4D;
    color: #EAECF0;
    padding: 40px 20px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 80px;
}

.footer-right, .footer-center, .footer-left {
    flex: 0 0 250px;
    text-align: center;
}

.footer h4 {
    color: #FE7F2D;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-right a {
    color: #EAECF0;
    font-size: 24px;
    margin-right: 15px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-right a:hover {
    color: #FE7F2D;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 13px;
    color: #EAECF0;
}