
/*Обнуление*/
*{
	padding: 0;
	margin: 0;
	border: 0;
}
*,*:before,*:after{
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
:focus,:active{outline: none;}
a:focus,a:active{outline: none;}

nav,footer,header,aside{display: block;}

html,body{
	height: 100%;
	width: 100%;
	font-size: 100%;
	line-height: 1;
	font-size: 14px;
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}
input,button,textarea{font-family:inherit;}

input::-ms-clear{display: none;}
button{cursor: pointer;}
button::-moz-focus-inner {padding:0;border:0;}
a, a:visited{text-decoration: none;}
a:hover{text-decoration: none;}
ul li{list-style: none;}
img{vertical-align: top;}

h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight: 400;}
/*--------------------*/

.wrapper{
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.main {
	flex: 1 1 auto;
}
  /* Основные стили главного контента */
.main-content {
	font-family: 'Open Sans', sans-serif;
	color: #333;
	line-height: 1.6;
}
  
/* Герой-секция */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('../IMG/main.jpg') center/cover;
    z-index: -1;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.subtitle {
    color: white;
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 auto;
}
  
.cta-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 35px;
}
  
.btn-primary {
	background-color: #FFC107;
	color: #09501C;
	padding: 12px 30px;
	border-radius: 4px;
	font-weight: bold;
	text-decoration: none;
	transition: all 0.3s ease;
	border: 2px solid #FFC107;
}
  
.btn-primary:hover {
	background-color: transparent;
	color: #FFC107;
	transform: translateY(-3px);
}
  
.btn-secondary {
	background-color: transparent;
	color: white;
	padding: 12px 30px;
	border-radius: 4px;
	font-weight: bold;
	text-decoration: none;
	transition: all 0.3s ease;
	border: 2px solid white;
}
  
.btn-secondary:hover {
	background-color: rgba(255, 255, 255, 0.1);
	transform: translateY(-3px);
}
  
/* Секция преимуществ */
.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	padding: 80px 20px;
	max-width: 1200px;
	margin: 0 auto;
}
  
.feature-card {
	background: white;
	border-radius: 8px;
	padding: 30px;
	text-align: center;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}
  
.feature-card:hover {
	transform: translateY(-10px);
}
  
.feature-icon {
	font-size: 3rem;
	margin-bottom: 20px;
}
  
.feature-card h3 {
	color: #09501C;
	margin-bottom: 15px;
	font-size: 1.5rem;
}
  
/* Секция мероприятий */
.events {
	background-color: #f8f8f8;
	padding: 80px 20px;
	text-align: center;
}
  
.events h2 {
	font-family: 'Playfair Display', serif;
	color: #09501C;
	font-size: 2.5rem;
	margin-bottom: 50px;
	position: relative;
	display: inline-block;
}
  
.events h2::after {
	content: '';
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background-color: #FFC107;
}
  
.event-cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto;
}
  
.event-card {
	background: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	max-width: 350px;
}
  
.event-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
  
.event-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}
  
.event-info {
	padding: 20px;
	text-align: left;
}
  
.event-info h3 {
	color: #09501C;
	margin-bottom: 10px;
}
  
.event-info p {
	color: #666;
	margin-bottom: 15px;
}
  
.event-tag {
	display: inline-block;
	background-color: #FFC107;
	color: #09501C;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: bold;
}

/* Адаптация для планшетов */
@media (max-width: 768px) {
	.hero h1 {
		font-size: 2.2rem;
	}
	
	.subtitle {
		font-size: 1rem;
	}
	
	.features {
		grid-template-columns: 1fr;
		padding: 50px 20px;
	}
}
  
/* Адаптация для мобильных */
@media (max-width: 480px) {
	.hero {
		padding: 60px 15px;
	}
	
	.hero h1 {
		font-size: 1.8rem;
	}
	
	.cta-buttons {
		flex-direction: column;
		gap: 10px;
	}
	
	.btn-primary, .btn-secondary {
		width: 100%;
		text-align: center;
	}
}