/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    background-color: #000;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s;
    border-radius: 4px;
}

nav a:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../imgs/background.jpg');
    background-size: contain;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

#hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

#hero img {
    max-width: 200px;
    margin: 2rem auto;
    display: block;
}

#hero a {
    display: inline-block;
    background-color: white;
    color: #1a1b1f;
    padding: 1rem 2rem;
    margin: 0.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

#hero a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Profile Section */
#Profile img {
    float: right;
    width: 350px;
    margin-left: 2rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#Profile h2 {
    color: #1a1b1f;
    margin-bottom: 1rem;
    font-size: 2rem;
}

#Profile p {
    margin-bottom: 1rem;
}

/* Services Section */
#Services h2 {
    color: #033b5d;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

#Services h3 {
    color: #033b5d;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.service {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #000;
    align-items: flex-start;
}

.service img {
    width: 50px;
    flex-shrink: 0;
}

.service > div {
    flex: 1;
}

.service h4 {
    color: #033b5d;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.service p {
    margin-bottom: 0.5rem;
    display: inline;
    margin-right: 0.5rem;
}

/* Reviews Carousel Section */
#Reviews {
    background: #f9f9f9;
    text-align: center;
}

#Reviews h2 {
    color: #033b5d;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.reviews-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.reviews-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 4rem;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    min-height: 450px;
    padding: 1rem 0;
}

.review-card {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin: 1rem 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 450px;
    overflow-y: auto;
}

.review-card.active {
    display: block;
    opacity: 1;
}

.review-stars {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.3rem;
}

.review-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-top: 2px solid #f0f0f0;
    padding-top: 1rem;
    margin-top: 1.5rem;
}

.review-author strong {
    color: #1a1b1f;
    font-size: 1.1rem;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #ddd;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-btn:hover {
    background: #000;
    color: white;
    border-color: #000;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.dot:hover {
    background: #999;
}

.dot.active {
    background: #000;
    width: 30px;
    border-radius: 6px;
}

.google-reviews-link {
    margin-top: 2rem;
    font-size: 1rem;
    text-align: center;
}

.google-reviews-link a {
    display: inline-block;
    background-color: #000;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.google-reviews-link a:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* Contact Section */
#Contact {
    background: #1a1b1f;
    color: white;
}

#Contact h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

#Contact p {
    margin-bottom: 1rem;
}

#Contact > * {
    clear: none;
}

form {
    display: grid;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem 0;
    float: left;
    width: 50%;
    padding-right: 2rem;
}

iframe {
    margin-top: 2rem;
    border-radius: 8px;
    width: 45%;
    max-width: 500px;
    height: 500px;
    float: right;
}

#Contact::after {
    content: "";
    display: table;
    clear: both;
}

label {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

input, textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background: white;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button[type="submit"] {
    background-color: #fff;
    color: black;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    max-width: 200px;
}

button[type="submit"]:hover {
    background-color: #5ab8bd;
    transform: translateY(-2px);
}

/* Directions Section */
#Directions {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

#Directions img {
    width: 450px;
    max-width: 45%;
    flex-shrink: 0;
    height: auto;
    border-radius: 8px;
}

.directions-content {
    flex: 1;
}

#Directions h2 {
    color: #1a1b1f;
    font-size: 2rem;
    margin-bottom: 1rem;
}

#Directions h3 {
    color: #1a1b1f;
    margin: 1.5rem 0 1rem;
}

#Directions ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

#Directions li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: #1a1b1f;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

footer img {
    max-width: 100px;
    margin-bottom: 1rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: #68ccd1;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer nav {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

footer nav a.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

footer nav a.social-icon svg {
    width: 24px;
    height: 24px;
}

footer nav a.social-icon.facebook {
    background-color: #1877f2;
    color: white;
}

footer nav a.social-icon.facebook:hover {
    background-color: #145dbf;
    transform: scale(1.1);
}

footer nav a.social-icon.twitter {
    background-color: #1da1f2;
    color: white;
}

footer nav a.social-icon.twitter:hover {
    background-color: #0d8bd9;
    transform: scale(1.1);
}

footer nav a.social-icon.linkedin {
    background-color: #0077b5;
    color: white;
}

footer nav a.social-icon.linkedin:hover {
    background-color: #005885;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        text-align: center;
    }
    
    nav ul {
        justify-content: center;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    #Profile img {
        float: none;
        width: 100%;
        margin-right: 0;
        display: block;
    }
    
    #Directions {
        flex-direction: column;
    }
    
    #Directions img {
        width: 100%;
        max-width: 100%;
    }
    
    form {
        float: none;
        width: 100%;
        padding-right: 0;
    }
    
    iframe {
        float: none;
        width: 100%;
        max-width: 100%;
    }
    
    .service {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service img {
        margin: 0 auto;
    }
    
    footer nav {
        flex-direction: column;
        align-items: center;
    }
}

