
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

.home {
    width: 100%;
    height: 100vh;
    background-image: url(../images/background.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}

.layer {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(165, 42, 42, 0.9), rgba(165, 42, 42, 0.7));
    
}

.navbar {
    width: 100%; 
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background-color: rgba(200, 200, 200, 0.1);

}

.logo {
    width: 50px; 
}
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px; /* مسافة بين الصورة والاسم */
    cursor: pointer;
}

.brand-name {
    font-size: 24px;
    font-weight: 800; /* خط عريض جداً */
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff; /* اللون الأساسي */
    font-family: 'Arial Black', sans-serif; /* خط تقيل ومميز */
}

/* حركة شياكة: نخلي كلمة Elite بلون مختلف */
.brand-name span {
    color: #ffd700; /* لون ذهبي هادئ أو اللون اللي تحبيه */
    margin-left: 2px;
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar ul li {
    margin: 0 50px;
    position: relative;
}

.navbar ul li::before {
    content: "0" counter(nav-counter);
    counter-increment: nav-counter;
    position: absolute;
    top: -15px;
    left: 0;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
}

.navbar ul {
    counter-reset: nav-counter;
}

.navbar ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

.navbar ul li a:hover {
    color: #ccc;
}

.icons {
    color: white;
    font-size: 30px;
}

.icons i {
    margin-left: 15px;
    cursor: pointer;
}

.content {
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    margin-top: 50px;
    padding: 0 5%;
}

.content-text {
    color: white;
    max-width: 500px;
}

.content-text h2 {
    font-size: 25px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: bold;
    
}

.content-text h1 {
    font-size: 70px; 
    margin-bottom: 25px;
    font-weight: bold;
}

.content-text p {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 500;
}
.btn:hover {
    background-color: #ddd;
}
.content-img {
    width: 450px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.content-img img {
    width: 120%; 
   
}

.arrow {
    color: #fff;
    font-size: 3rem;
}
.arrow:hover{
        transform: translateX(15px);
}


.style-section {
    padding: 80px 10%;
    background-color: #fff;
}

.subtitle {
    font-size: 28px;
    color: #000;
    margin-bottom: 5px;
}

.title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
}

.gallery {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.card {
    flex: 1; 
}

.img-box {
    width: 100%;
    height: 450px; 
    overflow: hidden;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: 0.5s;
}

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

.card h3 {
    margin-top: 15px;
    font-size: 20px;
    font-weight: bold;
    text-transform: capitalize;
}


.stylish-section {
    width: 100%;
    height: 500px;
    display: flex;
     background-image:url(../images/background.jpg);
}

.stylish-content {
    display: flex;
    width: 100%;
     background: linear-gradient(to right, rgba(165, 42, 42, 0.8), rgba(165, 42, 42, 0.7));
}

.text-side {
    flex: 1;
    padding: 100px 8%;
    color: white;
}

.text-side span {
    font-size: 24px;
    font-weight: bold;
    display: block;
}

.text-side h1 {
    font-size: 60px;
    margin-bottom: 30px;
}

.text-side .desc {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.text-side .desc strong {
    font-size: 20px;
    
}

.text-side p {
    font-size: 20px;
    max-width: 450px;
    color: #fff;
}

.read-more {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 25px;
    padding-bottom: 5px;
}

.read-more:hover{
    opacity: .5;
}
.image-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.logos-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #fff;
    padding: 50px 10%;
}

.logo-item {
    text-align: center;
    opacity: 0.5;

}

.logo-item:hover {
    opacity: 1;
}

.logo-item img {
    height: 150px;
}


.blog-section {
    padding: 50px 10%;
   background-color: #eee;
}

.blog-title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 40px;
}

.blog-container {
    display: flex;
    gap: 40px; 
}

.blog-card {
    flex: 1;
}

.blog-img-wrapper {
    position: relative; 
    width: 100%;
    height: 500px;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vertical-date {
    position: absolute;
    top: 20px;  
    right: -130px;
    transform: rotate(90deg); 
    transform-origin: left top; 
    white-space: nowrap; 
    font-size: 14px;
    color: #000;
    font-family: sans-serif;
}

.blog-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.blog-info p {
    font-size: 15px;
    color: #222;
    margin-bottom: 15px;
}

.blog-link {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 20px;
    display: inline-block;
    padding-bottom: 2px;
}

.blog-link span {
    margin-left: 5px;
    transition: 0.3s;
}

.blog-link:hover span {
    margin-left: 10px;
}


.features {
    display: flex;
    justify-content: space-around;
    padding: 100px 10%;
    background-color: #fff;
    gap: 20px;
}

.feature-item {
    flex: 1;
    text-align: left;
}

.feature-item:nth-child(even) {
    margin-top: 100px; 
}

.feature-item i {
    font-size: 75px; 
    color: #000;
    margin-bottom: 25px;
    display: block;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    max-width: 180px;
}


.stylish-content-edit{
    display: flex;
    width: 100%;
    flex-direction: row-reverse; 
    background: linear-gradient(to right, rgba(165, 42, 42, 0.8), rgba(165, 42, 42, 0.7));
}


.text-side-edit {
    flex: 1;
    padding: 100px 8%;
    color: white;
}
.img-side-edit img{
    width: 98%; 
    height: 93%; 
    object-fit: contain; 
}


.brand-section {
    padding: 100px 10%;
    background-color: #fff;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.skills-content {
    flex: 1;
}

.skills-content h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
}

.skill-item {
    margin-bottom: 30px;
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 500;
}

.progress-line {
    width: 100%;
    height: 8px; 
    background-color: #eee;
    position: relative;
    border-radius: 10px;
    overflow: hidden; 
}

.progress-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #a52a2a; 
    transition: width 1s ease-in-out;
}


.skill-item:nth-child(2) .progress-line::after { width: 95%; }
.skill-item:nth-child(3) .progress-line::after { width: 90%; }
.skill-item:nth-child(4) .progress-line::after { width: 85%; }

a, .btn, .btn-view, i {
    transition: all 0.3s ease-in-out;
}

.brand-image {
    flex: 1;
}

.brand-image img {
    width: 100%;
    display: block;
}

.img-box, .image-side, .content-img {
    overflow: hidden; 
}


.img-box img, .image-side img, .content-img img {
    transition: transform 0.6s ease-in-out; 
}
.card:hover .img-box img,
.stylish-content:hover .image-side img,
.content:hover .content-img img {
    transform: scale(1.1);
}

.blog-card {
    transition: all 0.4s ease-in-out;
    border-radius: 8px; 
}

.blog-card:hover {
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1); 
}

.main-footer {
    background-color: #1a1a1d; 
    color: white;
    padding: 80px 0 0 0; 
    text-align: left;
}

.footer-content {
    padding: 0 10%;
    margin-bottom: 80px;
}

.product-icon {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.product-icon i {
    font-size: 40px;
    border: 2px solid white;
    padding: 15px;
    border-radius: 50%; 
}

.product-icon span {
    font-size: 18px;
    font-weight: bold;
    text-transform: capitalize;
}

.footer-content h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 25px;
    line-height: 1.2;
}

.footer-content p {
    font-size: 18px;
    color: #aaa; 
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn-view {
    display: inline-block;
    background-color: white;
    color: black;
    text-decoration: none;
    padding: 15px 45px;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-view:hover {
    background-color: #ddd;
}

.copyright {
    background-color: #000; 
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #333;
}

.copyright p {
    font-size: 14px;
    color: #fff;
    margin: 0;
}

/* --- Optimized Responsive Design --- */

@media (max-width: 1024px) {
    .content-text h1 { font-size: 50px; }
    .content-img { width: 350px; }
    .navbar ul li { margin: 0 20px; }
}

@media (max-width: 768px) {
    .navbar {
        height: auto;
        flex-direction: column;
        padding: 20px;
    }
    .navbar ul {
        margin: 15px 0;
        padding: 0;
    }
    .navbar ul li { margin: 0 10px; }
    .icons { font-size: 20px; }

    /* 2. Home Section Fix */
    .home { height: auto; min-height: 100vh; }
    .content {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        margin-top: 20px;
    }
    .content-text { max-width: 100%; order: 1; }
    .content-img { 
        width: 80%; 
        height: auto; 
        order: 2;
        margin: 30px 0;
    }
    .content-img img { width: 100%; }
    .arrow { display: none; }

    /* 3. Style & Gallery Section */
    .gallery {
        flex-direction: column;
        gap: 30px;
    }
    .img-box { height: 350px; }
    .stylish-section { height: auto; }
    .stylish-content, .stylish-content-edit {
        flex-direction: column !important; 
    }
    .text-side, .text-side-edit {
        padding: 40px 10%;
        text-align: center;
    }
    .text-side .desc {
        flex-direction: column;
        gap: 10px;
    }
    .image-side, .img-side-edit {
        width: 100%;
        height: 300px;
    }

    /* 5. Blog & Features */
    .blog-container { flex-direction: column; }
    .vertical-date {
        position: relative;
        top: 0; right: 0;
        transform: none;
        display: block;
        margin-bottom: 10px;
        font-weight: bold;
    }
    .blog-img-wrapper { height: 300px; }
    
    .features {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .feature-item:nth-child(even) { margin-top: 0; }
    .feature-item p { max-width: 100%; }

    /* 6. Brand Section */
    .brand-container {
        flex-direction: column-reverse;
        gap: 40px;
    }

    /* 7. Footer */
    .footer-content h2 { font-size: 28px; }
    .footer-content p { font-size: 14px; }
}

@media (max-width: 480px) {
    .content-text h1 { font-size: 35px; }
    .btn { width: 100%; text-align: center; }
    .logo-item img { height: 60px; }
}

@media (max-width: 768px) {
    .logos-section {
        flex-wrap: wrap; 
        justify-content: center;
        gap: 20px;
        padding: 30px 5%;
    }
    
    .logo-item {
        flex: 0 0 40%; 
        opacity: 1; 
    }

    .logo-item img {
        height: auto;
        width: 100%; 
        max-width: 120px; 
        object-fit: contain;
    }
    .blog-img-wrapper {
        height: auto; 
        overflow: visible; 
    }

    .blog-img-wrapper img {
        height: 250px; 
        object-fit: cover;
    }

    .vertical-date {
        position: relative; 
        transform: none; 
        top: 0;
        right: 0;
        display: block;
        margin: 10px 0; 
        writing-mode: horizontal-tb; 
        font-weight: bold;
        color: #666;
    }

    .blog-info {
        padding-top: 10px;
    }

    .blog-info h3 {
        margin-top: 5px;
    }
}