프런트엔드-HTML

HTML 구조 설계

강사: 최퍼블리셔 · 작성자: 이종춘 · 작성일: 2026-06-15 23:09:11 · 조회수: 5

샘플8 = 호텔 / 리조트 사이트형
목록으로
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>호텔 리조트 사이트 샘플</title>

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

body{
font-family:Arial, sans-serif;
color:#111;
background:#faf8f3;
}

a{
text-decoration:none;
color:inherit;
}

.wrap{
max-width:1200px;
width:100%;
margin:0 auto;
padding:0 20px;
}

/* Header */
.header{
height:80px;
background:#faf8f3;
border-bottom:1px solid #e6dfd2;
}

.header .wrap{
height:80px;
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
font-size:26px;
font-weight:800;
color:#8a6a3f;
}

.menu{
display:flex;
gap:40px;
}

.menu a{
font-size:16px;
font-weight:700;
}

/* Hero */
.hero{
height:560px;
background:
linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee")
no-repeat center / cover;

display:flex;
align-items:center;
color:white;
}

.hero_text{
max-width:680px;
}

.hero_text span{
display:inline-block;
margin-bottom:20px;
color:#f1d7a0;
font-weight:800;
}

.hero_text h1{
font-size:58px;
line-height:1.2;
margin-bottom:25px;
}

.hero_text p{
font-size:19px;
line-height:1.8;
color:#eee;
margin-bottom:35px;
}

.btn{
display:inline-block;
padding:16px 34px;
background:#8a6a3f;
color:#fff;
border-radius:8px;
font-weight:800;
}

/* Section */
.section{
padding:90px 0;
}

.section_title{
text-align:center;
margin-bottom:50px;
}

.section_title h2{
font-size:38px;
margin-bottom:15px;
}

.section_title p{
font-size:17px;
color:#777;
}

/* Room Card */
.room_wrap{
display:flex;
gap:30px;
}

.room_card{
width:calc(100% / 3);
background:white;
border-radius:26px;
overflow:hidden;
box-shadow:0 12px 30px rgba(100,70,30,.1);
transition:.3s;
}

.room_card:hover{
transform:translateY(-10px);
}

.room_img{
height:260px;
}

.room_img img{
width:100%;
height:100%;
object-fit:cover;
display:block;
}

.room_text{
padding:30px;
}

.room_text h3{
font-size:25px;
color:#8a6a3f;
margin-bottom:12px;
}

.room_text p{
font-size:15px;
color:#666;
line-height:1.7;
margin-bottom:20px;
}

.price{
font-size:22px;
font-weight:800;
color:#8a6a3f;
}

/* Service */
.service{
background:#1d1a16;
color:white;
padding:90px 0;
}

.service_box{
display:flex;
justify-content:space-between;
align-items:center;
gap:50px;
}

.service_text{
width:45%;
}

.service_text span{
color:#f1d7a0;
font-weight:800;
}

.service_text h2{
font-size:40px;
line-height:1.3;
margin:20px 0;
}

.service_text p{
color:#d8d0c3;
line-height:1.8;
}

.service_list{
width:55%;
display:flex;
gap:20px;
}

.service_item{
width:calc(100% / 3);
background:#2a261f;
border-radius:22px;
padding:35px 20px;
text-align:center;
}

.service_item h3{
font-size:24px;
color:#f1d7a0;
margin-bottom:12px;
}

.service_item p{
color:#d8d0c3;
font-size:14px;
line-height:1.6;
}

/* Reservation */
.reserve{
padding:90px 0;
}

.reserve_box{
background:white;
border-radius:30px;
padding:50px;
display:flex;
justify-content:space-between;
align-items:center;
box-shadow:0 15px 35px rgba(100,70,30,.1);
}

.reserve_box h2{
font-size:34px;
color:#8a6a3f;
}

.reserve_box p{
margin-top:12px;
color:#666;
}

/* Footer */
.footer{
height:100px;
background:#111;
color:white;
display:flex;
justify-content:center;
align-items:center;
}

/* Mobile */
@media(max-width:768px){

.header{
height:auto;
padding:20px 0;
}

.header .wrap{
height:auto;
flex-direction:column;
gap:20px;
}

.menu{
gap:20px;
flex-wrap:wrap;
justify-content:center;
}

.hero{
height:500px;
}

.hero_text h1{
font-size:38px;
}

.hero_text p{
font-size:16px;
}

.room_wrap{
flex-direction:column;
}

.room_card{
width:100%;
}

.service_box{
flex-direction:column;
}

.service_text,
.service_list{
width:100%;
}

.service_list{
flex-direction:column;
}

.service_item{
width:100%;
}

.reserve_box{
flex-direction:column;
align-items:flex-start;
gap:30px;
padding:35px;
}

.reserve_box h2{
font-size:28px;
}
}
</style>
</head>

<body>

<header class="header">
<div class="wrap">

<div class="logo">LUX RESORT</div>

<nav class="menu">
<a href="#">About</a>
<a href="#">Rooms</a>
<a href="#">Service</a>
<a href="#">Reservation</a>
</nav>

</div>
</header>

<section class="hero">
<div class="wrap">

<div class="hero_text">
<span>PREMIUM HOTEL & RESORT</span>

<h1>
일상에서 벗어나<br>
완벽한 휴식을 경험하세요
</h1>

<p>
자연과 품격이 어우러진 공간에서
특별한 하루와 여유로운 휴식을 제공합니다.
</p>

<a href="#" class="btn">객실 예약하기</a>
</div>

</div>
</section>

<section class="section">
<div class="wrap">

<div class="section_title">
<h2>Rooms & Suites</h2>
<p>편안함과 품격을 담은 객실을 만나보세요.</p>
</div>

<div class="room_wrap">

<div class="room_card">
<div class="room_img">
<img src="https://images.unsplash.com/photo-1566073771259-6a8506099945" alt="스탠다드 룸">
</div>

<div class="room_text">
<h3>Standard Room</h3>
<p>
실용적이고 편안한 공간으로
여유로운 휴식을 제공합니다.
</p>
<div class="price">₩180,000~</div>
</div>
</div>

<div class="room_card">
<div class="room_img">
<img src="https://images.unsplash.com/photo-1560448204-e02f11c3d0e2" alt="디럭스 룸">
</div>

<div class="room_text">
<h3>Deluxe Room</h3>
<p>
넓은 공간과 고급스러운 인테리어로
특별한 숙박 경험을 제공합니다.
</p>
<div class="price">₩260,000~</div>
</div>
</div>

<div class="room_card">
<div class="room_img">
<img src="https://images.unsplash.com/photo-1578683010236-d716f9a3f461" alt="스위트 룸">
</div>

<div class="room_text">
<h3>Suite Room</h3>
<p>
프리미엄 서비스를 경험할 수 있는
최고급 스위트 객실입니다.
</p>
<div class="price">₩420,000~</div>
</div>
</div>

</div>

</div>
</section>

<section class="service">
<div class="wrap">

<div class="service_box">

<div class="service_text">
<span>SPECIAL SERVICE</span>

<h2>
머무는 순간마다<br>
특별한 경험
</h2>

<p>
다이닝, 스파, 라운지 서비스까지
고객의 휴식을 위한 다양한 프리미엄 서비스를 제공합니다.
</p>
</div>

<div class="service_list">

<div class="service_item">
<h3>SPA</h3>
<p>몸과 마음을 편안하게 하는 스파 서비스</p>
</div>

<div class="service_item">
<h3>DINING</h3>
<p>품격 있는 레스토랑과 다이닝 경험</p>
</div>

<div class="service_item">
<h3>POOL</h3>
<p>여유롭게 즐기는 프리미엄 수영장</p>
</div>

</div>

</div>

</div>
</section>

<section class="reserve">
<div class="wrap">

<div class="reserve_box">

<div>
<h2>지금 바로 특별한 휴식을 예약하세요</h2>
<p>원하는 날짜와 객실을 선택해 간편하게 예약할 수 있습니다.</p>
</div>

<a href="#" class="btn">예약 바로가기</a>

</div>

</div>
</section>

<footer class="footer">
COPYRIGHT 2026. LUX RESORT. ALL RIGHTS RESERVED.
</footer>

</body>
</html>
#샘플8 = 호텔 / 리조트 사이트형

첨부 파일

0개
첨부된 파일이 없습니다.

댓글 / 답글

0개
댓글을 작성하려면 로그인하세요.
아직 댓글이 없습니다.