/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables for theming */
:root {
    --bg-color: #faf8f5;
    --text-color: #262626;
    --text-muted: #737373;
    --primary-color: #81a684;
    --primary-text: #1a1a1a;
    --accent-bg: #f3f1ed;
    --card-bg: #f7f5f2;
    --border-color: #e5e1db;
    --button-hover: rgba(0, 0, 0, 0.05);
}

body.dark-mode {
    --bg-color: #0d0d0d;
    --text-color: #d9d9d9;
    --text-muted: #a6a6a6;
    --primary-color: #5a6b5d;
    --primary-text: #e6e6e6;
    --accent-bg: #1a1a1a;
    --card-bg: #141414;
    --border-color: #262626;
    --button-hover: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100%;
    overflow: hidden;
    display: inline-block;
    align-items: center;
    justify-content: center;
}

.hero-image {
    /*position: absolute;*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    /*height: 100%;*/
    object-fit: contain;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.brand-logo {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

@media (max-width: 768px) {
    .brand-logo {
        font-size: 2.5rem;
    }
}

/* Theme Toggle */
.theme-toggle, .theme-toggle:visited {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 50;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
	text-decoration:none;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.theme-toggle, .theme-toggle:visited {
    color: white;
    transition: all 0.3s ease;
}

.light-mode .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

.dark-mode .sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

.light-mode .sun-icon,
.dark-mode .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Hero Text Content */
.hero-text-content {
    padding: 4rem 0 6rem;
    background-color: var(--bg-color);
}

.hero-title {
    
  
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.primary-text {
    color: var(--primary-color);
	margin-top:0.5em;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
	margin-top:4em;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    min-width: 140px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--primary-text);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background-color: var(--button-hover);
}

/* About Section */
.about-section {
    padding: 4rem 0 6rem;
    background-color: var(--accent-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.value-item {
    text-align: center;
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: rgba(129, 166, 132, 0.1);
    border-radius: 0.375rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.value-item h3 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.value-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.about-image {
    position: relative;
}

.image-card {
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: var(--card-bg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.image-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .value-item {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .value-item .value-icon {
        margin-bottom: 0;
    }
}

@media (max-width: 640px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .value-item {
        text-align: center;
        display: block;
    }
    
    .value-item .value-icon {
        margin-bottom: 0.75rem;
    }
}

/* Footer */
.footer {
    background-color: var(--bg-color);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.theme-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
