body {
    font-family: 'Playfair Display', serif; /* Elegant font */
    margin: 0;
    padding: 0;
    color: silver; /* Silver text color */
    background-color: #000; /* Black background for richness */
}

header {
    background: linear-gradient(135deg, #1c1c1c, #2a2a2a); /* Gradient background */
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8); /* Strong shadow for depth */
}

header h1 {
    margin: 0;
    color: #50C878; /* Luxurious emerald color */
    font-size: 2.5em;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.6); /* Strong text shadow */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: silver; /* Silver links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s, text-shadow 0.3s, transform 0.3s;
}

nav ul li a:hover {
    color: #50C878; /* Luxurious emerald on hover */
    text-shadow: 0 0 20px #50C878; /* Glow effect */
    transform: translateY(-3px); /* Subtle lift effect */
}

.contact-info {
    background-color: #1a1a1a; /* Dark gray for elegance */
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5); /* Shadow for depth */
    margin: 20px auto; /* Center align with margin */
    max-width: 800px; /* Maximum width for better alignment */
}

.contact-info h2 {
    font-size: 2.5em;
    color: #50C878; /* Luxurious emerald for heading */
    margin-bottom: 10px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8); /* Strong shadow for elegance */
}

.contact-info p {
    color: silver; /* Silver for description */
    font-size: 1.2em;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px; /* Space between items */
}

.detail-item {
    background-color: #2e2e2e; /* Dark gray for detail boxes */
    padding: 30px; /* Increased padding for a richer feel */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Shadow for depth */
    width: 250px; /* Fixed width for boxes */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition */
    position: relative; /* Position for pseudo-element */
}

.detail-item:hover {
    transform: translateY(-8px) scale(1.05); /* Lift effect */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8); /* Increased shadow on hover */
}

.detail-item h3 {
    color: #50C878; /* Emerald color for subheadings */
}

.detail-item a {
    color: silver; /* Silver for links */
    text-decoration: none;
    transition: color 0.3s; /* Smooth color transition */
}

.detail-item a:hover {
    color: #50C878; /* Luxurious emerald on hover */
}

.social-media {
    list-style: none;
    padding: 0;
}

.social-media li {
    display: inline;
    margin: 0 10px;
}

.social-media a {
    color: silver; /* Silver for social links */
    text-decoration: none;
    transition: color 0.3s; /* Smooth color transition */
}

.social-media a:hover {
    color: #50C878; /* Luxurious emerald on hover */
}

footer {
    background-color: #2e2e2e; /* Dark gray */
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5); /* Shadow for depth */
    border-top: 5px solid #50C878; /* Luxurious emerald border on top */
    border-bottom: 5px solid #50C878;
    margin-top: 20px; /* Space above the footer */
}

/* 3D Effect for Detail Items */
.detail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay for depth */
    border-radius: 10px; /* Match the item border */
    z-index: -1; /* Place behind the box */
    transition: transform 0.3s ease; /* Smooth transition */
}

.detail-item:hover::before {
    transform: scale(1.1); /* Slightly enlarge the overlay on hover for depth */
}
