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

body {
  font-family: "Avenir Next", "Proxima Nova", "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #2b2b2b;
  min-height: 100vh;
  background-image: url('img/beach_background.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1a1a1a;
}

.container {
    width: 100%;
    padding: 5px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Styles */
.header {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 150px;
    align-items: start;
    margin-bottom: 90px;
    margin-top: 5px;
    margin-left: 80px;
    padding: 10px 0;
    width: 1300px;
    max-width: 1300px;
}

.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 450px;
    padding-top: 20px;
}

.logo {
    width: 550px;
    height: auto;
}

.intro-content {
    padding-left: 70px;
    padding-top: 30px;
    border-left: 3px solid #D1AF78;
    max-width: 600px;
}

.intro-text, .strategy-text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
    font-weight: 400;
}

.cta-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

/* Companies Section */
.companies-section {
    position: relative;
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    padding: 10px 5px;
    overflow: hidden;
    width: 1100px;
    max-width: 1100px;
}

/* Circular Company Cards */
.company-card {
    position: relative;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 45px 55px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Liv Card - Light Blue/Gray */
.liv-card {
    background: rgba(135, 170, 180, 0.95);
    color: white;
}

/* Westplan Card - Green */
.westplan-card {
    background: rgba(76, 110, 85, 0.95);
    color: white;
}

/* Card Logo at Top */
.card-logo {
    width: 240px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Card Content in Middle */
.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 0;
    margin-top: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 1.5px;
    color: white;
}

.card-description {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

/* Card Button at Bottom */
.card-button {
    padding: 12px 32px;
    background: white;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

.card-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Liv Button - Light Blue/Gray text */
.liv-button {
    color: rgba(135, 170, 180, 1);
}

/* Westplan Button - Green text */
.westplan-button {
    color: rgba(76, 110, 85, 1);
}

/* Responsive Design */
@media (max-width: 1350px) {
    .header {
        width: 95%;
        max-width: 95%;
    }
    
    .companies-section {
        width: 95%;
        max-width: 95%;
    }
}

@media (max-width: 1024px) {
    .container {
        align-items: center;
    }
    
    .header {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        width: 90%;
        max-width: 90%;
        margin-left: 0;
    }
    
    .companies-section {
        width: 90%;
        max-width: 90%;
    }
    
    .logo-section {
        min-width: auto;
    }
    
    .logo {
        width: 300px;
        max-width: 100%;
    }
    
    .intro-content {
        padding-left: 20px;
        padding-right: 20px;
        border-left: none;
        border-top: 3px solid #D1AF78;
        padding-top: 20px;
        max-width: 100%;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .intro-content {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 15px;
    }
    
    .companies-section {
        flex-direction: column;
        background-attachment: scroll;
        gap: 50px;
    }
    
    .company-card {
        width: 350px;
        height: 350px;
        padding: 30px 40px;
    }
    
    .card-logo {
        width: 200px;
        height: 100px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .card-description {
        font-size: 12px;
    }
    
    .card-button {
        padding: 10px 28px;
        font-size: 13px;
    }
    
    .container {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .company-card {
        width: 300px;
        height: 300px;
        padding: 25px 30px;
    }
    
    .card-logo {
        width: 160px;
        height: 80px;
    }
    
    .card-title {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .card-description {
        font-size: 11px;
    }
    
    .card-button {
        padding: 8px 24px;
        font-size: 12px;
    }
}
