/* General page styling */
body {
    font-family: 'Helvetica', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.65);
    background-image: url(images/dvd\ photov2.jpg); /*add background image*/
    background-size: cover;
    background-blend-mode: soft-light;
}

/* Header styling */
header {
    background-color: #2c3e50;
    padding: 30px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 10px;
    border-color: #f5f5f5;
}

h1 {
    color: #ffffff;
    margin: 0;
    font-size: 2.5em;
}

/* Navigation styling */
.nav-tabs {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0 0 25px 0;
    background-color: #34495e;
    border-radius: 5px;
    overflow: hidden;
    border-color: #f5f5f5;
}

.nav-tabs li {
    flex-grow: 1;
    text-align: center;
}

.nav-tabs a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 0;
    transition: background-color 0.3s;
}

.nav-tabs a:hover, 
.nav-tabs a.active {
    background-color: #e74c3c;
}

/* Main content area styling */
.description {
    background-color: white;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-color: #2c3e50;
    border-width: thick;
}

h2 {
    color: #2c3e50;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
}

/* Special content elements */
.highlight {
    background-color: #f9f9f9;
    border-left: 4px solid #e74c3c;
    padding: 10px 15px;
    margin: 20px 0;
}

/* Image styling */
.portfolio-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 15px 0;
}

/* Button styling */
.button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #2980b9;
}

/* Footer styling */
footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9em;
    color: #fafcfc;
}

/* Additional styles specific to the contact page */
        .contact-methods {
            margin: 20px 0;
        }
        .contact-methods li {
            margin-bottom: 15px;
        }
        .social-links {
            display: flex;
            gap: 20px;
            margin-top: 30px;
        }
        .social-icon {
            display: inline-block;
            background-color: #34495e;
            text-decoration: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            font-size: 20px;
            transition: background-color 0.3s;
        }
        .social-icon:hover {
            background-color: #e74c3c;
        }
        
       

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
    }
    
    .nav-tabs a {
        padding: 10px 0;
    }
    
    header {
        padding: 20px;
    }
    
    h1 {
        font-size: 2em;
    }
}
/* Add to your styles.css file */
.content-with-image {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}

.image-container {
    flex: 0 0 40%; /* Image takes 40% width, doesn't grow or shrink */
}

.text-container {
    flex: 1; /* Text container takes remaining space */
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2); /* Optional: adds shadow */
}

img {
    max-width: 60%;
    height: auto;
}
/* Image with both border and shadow */
.img-fancy {
    border: 2px solid#2c3e50;
    border-radius: 5px;
    padding: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Grid container for images */
.img-grid {
    display: grid;
    gap: 20px;
    width: 100%;
    margin: 20px 0;
}

/* 1x2 grid layout */
.grid-1x2 {
    grid-template-columns: 1fr 1fr;
}

/* 2x2 grid layout */
.grid-2x2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

/* Image in grid should take full width of grid cell */
.img-grid img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Make it responsive for mobile */
@media (max-width: 768px) {
    .content-with-image {
        flex-direction: column;
    }
    
    .image-container {
        margin-bottom: 20px;
    }
}

/* paragraph custom font stylings */
.important {
    font-weight: bold;
    color: red;
  }
  
  .code-like {
    font-family: monospace;
    background-color: #dad7d7;
    padding: 2px 4px;
    border-radius: 3px;
  }

/* download hyperlink custom style */
a.download-link {
    background-color: red;
    border-radius: 5px;
    color: white;
    padding: 0.1em 0.2em;
    text-decoration: none;
    text-transform: uppercase;
  }
  
  a.download-link:hover {
    background-color: #555;
  }

/* web page hyperlink custom style */
a.hyper-link {
    color: #344f69;
    text-decoration: none;
    font-weight: bolder;
}

  a.hyper-link:hover {
    color: red;
  }