body {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: rgb(229, 229, 229);
}
header {
    background-color: #ffffff; 
    color: rgb(128, 128, 128);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 95px;
    width: 100%;
    box-sizing: border-box;
    filter: drop-shadow(0px 1px 2px rgba(157, 157, 157, 0.5));
    margin: 0;
    position: fixed; 
    top: 0; 
    left: 0; 
    z-index: 1000; 
    padding: 0;
}

header #logo {
    height: 75px;
    margin-left: 485px; 
}
header nav {
    display: flex;
    flex: .7; /* Allows the nav to fill the space */
    justify-content: flex-start; /* Align nav items to the start */
    
}

header nav a {
    color: rgb(143, 139, 139);
    margin-right: 20px;
    text-decoration: none;
    transition: transform 0.3s ease;
    padding-left: -1000;

}


header nav a:hover {
    transform: scale(0.9);
    color: #0d0dbe;
}
.row-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.row {
    display: flex;
    justify-content: flex-start; 
    flex-wrap: wrap;
}

.phone-call-link {
    
    flex: 0 0 calc(33.33% - 20px);
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative; 
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-call-link img {
    width: 100%; 
    height: auto; 
    transition: transform 0.3s ease;
}


.row:last-child .phone-call-link {
    flex: 1 0 calc(33.33% - 20px);
}


.phone-call-link:hover {
    transform: scale(1.05); /
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); 
}

.phone-call-link:hover img {
    transform: scale(1.1); 
}


.phone-call-link::after {
    content: attr(data-label); 
    position: absolute;
    top: 10px;
    left: 10px;
    color: white; 
    background: rgba(0, 0, 0, 0.5); 
    padding: 5px;
    border-radius: 5px;
    font-size: 14px; 
    transition: opacity 0.3s ease;
}

.phone-call-link:hover::after {
    opacity: 0; 
}

.modal {
    display: none; 
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 55%;
    height: 440px;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.request-estimate {
    background-color: #4CAF50; 
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin-left: 75px;
    top: -1000px;
}

.request-estimate:hover {
    background-color: #45a049; 
}
img[src="Summit Grey2.png"] {
    width: 560px;
    height: 315px;
}




.shingle-info .product-line {
    font-style: italic;
    margin-bottom: 10px;
}

.shingle-info hr {
    border: none;
    height: 1px;
    background-color: #ccc;
    margin: 10px 0;
}

.shingle-info h3 {
    font-size: 18px;
    font-weight: bold;
}

.shingle-info p {
    font-size: 16px; 
    margin-bottom: 10px;
}

.request-estimate-link {
    display: block;
    text-align: right;
    text-decoration: none;
    margin-top: 20px;
}

.product-info {
    margin-left: 800px;
    margin-top: 0px;
}
.youtube-player {
    position: relative ; 
    top: -200px; 
    margin-top: -155px;
    z-index: 10; 
    width: 700px;
    height: 393px;
    margin-left: 30px;
}
h2 {
    
    color: #363535;  
 white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: auto;
    max-width: 100%;
    margin-left: -150px;
}
.request-estimate {
    position: relative; 
    top: -250px; 
    left: -5px;
}
p {
    color: #5c5b5b;
}
h3 {
    color: #363535;
}
hr {
    width: 10px;
}

