/* Genral */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
}

h1, h2, h3, .tittle, .experiecne-sub-tittle, .logo {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

html {
    scroll-behavior: smooth;
}

p {
    color: rgb(85, 85, 85);
    font-size: 1.0rem;
    line-height: 1.6;
}

.bio-container p, .text-container p {
    margin-bottom: 1.5rem;
}

/* Transitions */

a, .btn {
    transition: all 0.3s ease;
}

/* Desktop Navigation Bar */

nav, .nav-links {
    display: flex;
}

nav {
    justify-content: space-around;
    align-items: center;
    height: 17vh;
    background-color: #0c1c33;
    position: relative;
    z-index: 999;
}

.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}

a {
    color: rgb(195, 195, 195);
    text-decoration: none;
    text-decoration-color: white;

}

a:hover {
    color: #B88290;
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: #B88290
}

.logo {
    font-size: 4.25rem;
    color: #B88290;
}

.logo:hover {
    cursor: default;
}

/* hamburger menu */

#hamburger-nav {
    display: none;
    position: relative;
    z-index: 999;
}

.hamburger-menu {
    position: relative;
    display: inline-block;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

.menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #0c1c33;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    border-bottom-left-radius: 1rem;
}

.menu-links a {
    display: block;
    padding: 15px 25px;
    text-align: center;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.menu-links a:hover {
    color: #B88290; 
    text-decoration: underline;
    text-underline-offset: 0.5rem;
    text-decoration-color: #B88290;
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    max-height: 300px;
}

.hamburger-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}

/* Sections */

section {
    padding-top: 4vh;
    height: auto;
    min-height: 96vh;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
}

.section-container {
    display: flex;
}

/* profile section */

#profile {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 85vh;
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Forces the video to sit behind your content */
    object-fit: cover; /* Ensures the video fills the screen cleanly */
}

.profile-content-wrapper {
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: center;
    gap: 3rem; 
    background: rgba(255, 255, 255, 0.75); /* Bright white with a tiny bit of transparency */
    padding: 2rem 3rem; 
    border-radius: 1.5rem; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4); /* Strong shadow to separate the box from the video */
    z-index: 1; /* Keeps the box above the video */
    max-width: 900px;
    width: 85%;
    margin: 0 auto; /* Centers the box horizontally */
}

.section__pic-container {
    display: flex;
    height: 400px;
    width: 400px;
    flex-shrink: 0;
}

.section__pic-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures your logo scales properly without distorting */
}

.section__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    max-width: 600px;
}

.section__text p {
    font-weight: 600;
}

.section__text__p1 {
    text-align: center;
    color: #0c1c33;
}

.section__text__p2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.tittle {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
}

#socials-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 2rem;
}

/* New Hero Buttons */
.hero-btns {
    margin-bottom: 2rem;
}

.btn-gold {
    background-color: #B88290;
    color: #0c1c33;
    border: 2px solid #B88290;
    font-weight: 600;
}

.btn-gold:hover {
    background-color: transparent;
    color: #B88290;
}

.btn-outline {
    background-color: #0c1c33;
    color: white;
    border: 2px solid #0c1c33;
}

.btn-outline:hover {
    background-color: transparent;
    color: #0c1c33;
}

#profile .arrow {
    position: absolute;
    bottom: 2rem; 
    left: 50%; 
    transform: translateX(-50%); 
}

/* Icons */

.icon {
    cursor: pointer;
    height: 2rem;
}

/* Buttons */

.btn-container {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

.btn {
    font-weight: 300;
    transition: all 0.3s ease;
    padding: 1rem;
    width: 8rem;
    border-radius: 2rem;
}

.btn-container {
    gap: 1rem;
}

/* practice areas section */

#practice_areas {
    position: relative;
}

.about-containers {
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.about-details-container {
    justify-content: center;
    flex-direction: column;
}

.about-containers, .about-details-container {
    display: flex;
}

.about-pic {
    border-radius: 2rem;
}

.arrow {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
}

.details-container {
    padding: 1.5rem;
    flex: 1;
    background: white;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    text-align: center;
}

.section-container {
    gap: 4rem;
    height: auto;
    padding-bottom: 3.5rem;
}

.section__pic-container {
    height: 400px;
    width: 400px;
    margin: auto 0;
}

section .icon {
    cursor: default;
}

.text-container {
    margin-bottom: 1.3rem; /* Adds space between the paragraph and the cards */
}

/* Practice Area Service Lists */

.service-list {
    text-align: left;     
    list-style-type: none;   
    padding: 0;              
    margin-top: 1.5rem;      
}

.service-list li {
    margin-bottom: 0.75rem;  
    font-size: 0.95rem;      
    position: relative;      
    padding-left: 1.5rem;   
    color: rgb(85, 85, 85);  
}

/* Custom Gold Arrow Bullet */
.service-list li::before {
    content: "▸";           
    color: #B88290;          
    position: absolute;
    left: 0;                 
    font-size: 1.3rem;       
    top: -1px;               
}

/* about us section */

#about_us {
    position: relative;
}

.experiecne-sub-tittle {
    color: rgb(85, 85, 85);
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.experience-details-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.article-container {
    display: flex;
    text-align: initial;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2.5rem;
    justify-content: space-around;
}

.bio-container {
    display: block; 
    max-width: 1000px; /* Optional: limits how wide the text can stretch */
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.6;
}

article {
    display: flex;
    width:10rem;
    justify-content: space-around;
    gap: 0.5rem;
}

article .icon {
    cursor: default;
}

#contact_us {
    padding-bottom: 5rem;
}

.contact-details {
    display: flex;
    flex-direction: column; /* Keeps them stacked vertically */
    gap: 1.5rem; /* Adds the perfect amount of space between each box */
    margin: 0 auto; /* Ensures the boxes stay centered on the page */
    margin-top: 2rem; /* Adds a little space above the first box */
    max-width: 800px; /* Optional: Prevents the boxes from stretching too wide on large monitors */
}

#contact_us .section__text__p1 {
    margin-top: 0;
    margin-bottom: 0;
}

#contact_us .tittle {
    margin-top: 5px;    /* Gap above Contact */
    margin-bottom: 5px; /* Gap below Contact - matches exactly */
}

.contact-link {
    color: rgb(85, 85, 85); /* Matches your standard paragraph color */
    text-decoration: none;  /* Removes the default underline */
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #D8A4B1; /* Turns metallic gold on hover */
    text-decoration: underline;
    text-underline-offset: 0.3rem;
    text-decoration-color: #D8A4B1;
}

/* Footer Section */

footer {
    background-color: #0c1c33; /* High-end navy blue */
    padding: 3rem 0 2rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

footer .logo {
    color: #B88290; /* Metallic gold */
}

.footer-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-nav a {
    color: white;
    font-size: 1.2rem;
}

.footer-nav a:hover {
    color: #D8A4B1; /* Dusty Rose */
    text-decoration: underline;
    text-underline-offset: 0.5rem;
    text-decoration-color: #D8A4B1;
}

.copyright {
    color: #a3a3a3; /* Light gray so it doesn't distract from the logo/links */
    font-size: 0.9rem;
    margin-bottom: 0;
}