a {
    text-decoration: none;
    outline: none;
    color: white;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0a0a0a;
    color: white;
}

/* Sidebar Styles */
.sidebar {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 340px; /* Initial collapsed width */
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000;
    padding-top: 30px;
    transition: width 0.6s ease-out;
    border-right: 0.1px solid rgba(123, 123, 123, 0.736);
    height: 100vh; 
}


/* Sidebar Header */
.sidebar__header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0px;
    transition: transform 0.3s ease-in-out;
    position: relative;
}

.sidebar__logo {
    width: 55px;
    height: auto;
    margin-right: -5px;
    justify-content: flex-start;
    position: relative;  /* Allow positioning with translateX */
    left: -15px;
}

/* Updated logo-text styling */
.logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(209, 129, 16);
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    text-decoration: none;
    margin-left: -20px;
}
/* Active Item */
.sidebar__navItem:active {
    color: rgb(123, 123, 123);
}

.sidebar__navItem:active .sidebar__navIcon,
.sidebar__navItem:active .sidebar__navText,
.sidebar__navItem.home-item:active .sidebar__navIcon{
    color: rgb(123, 123, 123);    

}
.sidebar__header {
    padding-left: 10px; /* Add padding to prevent logo from touching the sidebar border when collapsed */
}

/* Initially hide the text */
.sidebar__navText, .logo-text span {
    display: none;
}



/* Navigation Items */
.sidebar__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-left: 20px;
}

.sidebar__navItem{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 15px;
    text-decoration: none;
    color: white;
    font-size: 18px;
    width: 92%;
    transition: background-color 0.3s ease-in-out;
    box-sizing: border-box;
    margin-top: 17px;
}


.sidebar__navItem:hover {
    background-color: rgb(26, 26, 26);
}

.sidebar__navIcon {
    transition: margin-right 0.3s;
    margin-right: 12px;
}



.sidebar__navItem.home-item:hover {
    background-color: rgb(26, 26, 26); /* Hover background color */
}

.sidebar__navItem.home-item .sidebar__navIcon {
    color: rgb(209, 129, 16); /* Icon color matching company name */
}
/* Main Content Area */
.content {
    display: flex;
    flex-direction: column;
    margin-left: 100px; /* Ensure content moves when sidebar expands */
    padding: 20px;
    transition: margin-left 0.6s ease-out;
}
.sidebar__navText, .logo-text span {
    display: inline-block; /* Ensure text is always shown */
    font-weight: 600;

}
/* Home Item with custom color */
.sidebar__navItem.home-item {
    color: rgb(209, 129, 16); /* Change text and icon color to company name color */
}
.sidebar__navItem.home-item span{
    font-weight: bold;

}
.content {
    margin-left: 350px; /* Ensure content is positioned correctly */
}

/* Section Titles */
h2 {
    color: rgb(209, 129, 16);
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Paragraphs */
p {
    font-size: 18px;
    line-height: 1.6;
}

/* Images in Sections */
.section-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
    display: block;
}

/* Language Modal Styles */
.language-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    display: none;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    height: 200px; /* Increased height */
    width: 320px;  /* Adjust width */
}

/* Make modal visible */
.language-modal.active {
    display: flex;
}


/* Style for each language option */
.language-modal a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    margin: 10px 0;
    transition: color 0.3s ease-in-out;
    padding: 10px 0;
    display: block;
    text-align: center;
}

/* Hover effect on language options */
.language-modal a:hover {
    color: rgb(123, 123, 123);
}

.language-modal a + a {
    border-top: 2px solid rgb(85, 84, 84);
    width: 75%;  /* Make the border span the full width of the modal */
    margin-top: 2px; /* Add space between the text and the border */
}


/* Language selector in Sidebar */
/* Updated Language Item */
.language-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: absolute;
    text-align: left;
    bottom: 30px;
    background-color: #000;
    justify-content: flex-start;
    padding: 15px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, padding-left 0.3s ease-in-out;
    margin-top: 17px;
    width: 92%;  /* Ensure it matches the width of other items */
    margin-top: 17px; 
    box-sizing: border-box;
    padding-left: 20px; /* Adjust padding-left to match the other items */
    padding-right: 15px;
}




/* Language item in collapsed state */
.sidebar .language-item {
    justify-content: left;
    width: 92%; /* Keep the same width as in expanded state */
    padding-left: 12px; 
}


/* Active state for language item */
.language-item.active {
    background-color: rgb(38, 38, 38);
}

.language-item.active .sidebar__navIcon,
.language-item.active .sidebar__navText {
    color: rgb(123, 123, 123);

}
.sidebar:active .sidebar__navItem,
.sidebar__navItem.home-item:active{
    background-color: black;
}
.language-item.active {
    background-color: black; /* Ensure it applies specifically to the Language item */
}

#language-dropdown {
    position: absolute;
    bottom: 75px;
    left: 20px;
    background-color: #000000;
    border-radius: 5px;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    width: 150px;
    text-align: center;
    
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    display: none; /* Start as hidden */
}
/* Style when active */
#language-dropdown.active {
    opacity: 1;
    transform: translateY(0);
}
/* Style for each language option */
#language-dropdown a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
    position: relative; /* Required for the pseudo-element */
    margin-left: -50px;
}

#language-dropdown a:hover {
    color: rgb(123, 123, 123);
}

#language-dropdown a:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%; /* Adjust to control the width of the border */
    height: 1px;
    background-color: rgb(85, 84, 84);
}


/* Title styles */
h2 {
    color: rgb(209, 129, 16); /* Make titles gold */
    font-size: 2rem; /* Adjust title size */
}

/* Add some space between sections */
.product-section {
    margin-top: 30px;
    margin-bottom: 100px; /* Space between sections */
    position: relative;
    transition: transform 0.3s ease-in-out; /* Smooth zoom effect */
    width: 100%; /* Make the section width smaller */
    justify-content: space-between;

}
.container{
    padding-left: 420px;
    padding-right: 60px;
}
/* Zoom effect on hover */
.product-section:hover {
    transform: scale(1.05); /* Zoom in the section */
    border-radius: 40px; /* Slightly rounded border */
    background-color: rgba(58, 45, 45, 0.337);
    border-top: 0.2px solid rgb(123, 123, 123);

}

/* Styles for the section layout */
.product-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center; /* Ensure text is left-aligned */
    gap: 0px; /* Set gap to 0px to reduce space between image and text */
    align-items: center;
    justify-content: center;
}

/* Square image styles (smaller) */
.product-line img {
    width: 300px; /* Set image width to 250px */
    height: 300px; /* Set image height (square) */
    object-fit: cover; /* Ensure the image covers the square area */
    border-radius: 10%;
    margin-left: 30px;
    margin-right: 30px;
    border-top: 0.2px solid rgb(123, 123, 123);

}

/* Text and title container */
.content-container{
    width: 50%; /* Reduce the width of the content container */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center text and title vertically */
    transition: all 0.3s ease-in-out; /* Smooth transition for zoom effect */
    width: 500px; /* Set width to whatever size you need */
    height: 350px;
    
}



.content-container.right{
    margin-left: 50px; /* Adjust margin to keep text in place */
}
.content-container.left{
    margin-right: 50px; /* Adjust margin to keep text in place */
}


/* Overall section styling */
.product-section.active {
    opacity: 1; /* Make active sections visible */
}

#language-dropdown a[data-lang="ru"] {
    color: rgb(209, 129, 16); /* Gold color */
}


/* Search Box Styles */
.search-box-container {
    display: none;
    transition: all 0.3s ease-out;
    width: 85%; /* Match the width of other sidebar items */
    padding: 5px 15px;
    background-color: #000000;
    border-radius: 5px;
    margin-top: 20px;
    margin-left: -10px;
}

.search-box-container input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #000000; 
    outline: none;   
    font-size: 16px;
    box-sizing: border-box;
    background-color: rgb(0, 0, 0);
    color: white;
    border: 0.7px solid rgb(123, 123, 123);

}

* Suggestions List */
.suggestions-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 60px; /* Position it directly below the search bar */
    width: 92%;
    background-color: #000000;
    color: white;
    z-index: 1;
}

.suggestions-list li {
    padding: 10px;
    cursor: pointer;
}

.suggestions-list li:hover {
    background-color: #000000;
}

/* Active Search Bar Styles */
.search-bar-active .search_icon {
    display: none; /* Hide the search icon and text */
}

.search-bar-active .search-box-container {
    display: block;
}




#suggestions li a:hover {
    color: rgb(123, 123, 123); /* Optional: Hover effect to make it gold (for example) */
}
/* Remove bullets and dot from the suggestions */
#suggestions {
    list-style-type: none;  /* Removes the bullets or dots */
    padding-left: 0;  /* Ensures no padding on the left */
    margin-left: -10px;
}

/* Move suggestion links a little to the left and set text color */
#suggestions li a {
    color: white; /* Change suggestion text to white */
    text-decoration: none; /* Optional: removes underline from links */
    padding-left: 10px; /* Moves text a little bit to the left */

}


/* Adjust section height */
.product-section.about_us {
    height: 250px; /* Adjust the height of the section */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    text-align: center; /* Ensure text is centered */
}

/* Make text height smaller */
.text-about_us {
    line-height: 1.4; /* Reduce line height for more compact text */
    font-size: 16px; /* You can also reduce the font size to make the text smaller */
    margin: 0; /* Remove extra margin */
    width: 700px;
    color: rgb(203, 203, 203); /* Text color set to white */
    font-weight: 700;
}

/* Center the content-container */
.content-container.middle {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center text */
    align-items: center; /* Horizontally center text */
    height: 100%; /* Take up full height of the section */
    margin-top: -40px;
}
.title-services, .title-stones, .title-concrete{
    font-weight: 800;
}
/* Optional: If you want to reduce padding/margin in general */
.product-line {
    padding: 0;
}



/* Contact Section */
.contact-section {
    margin-top: 200px;
    padding-top: 20px; /* Space inside the contact section */
    background-color: #00000080; /* Dark background for contrast */
    border-top: 0.1px solid rgba(123, 123, 123, 0.390);
    display: flex; /* Use flexbox to align items */
    justify-content: space-between; /* Distribute space between logo and contact info */
    align-items: center; /* Vertically center the items */
}

/* Logo Section */
.logo-section {
    padding-left: 40px; /* Increase the left padding to move it further right */
    display: flex;
    flex-direction: column; /* Stack logo and company name vertically */
    align-items: center; /* Center the items horizontally */
    justify-content: center; /* Vertically align items */
    text-align: center; /* Center the text of the company name */
    margin-top: 130px;
}

.logo-section img {
    max-width: 100px; /* Adjust the logo size */
    height: auto; /* Ensure the image maintains its aspect ratio */
    display: block; /* Make the image a block-level element */
    margin-bottom: 3px; /* Add some space between logo and name */
    margin-left: 240px;

}

.logo-section h3 {
    color: rgb(209, 129, 16); /* Gold color for the company name */
    margin-top: -15px; /* Remove top margin */
    margin-left: 340px;
    font-weight: 400;
}


/* Contact Info Section */
.contact-info {
    max-width: 600px;
    padding: 20px;
    background-color: #00000080; /* Slightly lighter dark background */
    border-radius: 8px;
    margin-right: 20px; /* Add some space between contact info and right side */
}
.section-picture{
    width: 100%; /* Makes images stretch to fit the container */
    height: auto; /* Keeps the original aspect ratio */
    aspect-ratio: 1 / 1; /* Forces a 1:1 aspect ratio (square) */
    object-fit: cover; /* Ensures images fill the space without stretching */
}
.contact-info h2 {
    color: rgb(209, 129, 16); /* Title in gold */
    text-align: left; /* Align the title to the left */
    margin-bottom: 60px; /* Add some space between title and contact list */
}

.contact-info ul {
    list-style-type: none;
    padding: 0;
}

.contact-info li {
    color: white; /* White text for the contact info */
    margin-bottom: 15px;
}

.contact-info li a {
    color: rgb(209, 129, 16); /* Facebook link in goldenrod */
    text-decoration: none;
}

.contact-info li a:hover {
    text-decoration: underline; /* Add underline on hover */
}


/* Ensure content is readable by changing text color */
.text-stones, .text-concrete {
    color: rgb(203, 203, 203); /* Text color set to white */
    font-weight: 700;
    text-align: left;

}
.text-services{
    color: rgb(203, 203, 203); /* Text color set to white */
    font-weight: 700;
    text-align: right;
}

.phone{
    display: none;
}



@media only screen and (max-width: 1200px) {
    .phone{
        display: inline;
    }
    .comp{
        display: none;
    }


    body {
        background: black;
        color: white;
        margin: 0;
        font-family: Arial, sans-serif;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
    }
    
    a {
        text-decoration: none;
    }
    
    .logo-container_ph {
        display: flex;
        align-items: center;
    }
    
    .company-name_ph {
        color: rgb(209, 129, 16);
    }
    
    .header_ph {
        position: fixed;
        top: 0;
        width: 100%;
        display: flex;
        align-items: center;
        background: black;
        padding: 10px 4vw;
        border-bottom: 0.4px solid rgba(123, 123, 123, 0.547);
        z-index: 10;
        box-sizing: border-box;
        gap: 20px;
    }
    

    #language-dropdown_ph {
        position: fixed;
        top: 63px;
        right: 0vw;
        background-color: #000000;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
        width: 120px;
        max-height: 300px;
        overflow-y: auto;
        text-align: center;
        display: none;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease-out, transform 0.3s ease-out;
        z-index: 1000;
        overflow: visible;
    }
    
    #language-dropdown_ph.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
    
    #language-dropdown_ph a:hover {
        color: rgb(85, 84, 84);
    }
    
    #language-dropdown_ph a {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
        color: white;
        text-decoration: none;
        padding: 5px 0;
        margin: 20px 0;
        transition: background 0.3s;

    }
    
    #language-dropdown_ph a::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 30%; /* adjust as you like */
        height: 1px;
        background-color: rgb(85, 84, 84);
    }
    
    
    .language-dropdown_ph .ru_ph {
        color: rgb(209, 129, 16) !important;
        cursor: pointer;
    }
    .search-bar_ph {
        border: none;
        border: 0.7px solid rgba(123, 123, 123, 0.648);
        transition: all 0.3s ease-out;
        outline: none;
    }
    
    /* Basic styling for the search bar */
    .search-container_ph {
        flex: 1; /* 📏 Let it grow to fill middle space */
        display: flex;
        position: relative;
    }
    
    .language-item_ph {
        display: flex;
        align-items: center;
        font-size: 20px;
        color: white;
        cursor: pointer;
        transition: background-color 0.3s ease-in-out;
        margin-left: -5px;
    }
    

    .search-bar_ph {
        padding: 8px;
        border-radius: 7px;
        background-color: black;
        color: white;
        box-sizing: border-box;
        width: 100%;

    }

    .suggestions-list_ph {
        position: absolute;
        top: 100%;
        left: 0;
        width: 99%; /* Adjusted width */
        background-color: black;
        color: white;
        padding: 0;
        margin: 0;
        list-style: none;
        border-radius: 5px;
        border: 0.7px solid rgba(123, 123, 123, 0.648);
        display: none;
        max-height: 150px;
        overflow-y: auto;
        z-index: 100;
    }

    .suggestions-list_ph li {
        padding: 5px;
        cursor: pointer;
    }

    .suggestions-list_ph li a:hover {
        color: rgb(123, 123, 123);
    }

    .suggestions-list_ph li a {
        display: block;
        text-decoration: none;
        padding: 5px;
        font-size: 14px;
        color: rgb(255, 255, 255);
    }

    .language-item_ph.active {
        color: rgb(123, 123, 123);
    }

    .search-bar_ph:focus + .suggestions-list_ph {
        display: block;
    }

    .search-bar_ph {
        font-size: 12px;
    }

    /* Ensure the logo and company name are in the same line and properly aligned */
    .logo-container_ph {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0; /* 🛡 Prevent it from shrinking */
    }
    
    .company-logo_ph {
        height: 42px;
        width: auto;
        display: inline-block;
        vertical-align: middle; /* ✅ Ensures logo aligns with text */
    }
    
    .company-name_ph {
        font-size: 18px;
        font-weight: 800;
        color: rgb(209, 129, 16);
        white-space: nowrap;
        vertical-align: middle; /* ✅ Aligns text with logo */
        display: inline-block;
    }

    .main-content_ph {
        flex: 1;
        box-sizing: border-box;
        margin-top: 90px;
    }
    
    .product-section_ph {
        margin: 70px 20px 50px 20px;
        padding: 10px 6px;
    }
    
    .product-line_ph {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: center;
        flex-wrap: wrap;

    }
    
    .section-image_ph {
        width: 40%;
        height: auto;
        aspect-ratio: 1 / 1; /* Forces a 1:1 aspect ratio (square) */
        object-fit: cover; /* Ensures images fill the space without stretching */
        border-radius: 10%;
        flex-shrink: 0;
    }
    .right_ph {
        margin-right: 15px;
    }
    .left_ph {
        margin-left: 15px;
    }
    .content-container_ph {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0px;
        margin-top: -40px;
    }
    
    .title-stones_ph, .title-concrete_ph {
        color: rgb(209, 129, 16);
        text-align: left;
        font-size: 18px;

    }
    
    .title-services_ph {
        color: rgb(209, 129, 16);
        text-align: right;
        font-size: 18px;
    }
    
    .text-stones_ph, .text-concrete_ph, .text-about_us_ph, .text-services_ph {
        color: rgb(213, 213, 213);
        font-weight: 600;
        margin-top: -10px;
        font-size: 11px;
    }
    
    .text-stones_ph, .text-concrete_ph, .text-about_us_ph {
        text-align: left;
    }
    
    .text-services_ph {
        text-align: right;
    }
     /* Zoom effect on hover */
     .product-section_ph {
        transform: scale(1.05);
        border-radius: 40px;
        background-color: rgba(58, 45, 45, 0.337);
        border-top: 0.2px solid rgb(123, 123, 123);
    }

    /* Styles for the section layout */
    .product-line_ph {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: center;
        gap: 0px;
        padding: 10px 15px;
    }

    .product-line_ph img {
        object-fit: cover;
        border-radius: 10%;
        border-top: 0.2px solid rgb(123, 123, 123);
    }


    .bottom-nav_ph {
        position: fixed;
        bottom: 0px;
        width: 100%;
        background-color: black;
        display: flex;
        justify-content: space-around;
        padding: 2px 5px;
        border-top: 0.4px solid rgba(123, 123, 123, 0.547);
    }

    
    .icon_ph {
        color: white;
        font-size: 22px;
        margin: 20px 10px;
    }
    
    .nav-link_ph {
        text-decoration: none;
    }
    
    

    /* Optional: Focus effect (for better accessibility) */
    .nav-button_ph:focus {
        outline: none;
    }

    .nav-button_ph {
        color: white;
        transition: color 0.3s ease-in-out;
    }

    .nav-button_ph {
        background-color: black;
        border: black;
    }

    .nav-link_ph .nav-button_ph {
        display: block;
    }

    .icon_ph:hover {
        color: rgb(123, 123, 123);
    }

    .home_icon_ph {
        color: rgb(209, 129, 16);
    }

     /* Contact Section */
/* Full width bottom section */
.contact-section_ph {
background-color: #00000080;
border-top: 0.1px solid rgb(123, 123, 123);
display: flex;
justify-content: space-between;  /* Left and right content */
align-items: flex-end;           /* Align content to bottom */
width: 100%;
box-sizing: border-box;
margin-bottom: 60px;
padding: 10px 20px;
margin-top: 150px;
}

/* Bottom left: Logo and Company Name */
.logo-section_ph {
display: flex;
flex-direction: column;
align-items: flex-start;     /* Align logo + name to left */
justify-content: flex-end;   /* Align vertically to bottom */
margin-bottom: 7px;
}

/* Logo styling */
.logo-section_ph img {
max-width: 60px;
height: auto;
margin-bottom: -10px;
}

/* Company name styling */
.logo-section_ph h3 {
color: rgb(209, 129, 16);
font-weight: 500;
font-size: 12px;
margin: 0;
white-space: nowrap;
}

/* Bottom right: Contact Info */
.contact-info_ph {
display: flex;
flex-direction: column;
justify-content: flex-end;   /* Align text to bottom */
align-items: flex-end;       /* Align content to right */
max-width: 800px;
width: 100%;
background-color: #00000080;
border-radius: 6px;
padding-left: 20px;
text-align: left;

}

/* Contact title */
.contact-info_ph h2 {
color: rgb(209, 129, 16);
font-size: 20px;
margin-bottom: 30px;
}

/* Contact list styling */
.contact-info_ph ul {
list-style-type: none;
padding: 0;
margin: 0;
}

/* Contact items */
.contact-info_ph li {
color: white;
font-size: 14px;
margin-bottom: 10px;
font-size: 11px;

}

.contact-info_ph li a {
color: rgb(209, 129, 16);
text-decoration: none;
}

.contact-info_ph li a:hover {
text-decoration: underline;
}
.middle_ph {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
padding: 10px;
}

.middle_ph .text-about_us_ph{
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
@media only screen and (max-width: 345px) {
    .text-stones_ph, .text-concrete_ph, .text-about_us_ph, .text-services_ph {
        font-size: 9px;
    }
    .title-stones_ph, .title-concrete_ph, .title-services_ph {
        font-size: 14.5px;
    }
    }
}