@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&amp;display=swap');

body.dark {
    --color-primary-dark: #032638;
    --color-orange: #ffa300;
    --color-orange-light: #f2b565;
    --color-yellow-solid: rgba(26, 26, 26, 1);
    --color-font: #fff9ED;
    --color-yellow-light: #032638;
}

body.dark a{
    color: var(--color-font);
}

.h1-style {
  font-size: 2em;
}

.h2-style {
  font-size: 1.5em;
}

.h3-style {
  font-size: 1.17em;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    color: var(--color-primary-dark);
    background-color: var(--color-yellow-light);
}

.logo {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    text-decoration: none;
    font-weight: 400;
}

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 2rem 80px 2rem;
    position: relative;
    min-height: 60vh;
    color: #fff3dc;
    background: linear-gradient(
    to bottom right,
    color-mix(in srgb, var(--color-primary-dark) 15%, transparent),
    color-mix(in srgb, #071621 100%, transparent));
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    width: 50vw;
    z-index: 3;
}

#heading {
    font-size: 5rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    z-index: 1;
}

.services{
    display: flex;
    flex-direction: row;
}

.services > #collage,
.services > #image-container {
  flex: 1 1 0;
  min-width: 0;
}

.services img{
    object-fit: cover;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.services-card {
    background-color: #fff3dc;
    flex: 1;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(3, 38, 56, 0.4);
    text-align: left;
    color: #fff3dc;
    margin: .5rem auto;
}

#collage {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  height: 420px;
  transform: translate(-4rem, -20rem);
}

#woman1 {
  z-index: 2;
  left: 0;
  top: 0;
}

#glass {
  z-index: 1;
  left: 110px;
  top: 30px;
}

#man {
  z-index: 3;
  left: 70px;
  top: 180px;
  width: 200px;
}

#collage img {
  position: absolute;
  width: 200px;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
}

#image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    transform: translateY(-8rem);
}

#image-container img{
    max-width: 300px;
}

.services-card h3 {
    color: #032638;
    margin-bottom: 1.5rem;
    text-align: center;
}

.services-description {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 2rem 1rem;
    text-align: left;
    text-indent: 2rem;
}

.contact-form {
    max-width: 650px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff3dc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(3, 38, 56, 0.4);
    transform: translateY(-3rem);
}

.contact-form h3 {
    color: #032638;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.services-description ul {
    margin: 2rem;
    text-indent: 0;
    margin-bottom: 1.5rem;
}

.cta-section {
    background-color: var(--color-primary-dark);
    color: var(--color-yellow-solid);
    text-align: center;
    padding: 5rem 2rem;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-section .cta-button {
    background-color: var(--color-orange);
    color: var(--color-primary-dark);
}

.cta-section .cta-button:hover {
    background-color: var(--color-orange-light);
}
.expandable-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.expandable-item {
    border-bottom: 1px solid rgba(3, 38, 56, 0.2);
}

.expandable-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    cursor: pointer;
    font-weight: 600;
    text-indent: 0;
    transition: color 0.3s ease;
}

.expandable-header:hover {
    color: var(--color-orange);
}

.expand-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    min-width: 1.5rem;
    text-align: center;
}

.expandable-item.active .expand-icon {
    transform: rotate(45deg);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.expandable-item.active .expandable-content {
    max-height: 200px;
    padding-bottom: 1rem;
}

.expandable-content p {
    text-indent: 0;
    line-height: 1.6;
    color: #555;
}

.name-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.name-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #032638;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-orange, #ff6b35);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    display: block;
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1rem;
}

.submit-button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--color-orange, #ff6b35);
    color: #032638;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--color-orange-light, #ff8c42);
}

.submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

@media (min-width: 1024px){
    .contact-form{
        margin: 1rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
        position: relative;
    }

    .hero-content {
        width: 70vw;
    }

    #heading {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .services{
        flex-direction: column;
    }

    #man, #glass{
        display: none;
    }

    #collage{
        transform: translateY(-16rem);
    }

    #collage img{
        width: 30vw;
        height: auto;
    }
    
    #image-container {
        order: -1;
        transform: translateY(0);
    }

    #image-container img {
        max-width: 25vw;
    }

    .services {
        transform: translateY(-10rem);
    }

}

@media (max-width: 600px) {
    

    #image-container img{
        max-width: 30vw;
    }
    }